aboutsummaryrefslogtreecommitdiff
path: root/data/rooms
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-25 20:33:47 -0400
committerhistoria <[not public]>2026-06-25 20:33:47 -0400
commit84d74ca4351a97148ad8339676f9df7946bc21fb (patch)
treea9f50ac56e8bbcdf2b307ef6f7143b67bce46c61 /data/rooms
parentc55d0e4150b23f2c5c9f96bbc3d4dc2fc6dbaa36 (diff)
downloadthehouseoficarus-84d74ca4351a97148ad8339676f9df7946bc21fb.tar.gz
feat: trigger system for scripted events added.
Diffstat (limited to 'data/rooms')
-rw-r--r--data/rooms/intro/1001.yaml20
1 files changed, 17 insertions, 3 deletions
diff --git a/data/rooms/intro/1001.yaml b/data/rooms/intro/1001.yaml
index fd7f2f3..df3b2ab 100644
--- a/data/rooms/intro/1001.yaml
+++ b/data/rooms/intro/1001.yaml
@@ -1,5 +1,10 @@
name: "Inside Transport Shuttle"
-description: "A dim, windowless shuttle interior with a few uncomfortable rows of steel seats facing forward. A large framed sign hangs next to the closed cockpit door. A piston-powered staircase leads down out the back of the small craft with a smiling attendant ready to help disembark."
+description:
+ - text: "A dim, windowless shuttle interior with a few uncomfortable rows of steel seats facing forward. A large framed sign hangs next to the closed cockpit door. The piston-powered staircase is firmly closed at the rear of the craft."
+ condition:
+ player_flag: 1001_touchdown
+ not: true
+ - text: "A dim, windowless shuttle interior with a few uncomfortable rows of steel seats facing forward. A large framed sign hangs next to the closed cockpit door. A piston-powered staircase leads down out the back of the small craft with a smiling attendant ready to help disembark."
objects:
- id: 1001_sign
mobs:
@@ -8,8 +13,8 @@ exits:
down:
room: 1002
condition:
- player_flag: 1001_look_sign
- blocked_message: "The attendant points to the sign and insists you {10}look sign{/} before disembarking."
+ player_flag: 1001_touchdown
+ blocked_message: "The piston-powered staircase is firmly closed."
on_enter:
- condition:
player_flag: 1001_welcome
@@ -28,3 +33,12 @@ on_enter:
not: true
delay: 7
message: "{11}Type{/} {10}help newplayer{/} {11}for the new player's guide. That's it. Explore and have fun.{/}"
+triggers:
+ - on_player_flag: 1001_look_sign
+ steps:
+ - delay: 5
+ message: "The cabin shakes as the small craft touches down"
+ - delay: 5
+ message: "The pistons hiss as the rear staircase opens"
+ - set_player_flags:
+ 1001_touchdown: true