Browse Source

added verbose cog types

Darren Ranalli 22 years ago
parent
commit
e700b5e152
1 changed files with 6 additions and 1 deletions
  1. 6 1
      direct/src/level/EntityTypes.py

+ 6 - 1
direct/src/level/EntityTypes.py

@@ -17,7 +17,12 @@ class LevelMgr(Entity):
     permanent = 1
     attribs = (
         ('cogLevel', 0, 'int', {'min':0, 'max':11}),
-        ('cogTrack', 'c', 'choice', {'choiceSet':['c','s','l','m']}),
+        ('cogTrack', 'c', 'choice', {'choiceSet':('sellbot','cashbot',
+                                                  'lawbot','bossbot',),
+                                     'valueDict':{'sellbot':'s',
+                                                  'cashbot':'m',
+                                                  'lawbot':'l',
+                                                  'bossbot':'c'}}),
         ('modelFilename', '', 'bamfilename'),
         )