diff options
| author | historia <[not public]> | 2026-07-01 16:37:45 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-01 16:37:45 -0400 |
| commit | e6b4cb9f5816c6ee239233bc85f74ee446a161c2 (patch) | |
| tree | 1c3bf71c8b7f095baae989afe5e33183a7ed3929 /data/mobs/examples/weapons_smith.yaml | |
| parent | 649ef4b7416ce7053145878841fc9b0bff2f5fec (diff) | |
| download | thehouseoficarus-e6b4cb9f5816c6ee239233bc85f74ee446a161c2.tar.gz | |
feat: shop system overhauled, gui conversation tree editor overhauled
Diffstat (limited to 'data/mobs/examples/weapons_smith.yaml')
| -rw-r--r-- | data/mobs/examples/weapons_smith.yaml | 58 |
1 files changed, 22 insertions, 36 deletions
diff --git a/data/mobs/examples/weapons_smith.yaml b/data/mobs/examples/weapons_smith.yaml index 0ba8237..b12a543 100644 --- a/data/mobs/examples/weapons_smith.yaml +++ b/data/mobs/examples/weapons_smith.yaml @@ -19,46 +19,32 @@ slash_defense: 0 speed: 5 stab_defense: 0 strength: 1 +shop: + message: The Smithy — buy or sell weapons and armor. + buys_anything: false + items: + - item_id: bronze_sword + stock: 10 + - item_id: iron_sword + stock: 5 + - item_id: bronze_axe + stock: 10 + - item_id: iron_axe + stock: 5 + - item_id: bronze_pickaxe + stock: 10 + - item_id: iron_pickaxe + stock: 5 + - item_id: bronze_med_helm + stock: 10 + - item_id: iron_med_helm + stock: 5 talk: nodes: - shop: - action: - shop: - items: - - buy_price: 25 - item_id: bronze_sword - sell_price: 6 - - buy_price: 60 - item_id: iron_sword - sell_price: 15 - - buy_price: 20 - item_id: bronze_axe - sell_price: 5 - - buy_price: 50 - item_id: iron_axe - sell_price: 12 - - buy_price: 20 - item_id: bronze_pickaxe - sell_price: 5 - - buy_price: 50 - item_id: iron_pickaxe - sell_price: 12 - - buy_price: 16 - item_id: bronze_med_helm - sell_price: 4 - - buy_price: 40 - item_id: iron_med_helm - sell_price: 10 - message: The Smithy — buy or sell weapons and armor. - message: '"Here''s the current inventory. All quality guaranteed."' - options: - - goto: start - text: '"That''s all for now."' start: - message: '"Welcome to the Smithy! Finest weapons and armor on the asteroid."' + messages: + - '"Welcome to the Smithy! Type ''list'' to see my wares."' options: - - goto: shop - text: '"Show me what you''ve got."' - text: '"Nothing right now."' unique: true size: small |
