aboutsummaryrefslogtreecommitdiff
path: root/data/objects/iron_gate.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'data/objects/iron_gate.yaml')
-rw-r--r--data/objects/iron_gate.yaml13
1 files changed, 6 insertions, 7 deletions
diff --git a/data/objects/iron_gate.yaml b/data/objects/iron_gate.yaml
index c61eebd..bded3b3 100644
--- a/data/objects/iron_gate.yaml
+++ b/data/objects/iron_gate.yaml
@@ -4,13 +4,12 @@ description:
hidden: true
name: iron gate
on_use:
- - action:
- messages:
- - delay: 0
- message: You push the heavy iron gate open.
- set_global_flags:
- gate_open: true
- condition:
+ - condition:
global_flag: gate_open
not: true
value: true
+ steps:
+ - messages:
+ - You push the heavy iron gate open.
+ set_global_flags:
+ gate_open: true