aboutsummaryrefslogtreecommitdiff
path: root/data/mobs/examples/skeleton.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/skeleton.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/skeleton.yaml')
-rw-r--r--data/mobs/examples/skeleton.yaml76
1 files changed, 39 insertions, 37 deletions
diff --git a/data/mobs/examples/skeleton.yaml b/data/mobs/examples/skeleton.yaml
index 2431215..f1d9ed5 100644
--- a/data/mobs/examples/skeleton.yaml
+++ b/data/mobs/examples/skeleton.yaml
@@ -1,40 +1,42 @@
-name: skeleton
-description: "An animated pile of bones, held together by dark energy."
-idle_descriptions:
- - "rattles ominously"
- - "clicks its jaw open and shut"
- - "stares with empty eye sockets"
-drops:
- remains: bones
- loot:
- - item_id: credits
- weight: 70
- quantity: 30
- - item_id: credits
- weight: 30
- quantity: 100
combat:
- kind: combat
- stats:
- hp: 22
- attack: 8
- strength: 6
- defense: 8
- attack_type: stab
- speed: 5
aggressive: true
+ attack_types:
+ - stab
+ kind: combat
respawn_ticks: 30
- bonuses:
- attack_bonus: 6
- strength_bonus: 4
- science_bonus: 0
- science_percent_bonus: 0
- ranged_bonus: 0
- ranged_strength_bonus: 0
- defenses:
- stab_defense: 10
- slash_defense: 18
- crush_defense: -5
- science_defense: -8
- ranged_defense: 10
- size: medium
+ size: medium
+ stats:
+ attack: 8
+ bonuses:
+ attack_bonus: 6
+ ranged_bonus: 0
+ ranged_strength_bonus: 0
+ science_bonus: 0
+ science_percent_bonus: 0
+ strength_bonus: 4
+ defense: 8
+ defenses:
+ crush_defense: -5
+ ranged_defense: 10
+ science_defense: -8
+ slash_defense: 18
+ stab_defense: 10
+ hp: 22
+ max_melee_hit: 2
+ speed: 5
+ strength: 6
+description: An animated pile of bones, held together by dark energy.
+drops:
+ loot:
+ - item_id: credits
+ quantity: 30
+ weight: 70
+ - item_id: credits
+ quantity: 100
+ weight: 30
+ remains: bones
+idle_descriptions:
+ - rattles ominously
+ - clicks its jaw open and shut
+ - stares with empty eye sockets
+name: skeleton