changeset 19:12085dfd9e69

Add rescue mission for the out of money case
author Neil Muller <drnlmuller@gmail.com>
date Sun, 06 May 2012 17:39:38 +0200
parents 0849ab5304cf
children 718d1ec382f7
files gamelib/mission.py
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gamelib/mission.py	Sun May 06 17:39:19 2012 +0200
+++ b/gamelib/mission.py	Sun May 06 17:39:38 2012 +0200
@@ -42,6 +42,20 @@
         return Result(FAILURE, 0, 0, "You can't succceed at this mission")
 
 
+class PlaygroundBully(Mission):
+
+    NAME = "Rob kids in the playground"
+    SHORT_DESCRIPTION = "Steal from those significantly weaker than yourself"
+    LONG_DESCRIPTION = ("It's not menancing, or lucrative, but when the bills"
+            " are due, no one cares how you earn the money")
+
+    def attempt(sefl, equipment, state):
+        return Result(SUCCESS, 100, -1, "You devote your resources to"
+                " robbing kids in a playpark. It's not the finest moment"
+                " in your reign of terror, but at least you walked away"
+                " with a surprising amount of small change.")
+
+
 class RansomChina(Mission):
 
     NAME = "Hold China to ransom"