diff options
Diffstat (limited to 'building_guide/quests.md')
| -rw-r--r-- | building_guide/quests.md | 37 |
1 files changed, 23 insertions, 14 deletions
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" ``` |
