comparison gamelib/scenes/cryo.py @ 131:97c5ff0a05bb

Hook up map.
author Simon Cross <hodgestar+bzr@gmail.com>
date Tue, 24 Aug 2010 18:52:52 +0200
parents 4223d66d88b4
children 0530547a131f
comparison
equal deleted inserted replaced
130:11afefc4aeaf 131:97c5ff0a05bb
112 if self.get_data('door') == "shut": 112 if self.get_data('door') == "shut":
113 self.half_open_door() 113 self.half_open_door()
114 if self.get_data('door') != "open": 114 if self.get_data('door') != "open":
115 return Result("It moves slightly and then stops. A chain on the other side is preventing it from opening completely.") 115 return Result("It moves slightly and then stops. A chain on the other side is preventing it from opening completely.")
116 else: 116 else:
117 self.state.set_current_scene('bridge') 117 self.state.set_current_scene('map')
118 return Result("you leave the room, hoping to never return.") 118 return Result("You leave the room, hoping to never return.")
119 119
120 def interact_default(self, item): 120 def interact_default(self, item):
121 return Result(random.choice([ 121 return Result(random.choice([
122 "Sadly, this isn't that sort of game.", 122 "Sadly, this isn't that sort of game.",
123 "Your valiant efforts are foiled by the Evil Game Designer.", 123 "Your valiant efforts are foiled by the Evil Game Designer.",