From c14c2e403c75a913e1a6d962fb6fe64f013adae5 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 1 Jul 2026 22:30:31 -0400 Subject: fix: combat formulas and mob attack types (mobs switch attack styles if safespotting) --- data/mobs/examples/slug.yaml | 84 +++++++++++++++++++++++--------------------- 1 file changed, 43 insertions(+), 41 deletions(-) (limited to 'data/mobs/examples/slug.yaml') diff --git a/data/mobs/examples/slug.yaml b/data/mobs/examples/slug.yaml index 0429ee1..41aa849 100644 --- a/data/mobs/examples/slug.yaml +++ b/data/mobs/examples/slug.yaml @@ -1,44 +1,46 @@ -name: slug -description: "A bloated, translucent slug the size of a dog. Its skin glistens with toxic mucus. It cannot be killed by conventional means — only salt can destroy it." -idle_descriptions: - - "oozes along the floor leaving a slimy trail" - - "contracts and expands rhythmically" - - "extends its eyestalks toward you" - - "secretes a glob of toxic mucus" -drops: - remains: slug_mucus - loot: - - item_id: credits - weight: 100 - quantity: 15 combat: - kind: combat - stats: - hp: 15 - attack: 3 - strength: 3 - defense: 1 - attack_type: crush - speed: 6 aggressive: false + assassin_level: 1 + attack_types: + - crush + combat_descriptions: + - lunges slimily at %s + - sprays mucus toward %s + - writhes in combat with %s + finishing_blow: salt + kind: combat respawn_ticks: 25 - 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 - assassin_level: 1 - finishing_blow: salt - size: small - combat_descriptions: - - "lunges slimily at %s" - - "sprays mucus toward %s" - - "writhes in combat with %s" + size: small + stats: + attack: 3 + 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: 15 + max_melee_hit: 1 + speed: 6 + strength: 3 +description: A bloated, translucent slug the size of a dog. Its skin glistens with toxic mucus. It cannot be killed by conventional means — only salt can destroy it. +drops: + loot: + - item_id: credits + quantity: 15 + weight: 100 + remains: slug_mucus +idle_descriptions: + - oozes along the floor leaving a slimy trail + - contracts and expands rhythmically + - extends its eyestalks toward you + - secretes a glob of toxic mucus +name: slug -- cgit v1.2.3