aboutsummaryrefslogtreecommitdiff
path: root/data/mobs/examples/weapons_smith.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'data/mobs/examples/weapons_smith.yaml')
-rw-r--r--data/mobs/examples/weapons_smith.yaml64
1 files changed, 64 insertions, 0 deletions
diff --git a/data/mobs/examples/weapons_smith.yaml b/data/mobs/examples/weapons_smith.yaml
new file mode 100644
index 0000000..0ba8237
--- /dev/null
+++ b/data/mobs/examples/weapons_smith.yaml
@@ -0,0 +1,64 @@
+aggressive: false
+attack: 1
+attack_type: crush
+crush_defense: 0
+defense: 1
+description: A burly smith with soot-stained hands and a heavy leather apron, standing proudly by the forge.
+hp: 80
+idle_descriptions:
+ - hammers at a glowing blade on the anvil
+ - wipes soot from his brow
+ - inspects a finished sword
+ - tends to the furnace fire
+name: Weaponsmith
+protected: true
+ranged_defense: 0
+respawn_ticks: 30
+science_defense: 0
+slash_defense: 0
+speed: 5
+stab_defense: 0
+strength: 1
+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."'
+ options:
+ - goto: shop
+ text: '"Show me what you''ve got."'
+ - text: '"Nothing right now."'
+unique: true
+size: small