Browse files

[bin/crypt] remark when the alarm stops

  • Loading branch information...
1 parent f98518b commit 236f76eaec337bc111ab1507ddff6163df05bd81 @masak committed Jul 30, 2012
Showing with 6 additions and 2 deletions.
  1. +3 −2 bin/crypt
  2. +3 −0 game-data/descriptions
View
5 bin/crypt
@@ -1318,7 +1318,8 @@ class Crypt::Game {
# XXX: Need to change signature of .put_out_fuse to
# accept a closure, to be run if there was a fuse to
# put out.
- $!engine.put_out_fuse('cavern-collapse');
+ $!engine.put_out_fuse('cavern-collapse'),
+ $!engine.remark('alarm-stops');
}
};
.on_remove_from:
@@ -1329,7 +1330,7 @@ class Crypt::Game {
$!engine.light_fuse(4, 'cavern-collapse', {
$!engine.remark('cavern-collapses'),
$!engine.finish();
- });
+ }),
$!engine.remark('alarm-starts');
}
};
View
3 game-data/descriptions
@@ -143,6 +143,9 @@ You try to walk past the fire, but it's too hot!
== remark:alarm-starts
An alarm starts sounding in the whole cavern.
+== remark:alarm-stops
+The alarm stops.
+
== remark:cavern-collapses
The alarm starts sounding louder.
The whole cavern shakes, and falls in on itself.

0 comments on commit 236f76e

Please sign in to comment.