aboutsummaryrefslogtreecommitdiff
path: root/building_guide/hidden_objects.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/hidden_objects.md
parent94a06fbbe682701ca4d4bd2a70cd74d8df29c932 (diff)
downloadthehouseoficarus-2725e2927a1595c7b100d942d1f14146252adeb7.tar.gz
feat: who, global chat, removed redundant YAML IDs
Diffstat (limited to 'building_guide/hidden_objects.md')
-rw-r--r--building_guide/hidden_objects.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/building_guide/hidden_objects.md b/building_guide/hidden_objects.md
index e79c026..65940d6 100644
--- a/building_guide/hidden_objects.md
+++ b/building_guide/hidden_objects.md
@@ -2,9 +2,10 @@
Objects with `hidden: true` don't appear in the room's object listing. Players discover them by reading room descriptions or trying commands. The object is still fully interactable — `push gate`, `look gate`, etc.
+**The filename is the ID** (`secret_lever.yaml` → `secret_lever`); don't add an `id:` field (see `objects.md`).
+
```yaml
# data/objects/secret_lever.yaml
-id: secret_lever
name: stone lever
hidden: true
description: "A cleverly concealed lever behind a loose stone."
@@ -30,7 +31,6 @@ By default an object matches its `name` (word-prefix matching) and the words in
its `id`. Add `aliases` to accept extra names:
```yaml
-id: 1002_shuttle
name: landing craft # matches "landing", "craft", "landing craft"
aliases: [shuttle, ship] # also matches "shuttle" and "ship"
hidden: true
@@ -53,7 +53,6 @@ same shared object can appear only while a player's flags warrant it (e.g. durin
an intro) and vanish on return visits.
```yaml
-id: 1002_crowd
name: crowd of people
aliases: [people, crowd, passengers]
hidden: true