Add key card
[the-server-room.git] / the-server-room.inf
index 4ac4ca60355e823ace6e3b07c9a6f42df7fc34ab..615ddb72a616e93230ba732ca5bd74b698e7df99 100644 (file)
@@ -1,6 +1,6 @@
 !% -SD
 !=========================================================================
-! Copyright (C) 2019 Jason Self <j@jxself.org>
+! Copyright (C) 2019, 2020 Jason Self <j@jxself.org>
 !
 ! This program is free software: you can redistribute it and/or modify
 ! it under the terms of the GNU Affero General Public License as
@@ -38,7 +38,7 @@
 Constant Story "The Server Room";
 Constant Headline "^An Interactive Fiction by Daniel Bartholomew.^";
 Release 1;
-Serial "190908";
+Serial "201027";
 Constant MAX_SCORE = 6;
 Include "parser";
 Include "verblib";
@@ -136,7 +136,11 @@ Object  microwave "microwave" counter
   has   container openable;
 
 Object  table "table" break_room
-  with  description "It's a table. Were you expecting something else?",
+  with  description "The table is made of strong wood. It looks to 
+                    be about 6 feet across and could probably sit 6 
+                    to 8 people. It's white, round and seems very 
+                    functional as a table despite looking quite 
+                    heavy.",
         name 'table',
         before [;
           Take:
@@ -195,6 +199,15 @@ Object  hallway "Hallway"
         w_to restroom,
   has   light;
 
+Object  keycard "key card" break_room
+  with  description
+            "The key card is thin and black with a magnetic strip 
+            down the middle. The company logo is laser-etched into 
+            the plastic on one side. The card is slightly bendable 
+            and easy to grip.",
+        name 'key' 'card' 'keycard',
+  has   ;
+
 Object  restroom "Restroom"
   with  description
             "This average-sized, square restroom has a sink set into a
@@ -281,6 +294,7 @@ Object  tray "tray" server_room
 
 [ Initialise;
     location = break_room;
+    move keycard to player;
     "^^^^It's Saturday, a nice one at that, and you've been called in
     to fix a server that's on the blink. Again.^^You've had it. This
     server is going to run GNU/Linux from this day forward! The