Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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
Carl Mäsak authored July 29, 2012

Showing 1 changed file with 2 additions and 3 deletions. Show diff stats Hide diff stats

  1. 5  bin/crypt
5  bin/crypt
@@ -1287,7 +1287,7 @@ class Crypt::Game {
1287 1287
                 -> $_ {
1288 1288
                     when 'water' {
1289 1289
                         $!engine.remark('fire-dies'),
1290  
-                        $!engine.place_thing('fire', 'nowhere');
  1290
+                        $!engine.hide_thing('fire');
1291 1291
                     }
1292 1292
                 };
1293 1293
 
@@ -2849,9 +2849,8 @@ multi MAIN('test') {
2849 2849
                 Adventure::GameRemarked.new(
2850 2850
                     :remark<fire-dies>,
2851 2851
                 ),
2852  
-                Adventure::ThingPlaced.new(
  2852
+                Adventure::ThingHidden.new(
2853 2853
                     :thing<fire>,
2854  
-                    :room<nowhere>,
2855 2854
                 ),
2856 2855
             ],
2857 2856
             'putting out the fire with water';

0 notes on commit 48e2a6f

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