It should not be possible to put the backpack into the tray
authorJason Self <j@jxself.org>
Tue, 27 Aug 2019 04:01:54 +0000 (21:01 -0700)
committerJason Self <j@jxself.org>
Tue, 27 Aug 2019 04:01:54 +0000 (21:01 -0700)
the-server-room.inf

index a3f8cc036e7c1ab8a5267a26e4e80feb027c40d0..c3a429b0ac0631627da8b0a3b87acdec263526ab 100644 (file)
@@ -38,7 +38,7 @@
 Constant Story "The Server Room";
 Constant Headline "^An Interactive Fiction by Daniel Bartholomew.^";
 Release 1;
-Serial "080625";                        !for keeping track of public releases
+Serial "190826";
 Constant MAX_SCORE = 6;
 Include "parser";
 Include "verblib";
@@ -187,6 +187,9 @@ Object  tray "tray" server_room
   with  description "It's a CD tray. Just like every other CD tray.",
         name 'cd' 'tray',
         before [;
+          Receive:
+            if (noun ~= disc)
+                print_ret (The) noun, " is too big to fit.";
           Open:
             if (openedtray == 1) {
                 score = score + 2;