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/hidden_objects.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'building_guide/hidden_objects.md') 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 -- cgit v1.2.3