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/objects/netrunner.yaml | 18 ++++++------------ data/objects/tool_shed.yaml | 3 +-- data/objects/unique/1001_sign.yaml | 6 +++++- 3 files changed, 12 insertions(+), 15 deletions(-) (limited to 'data/objects') diff --git a/data/objects/netrunner.yaml b/data/objects/netrunner.yaml index 21049e9..ced3f10 100644 --- a/data/objects/netrunner.yaml +++ b/data/objects/netrunner.yaml @@ -23,15 +23,13 @@ talk: value: true goto: tips_secure text: '"Tell me about the secure terminal."' - - end: true - text: '"Goodbye."' + - text: '"Goodbye."' terminals: message: '"There''s a basic terminal right here in this lab -- good for beginners. The station down east has an advanced one if you''ve got the chops. And if you''re really good, there''s a secure terminal deep in the compound. You''ll need the skills to match though."' options: - goto: tips_basic text: '"Any tips?"' - - end: true - text: '"Thanks."' + - text: '"Thanks."' tips_advanced: action: set_player_flags: @@ -40,8 +38,7 @@ talk: options: - goto: tips_secure text: '"Tell me about the secure terminal."' - - end: true - text: '"Thanks."' + - text: '"Thanks."' tips_basic: action: set_player_flags: @@ -50,17 +47,14 @@ talk: options: - goto: tips_advanced text: '"What about the advanced terminal?"' - - end: true - text: '"Thanks."' + - text: '"Thanks."' tips_secure: message: '"Secure terminal? Signal Bluff. It''s a bluffing game -- you and the system each roll hidden dice and take turns making claims about the total. Ones are wild. Call the bluff or raise the stakes. Read the probabilities, play the odds, and don''t let it psych you out."' options: - - end: true - text: '"Thanks."' + - text: '"Thanks."' what_is: message: '"Hacking''s about jacking into terminals and running their gauntlets. Each terminal runs a different challenge -- puzzles, hunts, pattern games. Crack ''em and you get better at it. Simple as that."' options: - goto: terminals text: '"Where can I find terminals?"' - - end: true - text: '"Goodbye."' + - text: '"Goodbye."' diff --git a/data/objects/tool_shed.yaml b/data/objects/tool_shed.yaml index 583becb..87c9716 100644 --- a/data/objects/tool_shed.yaml +++ b/data/objects/tool_shed.yaml @@ -59,8 +59,7 @@ talk: player_flag: tool_shed_watering_can goto: retrieve_watering_can text: Retrieve watering can - - end: true - text: Never mind + - text: Never mind store_rake: action: set_player_flags: diff --git a/data/objects/unique/1001_sign.yaml b/data/objects/unique/1001_sign.yaml index 83b6a9c..2769563 100644 --- a/data/objects/unique/1001_sign.yaml +++ b/data/objects/unique/1001_sign.yaml @@ -1,5 +1,6 @@ name: sign -hidden: true +aliases: [safety card, safety instructions, frame] +inroom_description: A large framed sign is mounted near the cockpit door. description: |- We hope you enjoy your trip on our shuttle. Your pilot is [TYLER]. @@ -22,3 +23,6 @@ description: |- Type {12 bold}what{/} for a list of possible common actions Make sure to check the {10}help{/} pages, especially {10}help newplayer{/}! +on_look: + set_player_flags: + 1001_look_sign: true -- cgit v1.2.3