From c55d0e4150b23f2c5c9f96bbc3d4dc2fc6dbaa36 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 25 Jun 2026 19:37:20 -0400 Subject: feat: yaml conversation trees more robust --- data/rooms/intro/1001.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'data/rooms/intro') diff --git a/data/rooms/intro/1001.yaml b/data/rooms/intro/1001.yaml index 090e97c..fd7f2f3 100644 --- a/data/rooms/intro/1001.yaml +++ b/data/rooms/intro/1001.yaml @@ -2,11 +2,14 @@ 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." objects: - id: 1001_sign +mobs: + - flight_attendant exits: - down: 1002 + down: + room: 1002 condition: player_flag: 1001_look_sign - blocked_message: "The attendant points to the sign and insists you 'look sign' before disembarking." + blocked_message: "The attendant points to the sign and insists you {10}look sign{/} before disembarking." on_enter: - condition: player_flag: 1001_welcome @@ -17,11 +20,11 @@ on_enter: player_flag: 1001_welcome not: true delay: 7 - message: "{11}Type 'look sign' to check out the sign over there and get started{/}" + message: "{11}Type{/} {10}look sign{/} {11}or{/} {10}talk attendant{/} {11}to get started{/}" set_player_flags: 1001_welcome: true - condition: player_flag: 1001_welcome not: true delay: 7 - message: "{11}Type 'help newplayer' for the new player's guide. That's it. Explore and have fun.{/}" + message: "{11}Type{/} {10}help newplayer{/} {11}for the new player's guide. That's it. Explore and have fun.{/}" -- cgit v1.2.3