aboutsummaryrefslogtreecommitdiff
path: root/data/mobs/examples/general_store_clerk.yaml
blob: bee395d1be729faa145dc013325aff009772e459 (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
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
shop:
    message: '"Welcome to the General Store! Have a look around."'
    items:
        - item_id: fishing_rod
          stock: 10
        - item_id: fishing_bait
          stock: 1000
        - item_id: matches
          stock: 20
        - item_id: firesteel
          stock: 10
        - item_id: lighter
          stock: 10
        - item_id: hammer
          stock: 10
        - item_id: knife
          stock: 10
        - item_id: chisel
          stock: 10
        - item_id: bread
          stock: 30
        - item_id: bowstring
          stock: 50
talk:
    nodes:
        start:
            messages:
                - '"Welcome to the General Store! Type ''list'' to see my wares."'
            options:
                - text: '"Goodbye."'
unique: true
size: small