aboutsummaryrefslogtreecommitdiff
path: root/data/mobs/tanner.yaml
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-19 18:20:26 -0400
committerhistoria <[not public]>2026-06-19 18:20:26 -0400
commit0ea4eec5dd2122c6704216971eb1249276297867 (patch)
tree430fbbef04e837820f1d031c190f52ecd6112e25 /data/mobs/tanner.yaml
parent3a58125d14bb307f861b38c6c5b0a63babde7e08 (diff)
downloadthehouseoficarus-0ea4eec5dd2122c6704216971eb1249276297867.tar.gz
shop fixes, 'toggle' completely removed, movement speed increased
Diffstat (limited to 'data/mobs/tanner.yaml')
-rw-r--r--data/mobs/tanner.yaml82
1 files changed, 63 insertions, 19 deletions
diff --git a/data/mobs/tanner.yaml b/data/mobs/tanner.yaml
index 0a90998..a00f497 100644
--- a/data/mobs/tanner.yaml
+++ b/data/mobs/tanner.yaml
@@ -1,24 +1,68 @@
+aggressive: false
+attack: 1
+attack_type: crush
+crush_defense: 0
+defense: 1
+description: A weathered craftsman with stained hands and a leather apron.
+hp: 50
id: tanner
+idle_descriptions:
+ - scrapes at a piece of hide
+ - examines a stack of leathers
+ - sharpens a tanning knife
+ - wipes sweat from his brow
name: Tanner
-description: "A weathered craftsman with stained hands and a leather apron."
-behavior: tanner_talk
-unique: true
protected: true
-hp: 50
-attack: 1
-strength: 1
-defense: 1
-speed: 5
-aggressive: false
+ranged_defense: 0
respawn_ticks: 30
-attack_type: crush
-stab_defense: 0
-slash_defense: 0
-crush_defense: 0
science_defense: 0
-ranged_defense: 0
-idle_descriptions:
- - "scrapes at a piece of hide"
- - "examines a stack of leathers"
- - "sharpens a tanning knife"
- - "wipes sweat from his brow"
+slash_defense: 0
+speed: 5
+stab_defense: 0
+strength: 1
+talk:
+ nodes:
+ start:
+ message: '"Bring me some cowhides and I''ll tan them for you. Leather is 10 credits, hard leather is 50."'
+ options:
+ - condition:
+ all_of:
+ - has_item: cowhide
+ - min_credits: 10
+ goto: tan_leather
+ text: '"Tan a cowhide into leather (10 credits)."'
+ - condition:
+ all_of:
+ - has_item: cowhide
+ - min_credits: 50
+ goto: tan_hard_leather
+ text: '"Tan a cowhide into hard leather (50 credits)."'
+ - end: true
+ text: '"Never mind."'
+ tan_hard_leather:
+ action:
+ cost: 50
+ give_item: hard_leather
+ take_item: cowhide
+ message: The tanner takes your cowhide and subjects it to an intense curing process. "Here's your hard leather."
+ options:
+ - condition:
+ has_item: cowhide
+ goto: start
+ text: '"Tan another."'
+ - end: true
+ text: '"Thanks."'
+ tan_leather:
+ action:
+ cost: 10
+ give_item: leather
+ take_item: cowhide
+ message: The tanner takes your cowhide and works it skillfully. "Here's your leather."
+ options:
+ - condition:
+ has_item: cowhide
+ goto: start
+ text: '"Tan another."'
+ - end: true
+ text: '"Thanks."'
+unique: true