diff --git a/game/rooms/room06/esc/worker.esc b/game/rooms/room06/esc/worker.esc index 1325ded0..d1fb0d8e 100644 --- a/game/rooms/room06/esc/worker.esc +++ b/game/rooms/room06/esc/worker.esc @@ -7,42 +7,53 @@ say player "I don't think he'd like that." #################################################################################################### :talk +# This block will only execute once per game > [!talked_once] turn_to worker player - say player "Hi." - say worker "Have you come about the job?" + say worker "If you talk to me again" + say worker "I will not say this opening sentence." set_global talked_once true +# Reset flag so the Loom conversation will be available every time +# you restart the conversation with the worker during a game. +# The Loom inner conversation block will exit back to the outer question block +# once all options are exhausted, which is why all of them have a conditional +# flag to make them disappear once you choose +# "I don't want to talk at all any more" + +set_global loom_conversation_done false turn_to worker player ? - - "What job are you hiring for?" - say player "What job are you hiring for?" - say worker "We're recruiting adventurers!" + - "What is your name?" + say current_player "Who are you?" + say worker "I'm the worker" [!name_known] + say worker "You already asked me that" [name_known] + set_global name_known true + - "Why are you here?" + say current_player "Why are you here?" + say worker "I'm waiting for you to give me the" + say worker "filled form from room 5." + # This starts an inner subset of questions + - "Can I ask you about Loom?" [!loom_conversation_done] + say current_player "What do you know about Loom?" + say worker "What do you want to know about Loom?" ? - - "Why would I want to be an adventurer?" - say player "Why would I want to be an adventurer?" - say worker "Fame!" - say worker "Adventure!" - say worker "Almost certain death!" - - "How do I apply?" - say player "How do I apply?" - say worker "All you need to do is find an ..." - say worker "adventurer application form and fill it in" - - "Do I need my own sword?" [!hide_this_option] - say player "If there's a dragon, do I need my own sword?" - say worker "Can you run fast?" - say player "Not really." - say worker "Then yes." - set_global hide_this_option true - - "I've got to go." - say player "I've got to go." - say worker "Bye!" + - "Could it be created in Escoria?" [!loom_conversation_done] + say player "Could Loom be created in Escoria?" + say worker "Yes!" + - "Is it a fun game?" [!loom_conversation_done, !fun_game_asked] + say player "Is Loom a fun game?" + say worker "Yes!" + set_global fun_game_asked true + - "I don't want to talk at all any more." [!loom_conversation_done] turn_to worker worker_face_down stop + # This will take you back to the outer set of questions + - "I know enough about Loom." [!loom_conversation_done] + set_global loom_conversation_done true ! - - "No, I'm not looking for a job." - say player "No, I'm not looking for a job." - say worker "Well you know where to find me if you change your mind." + - "I'm done." + say player "Bye!" turn_to worker worker_face_down stop !