mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-12 22:45:31 -04:00
Recommitted changes
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
|
||||
import sys
|
||||
from resources.datatables import Options
|
||||
from resources.datatables import StateStatus
|
||||
|
||||
def addPlanetSpawns(core, planet):
|
||||
#This Script is no longer to be used for NPC Scripting. - Levarris
|
||||
|
||||
|
||||
return
|
||||
@@ -0,0 +1,14 @@
|
||||
|
||||
import sys
|
||||
from resources.datatables import Options
|
||||
from resources.datatables import StateStatus
|
||||
|
||||
def addPlanetSpawns(core, planet):
|
||||
########################################################
|
||||
# DO NOT ADD ANYTHING ELSE TO THIS SCRIPT, PLEASE USE THE
|
||||
# SUBFOLDERS FOR EACH PLANET AND CREATE NEW SCRIPTS FOR
|
||||
# EACH AREA OF A PLANET. - LEVARRIS
|
||||
########################################################
|
||||
|
||||
|
||||
return
|
||||
@@ -1,8 +0,0 @@
|
||||
import sys
|
||||
|
||||
def addPlanetSpawns(core, planet):
|
||||
|
||||
stcSvc = core.staticService
|
||||
#this script is no longer for NPC spawning - Levarris
|
||||
|
||||
return
|
||||
@@ -0,0 +1,11 @@
|
||||
import sys
|
||||
|
||||
def addPlanetSpawns(core, planet):
|
||||
|
||||
stcSvc = core.staticService
|
||||
########################################################
|
||||
# DO NOT ADD ANYTHING ELSE TO THIS SCRIPT, PLEASE USE THE
|
||||
# SUBFOLDERS FOR EACH PLANET AND CREATE NEW SCRIPTS FOR
|
||||
# EACH AREA OF A PLANET. - LEVARRIS
|
||||
|
||||
return
|
||||
@@ -0,0 +1,14 @@
|
||||
import sys
|
||||
|
||||
def addPlanetSpawns(core, planet):
|
||||
|
||||
stcSvc = core.staticService
|
||||
|
||||
########################################################
|
||||
# DO NOT ADD ANYTHING ELSE TO THIS SCRIPT, PLEASE USE THE
|
||||
# SUBFOLDERS FOR EACH PLANET AND CREATE NEW SCRIPTS FOR
|
||||
# EACH AREA OF A PLANET. - LEVARRIS
|
||||
########################################################
|
||||
|
||||
|
||||
return
|
||||
@@ -3,7 +3,11 @@ from resources.datatables import Options
|
||||
from resources.datatables import State
|
||||
|
||||
def addPlanetSpawns(core, planet):
|
||||
|
||||
########################################################
|
||||
# DO NOT ADD ANYTHING ELSE TO THIS SCRIPT, PLEASE USE THE
|
||||
# SUBFOLDERS FOR EACH PLANET AND CREATE NEW SCRIPTS FOR
|
||||
# EACH AREA OF A PLANET. - LEVARRIS
|
||||
########################################################
|
||||
stcSvc = core.staticService
|
||||
# Blue Frog: Uncomment only when needed for testing.
|
||||
stcSvc.spawnObject('object/tangible/terminal/shared_terminal_character_builder.iff', 'tatooine', long(0), float(3525), float(4), float(-4801), float(0.70), float(0.71))
|
||||
@@ -87,7 +87,7 @@ public class StaticService implements INetworkDispatch {
|
||||
}
|
||||
|
||||
if (FileUtilities.doesFileExist("scripts/static_spawns/" + planet.getName() + ".py")) {
|
||||
core.scriptService.callScript("scripts/static_spawns/", planet.getName(), "addPlanetSpawns", core, planet);
|
||||
//core.scriptService.callScript("scripts/static_spawns/", planet.getName(), "addPlanetSpawns", core, planet);
|
||||
}
|
||||
|
||||
System.out.println("Loaded static objects for " + planet.getName());
|
||||
@@ -168,7 +168,7 @@ public class StaticService implements INetworkDispatch {
|
||||
}
|
||||
} else {
|
||||
if (cell == null) {
|
||||
System.err.println("StaticService: Cell not found");
|
||||
System.err.println("StaticService: Cell not found for: " + template);
|
||||
return object;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user