aboutsummaryrefslogtreecommitdiff
path: root/building_guide/quests.md
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-25 04:46:40 -0400
committerhistoria <[not public]>2026-06-25 04:46:40 -0400
commit2725e2927a1595c7b100d942d1f14146252adeb7 (patch)
treee8bc2292634a2d686c751981ddb3097517cccc6a /building_guide/quests.md
parent94a06fbbe682701ca4d4bd2a70cd74d8df29c932 (diff)
downloadthehouseoficarus-2725e2927a1595c7b100d942d1f14146252adeb7.tar.gz
feat: who, global chat, removed redundant YAML IDs
Diffstat (limited to 'building_guide/quests.md')
-rw-r--r--building_guide/quests.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/building_guide/quests.md b/building_guide/quests.md
index b5f18fa..a764f8e 100644
--- a/building_guide/quests.md
+++ b/building_guide/quests.md
@@ -1,8 +1,9 @@
## Complete Quest Example: "Clear the Rats"
+> **Filenames are IDs.** Every mob/object/room file below has no `id:` field — its filename is its ID (e.g. `quest_giver.yaml` → `quest_giver`). Nested `- id:` under a room's `objects:`/`mobs:` are references and stay.
+
### 1. Quest giver mob (`data/mobs/quest_giver.yaml`)
```yaml
-id: "quest_giver"
name: "Elder"
unique: true
protected: true
@@ -57,7 +58,6 @@ Talk configs are inline on the mob under the `talk:` key. No separate behavior f
### 2. Rat mobs (`data/mobs/rat.yaml`)
```yaml
-id: "rat"
name: "giant rat"
attack: 2
strength: 1
@@ -72,7 +72,6 @@ drops:
### 3. Cellar room (`data/rooms/20.yaml`)
```yaml
-id: 20
name: "Cellar"
description: "A damp, dark cellar. The floor scuttles with movement."
exits:
@@ -87,7 +86,6 @@ mobs:
### 4. Room 1 with quest giver (`data/rooms/1.yaml`)
```yaml
-id: 1
name: "Town Square"
description: "Cobblestone paths lead in all directions. The Elder stands near the fountain."
exits: