aboutsummaryrefslogtreecommitdiff
path: root/worldbuilding_guide/doors.md
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-19 18:20:26 -0400
committerhistoria <[not public]>2026-06-19 18:20:26 -0400
commit0ea4eec5dd2122c6704216971eb1249276297867 (patch)
tree430fbbef04e837820f1d031c190f52ecd6112e25 /worldbuilding_guide/doors.md
parent3a58125d14bb307f861b38c6c5b0a63babde7e08 (diff)
downloadthehouseoficarus-0ea4eec5dd2122c6704216971eb1249276297867.tar.gz
shop fixes, 'toggle' completely removed, movement speed increased
Diffstat (limited to 'worldbuilding_guide/doors.md')
-rw-r--r--worldbuilding_guide/doors.md21
1 files changed, 8 insertions, 13 deletions
diff --git a/worldbuilding_guide/doors.md b/worldbuilding_guide/doors.md
index afe4556..1e9fb7a 100644
--- a/worldbuilding_guide/doors.md
+++ b/worldbuilding_guide/doors.md
@@ -8,20 +8,15 @@ A button in room 3 opens a door in room 7. Anyone can press it. Once pressed, th
```yaml
id: door_button
name: stone button
-behavior: button_toggle
hidden: true
-```
-
-**Button behavior** (`data/behaviors/button_toggle.yaml`):
-```yaml
-id: button_toggle
-type: toggle
-message: "You press the stone button. You hear grinding stone in the distance."
-set_flags:
- secret_door_open: true # WORLD flag
-check:
- flag: secret_door_open
- not: true # only works when door is closed
+use_interactions:
+ - condition:
+ flag: secret_door_open
+ not: true
+ message: "You press the stone button. You hear grinding stone in the distance."
+ action:
+ set_flags:
+ secret_door_open: true
```
**Room 3** — contains the button: