Browse Source

Added party props

Gyedo Jeon 17 years ago
parent
commit
54f352e5cb
1 changed files with 4 additions and 1 deletions
  1. 4 1
      direct/src/leveleditor/LevelEditor.py

+ 4 - 1
direct/src/leveleditor/LevelEditor.py

@@ -201,7 +201,7 @@ if sys.argv[1:]:
 # or you can hack this up for your own purposes.
 # or you can hack this up for your own purposes.
 else:
 else:
     hoodString = base.config.GetString('level-editor-hoods',
     hoodString = base.config.GetString('level-editor-hoods',
-                                       'TT DD BR DG DL MM CC CL CM CS GS GZ OZ')
+                                       'TT DD BR DG DL MM CC CL CM CS GS GZ OZ PA')
     hoods = string.split(hoodString)
     hoods = string.split(hoodString)
 
 
 # The list of neighborhoods to edit
 # The list of neighborhoods to edit
@@ -218,6 +218,7 @@ hoodIds = {'TT': 'toontown_central',
            'GS': 'goofy_speedway',
            'GS': 'goofy_speedway',
            'OZ': 'outdoor_zone',
            'OZ': 'outdoor_zone',
            'GZ': 'golf_zone',
            'GZ': 'golf_zone',
+           'PA': 'party_zone',
            }
            }
 
 
 # Init neighborhood arrays
 # Init neighborhood arrays
@@ -288,6 +289,8 @@ except NameError:
         loadDNAFile(DNASTORE, 'phase_6/dna/storage_GZ_sz.dna', CSDefault, 1)
         loadDNAFile(DNASTORE, 'phase_6/dna/storage_GZ_sz.dna', CSDefault, 1)
     if 'CC' in hoods:
     if 'CC' in hoods:
         loadDNAFile(DNASTORE, 'phase_12/dna/storage_CC_sz.dna', CSDefault, 1)        
         loadDNAFile(DNASTORE, 'phase_12/dna/storage_CC_sz.dna', CSDefault, 1)        
+    if 'PA' in hoods:
+        loadDNAFile(DNASTORE, 'phase_13/dna/storage_party_sz.dna', CSDefault, 1)
     __builtin__.dnaLoaded = 1
     __builtin__.dnaLoaded = 1