aboutsummaryrefslogtreecommitdiff
path: root/data/mobs/examples/rat.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/rat.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/rat.yaml')
-rw-r--r--data/mobs/examples/rat.yaml62
1 files changed, 32 insertions, 30 deletions
diff --git a/data/mobs/examples/rat.yaml b/data/mobs/examples/rat.yaml
index 7a92026..c5b92af 100644
--- a/data/mobs/examples/rat.yaml
+++ b/data/mobs/examples/rat.yaml
@@ -1,33 +1,35 @@
-name: rat
-description: "A large, mangy rat with beady red eyes."
-idle_descriptions:
- - "sniffs around the ground"
- - "nibbles on something"
- - "scurries in circles"
-drops:
- remains: bones
combat:
- kind: combat
- stats:
- hp: 2
- attack: 1
- strength: 1
- defense: 1
- attack_type: crush
- speed: 4
aggressive: false
+ attack_types:
+ - crush
+ kind: combat
respawn_ticks: 20
- bonuses:
- attack_bonus: 0
- strength_bonus: 0
- science_bonus: 0
- science_percent_bonus: 0
- ranged_bonus: 0
- ranged_strength_bonus: 0
- defenses:
- crush_defense: 0
- ranged_defense: 0
- science_defense: 0
- slash_defense: 0
- stab_defense: 0
- size: small
+ size: small
+ stats:
+ attack: 1
+ bonuses:
+ attack_bonus: 0
+ ranged_bonus: 0
+ ranged_strength_bonus: 0
+ science_bonus: 0
+ science_percent_bonus: 0
+ strength_bonus: 0
+ defense: 1
+ defenses:
+ crush_defense: 0
+ ranged_defense: 0
+ science_defense: 0
+ slash_defense: 0
+ stab_defense: 0
+ hp: 2
+ max_melee_hit: 1
+ speed: 4
+ strength: 1
+description: A large, mangy rat with beady red eyes.
+drops:
+ remains: bones
+idle_descriptions:
+ - sniffs around the ground
+ - nibbles on something
+ - scurries in circles
+name: rat