aboutsummaryrefslogtreecommitdiff
path: root/data/objects/iron_gate.yaml
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-09 19:29:17 -0400
committerhistoria <[not public]>2026-07-09 19:29:17 -0400
commitb3d4c616f59ad2519f3a0b77e3b47d6571cd2486 (patch)
tree6f1f6a314e0550da68264a79381fc269db803312 /data/objects/iron_gate.yaml
parent18c7af94b30c2767b6633d050324c1db34074ce2 (diff)
downloadthehouseoficarus-b3d4c616f59ad2519f3a0b77e3b47d6571cd2486.tar.gz
feat: message actions are now sequences of messages with settable delays
Diffstat (limited to 'data/objects/iron_gate.yaml')
-rw-r--r--data/objects/iron_gate.yaml22
1 files changed, 12 insertions, 10 deletions
diff --git a/data/objects/iron_gate.yaml b/data/objects/iron_gate.yaml
index 5d6d53e..c61eebd 100644
--- a/data/objects/iron_gate.yaml
+++ b/data/objects/iron_gate.yaml
@@ -1,14 +1,16 @@
-color: "FA"
+color: FA
description:
-- text: A heavy iron gate. It looks like it can be pushed open.
+ - text: A heavy iron gate. It looks like it can be pushed open.
hidden: true
name: iron gate
on_use:
-- condition:
- global_flag: gate_open
- not: true
- value: true
- message: You push the heavy iron gate open.
- action:
- set_global_flags:
- gate_open: true
+ - action:
+ messages:
+ - delay: 0
+ message: You push the heavy iron gate open.
+ set_global_flags:
+ gate_open: true
+ condition:
+ global_flag: gate_open
+ not: true
+ value: true