aboutsummaryrefslogtreecommitdiff
path: root/data/mobs/examples/general_store_clerk.yaml
blob: 8a07191716481b6e2b0c0b49595d8abe0c7d3532 (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
69
70
aggressive: false
attack: 1
attack_type: crush
crush_defense: 0
defense: 1
description: A friendly merchant with a tidy apron, standing behind a well-stocked counter.
hp: 50
idle_descriptions:
    - arranges items on the shelves
    - polishes the counter
    - counts credits in the register
    - greets a passerby with a nod
name: Shopkeeper
protected: true
ranged_defense: 0
respawn_ticks: 30
science_defense: 0
slash_defense: 0
speed: 5
stab_defense: 0
strength: 1
talk:
    nodes:
        shop:
            action:
                shop:
                    items:
                        - buy_price: 10
                          item_id: fishing_rod
                          sell_price: 2
                        - buy_price: 2
                          item_id: fishing_bait
                          sell_price: 0
                        - buy_price: 10
                          item_id: matches
                          sell_price: 2
                        - buy_price: 40
                          item_id: firesteel
                          sell_price: 10
                        - buy_price: 30
                          item_id: lighter
                          sell_price: 7
                        - buy_price: 20
                          item_id: hammer
                          sell_price: 5
                        - buy_price: 10
                          item_id: knife
                          sell_price: 2
                        - buy_price: 10
                          item_id: chisel
                          sell_price: 2
                        - buy_price: 10
                          item_id: bread
                          sell_price: 2
                        - buy_price: 20
                          item_id: bowstring
                          sell_price: 5
                    message: What would you like to buy or sell?
            message: '"Take your time. What can I get you?"'
            options:
                - goto: start
                  text: '"I''m done."'
        start:
            message: '"Welcome to the General Store! Need any supplies?"'
            options:
                - goto: shop
                  text: '"I''d like to browse."'
                - text: '"Goodbye."'
unique: true
size: small