comparison gamelib/missions.py @ 179:71db080a1fbf

More debugging
author Neil Muller <drnlmuller@gmail.com>
date Sat, 12 May 2012 11:46:08 +0200
parents 52cc28b429b7
children 8868ac7ece8b
comparison
equal deleted inserted replaced
178:52cc28b429b7 179:71db080a1fbf
458 " some force to back them up.", rep=randint(2, 4)) 458 " some force to back them up.", rep=randint(2, 4))
459 459
460 460
461 class ShowThemAll(Mission): 461 class ShowThemAll(Mission):
462 462
463 NAME = "And they called me mad." 463 NAME = "And they called me mad!"
464 SHORT_DESCRIPTION = "Time for revenge." 464 SHORT_DESCRIPTION = "Time for revenge."
465 LONG_DESCRIPTION = ( 465 LONG_DESCRIPTION = (
466 "You've outgrown the chains of convention your teachers tried" 466 "You've outgrown the chains of convention your teachers tried"
467 " to force you into. It's time to show the world what true" 467 " to force you into. It's time to show the world what true"
468 " genius can accomplish. And what better way than with a small" 468 " genius can accomplish. And what better way than with a small"
489 "The fools cower in terror at your display of power. Finally" 489 "The fools cower in terror at your display of power. Finally"
490 " they are forced to acknowledge your genius.", 490 " they are forced to acknowledge your genius.",
491 rep=randint(10, 15)) 491 rep=randint(10, 15))
492 492
493 if cat.BEAST in categorised: 493 if cat.BEAST in categorised:
494 if all(cat.AQUATIC not in x.CATEGORIES for x in 494 if all(cat.AQUATIC in x.CATEGORIES for x in
495 categorised[cat.BEAST]): 495 categorised[cat.BEAST]):
496 self.fail( 496 self.fail(
497 "While the beast is terrifying, the effect is" 497 "While the beast is terrifying, the effect is"
498 " unfortuantely significantly lessened the need for a " 498 " unfortuantely significantly lessened the need for a "
499 " large water tank, and the it's inability to move " 499 " large water tank, and the it's inability to move "
500 " independantly. Prehaps you need to rethink your plan?") 500 " independantly. Perhaps you need to rethink your plan?")
501 else: 501 else:
502 self.data['completed'] = True 502 self.data['completed'] = True
503 self.succeed( 503 self.succeed(
504 "Your monstrous creation rampages through campus in a" 504 "Your monstrous creation rampages through campus in a"
505 " most statisfying way. They will not forgot this.", 505 " most statisfying way. They will not forgot this.",
550 " tone of their stories.", rep=randint(2, 5)) 550 " tone of their stories.", rep=randint(2, 5))
551 551
552 if cat.HAND_WEAPON in categorised: 552 if cat.HAND_WEAPON in categorised:
553 self.fail( 553 self.fail(
554 "The news station's security is surprisingly well prepared." 554 "The news station's security is surprisingly well prepared."
555 " Prehaps you should rethink your approach?", 555 " Perhaps you should rethink your approach?",
556 rep=-randint(5, 10)) 556 rep=-randint(5, 10))
557 557
558 558
559 class RaidLab(Mission): 559 class RaidLab(Mission):
560 NAME = "Raid Rival Lab" 560 NAME = "Raid Rival Lab"