Mercurial > pyntnclick
diff gamelib/scenes/machine.py @ 219:326300c218a6
Choppable cryopipes and can refactoring.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Thu, 26 Aug 2010 20:53:19 +0200 |
parents | 08f39251c6a5 |
children | a5325919342e |
line wrap: on
line diff
--- a/gamelib/scenes/machine.py Thu Aug 26 20:34:57 2010 +0200 +++ b/gamelib/scenes/machine.py Thu Aug 26 20:53:19 2010 +0200 @@ -18,7 +18,7 @@ self.add_thing(ToMap()) self.add_thing(LaserWelder()) self.add_thing(Grinder()) - self.add_item(TitaniumMachete('titanium_machete')) + self.add_item(TitaniumMachete('machete')) def enter(self): return Result("The machine room is dark and forbidding.") @@ -109,7 +109,7 @@ return Result("It looks like it eats fingers. Perhaps a different approach is in order?") def interact_with_titanium_leg(self, item): - self.state.replace_inventory_item(item, self.state.items['titanium_machete']) + self.state.replace_inventory_item(item, self.state.items['machete']) return Result("After much delicate grinding and a few close calls with" " various body parts, the titanium femur now resembles" " a machete more than a bone. Nice and sharp, too.",