aboutsummaryrefslogtreecommitdiff
path: root/data/help/shop.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'data/help/shop.yaml')
-rw-r--r--data/help/shop.yaml42
1 files changed, 23 insertions, 19 deletions
diff --git a/data/help/shop.yaml b/data/help/shop.yaml
index cc20420..92f26db 100644
--- a/data/help/shop.yaml
+++ b/data/help/shop.yaml
@@ -1,27 +1,31 @@
name: "shop"
category: "Interaction"
description: |
- Buy and sell items at shops.
+ Buy and sell items with shopkeeper NPCs, straight from the game prompt.
- Find a shopkeeper NPC and talk to them to open their shop. While
- browsing a shop, these commands are available:
+ Find a mob that runs a shop and use these commands in the room:
- browse List all items for sale with buy/sell prices
- list Same as browse
- buy <item> Buy an item by name (e.g. "buy fishing bait")
- buy <N> <item> Buy a quantity of an item (e.g. "buy 5 bait")
- buy all <item> Buy as many as you can afford and carry
- sell <item> Sell an item by name (e.g. "sell bronze sword")
- sell <N> <item> Sell a quantity of an item (e.g. "sell 3 logs")
- sell all <item> Sell all of that item from your inventory
- leave Exit the shop and return to conversation
+ list Show the shop's inventory (item, stock, buy, sell prices)
+ buy <item> Buy an item by name (e.g. "buy fishing bait")
+ buy <N> <item> Buy a quantity (e.g. "buy 5 bait")
+ buy all <item> Buy as many as you can afford and carry
+ sell <item> Sell an item from your inventory (e.g. "sell bronze sword")
+ sell <N> <item> Sell a quantity (e.g. "sell 3 logs")
+ sell all <item> Sell your entire held stack of that item
- Partial names work: "buy bait" matches "fishing bait". If a name
- matches multiple items, a list is shown to disambiguate.
+ Partial names work: "buy bait" matches "fishing bait". If a name matches
+ multiple items, a list is shown to disambiguate.
- Shops buy items at a lower price than they sell them. Some items
- cannot be sold back.
+ If a room has more than one shopkeeper, name the one you mean:
- Shopkeepers can be found throughout the world:
- - General Store: Town Square (sells tools and supplies)
- - Smithy: Forge (sells weapons, armor, and tools)
+ list <mob>
+ buy <item> from <mob>
+ sell <item> to <mob>
+
+ Prices are based on each item's value. Shops sell items for 100% of their
+ value. They buy items back for less, starting around 40% of value and paying
+ less the more of that item they already hold (down to a floor of 10%). Buy
+ low, sell where a shop is short on stock.
+
+ Shops keep limited stock that refills over time. An item can sell out, and
+ selling to a shop lowers what it will pay for the next one.