blob: edc0387818e9cc23f15096fc2750b2618085d2e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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
|