This repository was archived by the owner on Dec 5, 2018. It is now read-only.
This repository was archived by the owner on Dec 5, 2018. It is now read-only.
Sell more items at once from your inventory #8
Open
Description
Summary
Instead of only being able to sell the items in your hand, if you have more of a type of item in your inventory, you should be able to sell all of those items together in one entry.
Analysis
There should be two types of methods for selling items: hand and inventory. Using the hand mode would assume the current behavior of only adding what is currently in your hand to the trading post. Inventory mode would check the user's inventory for all matching types of item currently in their hand, and then add that to the trading post. For something like eggs, this would be more convenient than selling multiple stacks of 16 eggs (or other similar items).
Expected behavior
- User has item to sell (e.g. 64 eggs)
- User holds 16 eggs in hand
- User enters
/tradepost add inventory
- All items that match the same item type as the item in hand are added to the store as a single entry
- Other users can purchase 64 eggs in a single purchase from the trading post