changeset 203:12c66793db8f

Add neural implant text
author Neil Muller <neil@dip.sun.ac.za>
date Thu, 26 Aug 2010 10:55:02 +0200
parents 6c84eb5ff80a
children 407d23635343
files gamelib/scenes/map.py
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gamelib/scenes/map.py	Thu Aug 26 10:54:43 2010 +0200
+++ b/gamelib/scenes/map.py	Thu Aug 26 10:55:02 2010 +0200
@@ -17,6 +17,7 @@
 
     INITIAL_DATA = {
         'accessible': True,
+        'implant': True,
         }
 
     def __init__(self, state):
@@ -30,6 +31,18 @@
     def enter(self):
         for door_thing in self.things.values():
             door_thing.check_dest()
+        if self.get_data('implant'):
+            self.set_data('implant', False)
+            return (Result(
+                "JIM say 'Under the terms of the emergency conscription "
+                "act, I have downloaded the ship schematics to your "
+                "neural implant to help you navigate around the ship. "
+                "Please report to the bridge.'"),
+                Result(
+                "JIM continues 'Prisoner 84c7-d10dcfda0878. You are classed "
+                "as a class 1 felon. Obtaining access to the ship shematics "
+                "consitutes a level 2 offence and carries a minimal penalty "
+                "of an additional 3 years on you sentence.'"))
 
 
 class DoorThing(Thing):