From e6b4cb9f5816c6ee239233bc85f74ee446a161c2 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 1 Jul 2026 16:37:45 -0400 Subject: feat: shop system overhauled, gui conversation tree editor overhauled --- data/help/shop.yaml | 42 +++++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 19 deletions(-) (limited to 'data/help') 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 Buy an item by name (e.g. "buy fishing bait") - buy Buy a quantity of an item (e.g. "buy 5 bait") - buy all Buy as many as you can afford and carry - sell Sell an item by name (e.g. "sell bronze sword") - sell Sell a quantity of an item (e.g. "sell 3 logs") - sell all 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 Buy an item by name (e.g. "buy fishing bait") + buy Buy a quantity (e.g. "buy 5 bait") + buy all Buy as many as you can afford and carry + sell Sell an item from your inventory (e.g. "sell bronze sword") + sell Sell a quantity (e.g. "sell 3 logs") + sell all 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 + buy from + sell to + + 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. -- cgit v1.2.3