blob: 39030d80d7c5a9965ed705507444d4fa6e39509c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
## Hidden Objects
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.
```yaml
# data/objects/secret_lever.yaml
id: secret_lever
name: stone lever
hidden: true
description: "A cleverly concealed lever behind a loose stone."
use_interactions:
- condition:
flag: secret_passage_open
value: true
not: true
message: "You pull the lever. A grinding sound echoes from the east."
action:
set_flags:
secret_passage_open: true
```
Room description hints at it:
```yaml
description: "A dusty corridor. One of the wall stones looks slightly out of place."
```
---
|