diff options
| author | historia <[not public]> | 2026-06-21 22:19:17 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-21 22:19:17 -0400 |
| commit | a3ae1e6aad696f584d138d9363c05dedff136a65 (patch) | |
| tree | 81e615f7227bc9d1ec79ceefc7311ecde917b074 /data/objects/tutorial_lever.yaml | |
| parent | 84072ffe6365ad57c4976e9272762aa6db41de7e (diff) | |
| download | thehouseoficarus-a3ae1e6aad696f584d138d9363c05dedff136a65.tar.gz | |
feat: safespot system implemented
Diffstat (limited to 'data/objects/tutorial_lever.yaml')
| -rw-r--r-- | data/objects/tutorial_lever.yaml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/data/objects/tutorial_lever.yaml b/data/objects/tutorial_lever.yaml new file mode 100644 index 0000000..894dd07 --- /dev/null +++ b/data/objects/tutorial_lever.yaml @@ -0,0 +1,22 @@ +id: tutorial_lever +name: stone lever +color: "250" +hidden: true +inroom_description: "A stone lever protrudes from the base of the rock formation." +description: "A weathered stone lever set into a metal bracket. It looks like it can be pulled." +use_interactions: + - condition: + player_flag: unlocked_rock_cover + value: 1 + not: true + message: "You pull the stone lever down. A mechanism clicks into place somewhere in the glade." + action: + set_player_flags: + unlocked_rock_cover: 1 + - condition: + player_flag: unlocked_rock_cover + value: 1 + message: "You push the stone lever back up. The mechanism disengages with a soft clunk." + action: + set_player_flags: + unlocked_rock_cover: 0 |
