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/general_store_clerk.yaml | |
| parent | 649ef4b7416ce7053145878841fc9b0bff2f5fec (diff) | |
| download | thehouseoficarus-e6b4cb9f5816c6ee239233bc85f74ee446a161c2.tar.gz | |
feat: shop system overhauled, gui conversation tree editor overhauled
Diffstat (limited to 'data/mobs/examples/general_store_clerk.yaml')
| -rw-r--r-- | data/mobs/examples/general_store_clerk.yaml | 67 |
1 files changed, 25 insertions, 42 deletions
diff --git a/data/mobs/examples/general_store_clerk.yaml b/data/mobs/examples/general_store_clerk.yaml index 8a07191..bee395d 100644 --- a/data/mobs/examples/general_store_clerk.yaml +++ b/data/mobs/examples/general_store_clerk.yaml @@ -19,52 +19,35 @@ slash_defense: 0 speed: 5 stab_defense: 0 strength: 1 +shop: + message: '"Welcome to the General Store! Have a look around."' + items: + - item_id: fishing_rod + stock: 10 + - item_id: fishing_bait + stock: 1000 + - item_id: matches + stock: 20 + - item_id: firesteel + stock: 10 + - item_id: lighter + stock: 10 + - item_id: hammer + stock: 10 + - item_id: knife + stock: 10 + - item_id: chisel + stock: 10 + - item_id: bread + stock: 30 + - item_id: bowstring + stock: 50 talk: nodes: - shop: - action: - shop: - items: - - buy_price: 10 - item_id: fishing_rod - sell_price: 2 - - buy_price: 2 - item_id: fishing_bait - sell_price: 0 - - buy_price: 10 - item_id: matches - sell_price: 2 - - buy_price: 40 - item_id: firesteel - sell_price: 10 - - buy_price: 30 - item_id: lighter - sell_price: 7 - - buy_price: 20 - item_id: hammer - sell_price: 5 - - buy_price: 10 - item_id: knife - sell_price: 2 - - buy_price: 10 - item_id: chisel - sell_price: 2 - - buy_price: 10 - item_id: bread - sell_price: 2 - - buy_price: 20 - item_id: bowstring - sell_price: 5 - message: What would you like to buy or sell? - message: '"Take your time. What can I get you?"' - options: - - goto: start - text: '"I''m done."' start: - message: '"Welcome to the General Store! Need any supplies?"' + messages: + - '"Welcome to the General Store! Type ''list'' to see my wares."' options: - - goto: shop - text: '"I''d like to browse."' - text: '"Goodbye."' unique: true size: small |
