aboutsummaryrefslogtreecommitdiff
path: root/data/behaviors/tanner_talk.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'data/behaviors/tanner_talk.yaml')
-rw-r--r--data/behaviors/tanner_talk.yaml46
1 files changed, 46 insertions, 0 deletions
diff --git a/data/behaviors/tanner_talk.yaml b/data/behaviors/tanner_talk.yaml
new file mode 100644
index 0000000..edc0387
--- /dev/null
+++ b/data/behaviors/tanner_talk.yaml
@@ -0,0 +1,46 @@
+id: tanner_talk
+type: talk
+nodes:
+ start:
+ message: "\"Bring me some cowhides and I'll tan them for you. Leather is 10 credits, hard leather is 50.\""
+ options:
+ - text: "\"Tan a cowhide into leather (10 credits).\""
+ goto: tan_leather
+ condition:
+ all_of:
+ - has_item: cowhide
+ - min_credits: 10
+ - text: "\"Tan a cowhide into hard leather (50 credits).\""
+ goto: tan_hard_leather
+ condition:
+ all_of:
+ - has_item: cowhide
+ - min_credits: 50
+ - text: "\"Never mind.\""
+ end: true
+ tan_leather:
+ message: "The tanner takes your cowhide and works it skillfully. \"Here's your leather.\""
+ action:
+ take_item: cowhide
+ give_item: leather
+ cost: 10
+ options:
+ - text: "\"Tan another.\""
+ goto: start
+ condition:
+ has_item: cowhide
+ - text: "\"Thanks.\""
+ end: true
+ tan_hard_leather:
+ message: "The tanner takes your cowhide and subjects it to an intense curing process. \"Here's your hard leather.\""
+ action:
+ take_item: cowhide
+ give_item: hard_leather
+ cost: 50
+ options:
+ - text: "\"Tan another.\""
+ goto: start
+ condition:
+ has_item: cowhide
+ - text: "\"Thanks.\""
+ end: true