Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[bin/crypt] remark when the alarm stops

  • Loading branch information...
commit 236f76eaec337bc111ab1507ddff6163df05bd81 1 parent f98518b
Carl Mäsak authored
Showing with 6 additions and 2 deletions.
  1. +3 −2 bin/crypt
  2. +3 −0  game-data/descriptions
5 bin/crypt
View
@@ -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');
}
};
3  game-data/descriptions
View
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.