Example #1
0
 def playerDied(self, pke):
     writeReport( self, False, didQuit = pke.didQuit )
     if not pke.didQuit: # if we quit, we just confirmed in a menu
         self.main.query( HitEnterWidget )
     self.done = True
     self.result = False
Example #2
0
 def playerWon(self):
     from plot import displayOutro
     writeReport( self, True, self.player.itemTypeCount( 'spellbook' ) )
     displayOutro( self, self.player.itemTypeCount( 'spellbook' ) )
     self.done = True
     self.result = False