aboutsummaryrefslogtreecommitdiff
path: root/data/mobs/examples/goblin.yaml
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-01 22:30:31 -0400
committerhistoria <[not public]>2026-07-01 22:30:31 -0400
commitc14c2e403c75a913e1a6d962fb6fe64f013adae5 (patch)
tree75070293fe2535b594ac72e501cbf08a3f1146e0 /data/mobs/examples/goblin.yaml
parent8eec7b75ff9c8c368b252373db45fb891732d2ca (diff)
downloadthehouseoficarus-c14c2e403c75a913e1a6d962fb6fe64f013adae5.tar.gz
fix: combat formulas and mob attack types (mobs switch attack styles if safespotting)
Diffstat (limited to 'data/mobs/examples/goblin.yaml')
-rw-r--r--data/mobs/examples/goblin.yaml78
1 files changed, 40 insertions, 38 deletions
diff --git a/data/mobs/examples/goblin.yaml b/data/mobs/examples/goblin.yaml
index 23a5f77..649c896 100644
--- a/data/mobs/examples/goblin.yaml
+++ b/data/mobs/examples/goblin.yaml
@@ -1,41 +1,43 @@
-name: goblin
-description: "A small green-skinned goblin with a rusty blade."
-idle_descriptions:
- - "mutters something unintelligible"
- - "waves a rusty blade around"
- - "picks its nose"
- - "kicks a pebble"
-drops:
- remains: bones
- loot:
- - item_id: credits
- weight: 80
- quantity: 5
- - item_id: credits
- weight: 20
- quantity: 25
combat:
- kind: combat
- stats:
- hp: 12
- attack: 1
- strength: 3
- defense: 3
- attack_type: slash
- speed: 5
aggressive: true
+ attack_types:
+ - slash
+ kind: combat
respawn_ticks: 25
- bonuses:
- attack_bonus: 3
- strength_bonus: 2
- science_bonus: 0
- science_percent_bonus: 0
- ranged_bonus: 0
- ranged_strength_bonus: 0
- defenses:
- stab_defense: 4
- slash_defense: 3
- crush_defense: -2
- science_defense: 0
- ranged_defense: 3
- size: small
+ size: small
+ stats:
+ attack: 1
+ bonuses:
+ attack_bonus: 3
+ ranged_bonus: 0
+ ranged_strength_bonus: 0
+ science_bonus: 0
+ science_percent_bonus: 0
+ strength_bonus: 2
+ defense: 3
+ defenses:
+ crush_defense: -2
+ ranged_defense: 3
+ science_defense: 0
+ slash_defense: 3
+ stab_defense: 4
+ hp: 12
+ max_melee_hit: 1
+ speed: 5
+ strength: 3
+description: A small green-skinned goblin with a rusty blade.
+drops:
+ loot:
+ - item_id: credits
+ quantity: 5
+ weight: 80
+ - item_id: credits
+ quantity: 25
+ weight: 20
+ remains: bones
+idle_descriptions:
+ - mutters something unintelligible
+ - waves a rusty blade around
+ - picks its nose
+ - kicks a pebble
+name: goblin