Mercurial > pyntnclick
diff gamelib/scenes/bridge.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 | 09efb8b7c132 |
children | a95bfba3acd5 |
line wrap: on
line diff
--- a/gamelib/scenes/bridge.py Sat Aug 28 16:36:38 2010 +0200 +++ b/gamelib/scenes/bridge.py Sat Aug 28 16:51:40 2010 +0200 @@ -13,7 +13,7 @@ from gamelib.scenes.scene_widgets import (Door, InteractText, InteractNoImage, InteractRectUnion, InteractImage, InteractAnimated, GenericDescThing, - BaseCamera) + BaseCamera, make_jim_dialog) class Bridge(Scene): @@ -302,8 +302,8 @@ def interact_default(self): if self.scene.get_data('ai status') == 'online': return (Result('You feel a shock from the panel'), - Result("JIM says: 'Prisoner %s. Please step away from the panel. " - "You are not an authorized techinican.'" % PLAYER_ID, style="JIM")) + make_jim_dialog("Prisoner %s. Please step away from the panel. " + "You are not an authorized techinican." % PLAYER_ID, self.state)) class ChairDetail(Scene):