Ejemplo n.º 1
0
 def insert(self, actor):
     # Normally you would use notify_player_arrived() to trigger an action.
     # but for the game ending, we require an immediate response.
     # So instead we hook into the direct arrival of something in this location.
     super(GameEnd, self).insert()
     try:
         Story.completion_failed1()  # player arrived! Great Success!
     except AttributeError:
         pass