Permalink
Browse files

[bin/crypt] better to hide the fire than to move it

Noticed that I have this functionality; let's use it.
  • Loading branch information...
1 parent 51cbe97 commit 48e2a6f4b01c22117dabb3362805fa040753f479 @masak committed Jul 29, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 bin/crypt
View
5 bin/crypt
@@ -1287,7 +1287,7 @@ class Crypt::Game {
-> $_ {
when 'water' {
$!engine.remark('fire-dies'),
- $!engine.place_thing('fire', 'nowhere');
+ $!engine.hide_thing('fire');
}
};
@@ -2849,9 +2849,8 @@ multi MAIN('test') {
Adventure::GameRemarked.new(
:remark<fire-dies>,
),
- Adventure::ThingPlaced.new(
+ Adventure::ThingHidden.new(
:thing<fire>,
- :room<nowhere>,
),
],
'putting out the fire with water';

0 comments on commit 48e2a6f

Please sign in to comment.