Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[bin/crypt] remark when the alarm stops

  • Loading branch information...
commit 236f76eaec337bc111ab1507ddff6163df05bd81 1 parent f98518b
Carl Mäsak authored July 30, 2012
5  bin/crypt
@@ -1318,7 +1318,8 @@ class Crypt::Game {
1318 1318
                         # XXX: Need to change signature of .put_out_fuse to
1319 1319
                         # accept a closure, to be run if there was a fuse to
1320 1320
                         # put out.
1321  
-                        $!engine.put_out_fuse('cavern-collapse');
  1321
+                        $!engine.put_out_fuse('cavern-collapse'),
  1322
+                        $!engine.remark('alarm-stops');
1322 1323
                     }
1323 1324
                 };
1324 1325
             .on_remove_from:
@@ -1329,7 +1330,7 @@ class Crypt::Game {
1329 1330
                         $!engine.light_fuse(4, 'cavern-collapse', {
1330 1331
                             $!engine.remark('cavern-collapses'),
1331 1332
                             $!engine.finish();
1332  
-                        });
  1333
+                        }),
1333 1334
                         $!engine.remark('alarm-starts');
1334 1335
                     }
1335 1336
                 };
3  game-data/descriptions
@@ -143,6 +143,9 @@ You try to walk past the fire, but it's too hot!
143 143
 == remark:alarm-starts
144 144
 An alarm starts sounding in the whole cavern.
145 145
 
  146
+== remark:alarm-stops
  147
+The alarm stops.
  148
+
146 149
 == remark:cavern-collapses
147 150
 The alarm starts sounding louder.
148 151
 The whole cavern shakes, and falls in on itself.

0 notes on commit 236f76e

Please sign in to comment.
Something went wrong with that request. Please try again.