aboutsummaryrefslogtreecommitdiff
path: root/building_guide/hazards.md
diff options
context:
space:
mode:
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