# HG changeset patch # User Neil Muller # Date 1283023789 -7200 # Node ID 2090b2bc13e44f96b47505f865f5ce2a3ef3b6c7 # Parent 92029c76b687f7db3289cb03f0aa2795f8dc0c53 Add skeleton won screen diff -r 92029c76b687 -r 2090b2bc13e4 Resources/images/won/won.png Binary file Resources/images/won/won.png has changed diff -r 92029c76b687 -r 2090b2bc13e4 gamelib/scenes/won.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gamelib/scenes/won.py Sat Aug 28 21:29:49 2010 +0200 @@ -0,0 +1,28 @@ +"""You WON screen""" + +from gamelib.state import Scene, Item, Thing, Result +from gamelib.scenes.game_constants import PLAYER_ID +from gamelib.scenes.scene_widgets import (Door, InteractText, InteractNoImage, + InteractRectUnion, InteractImage, + InteractAnimated, GenericDescThing, + make_jim_dialog) + + +class Won(Scene): + + FOLDER = "won" + BACKGROUND = "won.png" + + INITIAL_DATA = { + 'accessible': False, + } + + def __init__(self, state): + super(Won, self).__init__(state) + + def enter(self): + return Result("Congratulations, Prisoner %s. You head off to your chosen " + "destination, safe in the knowledge that nothing can stop you. " + "Now you just need to do something during the intervening months" % PLAYER_ID) + +SCENES = [Won]