Mercurial > boomslang
comparison gamelib/scenes/cryo.py @ 361:9d97d2e338db
JIM comments on cryo pipes
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Sat, 28 Aug 2010 16:56:09 +0200 |
parents | 452230d78541 |
children | 4e939b3c73f8 |
comparison
equal
deleted
inserted
replaced
360:452230d78541 | 361:9d97d2e338db |
---|---|
163 self.set_data('fixed', False) | 163 self.set_data('fixed', False) |
164 pipe = TubeFragment('tube_fragment') | 164 pipe = TubeFragment('tube_fragment') |
165 self.state.add_item(pipe) | 165 self.state.add_item(pipe) |
166 self.state.add_inventory_item(pipe.name) | 166 self.state.add_inventory_item(pipe.name) |
167 self.set_interact("chopped") | 167 self.set_interact("chopped") |
168 return Result("It takes more effort than one would expect, but " | 168 result = Result("It takes more effort than one would expect, but " |
169 "eventually the pipe is separated from the wall.") | 169 "eventually the pipe is separated from the wall.") |
170 ai_result = make_jim_dialog("Prisoner %s. Vandalism is an offence " | |
171 "punishable by a minimum of an additional 6 months " | |
172 "to your sentence" % PLAYER_ID, self.state) | |
173 if ai_result: | |
174 return result, ai_result | |
175 return result | |
176 | |
170 | 177 |
171 def is_interactive(self): | 178 def is_interactive(self): |
172 return self.get_data('fixed') | 179 return self.get_data('fixed') |
173 | 180 |
174 def interact_without(self): | 181 def interact_without(self): |