aboutsummaryrefslogtreecommitdiff
path: root/data/mobs/examples/tanner.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'data/mobs/examples/tanner.yaml')
-rw-r--r--data/mobs/examples/tanner.yaml13
1 files changed, 8 insertions, 5 deletions
diff --git a/data/mobs/examples/tanner.yaml b/data/mobs/examples/tanner.yaml
index 2e5d89a..4c1f38b 100644
--- a/data/mobs/examples/tanner.yaml
+++ b/data/mobs/examples/tanner.yaml
@@ -22,7 +22,8 @@ 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."'
+ messages:
+ - '"Bring me some cowhides and I''ll tan them for you. Leather is 10 credits, hard leather is 50."'
options:
- condition:
all_of:
@@ -39,10 +40,11 @@ talk:
- text: '"Never mind."'
tan_hard_leather:
action:
- cost: 50
+ credits: -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."
+ messages:
+ - The tanner takes your cowhide and subjects it to an intense curing process. "Here's your hard leather."
options:
- condition:
has_item: cowhide
@@ -51,10 +53,11 @@ talk:
- text: '"Thanks."'
tan_leather:
action:
- cost: 10
+ credits: -10
give_item: leather
take_item: cowhide
- message: The tanner takes your cowhide and works it skillfully. "Here's your leather."
+ messages:
+ - The tanner takes your cowhide and works it skillfully. "Here's your leather."
options:
- condition:
has_item: cowhide