diff options
| author | historia <[not public]> | 2026-06-25 04:46:40 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-25 04:46:40 -0400 |
| commit | 2725e2927a1595c7b100d942d1f14146252adeb7 (patch) | |
| tree | e8bc2292634a2d686c751981ddb3097517cccc6a /building_guide/hazards.md | |
| parent | 94a06fbbe682701ca4d4bd2a70cd74d8df29c932 (diff) | |
| download | thehouseoficarus-2725e2927a1595c7b100d942d1f14146252adeb7.tar.gz | |
feat: who, global chat, removed redundant YAML IDs
Diffstat (limited to 'building_guide/hazards.md')
| -rw-r--r-- | building_guide/hazards.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/building_guide/hazards.md b/building_guide/hazards.md index 453ca18..26fdccc 100644 --- a/building_guide/hazards.md +++ b/building_guide/hazards.md @@ -13,8 +13,9 @@ define a hazard once in `data/hazards/<id>.yaml`, then reference it from any num of rooms with `hazard: <id>` (see `rooms.md`). This makes one hazard reusable across a whole area and lets a future `examine` command resolve it by name. +**The filename is the ID** (`solar_radiation.yaml` → reference it as `hazard: solar_radiation`); the loader derives it from the filename. Do not put an `id:` field in the file — it is ignored. + ```yaml -id: solar_radiation name: scorching solar radiation description: "Unfiltered sunlight pours through a gap in the dome, burning exposed skin." attack_type: science # stab/slash/crush/ranged/science — picks player defense + protect tech |
