blob: a00f49736d6c32fac844e93cd06b9114c9b8fd28 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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
protected: true
ranged_defense: 0
respawn_ticks: 30
science_defense: 0
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
|