aboutsummaryrefslogtreecommitdiff
path: root/data/mobs/examples/general_store_clerk.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'data/mobs/examples/general_store_clerk.yaml')
-rw-r--r--data/mobs/examples/general_store_clerk.yaml67
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