Mercurial > pyntnclick
comparison gamelib/scenes/cryo.py @ 792:bdaffaa8b6bf pyntnclick
Loading and saving! (Plus a bunch of other stuff to make it possible.)
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sun, 27 Jan 2013 12:43:28 +0200 |
parents | a35f5364437d |
children | 374d96e0b55e |
comparison
equal
deleted
inserted
replaced
791:56ec01e51f3d | 792:bdaffaa8b6bf |
---|---|
170 self.game.add_inventory_item(pipe.name) | 170 self.game.add_inventory_item(pipe.name) |
171 self.set_interact() | 171 self.set_interact() |
172 responses = [Result(_("It takes more effort than one would expect," | 172 responses = [Result(_("It takes more effort than one would expect," |
173 " but eventually the pipe is separated from" | 173 " but eventually the pipe is separated from" |
174 " the wall."), soundfile="chop-chop.ogg")] | 174 " the wall."), soundfile="chop-chop.ogg")] |
175 if self.game.current_scene.get_data('vandalism_warn'): | 175 if self.game.get_current_scene().get_data('vandalism_warn'): |
176 self.game.current_scene.set_data('vandalism_warn', False) | 176 self.game.get_current_scene().set_data('vandalism_warn', False) |
177 responses.append(make_jim_dialog( | 177 responses.append(make_jim_dialog( |
178 _("Prisoner %s. Vandalism is an offence punishable by a " | 178 _("Prisoner %s. Vandalism is an offence punishable by a " |
179 "minimum of an additional 6 months to your sentence." | 179 "minimum of an additional 6 months to your sentence." |
180 ) % PLAYER_ID, self.game)) | 180 ) % PLAYER_ID, self.game)) |
181 return responses | 181 return responses |