Fixed Mos Eisley Cantina NPC Spawns

setCustomName2 on the Cantina Background NPCs no longer causes a NULL
object error.
This commit is contained in:
Levarrishawk
2014-06-04 20:25:00 -04:00
parent 4123387ea6
commit 32effd8f6a
3 changed files with 71 additions and 79 deletions
+6 -14
View File
@@ -32,11 +32,9 @@ def addLocations(core, planet):
if planet.getName() == 'lok':
lokLocations(core, planet)
#if planet.getName() == 'kaas':
#kaasLocations(core, planet)
#if planet.getName() == 'taanab':
#taanabLocations(core, planet)
if planet.getName() == 'kaas':
kaasLocations(core, planet)
def tatooineLocations(core, planet):
@@ -143,19 +141,13 @@ def lokLocations(core, planet):
mapService.addLocation(planet, 'Nym\'s Stronghold', 440, 5029, 17, 0, 0)
mapService.addLocation(planet, 'Imperial outpost', -1920, -3084, 17, 0, 0)
#def kaasLocations(core, planet):
#mapService = core.mapService
def kaasLocations(core, planet):
mapService = core.mapService
# Cities
#mapService.addLocation(planet, 'Imperial Outpost', -5118, -2386, 17, 0, 0)
mapService.addLocation(planet, 'Imperial Outpost', -5118, -2386, 17, 0, 0)
#def taanabLocations(core, planet):
#mapService = core.mapService
# Cities
#mapService.addLocation(planet, 'Pandath Spaceport', 0, 0, 17, 0, 0)