Ideas for Stendhal/GUI for Harold: Difference between revisions
imported>Balaur Created page with "Having a GUI for asynchronous trading was discussed on [https://sourceforge.net/p/arianne/feature-requests/1385/ feature request #1385], "Two-way trading system". A possible..." |
imported>Balaur m Balaur moved page Ideas for Stendhal/GuiForHarold to Ideas for Stendhal/GUI for Harold |
(No difference)
| |
Revision as of 18:50, 17 March 2016
Having a GUI for asynchronous trading was discussed on feature request #1385, "Two-way trading system".
A possible implementation would be:
The player goes to Harold, says "Hi", and "Catalog" - then Harold shows him the window and closes it when the conversation is over. If another player comes in, he is asked to wait.
The "Catalog" word is just an idea, could be something else.
We want to keep the current text-based implementation. The GUI would be an alternative, not a replacement.
There are 4 tabs:
- "Market" - shows what you can buy from Harold
- "My Offers" - where you put items on sale
- "My Requests" - where you ask the community for items
- "Other Requests" - shows what others are asking for
Market
The category drop-down lets you filter by item category, the same as on [1].
There is also a "Most recent" category and an "All" category (à la F-Droid).
My Offers
Currently it is possible to have 3 items for sale, and any number of items expired.
There is a drop-field (like a chest), where you drop the item for sale.
A table shows all the items you have for sale (on top) and all the expired items (below).
When you drop an item (or a number of stackable items) into the drop-field, a text input field and a button appear. The text input field is used for setting the price. The button is clicked to place the offer. There is also a label showing Harold's fee for this offer.
When you have neither items for sale not expired items, the table is not shown.
My Requests
There are two views:
- view A - one where you see what you have already requested
- view B - where you choose what to request
View A
By default you only see a "Make Request" button. When you click it, View A is replaced by View B.
If you have requested items, they are shown in a table. Each item has buttons to prolong and remove the request.
If you have already requested the maximum number of items, the "Make Request" button is hidden.
View B
There's a grid of items, grouped by category, like on [2]. A "Back" button takes you back to View A.
When an item from the grid is selected, the following controls become visible:
- a description label (shows the name of the item and the stats)
- a quantity input box - where you choose how many items of that kind you want
- is only shown for stackable items (for example, you may want to buy 100 wood, but you may not request 2 swords)
- a price input box - where you name your price
- you need to have that kind of money - when placing the offer Harold will take it
- a label showing Harold's fee for this request
- a "Request" button - to place the request
Other Requests
On the "Other Requests" tab, you can see what others have requested.
It looks just like the "Market" tab, but instead of buying you sell. To sell an item, you need to have it equiped.
There's also a filter by category. If no player has requested items from a category, the table is not shown.
See also: Ideas_for_Stendhal/StendhalTouch










