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/mobs/flight_attendant.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 data/mobs/flight_attendant.yaml (limited to 'data/mobs/flight_attendant.yaml') diff --git a/data/mobs/flight_attendant.yaml b/data/mobs/flight_attendant.yaml new file mode 100644 index 0000000..81bc3bf --- /dev/null +++ b/data/mobs/flight_attendant.yaml @@ -0,0 +1,32 @@ +name: Flight attendant +description: A smiling flight attendant in a crisp uniform, ready to assist passengers. +unique: false +protected: true +idle_descriptions: + - straightens a seat cushion + - checks the cabin for loose items + - adjusts her name badge + - smiles politely at passengers +talk: + nodes: + start: + message: '"Welcome aboard! Is there anything I can help you with?"' + options: + - text: '"I''m ready to disembark."' + goto: disembark + condition: + player_flag: 1001_look_sign + - text: '"What should I do?"' + goto: check_sign + condition: + player_flag: 1001_look_sign + not: true + - text: '"Goodbye."' + disembark: + message: '"Of course! Please proceed down the stairs when you''re ready. Have a wonderful stay."' + options: + - text: '"Thanks!"' + check_sign: + message: '"Before we land, please review the safety information posted on the wall. Just type {11 bold}look sign{/} to see it."' + options: + - text: '"Okay, I''ll take a look."' -- cgit v1.2.3