From 3102525d97aa6f1ad152c74b2ccfbd4b3a9b83f5 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 26 Jun 2026 02:52:31 -0400 Subject: feat: simplified conversation trees and output won't overwrite prompts now --- data/mobs/flight_attendant.yaml | 37 +++++++++++++------------------ data/objects/unique/1001_door.yaml | 3 +++ data/objects/unique/1001_instruments.yaml | 4 ++++ data/objects/unique/1001_pilot.yaml | 3 +++ data/objects/unique/1001_window.yaml | 3 +++ data/objects/unique/1002_building.yaml | 3 +++ data/objects/unique/1002_crowd.yaml | 14 ++++++------ data/objects/unique/1002_pilot.yaml | 6 ++--- data/objects/unique/1002_shuttle.yaml | 4 ++-- data/objects/unique/1002_sign.yaml | 2 ++ data/rooms/intro/1001.yaml | 4 ++++ data/rooms/intro/1002.yaml | 14 +++++++----- 12 files changed, 58 insertions(+), 39 deletions(-) create mode 100644 data/objects/unique/1001_door.yaml create mode 100644 data/objects/unique/1001_instruments.yaml create mode 100644 data/objects/unique/1001_pilot.yaml create mode 100644 data/objects/unique/1001_window.yaml create mode 100644 data/objects/unique/1002_building.yaml create mode 100644 data/objects/unique/1002_sign.yaml (limited to 'data') diff --git a/data/mobs/flight_attendant.yaml b/data/mobs/flight_attendant.yaml index 81bc3bf..9cb3530 100644 --- a/data/mobs/flight_attendant.yaml +++ b/data/mobs/flight_attendant.yaml @@ -1,32 +1,27 @@ -name: Flight attendant +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 + - smiles politely at you talk: nodes: start: - message: '"Welcome aboard! Is there anything I can help you with?"' + condition: + player_flag: 1001_look_sign + not: true + message: '"Hi there, how can I help?"' + goto: thanks 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: '"Oh, nothing... Small crowd on this ship. Just looking for conversation."' + goto: sign_reminder - text: '"Goodbye."' - disembark: - message: '"Of course! Please proceed down the stairs when you''re ready. Have a wonderful stay."' + thanks: + message: '"Thank for flying with Denali. Watch your step on the way out please."' 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."' + - text: '"Thank you."' + sign_reminder: + sequence: + - '"Yeah, just us two! Not a lot of people heading into the belt these days."' + - '"But we''ll be landing shortly! Please be sure {11 bold}look{/} at the information {11 bold}sign{/} so you''ll be all set for your final destination."' diff --git a/data/objects/unique/1001_door.yaml b/data/objects/unique/1001_door.yaml new file mode 100644 index 0000000..f9dbb20 --- /dev/null +++ b/data/objects/unique/1001_door.yaml @@ -0,0 +1,3 @@ +name: door +hidden: true +description: "A sturdy, locked steel door that keeps passengers out of the cockpit. There is a tiny, thin window at eye level." diff --git a/data/objects/unique/1001_instruments.yaml b/data/objects/unique/1001_instruments.yaml new file mode 100644 index 0000000..2d50c4f --- /dev/null +++ b/data/objects/unique/1001_instruments.yaml @@ -0,0 +1,4 @@ +name: instrument panel +aliases: [cockpit] +hidden: true +description: "The cramped cockpit is surrounded by buttons, swiches, dials, and analog gauges. The parts are a mix of technologies from the last century. Part of the panel is obscured by a draped cloth as if to hide it from view. Odd." diff --git a/data/objects/unique/1001_pilot.yaml b/data/objects/unique/1001_pilot.yaml new file mode 100644 index 0000000..fccb61f --- /dev/null +++ b/data/objects/unique/1001_pilot.yaml @@ -0,0 +1,3 @@ +name: pilot +hidden: true +description: "That's the guy who took you from the Passenger Barge Denali down here to Vesta. A middle-aged man in a neat white jumpsuit with a matching white sort of conductor's hat. He's following a written procedure checklist and seems to take his job seriously." diff --git a/data/objects/unique/1001_window.yaml b/data/objects/unique/1001_window.yaml new file mode 100644 index 0000000..e8d76f8 --- /dev/null +++ b/data/objects/unique/1001_window.yaml @@ -0,0 +1,3 @@ +name: window +hidden: true +description: "A thick trim with rounded bolt heads frames the tiny window. It looks like it was cut into the door at some point, potentially as a simple replacement to computerized security systems. Inside the cockpit there's a pilot finishing up landing procedures on a large panel of analog instruments." diff --git a/data/objects/unique/1002_building.yaml b/data/objects/unique/1002_building.yaml new file mode 100644 index 0000000..f7650dc --- /dev/null +++ b/data/objects/unique/1002_building.yaml @@ -0,0 +1,3 @@ +name: building +aliases: [customs] +description: "A squat, tunnel-shaped building with no doors that looks somewhat like a lowercase 'n'. It's built from large chunks of gray rock that must've come from the surface of Vesta." diff --git a/data/objects/unique/1002_crowd.yaml b/data/objects/unique/1002_crowd.yaml index 78fcbfa..5d0105d 100644 --- a/data/objects/unique/1002_crowd.yaml +++ b/data/objects/unique/1002_crowd.yaml @@ -1,17 +1,17 @@ name: crowd of people -aliases: [people, crowd, group, passengers] +aliases: [line, group, passengers] hidden: true description: - condition: all_of: - - player_flag: denali_intro_done + - player_flag: 1002_intro_done not: true - - player_flag: denali_lined_up - text: "The passengers have sorted themselves into a single-file line, tickets clutched in hand, shuffling toward the craft." + - player_flag: 1002_lined_up + text: "A mass of people still onto the crowded platform, blocking your exit!" - condition: all_of: - - player_flag: denali_intro_done + - player_flag: 1002_intro_done not: true - - player_flag: denali_lined_up + - player_flag: 1002_lined_up not: true - text: "A couple dozen anxious passengers mill about the pad, glancing between you and the small building to the north." + text: "A dozen or so passengers ready to leave, all with luggage. Their eyes are a mix of impatience, anxiety, and perhaps suspicion." diff --git a/data/objects/unique/1002_pilot.yaml b/data/objects/unique/1002_pilot.yaml index 0127180..846cded 100644 --- a/data/objects/unique/1002_pilot.yaml +++ b/data/objects/unique/1002_pilot.yaml @@ -3,7 +3,7 @@ hidden: true description: - condition: all_of: - - player_flag: denali_intro_done + - player_flag: 1002_intro_done not: true - - player_flag: denali_lined_up - text: "The shuttle pilot stands by the hatch in a faded flight suit, waving passengers into line and checking tickets with a practiced eye." + - player_flag: 1002_lined_up + text: "The pilot stands straight as if about to escort royalty looking down his nose a bit at the passengers. He is quickly and professionally checking tickets." diff --git a/data/objects/unique/1002_shuttle.yaml b/data/objects/unique/1002_shuttle.yaml index 29af09c..64375f5 100644 --- a/data/objects/unique/1002_shuttle.yaml +++ b/data/objects/unique/1002_shuttle.yaml @@ -3,6 +3,6 @@ aliases: [shuttle, ship] hidden: true description: - condition: - player_flag: denali_intro_done + player_flag: 1002_intro_done not: true - text: "The battered landing craft that carried you down still ticks and steams as it cools on the pad." + text: "The small white craft has short, cute wings, a wide snub-nosed cockpit, and the rear hatch opened into a staircase. The low hum of its power plant vibrates the platform as it idles. You might guess it's a 95 ton Type-QS Passenger Shuttle. Just a guess though." diff --git a/data/objects/unique/1002_sign.yaml b/data/objects/unique/1002_sign.yaml new file mode 100644 index 0000000..cdd3633 --- /dev/null +++ b/data/objects/unique/1002_sign.yaml @@ -0,0 +1,2 @@ +name: sign +description: "The sign simply says 'Processing' in bold red letters. Beneath in smaller text it says 'Welcome to Vesta', seemingly added afterwards to try to give the sign some warmth." diff --git a/data/rooms/intro/1001.yaml b/data/rooms/intro/1001.yaml index df3b2ab..c617996 100644 --- a/data/rooms/intro/1001.yaml +++ b/data/rooms/intro/1001.yaml @@ -7,6 +7,10 @@ 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. 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 + - id: 1001_door + - id: 1001_window + - id: 1001_instruments + - id: 1001_pilot mobs: - flight_attendant exits: diff --git a/data/rooms/intro/1002.yaml b/data/rooms/intro/1002.yaml index 6e45ed7..c3116e3 100644 --- a/data/rooms/intro/1002.yaml +++ b/data/rooms/intro/1002.yaml @@ -3,18 +3,20 @@ description: - condition: player_flag: 1002_intro_done not: true - text: "A large, circular, concrete landing pad sits in the middle of a blue ocean with a transport shuttle taking up nearly all of the walkable area. A crowd of perhaps a dozen people are shambling of a squat, doorless building to the north. A sign above the entryway reads \"Vesta Customs\"" - - text: "A large, circular, concrete landing pad sits empty in the middle of a blue ocean surrounded by black netting to catch anyone careless enough to fall off. Waves quietly lick the structural pylons as they roll towards the nearby beach. North is a short, wide concrete through a small, doorless red building with a wooden sign above the entryway reading \"Vesta Customs\"" + text: "A large, circular, concrete landing pad sits in the middle of a blue ocean with a transport shuttle taking up nearly all of the walkable area. A crowd of perhaps a dozen people are shambling out of a squat, doorless building to the north. A sign above the entryway reads \"Processing\"" + - text: "A large, circular, concrete landing pad sits empty in the middle of a blue ocean that stretches to the horizon. North is a concrete path through a squat, doorless building with sign above the entryway reading \"Processing\"" objects: - id: 1002_crowd - id: 1002_shuttle - id: 1002_pilot + - id: 1002_building + - id: 1002_sign exits: south: room: 1001 condition: player_flag: always_false - blocked_message: "You don't have a ticket!" + blocked_message: "You have no ticket, or reason, to leave Vesta." north: room: 1003 condition: @@ -27,16 +29,16 @@ on_enter: player_flag: 1002_lined_up not: true delay: 7 - message: "A few in the crowd openly look you up and down consideringly, as if you're heading the wrong direction." + message: "A young boy the crowd openly look you up and down a little bemused, as if you're heading the wrong direction." - condition: player_flag: 1002_lined_up not: true delay: 7 - message: "The pilot pops out of the hatch of the craft and calls out, \"Shuttle to Passenger Barge Denali. Tickets out, please! Nice and orderly!\"" + message: "The pilot pops out of the hatch of the craft and calls out \"Shuttle to Passenger Barge Denali. Tickets out, please! Nice and orderly!\"" - condition: player_flag: 1002_lined_up not: true delay: 7 - message: "The people shamble into a line, dragging their luggage out of the narrow path to clear the way for you." + message: "The people all shuffle into a line, dragging their luggage out of the path to clear the way for you." set_player_flags: 1002_lined_up: true -- cgit v1.2.3