Mercurial > pyntnclick
comparison gamelib/scenes/machine.py @ 206:6a52752f4920
some more interacations. Add sound to grinder
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Thu, 26 Aug 2010 14:19:57 +0200 |
parents | 9887c68110d8 |
children | 08f39251c6a5 |
comparison
equal
deleted
inserted
replaced
205:060e51d4cef1 | 206:6a52752f4920 |
---|---|
109 | 109 |
110 def interact_with_titanium_leg(self, item): | 110 def interact_with_titanium_leg(self, item): |
111 self.state.replace_inventory_item(item, self.state.items['titanium_machete']) | 111 self.state.replace_inventory_item(item, self.state.items['titanium_machete']) |
112 return Result("After much delicate grinding and a few close calls with" | 112 return Result("After much delicate grinding and a few close calls with" |
113 " various body parts, the titanium femur now resembles" | 113 " various body parts, the titanium femur now resembles" |
114 " a machete more than a bone. Nice and sharp, too.") | 114 " a machete more than a bone. Nice and sharp, too.", |
115 soundfile="grinder.ogg") | |
115 | 116 |
116 def get_description(self): | 117 def get_description(self): |
117 return "A pretty ordinary, albeit rather industrial, grinding machine." | 118 return "A pretty ordinary, albeit rather industrial, grinding machine." |
118 | 119 |
119 | 120 |