From 90a1e7f117821484e0f53efffc0661c38270048a Mon Sep 17 00:00:00 2001 From: Dan Jones Date: Sat, 15 Jan 2022 11:30:03 -0600 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Move=20OutOfBed=20to=20low?= =?UTF-8?q?er=5Fdecks=20description?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's easier to read there --- includes/Globals.inf | 4 +++- includes/Rooms.inf | 14 +++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/includes/Globals.inf b/includes/Globals.inf index f336beb..b8d6046 100644 --- a/includes/Globals.inf +++ b/includes/Globals.inf @@ -15,5 +15,7 @@ Global woke = false; ^^ ~Anybody who attempts to oppose us will be met with a swift end. If you stay where you are and do not interfere in our plans, - you will be released safely shortly.~"; + you will be released safely shortly.~ + ^^ + "; ]; \ No newline at end of file diff --git a/includes/Rooms.inf b/includes/Rooms.inf index 59f2576..2d8b0ad 100644 --- a/includes/Rooms.inf +++ b/includes/Rooms.inf @@ -1,14 +1,14 @@ Room lower_decks "Lower Decks Corridor" - with description "You stand in a lower decks corridor. - This corridor contains several bunks - lining the walls where the lower deckers - sleep."; + with description [; + if (player in lower_decks) OutOfBed(); + "You stand in a lower decks corridor. + This corridor contains several bunks + lining the walls where the lower deckers + sleep."; + ]; Room bunk "your bunk" lower_decks with name 'bunk' 'bunks', description "Your bunk is like every other bunk on the lower decks.^ It's barely big enough to fit you. But it's home.", - after [; - Exit: OutOfBed(); - ], has proper enterable container static ~open ~light;