Mercurial > boomslang
diff gamelib/scenes/cryo.py @ 360:452230d78541
Use make_jim_dialog everywhere
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Sat, 28 Aug 2010 16:51:40 +0200 |
parents | b61dccc7fb42 |
children | 9d97d2e338db |
line wrap: on
line diff
--- a/gamelib/scenes/cryo.py Sat Aug 28 16:36:38 2010 +0200 +++ b/gamelib/scenes/cryo.py Sat Aug 28 16:51:40 2010 +0200 @@ -11,7 +11,8 @@ from gamelib.scenes.game_constants import PLAYER_ID from gamelib.scenes.scene_widgets import (Door, InteractText, InteractNoImage, InteractRectUnion, InteractImage, - InteractAnimated, GenericDescThing) + InteractAnimated, GenericDescThing, + make_jim_dialog) class Cryo(Scene): @@ -133,15 +134,15 @@ change_playlist(background_playlist) if self.get_data('greet'): self.set_data('greet', False) - return Result( - "You hear a voice: 'Greetings, Prisoner %s. " - "This is the Judicial Incarceration Monitor. " + return make_jim_dialog( + "Greetings, Prisoner %s. This is the Judicial " + "Incarceration Monitor. " "You have been woken early under the terms of the " "emergency conscription act to help with repairs to " "the ship. Your behaviour during this time will " "be added to your record and will be relayed to " "prison officials when we reach the destination. " - "Please report to the bridge.'" % PLAYER_ID, style="JIM") + "Please report to the bridge.'" % PLAYER_ID, self.state) def leave(self): # Stop music