changeset 184:3571a03761e5

Tweak flavour text
author Neil Muller <drnlmuller@gmail.com>
date Sat, 12 May 2012 13:40:11 +0200
parents eda2f399b90e
children 59bd6f2e0ec2
files gamelib/missions.py
diffstat 1 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gamelib/missions.py	Sat May 12 13:24:01 2012 +0200
+++ b/gamelib/missions.py	Sat May 12 13:40:11 2012 +0200
@@ -711,9 +711,15 @@
                  money=randint(3000, 10000))
 
         if cat.BEAST in categorised:
-            self.succeed("Your creature's rampage terrifies the city's"
-                " inhabitants. The city council are all to eager to"
-                " pay you to rein it in. A most statisfying outcome",
+            if any(cat.AQUATIC in x.CATEGORIES for x in
+                    categorised[cat.BEAST]):
+                rampage = 'harbour'
+            else:
+                rampage = 'streets'
+            self.succeed(
+                "Your creature's rampage through the city's %s terrifies"
+                " the city's inhabitants. The city council are eager to"
+                " pay you to rein it in. A most statisfying outcome" % rampage,
                 money=randint(2000, 5000), rep=randint(5, 15))
 
         if cat.VEHICLE in categorised: