diff gamelib/scenes/map.py @ 212:2b820b4ba3bf

Add constant for player id. Make IDs uppercase
author Neil Muller <neil@dip.sun.ac.za>
date Thu, 26 Aug 2010 19:33:23 +0200
parents eb101b6fb3dd
children 8d8aef45db4e
line wrap: on
line diff
--- a/gamelib/scenes/map.py	Thu Aug 26 19:11:05 2010 +0200
+++ b/gamelib/scenes/map.py	Thu Aug 26 19:33:23 2010 +0200
@@ -8,6 +8,7 @@
    """
 
 from gamelib.state import Scene, Item, Thing, InteractText, Result
+from gamelib.scenes.game_constants import PLAYER_ID
 
 
 class Map(Scene):
@@ -39,10 +40,11 @@
                 "neural implant to help you navigate around the ship. "
                 "Please report to the bridge.'", style="JIM"),
                 Result(
-                "JIM continues 'Prisoner 84c7-d10dcfda0878. You are classed "
+                "JIM continues 'Prisoner %s. 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.'", style="JIM"))
+                "of an additional 3 years on you sentence.'" % PLAYER_ID,
+                style="JIM"))
 
 
 class DoorThing(Thing):