aboutsummaryrefslogtreecommitdiff
path: root/worldbuilding_guide/hidden_objects.md
diff options
context:
space:
mode:
Diffstat (limited to 'worldbuilding_guide/hidden_objects.md')
-rw-r--r--worldbuilding_guide/hidden_objects.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/worldbuilding_guide/hidden_objects.md b/worldbuilding_guide/hidden_objects.md
index a191051..39030d8 100644
--- a/worldbuilding_guide/hidden_objects.md
+++ b/worldbuilding_guide/hidden_objects.md
@@ -6,9 +6,17 @@ Objects with `hidden: true` don't appear in the room's object listing. Players d
# data/objects/secret_lever.yaml
id: secret_lever
name: stone lever
-behavior: secret_toggle
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: