aboutsummaryrefslogtreecommitdiff
path: root/data/mobs/examples/farmer.yaml
blob: 8e72ac285bfca382510cec564e1bab6868088e3e (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
name: Farmer
description: "A weathered farmer in muddy overalls, pockets bulging with seeds."
idle_descriptions:
  - "examines a handful of seeds"
  - "wipes dirt from his hands"
  - "mutters about the growing season"
  - "adjusts his wide-brimmed hat"
steal:
  table: farmer_steal
  level: 10
  xp: 15
  speed: 4
drops:
  remains: "bones"
  loot:
    - item_id: "potato_seed"
      weight: 40
      quantity: 3
    - item_id: "onion_seed"
      weight: 30
      quantity: 2
    - item_id: "cabbage_seed"
      weight: 20
      quantity: 2
    - item_id: "tomato_seed"
      weight: 10
      quantity: 1
combat:
  kind: combat
  stats:
    hp: 15
    attack: 3
    strength: 3
    defense: 3
    attack_type: crush
    speed: 5
    aggressive: false
    respawn_ticks: 40
    bonuses:
      attack_bonus: 0
      strength_bonus: 0
      science_bonus: 0
      science_percent_bonus: 0
      ranged_bonus: 0
      ranged_strength_bonus: 0
    defenses:
      stab_defense: 0
      slash_defense: 0
      crush_defense: 0
      science_defense: 0
      ranged_defense: 0
  size: small
  combat_descriptions:
    - "swings a shovel at %s"
    - "is getting beaten by %s"
    - "grapples with %s"