Combat engine looks up mob template loot table and passes to create_corpse. Goblin template now drops crude club (80%) and 1-3 gold coins (50%).
17 lines
308 B
TOML
17 lines
308 B
TOML
name = "goblin"
|
|
description = "a snarling goblin with a crude club"
|
|
pl = 50.0
|
|
stamina = 40.0
|
|
max_stamina = 40.0
|
|
moves = ["punch left", "punch right", "sweep"]
|
|
|
|
[[loot]]
|
|
name = "crude club"
|
|
chance = 0.8
|
|
description = "a crude wooden club"
|
|
|
|
[[loot]]
|
|
name = "gold coin"
|
|
chance = 0.5
|
|
min_count = 1
|
|
max_count = 3
|