# HG changeset patch # User Neil Muller # Date 1336830173 -7200 # Node ID cb57ccc8f1190d4118c9d5bdea0beaca40b080d2 # Parent 9e86ed5343d9060cc92fe41a6856f1bf366d35f1 Publish or perish diff -r 9e86ed5343d9 -r cb57ccc8f119 gamelib/missions.py --- a/gamelib/missions.py Sat May 12 15:26:09 2012 +0200 +++ b/gamelib/missions.py Sat May 12 15:42:53 2012 +0200 @@ -901,3 +901,29 @@ self.succeed("Dr. X's defenses are better than you" " anticipated. You'll have to return with more" " firepower.", rep=-randint(3, 7)) + + +class Publish(Mission): + NAME = "Publish your results" + SHORT_DESCRIPTION = "The world must know of your genius" + LONG_DESCRIPTION = ( + "You've seen further than others. Surely you can open their" + " eyes to the truth (and secure your place in history)?") + MINIMUM_REPUTATION = 5 + MINIMUM_MILESTONE = 'basement' + + NO_EQUIP_FAILURE = ( + "The review board rejects your paper, clearly failing to" + " realise the significant of your results") + GENERIC_FAILURE = ( + "You fail to persuade the review board of the need to publish" + " your results. Perhaps a different appraoch is required?") + + def attempt_with(self, categorised, state): + if cat.MIND_CONTROL in categorised: + self.use_equipment( + {cat.MIND_CONTROL: categorised[cat.MIND_CONTROL]}) + self.data['completed'] = True + self.succeed("With the correct persuasion, the review board" + " recognises the significance of your work.", + rep=randint(10, 15))