changeset 543:f36e7a885373

Add document altering
author Neil Muller <drnlmuller@gmail.com>
date Sun, 10 Apr 2011 00:39:24 +0200
parents fef3a942ea28
children badc218d1eba
files skaapsteker/sprites/items.py
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/skaapsteker/sprites/items.py	Sun Apr 10 00:39:24 2011 +0200
+++ b/skaapsteker/sprites/items.py	Sun Apr 10 00:39:24 2011 +0200
@@ -272,6 +272,14 @@
 class Documents(Item):
     image_file = 'props/documents.png'
 
+    msg = "Let's see if they notice if I add a zero"
+
+    def player_action(self, player):
+        if not self.world.missions.kanedas_agreement_disrupted:
+            self.world.missions.kanedas_agreement_disrupted = True
+            notify(self.msg)
+
+
 ##################################################
 # Tails