From 2725e2927a1595c7b100d942d1f14146252adeb7 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 25 Jun 2026 04:46:40 -0400 Subject: feat: who, global chat, removed redundant YAML IDs --- building_guide/hazards.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'building_guide/hazards.md') 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/.yaml`, then reference it from any num of rooms with `hazard: ` (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 -- cgit v1.2.3