402
|
1 """You WON screen"""
|
|
2
|
|
3 from gamelib.state import Scene, Item, Thing, Result
|
|
4 from gamelib.scenes.game_constants import PLAYER_ID
|
|
5 from gamelib.scenes.scene_widgets import (Door, InteractText, InteractNoImage,
|
|
6 InteractRectUnion, InteractImage,
|
|
7 InteractAnimated, GenericDescThing,
|
|
8 make_jim_dialog)
|
|
9
|
|
10
|
|
11 class Won(Scene):
|
|
12
|
|
13 FOLDER = "won"
|
|
14 BACKGROUND = "won.png"
|
|
15
|
|
16 INITIAL_DATA = {
|
|
17 'accessible': False,
|
|
18 }
|
|
19
|
|
20 def __init__(self, state):
|
|
21 super(Won, self).__init__(state)
|
|
22
|
|
23 def enter(self):
|
|
24 return Result("Congratulations, Prisoner %s. You head off to your chosen "
|
|
25 "destination, safe in the knowledge that nothing can stop you. "
|
429
|
26 "Now you just need to find something to do during the intervening months." % PLAYER_ID)
|
402
|
27
|
|
28 SCENES = [Won]
|