aboutsummaryrefslogtreecommitdiff
path: root/building_guide/hazards.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/hazards.md
parent94a06fbbe682701ca4d4bd2a70cd74d8df29c932 (diff)
downloadthehouseoficarus-2725e2927a1595c7b100d942d1f14146252adeb7.tar.gz
feat: who, global chat, removed redundant YAML IDs
Diffstat (limited to 'building_guide/hazards.md')
-rw-r--r--building_guide/hazards.md3
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