Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 48e2a6f4b01c22117dabb3362805fa040753f479 1 parent 51cbe97
@masak authored
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';
Please sign in to comment.
Something went wrong with that request. Please try again.