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) --- building_guide/quests.md | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) (limited to 'building_guide/quests.md') diff --git a/building_guide/quests.md b/building_guide/quests.md index b9556dc..ff04118 100644 --- a/building_guide/quests.md +++ b/building_guide/quests.md @@ -41,14 +41,19 @@ talk: heal: 10 options: - text: "\"Thanks!\"" -attack: 1 -strength: 1 -defense: 1 -hp: 20 -speed: 5 -aggressive: false +combat: + kind: combat + aggressive: false + attack_types: [crush] + respawn_ticks: 30 + stats: + attack: 1 + strength: 1 + defense: 1 + hp: 20 + speed: 5 idle_descriptions: - - "mutters about the rat infestation" + - "mutters about the rat infestation" ``` Talk configs are inline on the mob under the `talk:` key. No separate behavior file needed. @@ -56,13 +61,17 @@ Talk configs are inline on the mob under the `talk:` key. No separate behavior f ### 2. Rat mobs (`data/mobs/rat.yaml`) ```yaml name: "giant rat" -attack: 2 -strength: 1 -defense: 1 -hp: 3 -speed: 4 -aggressive: true -respawn_ticks: 60 +combat: + kind: combat + aggressive: true + attack_types: [crush] + respawn_ticks: 60 + stats: + attack: 2 + strength: 1 + defense: 1 + hp: 3 + speed: 4 drops: remains: "rat bones" ``` -- cgit v1.2.3