From 0c2f4b29a06938097bddc08397030f1192663d3d Mon Sep 17 00:00:00 2001 From: CharonInferar Date: Sat, 26 Apr 2014 01:18:18 +0200 Subject: [PATCH 01/52] Grant zoning added test with 2 player chars to increase population to 2 citizens after zoning and declare residence. --- scripts/commands/grantzoningrights.py | 40 ++++++++++ src/services/housing/HousingService.java | 77 +++++++++++++++---- src/services/playercities/PlayerCity.java | 22 +++++- .../playercities/PlayerCityService.java | 32 ++++++-- 4 files changed, 148 insertions(+), 23 deletions(-) create mode 100644 scripts/commands/grantzoningrights.py diff --git a/scripts/commands/grantzoningrights.py b/scripts/commands/grantzoningrights.py new file mode 100644 index 00000000..21cbbb8d --- /dev/null +++ b/scripts/commands/grantzoningrights.py @@ -0,0 +1,40 @@ +import sys +from java.lang import System +from resources.common import OutOfBand +from resources.common import ProsePackage +import main.NGECore + +def setup(): + return + +def run(core, actor, target, commandString): + + if target == None: + return + + #if !actor.hasSkill('Politician'): + #You must be a Politician to enable city zoning. + #actor.sendSystemMessage('@city/city:zoning_skill', 0) + #return + + thisCity = main.NGECore.getInstance().playerCityService.getCityObjectIsIn(actor) + + if thisCity == None: + #not_in_city_limits + actor.sendSystemMessage('@city/city:not_in_city_limits', 0) + return + + if thisCity.getMayorID()!=actor.getObjectID() and not thisCity.isMilitiaMember(actor.getObjectID()): + #You must be the mayor of the city or a member of the city militia to grant zoning rights. + actor.sendSystemMessage('@city/city:grant_rights_fail', 0) + actor.sendSystemMessage('thisCity.getMayorID() %s' % thisCity.getMayorID(), 0) + actor.sendSystemMessage('actor.getObjectID() %s' % actor.getObjectID(), 0) + return + + #You have granted %TO zoning rights for 24 hours. + actor.sendSystemMessage(OutOfBand.ProsePackage("@city/city:rights_granted_self", "TO", target.getCustomName()), 0) + target.setAttachment('Has24HZoningFor',thisCity.getCityID()) + target.setAttachment('Has24HZoningUntil',System.currentTimeMillis()+60*60*24) + target.sendSystemMessage(OutOfBand.ProsePackage("@city/city:rights_granted", "TO", thisCity.getCityName()), 0) + + return \ No newline at end of file diff --git a/src/services/housing/HousingService.java b/src/services/housing/HousingService.java index ff85019e..47fdaceb 100644 --- a/src/services/housing/HousingService.java +++ b/src/services/housing/HousingService.java @@ -22,6 +22,7 @@ package services.housing; import java.io.IOException; +import java.math.BigInteger; import java.nio.file.FileVisitResult; import java.nio.file.FileVisitor; import java.nio.file.Files; @@ -85,6 +86,10 @@ public class HousingService implements INetworkDispatch { HouseTemplate houseTemplate = housingTemplates.get(deed.getTemplate()); Player_House_Deed playerHourseDeed = (Player_House_Deed)core.objectService.getObject(deed.getObjectID()); int structureLotCost = houseTemplate.getLotCost(); + + if (deed.getTemplate().contains("cityhall")) + structureLotCost = 0; + String structureTemplate = houseTemplate.getBuildingTemplate(); if(!houseTemplate.canBePlacedOn(actor.getPlanet().getName())) @@ -112,10 +117,55 @@ public class HousingService implements INetworkDispatch { float positionY = core.terrainService.getHeight(actor.getPlanetId(), positionX, positionZ) + 2f; - // Create the building + boolean canBuild = true; + + // Check for city founders joining a new city + PlayerCity cityActorIsIn = core.playerCityService.getCityObjectIsIn(actor); + + if (cityActorIsIn != null){ + // Actor is inside the bounds of a city, so zoning must be checked + //actor.setAttachment("Has24HZoningFor",cityActorIsIn.getCityID()); // for testing + //actor.setAttachment("Has24HZoningUntil",System.currentTimeMillis()+1000000); // for testing + if (actor.getAttachment("Has24HZoningFor")==null || actor.getAttachment("Has24HZoningFor")==null) + return; + int cityActorHasZoning = (int)actor.getAttachment("Has24HZoningFor"); + BigInteger zoningUntilBI = (BigInteger) actor.getAttachment("Has24HZoningUntil"); + long zoningUntil = zoningUntilBI.longValue(); + if (cityActorHasZoning==cityActorIsIn.getCityID() && System.currentTimeMillis() returnList = new Vector(); + returnList.add("txtInput:LocalText"); + window.addHandler(0, "", Trigger.TRIGGER_OK, returnList, new SUICallback() { + @Override + public void process(SWGObject owner, int eventType, Vector returnList) { + if (returnList.size()==0) + return; + PlayerCity playerCity = main.NGECore.getInstance().playerCityService.getPlayerCity((CreatureObject) owner); + playerCity.setCityName(returnList.get(0)); + //owner.sendSystemMessage("@city/city:name_changed", 0); + core.suiService.closeSUIWindow(owner, 0); + newCitySUI2((CreatureObject) owner, playerCity); + } + }); + core.suiService.openSUIWindow(window); + } + + public void newCitySUI2(CreatureObject citizen, final PlayerCity newCity) { final SUIWindow window = core.suiService.createSUIWindow("Script.messageBox", citizen, citizen, 0); window.setProperty("bg.caption.lblTitle:Text", "@city/city:rank0"); window.setProperty("Prompt.lblPrompt:Text", "@city/city:new_city_body"); @@ -135,6 +156,7 @@ public class PlayerCityService implements INetworkDispatch { }); core.suiService.openSUIWindow(window); } + @Override public void insertOpcodes(Map arg0, From 7dca8b362fc5ef8d6f2c1f4407c76df814a6b677 Mon Sep 17 00:00:00 2001 From: Treeku Date: Sat, 26 Apr 2014 00:36:13 +0100 Subject: [PATCH 02/52] Moved resource functions to resourceService --- src/main/NGECore.java | 4 +- src/services/object/ObjectService.java | 99 ++----------------- src/services/resources/ResourceService.java | 102 +++++++++++++++++++- 3 files changed, 106 insertions(+), 99 deletions(-) diff --git a/src/main/NGECore.java b/src/main/NGECore.java index e51fd562..c99d4912 100644 --- a/src/main/NGECore.java +++ b/src/main/NGECore.java @@ -441,8 +441,8 @@ public class NGECore { objectService.loadBuildings(); if (optionsConfigLoaded && options.getInt("LOAD.RESOURCE.SYSTEM") > 0) { - objectService.loadResourceRoots(); - objectService.loadResources(); + resourceService.loadResourceRoots(); + resourceService.loadResources(); } terrainService.loadSnapShotObjects(); diff --git a/src/services/object/ObjectService.java b/src/services/object/ObjectService.java index dde507fb..d89bce74 100644 --- a/src/services/object/ObjectService.java +++ b/src/services/object/ObjectService.java @@ -143,6 +143,7 @@ public class ObjectService implements INetworkDispatch { public ObjectService(final NGECore core) { this.core = core; databaseConnection = core.getDatabase1(); + Runtime.getRuntime().addShutdownHook(new Thread() { @Override public void run() { @@ -158,8 +159,8 @@ public class ObjectService implements INetworkDispatch { } } }); - long highestId; + long highestId; try { PreparedStatement ps = databaseConnection.preparedStatement("SELECT id FROM highestid WHERE id=(SELECT max(id) FROM highestid)"); @@ -171,7 +172,6 @@ public class ObjectService implements INetworkDispatch { } catch (SQLException e) { e.printStackTrace(); } - } public void loadBuildings() { @@ -196,99 +196,10 @@ public class ObjectService implements INetworkDispatch { }); } + cursor.close(); } - // loads the resource roots at server start - public void loadResourceRoots() { - EntityCursor cursor = core.getResourceRootsODB().getCursor(Integer.class, ResourceRoot.class); - Iterator it = cursor.iterator(); - int loadedResourceRootsCounter = 0; - System.out.println("Loading resource roots..."); - while(it.hasNext()) { - final ResourceRoot resourceRoot = it.next(); - System.err.println("resourceRoot loaded ID: " + resourceRoot.getResourceRootID() + " " + resourceRoot.getResourceFileName()); - core.resourceService.add_resourceRoot(resourceRoot); - loadedResourceRootsCounter++; - } - - if (loadedResourceRootsCounter==0){ - //big bang will take care of it - } - //System.err.println("loadedResourceRootsCounter " + loadedResourceRootsCounter); - cursor.close(); - System.out.println("Finished loading resource roots."); - } - - // loads the currently spawned resources at server start - public void loadResources() { - EntityCursor cursor = core.getResourcesODB().getCursor(Long.class, GalacticResource.class); - Iterator it = cursor.iterator(); - int loadedResourceCounter = 0; - System.out.println("Loading resources..."); - while(it.hasNext()) { - final GalacticResource resource = it.next(); - System.err.println("resource " + resource.getName() + " rootID " + resource.getResourceRootID()); - objectList.put(resource.getId(), resource); - - // re-reference ResourceRoot - int resourceRootID = resource.getResourceRootID(); - ResourceRoot resourceRoot = core.resourceService.retrieveResourceRootReference(resourceRootID); - resource.setResourceRoot(resourceRoot); - - // recreate the collections - core.resourceService.addSpawnedResource(resource); - byte pool = resource.getPoolNumber(); - switch (pool){ - case 1: - core.resourceService.add_spawnedResourcesPool1(resource); - break; - case 2: - core.resourceService.add_spawnedResourcesPool2(resource); - break; - case 3: - core.resourceService.add_spawnedResourcesPool3(resource); - break; - case 4: - core.resourceService.add_spawnedResourcesPool4(resource); - break; - default: - System.err.println("Loaded resource " + resource.getName() + " has no valid pool value!"); - resource.setPoolNumber((byte)4); // Make it a pool 4 - } - loadedResourceCounter++; - } - - if (loadedResourceCounter==0){ - core.resourceService.kickOffBigBang(); // spawn resources initially once - } - - cursor.close(); - System.out.println("Finished loading resources."); - } - - public SWGObject createResource() { - SWGObject object = null; - Planet planet = core.terrainService.getPlanetByID(1); - Point3D position = new Point3D(0,0,0); - Quaternion orientation = new Quaternion(1,1,1,1); - String Template = "object/resource_container/base/shared_base_resource_container.iff"; - boolean isSnapshot = false; - - long objectID = generateObjectID(); - - object = new GalacticResource(objectID, planet, position, orientation, Template); - - object.setPlanetId(planet.getID()); - - object.setAttachment("customServerTemplate", Template); - - object.setisInSnapshot(isSnapshot); - - objectList.put(objectID, object); - return object; - } - public void loadServerTemplates() { System.out.println("Loading server templates..."); loadServerTemplateTasks.forEach(Runnable::run); @@ -538,7 +449,9 @@ public class ObjectService implements INetworkDispatch { return objectList.get(objectID); } - public Map getObjectList() { return objectList; } + public Map getObjectList() { + return objectList; + } public void destroyObject(final SWGObject object, int seconds) { scheduler.schedule(new Runnable() { diff --git a/src/services/resources/ResourceService.java b/src/services/resources/ResourceService.java index 245690ce..0cb2cab1 100644 --- a/src/services/resources/ResourceService.java +++ b/src/services/resources/ResourceService.java @@ -34,6 +34,9 @@ import com.sleepycat.persist.EntityCursor; import main.NGECore; import engine.resources.common.CRC; import engine.resources.objects.SWGObject; +import engine.resources.scene.Planet; +import engine.resources.scene.Point3D; +import engine.resources.scene.Quaternion; import engine.resources.service.INetworkDispatch; import engine.resources.service.INetworkRemoteEvent; import resources.objects.creature.CreatureObject; @@ -128,6 +131,97 @@ public class ResourceService implements INetworkDispatch { //"Cold Res","Cond","Decay Res","Heat Res","Malle","Shock Res","Unit Tough","Entangle Res","Pot E","OQ","Flavor" + // loads the resource roots at server start + public void loadResourceRoots() { + EntityCursor cursor = core.getResourceRootsODB().getCursor(Integer.class, ResourceRoot.class); + Iterator it = cursor.iterator(); + int loadedResourceRootsCounter = 0; + System.out.println("Loading resource roots..."); + while(it.hasNext()) { + final ResourceRoot resourceRoot = it.next(); + System.err.println("resourceRoot loaded ID: " + resourceRoot.getResourceRootID() + " " + resourceRoot.getResourceFileName()); + core.resourceService.add_resourceRoot(resourceRoot); + loadedResourceRootsCounter++; + } + + if (loadedResourceRootsCounter==0){ + //big bang will take care of it + } + //System.err.println("loadedResourceRootsCounter " + loadedResourceRootsCounter); + cursor.close(); + System.out.println("Finished loading resource roots."); + } + + // loads the currently spawned resources at server start + public void loadResources() { + EntityCursor cursor = core.getResourcesODB().getCursor(Long.class, GalacticResource.class); + Iterator it = cursor.iterator(); + int loadedResourceCounter = 0; + System.out.println("Loading resources..."); + while(it.hasNext()) { + final GalacticResource resource = it.next(); + System.err.println("resource " + resource.getName() + " rootID " + resource.getResourceRootID()); + core.objectService.getObjectList().put(resource.getId(), resource); + + // re-reference ResourceRoot + int resourceRootID = resource.getResourceRootID(); + ResourceRoot resourceRoot = core.resourceService.retrieveResourceRootReference(resourceRootID); + resource.setResourceRoot(resourceRoot); + + // recreate the collections + core.resourceService.addSpawnedResource(resource); + byte pool = resource.getPoolNumber(); + switch (pool){ + case 1: + core.resourceService.add_spawnedResourcesPool1(resource); + break; + case 2: + core.resourceService.add_spawnedResourcesPool2(resource); + break; + case 3: + core.resourceService.add_spawnedResourcesPool3(resource); + break; + case 4: + core.resourceService.add_spawnedResourcesPool4(resource); + break; + default: + System.err.println("Loaded resource " + resource.getName() + " has no valid pool value!"); + resource.setPoolNumber((byte)4); // Make it a pool 4 + } + + loadedResourceCounter++; + } + + if (loadedResourceCounter==0){ + core.resourceService.kickOffBigBang(); // spawn resources initially once + } + + cursor.close(); + System.out.println("Finished loading resources."); + } + + public SWGObject createResource() { + SWGObject object = null; + Planet planet = core.terrainService.getPlanetByID(1); + Point3D position = new Point3D(0,0,0); + Quaternion orientation = new Quaternion(1,1,1,1); + String Template = "object/resource_container/base/shared_base_resource_container.iff"; + boolean isSnapshot = false; + + long objectID = core.objectService.generateObjectID(); + + object = new GalacticResource(objectID, planet, position, orientation, Template); + + object.setPlanetId(planet.getID()); + + object.setAttachment("customServerTemplate", Template); + + object.setisInSnapshot(isSnapshot); + + core.objectService.getObjectList().put(objectID, object); + + return object; + } public void createCollections(){ @@ -11083,7 +11177,7 @@ public class ResourceService implements INetworkDispatch { public GalacticResource spawnResourcePool1(ResourceRoot root){ - GalacticResource resource = (GalacticResource) core.objectService.createResource(); + GalacticResource resource = (GalacticResource) createResource(); try { resource.setResourceRoot(root); resource.setPoolNumber((byte)1); @@ -11112,7 +11206,7 @@ public class ResourceService implements INetworkDispatch { public GalacticResource spawnResourcePool2(ResourceRoot root){ - GalacticResource resource = (GalacticResource) core.objectService.createResource(); + GalacticResource resource = (GalacticResource) createResource(); try { resource.setResourceRoot(root); resource.setPoolNumber((byte)2); @@ -11141,7 +11235,7 @@ public class ResourceService implements INetworkDispatch { public GalacticResource spawnResourcePool3(ResourceRoot root){ - GalacticResource resource = (GalacticResource) core.objectService.createResource(); + GalacticResource resource = (GalacticResource) createResource(); try { resource.setResourceRoot(root); resource.setPoolNumber((byte)3); @@ -11170,7 +11264,7 @@ public class ResourceService implements INetworkDispatch { public GalacticResource spawnResourcePool4(ResourceRoot root,int planetID){ - GalacticResource resource = (GalacticResource) core.objectService.createResource(); + GalacticResource resource = (GalacticResource) createResource(); try { resource.setResourceRoot(root); resource.setPoolNumber((byte)4); From 9b3397923afd7272dda6f4f95977b41998df07f2 Mon Sep 17 00:00:00 2001 From: Treeku Date: Sat, 26 Apr 2014 01:07:40 +0100 Subject: [PATCH 03/52] Fixed Agility.py --- scripts/skillMods/agility.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/skillMods/agility.py b/scripts/skillMods/agility.py index 9f9e8568..3ea2c7a9 100644 --- a/scripts/skillMods/agility.py +++ b/scripts/skillMods/agility.py @@ -1,14 +1,14 @@ import sys def add(core, actor, skillMod, value): - core.skillModService.addSkillMod('display_only_dodge', base) - core.skillModService.addSkillMod('display_only_parry', base / 2) - core.skillModService.addSkillMod('display_only_evasion', base) + core.skillModService.addSkillMod('display_only_dodge', skillMod.getBase()) + core.skillModService.addSkillMod('display_only_parry', skillMod.getBase() / 2) + core.skillModService.addSkillMod('display_only_evasion', skillMod.getBase()) return def deduct(core, actor, skillMod, value): - core.skillModService.deductSkillMod('display_only_dodge', base) - core.skillModService.deductSkillMod('display_only_parry', base / 2) - core.skillModService.deductSkillMod('display_only_evasion', base) + core.skillModService.deductSkillMod('display_only_dodge', skillMod.getBase()) + core.skillModService.deductSkillMod('display_only_parry', skillMod.getBase() / 2) + core.skillModService.deductSkillMod('display_only_evasion', skillMod.getBase()) return \ No newline at end of file From 41589dd0cbebc652f41527760c38ddc0fe54b193 Mon Sep 17 00:00:00 2001 From: tacef Date: Sat, 26 Apr 2014 09:27:31 +0200 Subject: [PATCH 04/52] Naboo House Deed's added Also fixed typos corellia house deed's --- .../player_house_corellia_large_style_01.py | 2 +- .../player_house_corellia_large_style_02.py | 5 ++--- .../player_house_corellia_medium_style_01.py | 1 + .../houses/player_house_naboo_large_style_01.py | 15 +++++++++++++++ .../houses/player_house_naboo_medium_style_01.py | 14 ++++++++++++++ .../houses/player_house_naboo_small_style_01.py | 14 ++++++++++++++ .../houses/player_house_naboo_small_style_02.py | 14 ++++++++++++++ .../player_house_naboo_small_window_style_01.py | 14 ++++++++++++++ .../player/player_house_naboo_large_style_01.py | 7 +++++++ .../player/player_house_naboo_medium_style_01.py | 7 +++++++ .../player/player_house_naboo_small_style_01.py | 7 +++++++ .../player/player_house_naboo_small_style_02.py | 7 +++++++ .../player_house_naboo_small_window_style_01.py | 7 +++++++ .../player_house_deed/naboo_house_large_deed.py | 11 ++++++++++- .../player_house_deed/naboo_house_medium_deed.py | 8 ++++++++ .../player_house_deed/naboo_house_small_deed.py | 8 ++++++++ .../naboo_house_small_style_02_deed.py | 8 ++++++++ .../naboo_house_small_window_deed.py | 8 ++++++++ 18 files changed, 152 insertions(+), 5 deletions(-) create mode 100644 scripts/houses/player_house_naboo_large_style_01.py create mode 100644 scripts/houses/player_house_naboo_medium_style_01.py create mode 100644 scripts/houses/player_house_naboo_small_style_01.py create mode 100644 scripts/houses/player_house_naboo_small_style_02.py create mode 100644 scripts/houses/player_house_naboo_small_window_style_01.py diff --git a/scripts/houses/player_house_corellia_large_style_01.py b/scripts/houses/player_house_corellia_large_style_01.py index c47098c5..44d9fd81 100644 --- a/scripts/houses/player_house_corellia_large_style_01.py +++ b/scripts/houses/player_house_corellia_large_style_01.py @@ -3,7 +3,7 @@ from services.housing import HouseTemplate from engine.resources.scene import Point3D def setup(core): - houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_corellia_house_large_deed.iff", "object/building/player/shared_player_house_corellia_large_style_01.iff", 2) + houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_corellia_house_large_deed.iff", "object/building/player/shared_player_house_corellia_large_style_01.iff", 5) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(6), float(3), float(13.4))) houseTemplate.addPlaceablePlanet("corellia") diff --git a/scripts/houses/player_house_corellia_large_style_02.py b/scripts/houses/player_house_corellia_large_style_02.py index 6e005a55..7d35d0de 100644 --- a/scripts/houses/player_house_corellia_large_style_02.py +++ b/scripts/houses/player_house_corellia_large_style_02.py @@ -3,12 +3,11 @@ from services.housing import HouseTemplate from engine.resources.scene import Point3D def setup(core): - houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_corellia_house_large_style_02_deed.iff", "object/building/player/shared_player_house_generic_large_style_02.iff", 2) + houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_corellia_house_large_style_02_deed.iff", "object/building/player/shared_player_house_generic_large_style_02.iff", 5) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-13.4), float(3), float(9.1))) houseTemplate.addPlaceablePlanet("corellia") houseTemplate.addPlaceablePlanet("talus") - houseTemplate.setDefaultItemLimit(500) - + houseTemplate.setDefaultItemLimit(500) core.housingService.addHousingTemplate(houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_corellia_medium_style_01.py b/scripts/houses/player_house_corellia_medium_style_01.py index d8a293c7..27988156 100644 --- a/scripts/houses/player_house_corellia_medium_style_01.py +++ b/scripts/houses/player_house_corellia_medium_style_01.py @@ -6,6 +6,7 @@ def setup(core): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_corellia_house_medium_deed.iff", "object/building/player/shared_player_house_corellia_medium_style_01.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(5.3),float(2.26),float(7.7))) + houseTemplate.addPlaceablePlanet("corellia") houseTemplate.addPlaceablePlanet("talus") houseTemplate.setDefaultItemLimit(200) core.housingService.addHousingTemplate(houseTemplate) diff --git a/scripts/houses/player_house_naboo_large_style_01.py b/scripts/houses/player_house_naboo_large_style_01.py new file mode 100644 index 00000000..afaf05dd --- /dev/null +++ b/scripts/houses/player_house_naboo_large_style_01.py @@ -0,0 +1,15 @@ +import sys +from services.housing import HouseTemplate +from engine.resources.scene import Point3D + +def setup(core): + houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_naboo_house_large_deed.iff", "object/building/player/shared_player_house_naboo_large_style_01.iff", 5) + + houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-7), float(3), float(-15.5))) + houseTemplate.addPlaceablePlanet("naboo") + houseTemplate.addPlaceablePlanet("rori") + houseTemplate.addPlaceablePlanet("dantooine") + houseTemplate.setDefaultItemLimit(500) + + core.housingService.addHousingTemplate(houseTemplate) + return \ No newline at end of file diff --git a/scripts/houses/player_house_naboo_medium_style_01.py b/scripts/houses/player_house_naboo_medium_style_01.py new file mode 100644 index 00000000..fd16fd70 --- /dev/null +++ b/scripts/houses/player_house_naboo_medium_style_01.py @@ -0,0 +1,14 @@ +import sys +from services.housing import HouseTemplate +from engine.resources.scene import Point3D + +def setup(core): + houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_naboo_house_medium_deed.iff", "object/building/player/shared_player_house_naboo_medium_style_01.iff", 2) + + houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-2.2),float(3),float(-11.5))) + houseTemplate.addPlaceablePlanet("naboo") + houseTemplate.addPlaceablePlanet("rori") + houseTemplate.addPlaceablePlanet("dantooine") + houseTemplate.setDefaultItemLimit(200) + core.housingService.addHousingTemplate(houseTemplate) + return \ No newline at end of file diff --git a/scripts/houses/player_house_naboo_small_style_01.py b/scripts/houses/player_house_naboo_small_style_01.py new file mode 100644 index 00000000..eb092bce --- /dev/null +++ b/scripts/houses/player_house_naboo_small_style_01.py @@ -0,0 +1,14 @@ +import sys +from services.housing import HouseTemplate +from engine.resources.scene import Point3D + +def setup(core): + houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_naboo_house_small_deed.iff", "object/building/player/shared_player_house_naboo_small_style_01.iff", 2) + + houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-1.7),float(3),float(8.2))) + houseTemplate.addPlaceablePlanet("naboo") + houseTemplate.addPlaceablePlanet("rori") + houseTemplate.addPlaceablePlanet("dantooine") + houseTemplate.setDefaultItemLimit(200) + core.housingService.addHousingTemplate(houseTemplate) + return \ No newline at end of file diff --git a/scripts/houses/player_house_naboo_small_style_02.py b/scripts/houses/player_house_naboo_small_style_02.py new file mode 100644 index 00000000..f5f35f0f --- /dev/null +++ b/scripts/houses/player_house_naboo_small_style_02.py @@ -0,0 +1,14 @@ +import sys +from services.housing import HouseTemplate +from engine.resources.scene import Point3D + +def setup(core): + houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_naboo_house_small_style_02_deed.iff", "object/building/player/shared_player_house_naboo_small_style_02.iff", 1) + + houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(8.4),float(3),float(7.2))) + houseTemplate.addPlaceablePlanet("naboo") + houseTemplate.addPlaceablePlanet("rori") + houseTemplate.addPlaceablePlanet("dantooine") + houseTemplate.setDefaultItemLimit(100) + core.housingService.addHousingTemplate(houseTemplate) + return \ No newline at end of file diff --git a/scripts/houses/player_house_naboo_small_window_style_01.py b/scripts/houses/player_house_naboo_small_window_style_01.py new file mode 100644 index 00000000..7ffa7dec --- /dev/null +++ b/scripts/houses/player_house_naboo_small_window_style_01.py @@ -0,0 +1,14 @@ +import sys +from services.housing import HouseTemplate +from engine.resources.scene import Point3D + +def setup(core): + houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_naboo_house_small_window_deed.iff", "object/building/player/shared_player_house_naboo_small_window_style_01.iff", 2) + + houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-1.7),float(3),float(8.2))) + houseTemplate.addPlaceablePlanet("naboo") + houseTemplate.addPlaceablePlanet("rori") + houseTemplate.addPlaceablePlanet("dantooine") + houseTemplate.setDefaultItemLimit(200) + core.housingService.addHousingTemplate(houseTemplate) + return \ No newline at end of file diff --git a/scripts/object/building/player/player_house_naboo_large_style_01.py b/scripts/object/building/player/player_house_naboo_large_style_01.py index ccad8904..7a05615e 100644 --- a/scripts/object/building/player/player_house_naboo_large_style_01.py +++ b/scripts/object/building/player/player_house_naboo_large_style_01.py @@ -1,4 +1,11 @@ import sys def setup(core, object): + sign = core.objectService.createChildObject(object, 'object/tangible/sign/player/shared_house_address.iff', -7, 3, -15.5, 0, 1, -1) + print(sign) + object.setAttachment("structureSign", sign) + + structureterminal = core.objectService.createChildObject(object, 'object/tangible/terminal/shared_terminal_player_structure.iff', 14.8, 4.5, -1.8, 0.707108, -0.707108, 2) + #structureterminal.setAttachment('radial_filename', 'structure_management_terminal') + structureterminal.setAttachment('housing_parentstruct', object) return \ No newline at end of file diff --git a/scripts/object/building/player/player_house_naboo_medium_style_01.py b/scripts/object/building/player/player_house_naboo_medium_style_01.py index ccad8904..fd60d18b 100644 --- a/scripts/object/building/player/player_house_naboo_medium_style_01.py +++ b/scripts/object/building/player/player_house_naboo_medium_style_01.py @@ -1,4 +1,11 @@ import sys def setup(core, object): + sign = core.objectService.createChildObject(object, 'object/tangible/sign/player/shared_house_address.iff', -2.2, 3, -11.5, 1, 1, -1) + print(sign) + object.setAttachment("structureSign", sign) + + structureterminal = core.objectService.createChildObject(object, 'object/tangible/terminal/shared_terminal_player_structure.iff', 9.8, 0.7, -10.4, 0, 1, 1) + #structureterminal.setAttachment('radial_filename', 'structure_management_terminal') + structureterminal.setAttachment('housing_parentstruct', object) return \ No newline at end of file diff --git a/scripts/object/building/player/player_house_naboo_small_style_01.py b/scripts/object/building/player/player_house_naboo_small_style_01.py index ccad8904..cacc9a2a 100644 --- a/scripts/object/building/player/player_house_naboo_small_style_01.py +++ b/scripts/object/building/player/player_house_naboo_small_style_01.py @@ -1,4 +1,11 @@ import sys def setup(core, object): + sign = core.objectService.createChildObject(object, 'object/tangible/sign/player/shared_house_address.iff', -1.7, 3, -8.2, 0, 1, -1) + print(sign) + object.setAttachment("structureSign", sign) + + structureterminal = core.objectService.createChildObject(object, 'object/tangible/terminal/shared_terminal_player_structure.iff', 0, 0.7, 6.2, 1, 0, 1) + #structureterminal.setAttachment('radial_filename', 'structure_management_terminal') + structureterminal.setAttachment('housing_parentstruct', object) return \ No newline at end of file diff --git a/scripts/object/building/player/player_house_naboo_small_style_02.py b/scripts/object/building/player/player_house_naboo_small_style_02.py index ccad8904..90382dc1 100644 --- a/scripts/object/building/player/player_house_naboo_small_style_02.py +++ b/scripts/object/building/player/player_house_naboo_small_style_02.py @@ -1,4 +1,11 @@ import sys def setup(core, object): + sign = core.objectService.createChildObject(object, 'object/tangible/sign/player/shared_house_address.iff', 8.4, 3, 7.2, 0.2, 0, -1) + print(sign) + object.setAttachment("structureSign", sign) + + structureterminal = core.objectService.createChildObject(object, 'object/tangible/terminal/shared_terminal_player_structure.iff', 0.4, 0.5, 6.2, 1, 0, 2) + #structureterminal.setAttachment('radial_filename', 'structure_management_terminal') + structureterminal.setAttachment('housing_parentstruct', object) return \ No newline at end of file diff --git a/scripts/object/building/player/player_house_naboo_small_window_style_01.py b/scripts/object/building/player/player_house_naboo_small_window_style_01.py index ccad8904..cacc9a2a 100644 --- a/scripts/object/building/player/player_house_naboo_small_window_style_01.py +++ b/scripts/object/building/player/player_house_naboo_small_window_style_01.py @@ -1,4 +1,11 @@ import sys def setup(core, object): + sign = core.objectService.createChildObject(object, 'object/tangible/sign/player/shared_house_address.iff', -1.7, 3, -8.2, 0, 1, -1) + print(sign) + object.setAttachment("structureSign", sign) + + structureterminal = core.objectService.createChildObject(object, 'object/tangible/terminal/shared_terminal_player_structure.iff', 0, 0.7, 6.2, 1, 0, 1) + #structureterminal.setAttachment('radial_filename', 'structure_management_terminal') + structureterminal.setAttachment('housing_parentstruct', object) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/player_house_deed/naboo_house_large_deed.py b/scripts/object/tangible/deed/player_house_deed/naboo_house_large_deed.py index ccad8904..0f0a6353 100644 --- a/scripts/object/tangible/deed/player_house_deed/naboo_house_large_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/naboo_house_large_deed.py @@ -1,4 +1,13 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setAttachment('radial_filename', 'deeds/structureDeed') + object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_naboo_large_style_01.iff') + object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_naboo_house_large_deed.iff') + object.setLotRequirement(2) + object.setBMR(8) + return + + + + diff --git a/scripts/object/tangible/deed/player_house_deed/naboo_house_medium_deed.py b/scripts/object/tangible/deed/player_house_deed/naboo_house_medium_deed.py index ccad8904..22d9b33e 100644 --- a/scripts/object/tangible/deed/player_house_deed/naboo_house_medium_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/naboo_house_medium_deed.py @@ -1,4 +1,12 @@ import sys def setup(core, object): + object.setAttachment('radial_filename', 'deeds/structureDeed') + object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_naboo_medium_style_01.iff') + object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_naboo_house_medium_deed.iff') + object.setLotRequirement(2) + object.setBMR(18) + return + +def use(core, actor, object): return \ No newline at end of file diff --git a/scripts/object/tangible/deed/player_house_deed/naboo_house_small_deed.py b/scripts/object/tangible/deed/player_house_deed/naboo_house_small_deed.py index ccad8904..edff2158 100644 --- a/scripts/object/tangible/deed/player_house_deed/naboo_house_small_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/naboo_house_small_deed.py @@ -1,4 +1,12 @@ import sys def setup(core, object): + object.setAttachment('radial_filename', 'deeds/structureDeed') + object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_naboo_small_style_01.iff') + object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_naboo_house_small_deed.iff') + object.setLotRequirement(2) + object.setBMR(18) + return + +def use(core, actor, object): return \ No newline at end of file diff --git a/scripts/object/tangible/deed/player_house_deed/naboo_house_small_style_02_deed.py b/scripts/object/tangible/deed/player_house_deed/naboo_house_small_style_02_deed.py index ccad8904..adeca170 100644 --- a/scripts/object/tangible/deed/player_house_deed/naboo_house_small_style_02_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/naboo_house_small_style_02_deed.py @@ -1,4 +1,12 @@ import sys def setup(core, object): + object.setAttachment('radial_filename', 'deeds/structureDeed') + object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_naboo_small_style_02.iff') + object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_naboo_house_small_style_02_deed.iff') + object.setLotRequirement(2) + object.setBMR(18) + return + +def use(core, actor, object): return \ No newline at end of file diff --git a/scripts/object/tangible/deed/player_house_deed/naboo_house_small_window_deed.py b/scripts/object/tangible/deed/player_house_deed/naboo_house_small_window_deed.py index ccad8904..8ebc7feb 100644 --- a/scripts/object/tangible/deed/player_house_deed/naboo_house_small_window_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/naboo_house_small_window_deed.py @@ -1,4 +1,12 @@ import sys def setup(core, object): + object.setAttachment('radial_filename', 'deeds/structureDeed') + object.setConstructorTemplate('object/building/player/construction/shared_player_house_naboo_small_window_style_01.iff') + object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_naboo_house_small_window_deed.iff') + object.setLotRequirement(2) + object.setBMR(18) + return + +def use(core, actor, object): return \ No newline at end of file From 50ddd6f42fc6e145d858188714c64a9fdeb9f741 Mon Sep 17 00:00:00 2001 From: tacef Date: Sat, 26 Apr 2014 15:19:44 +0200 Subject: [PATCH 05/52] Continued Work on Playerhouse deed Altered Objectservice again to support storyteller house deeds --- scripts/houses/player_house_sandcrawler.py | 19 +++++++++++++++++++ .../player_house_tatooine_large_style_01.py | 15 +++++++++++++++ .../player_house_tatooine_medium_style_01.py | 14 ++++++++++++++ .../player_house_tatooine_small_style_01.py | 14 ++++++++++++++ .../player_house_tatooine_small_style_02.py | 14 ++++++++++++++ ...er_house_tatooine_small_window_style_01.py | 14 ++++++++++++++ .../player/player_house_sandcrawler.py | 8 ++++++++ .../player_house_tatooine_large_style_01.py | 7 +++++++ .../player_house_tatooine_medium_style_01.py | 7 +++++++ .../player_house_tatooine_small_style_01.py | 7 +++++++ .../player_house_tatooine_small_style_02.py | 7 +++++++ ...er_house_tatooine_small_window_style_01.py | 7 +++++++ .../tatooine_house_large_deed.py | 8 ++++++++ .../tatooine_house_medium_deed.py | 8 ++++++++ .../tatooine_house_small_deed.py | 8 ++++++++ .../tatooine_house_small_style_02_deed.py | 8 ++++++++ .../tatooine_house_window_small_deed.py | 8 ++++++++ ...structure_deed_player_house_sandcrawler.py | 8 ++++++++ src/services/object/ObjectService.java | 2 +- 19 files changed, 182 insertions(+), 1 deletion(-) create mode 100644 scripts/houses/player_house_sandcrawler.py create mode 100644 scripts/houses/player_house_tatooine_large_style_01.py create mode 100644 scripts/houses/player_house_tatooine_medium_style_01.py create mode 100644 scripts/houses/player_house_tatooine_small_style_01.py create mode 100644 scripts/houses/player_house_tatooine_small_style_02.py create mode 100644 scripts/houses/player_house_tatooine_small_window_style_01.py diff --git a/scripts/houses/player_house_sandcrawler.py b/scripts/houses/player_house_sandcrawler.py new file mode 100644 index 00000000..c14d2b8c --- /dev/null +++ b/scripts/houses/player_house_sandcrawler.py @@ -0,0 +1,19 @@ +import sys +from services.housing import HouseTemplate +from engine.resources.scene import Point3D + +def setup(core): + houseTemplate = HouseTemplate("object/tangible/saga_system/rewards/shared_structure_deed_player_house_sandcrawler.iff", "object/building/player/shared_player_house_sandcrawler.iff", 3) + + houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-8.75), float(3.86), float(1))) + houseTemplate.addPlaceablePlanet("tatooine") + houseTemplate.addPlaceablePlanet("corellia") + houseTemplate.addPlaceablePlanet("naboo") + houseTemplate.addPlaceablePlanet("talus") + houseTemplate.addPlaceablePlanet("rori") + houseTemplate.addPlaceablePlanet("dantooine") + houseTemplate.addPlaceablePlanet("lok") + houseTemplate.setDefaultItemLimit(350) + + core.housingService.addHousingTemplate(houseTemplate) + return \ No newline at end of file diff --git a/scripts/houses/player_house_tatooine_large_style_01.py b/scripts/houses/player_house_tatooine_large_style_01.py new file mode 100644 index 00000000..3085eb20 --- /dev/null +++ b/scripts/houses/player_house_tatooine_large_style_01.py @@ -0,0 +1,15 @@ +import sys +from services.housing import HouseTemplate +from engine.resources.scene import Point3D + +def setup(core): + houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_tatooine_house_large_deed.iff", "object/building/player/shared_player_house_tatooine_large_style_01.iff", 5) + + houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-3), float(3), float(15.8))) + houseTemplate.addPlaceablePlanet("tatooine") + houseTemplate.addPlaceablePlanet("lok") + houseTemplate.addPlaceablePlanet("dantooine") + houseTemplate.setDefaultItemLimit(500) + + core.housingService.addHousingTemplate(houseTemplate) + return \ No newline at end of file diff --git a/scripts/houses/player_house_tatooine_medium_style_01.py b/scripts/houses/player_house_tatooine_medium_style_01.py new file mode 100644 index 00000000..d173048d --- /dev/null +++ b/scripts/houses/player_house_tatooine_medium_style_01.py @@ -0,0 +1,14 @@ +import sys +from services.housing import HouseTemplate +from engine.resources.scene import Point3D + +def setup(core): + houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_tatooine_house_medium_deed.iff", "object/building/player/shared_player_house_tatooine_medium_style_01.iff", 2) + + houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(4.3),float(2.26),float(12.5))) + houseTemplate.addPlaceablePlanet("tatooine") + houseTemplate.addPlaceablePlanet("lok") + houseTemplate.addPlaceablePlanet("dantooine") + houseTemplate.setDefaultItemLimit(200) + core.housingService.addHousingTemplate(houseTemplate) + return \ No newline at end of file diff --git a/scripts/houses/player_house_tatooine_small_style_01.py b/scripts/houses/player_house_tatooine_small_style_01.py new file mode 100644 index 00000000..eff8a21d --- /dev/null +++ b/scripts/houses/player_house_tatooine_small_style_01.py @@ -0,0 +1,14 @@ +import sys +from services.housing import HouseTemplate +from engine.resources.scene import Point3D + +def setup(core): + houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_tatooine_house_small_deed.iff", "object/building/player/shared_player_house_tatooine_small_style_01.iff", 2) + + houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-1.7),float(3),float(7.9))) + houseTemplate.addPlaceablePlanet("tatooine") + houseTemplate.addPlaceablePlanet("lok") + houseTemplate.addPlaceablePlanet("dantooine") + houseTemplate.setDefaultItemLimit(200) + core.housingService.addHousingTemplate(houseTemplate) + return \ No newline at end of file diff --git a/scripts/houses/player_house_tatooine_small_style_02.py b/scripts/houses/player_house_tatooine_small_style_02.py new file mode 100644 index 00000000..e5484c22 --- /dev/null +++ b/scripts/houses/player_house_tatooine_small_style_02.py @@ -0,0 +1,14 @@ +import sys +from services.housing import HouseTemplate +from engine.resources.scene import Point3D + +def setup(core): + houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_tatooine_house_small_style_02_deed.iff", "object/building/player/shared_player_house_tatooine_small_style_02.iff", 2) + + houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-1.7),float(3),float(8.2))) + houseTemplate.addPlaceablePlanet("tatooine") + houseTemplate.addPlaceablePlanet("lok") + houseTemplate.addPlaceablePlanet("dantooine") + houseTemplate.setDefaultItemLimit(200) + core.housingService.addHousingTemplate(houseTemplate) + return \ No newline at end of file diff --git a/scripts/houses/player_house_tatooine_small_window_style_01.py b/scripts/houses/player_house_tatooine_small_window_style_01.py new file mode 100644 index 00000000..eff8a21d --- /dev/null +++ b/scripts/houses/player_house_tatooine_small_window_style_01.py @@ -0,0 +1,14 @@ +import sys +from services.housing import HouseTemplate +from engine.resources.scene import Point3D + +def setup(core): + houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_tatooine_house_small_deed.iff", "object/building/player/shared_player_house_tatooine_small_style_01.iff", 2) + + houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-1.7),float(3),float(7.9))) + houseTemplate.addPlaceablePlanet("tatooine") + houseTemplate.addPlaceablePlanet("lok") + houseTemplate.addPlaceablePlanet("dantooine") + houseTemplate.setDefaultItemLimit(200) + core.housingService.addHousingTemplate(houseTemplate) + return \ No newline at end of file diff --git a/scripts/object/building/player/player_house_sandcrawler.py b/scripts/object/building/player/player_house_sandcrawler.py index ccad8904..3d2f2529 100644 --- a/scripts/object/building/player/player_house_sandcrawler.py +++ b/scripts/object/building/player/player_house_sandcrawler.py @@ -1,4 +1,12 @@ import sys +from engine.resources.scene import Quaternion def setup(core, object): + sign = core.objectService.createChildObject(object, 'object/tangible/sign/player/shared_house_address.iff', -8.75, 3.86, 1, 0.5, 0.5, -1) + print(sign) + object.setAttachment("structureSign", sign) + + structureterminal = core.objectService.createChildObject(object, 'object/tangible/terminal/shared_terminal_player_structure.iff', 6, 3.5, 0.7, 0.707108, -0.707108, 1) + #structureterminal.setAttachment('radial_filename', 'structure_management_terminal') + structureterminal.setAttachment('housing_parentstruct', object) return \ No newline at end of file diff --git a/scripts/object/building/player/player_house_tatooine_large_style_01.py b/scripts/object/building/player/player_house_tatooine_large_style_01.py index ccad8904..89f9d082 100644 --- a/scripts/object/building/player/player_house_tatooine_large_style_01.py +++ b/scripts/object/building/player/player_house_tatooine_large_style_01.py @@ -1,4 +1,11 @@ import sys def setup(core, object): + sign = core.objectService.createChildObject(object, 'object/tangible/sign/player/shared_house_address.iff', -3, 3, 15.8, -1, 0, -1) + print(sign) + object.setAttachment("structureSign", sign) + + structureterminal = core.objectService.createChildObject(object, 'object/tangible/terminal/shared_terminal_player_structure.iff', 9, 0.5, 12, 1, 0, 2) + #structureterminal.setAttachment('radial_filename', 'structure_management_terminal') + structureterminal.setAttachment('housing_parentstruct', object) return \ No newline at end of file diff --git a/scripts/object/building/player/player_house_tatooine_medium_style_01.py b/scripts/object/building/player/player_house_tatooine_medium_style_01.py index ccad8904..3b5cb8e9 100644 --- a/scripts/object/building/player/player_house_tatooine_medium_style_01.py +++ b/scripts/object/building/player/player_house_tatooine_medium_style_01.py @@ -1,4 +1,11 @@ import sys def setup(core, object): + sign = core.objectService.createChildObject(object, 'object/tangible/sign/player/shared_house_address.iff', 4.3, 2.26, 12.5, -1, 0, -1) + print(sign) + object.setAttachment("structureSign", sign) + + structureterminal = core.objectService.createChildObject(object, 'object/tangible/terminal/shared_terminal_player_structure.iff', 4, 0.5, 6.5, 1, 0, 2) + #structureterminal.setAttachment('radial_filename', 'structure_management_terminal') + structureterminal.setAttachment('housing_parentstruct', object) return \ No newline at end of file diff --git a/scripts/object/building/player/player_house_tatooine_small_style_01.py b/scripts/object/building/player/player_house_tatooine_small_style_01.py index ccad8904..2c07f46e 100644 --- a/scripts/object/building/player/player_house_tatooine_small_style_01.py +++ b/scripts/object/building/player/player_house_tatooine_small_style_01.py @@ -1,4 +1,11 @@ import sys def setup(core, object): + sign = core.objectService.createChildObject(object, 'object/tangible/sign/player/shared_house_address.iff', -1.7, 3, 7.9, 1, 0, -1) + print(sign) + object.setAttachment("structureSign", sign) + + structureterminal = core.objectService.createChildObject(object, 'object/tangible/terminal/shared_terminal_player_structure.iff', -6, 0.7, 6.2, 1, 0, 2) + #structureterminal.setAttachment('radial_filename', 'structure_management_terminal') + structureterminal.setAttachment('housing_parentstruct', object) return \ No newline at end of file diff --git a/scripts/object/building/player/player_house_tatooine_small_style_02.py b/scripts/object/building/player/player_house_tatooine_small_style_02.py index ccad8904..f4846b69 100644 --- a/scripts/object/building/player/player_house_tatooine_small_style_02.py +++ b/scripts/object/building/player/player_house_tatooine_small_style_02.py @@ -1,4 +1,11 @@ import sys def setup(core, object): + sign = core.objectService.createChildObject(object, 'object/tangible/sign/player/shared_house_address.iff', 4, 3, 7.6, 1, 0, -1) + print(sign) + object.setAttachment("structureSign", sign) + + structureterminal = core.objectService.createChildObject(object, 'object/tangible/terminal/shared_terminal_player_structure.iff', -6, 0.7, 6.2, 1, 0, 2) + #structureterminal.setAttachment('radial_filename', 'structure_management_terminal') + structureterminal.setAttachment('housing_parentstruct', object) return \ No newline at end of file diff --git a/scripts/object/building/player/player_house_tatooine_small_window_style_01.py b/scripts/object/building/player/player_house_tatooine_small_window_style_01.py index ccad8904..2c07f46e 100644 --- a/scripts/object/building/player/player_house_tatooine_small_window_style_01.py +++ b/scripts/object/building/player/player_house_tatooine_small_window_style_01.py @@ -1,4 +1,11 @@ import sys def setup(core, object): + sign = core.objectService.createChildObject(object, 'object/tangible/sign/player/shared_house_address.iff', -1.7, 3, 7.9, 1, 0, -1) + print(sign) + object.setAttachment("structureSign", sign) + + structureterminal = core.objectService.createChildObject(object, 'object/tangible/terminal/shared_terminal_player_structure.iff', -6, 0.7, 6.2, 1, 0, 2) + #structureterminal.setAttachment('radial_filename', 'structure_management_terminal') + structureterminal.setAttachment('housing_parentstruct', object) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/player_house_deed/tatooine_house_large_deed.py b/scripts/object/tangible/deed/player_house_deed/tatooine_house_large_deed.py index ccad8904..7110ddc2 100644 --- a/scripts/object/tangible/deed/player_house_deed/tatooine_house_large_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/tatooine_house_large_deed.py @@ -1,4 +1,12 @@ import sys def setup(core, object): + object.setAttachment('radial_filename', 'deeds/structureDeed') + object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_corellia_large_style_01.iff') + object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_corellia_house_large_deed.iff') + object.setLotRequirement(5) + object.setBMR(26) + return + +def use(core, actor, object): return \ No newline at end of file diff --git a/scripts/object/tangible/deed/player_house_deed/tatooine_house_medium_deed.py b/scripts/object/tangible/deed/player_house_deed/tatooine_house_medium_deed.py index ccad8904..b9918233 100644 --- a/scripts/object/tangible/deed/player_house_deed/tatooine_house_medium_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/tatooine_house_medium_deed.py @@ -1,4 +1,12 @@ import sys def setup(core, object): + object.setAttachment('radial_filename', 'deeds/structureDeed') + object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_tatooine_medium_style_01.iff') + object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_tatooine_house_medium_deed.iff') + object.setLotRequirement(2) + object.setBMR(18) + return + +def use(core, actor, object): return \ No newline at end of file diff --git a/scripts/object/tangible/deed/player_house_deed/tatooine_house_small_deed.py b/scripts/object/tangible/deed/player_house_deed/tatooine_house_small_deed.py index ccad8904..dd23d101 100644 --- a/scripts/object/tangible/deed/player_house_deed/tatooine_house_small_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/tatooine_house_small_deed.py @@ -1,4 +1,12 @@ import sys def setup(core, object): + object.setAttachment('radial_filename', 'deeds/structureDeed') + object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_tatooine_small_style_01.iff') + object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_tatooine_house_small_deed.iff') + object.setLotRequirement(2) + object.setBMR(8) + return + +def use(core, actor, object): return \ No newline at end of file diff --git a/scripts/object/tangible/deed/player_house_deed/tatooine_house_small_style_02_deed.py b/scripts/object/tangible/deed/player_house_deed/tatooine_house_small_style_02_deed.py index ccad8904..31de820d 100644 --- a/scripts/object/tangible/deed/player_house_deed/tatooine_house_small_style_02_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/tatooine_house_small_style_02_deed.py @@ -1,4 +1,12 @@ import sys def setup(core, object): + object.setAttachment('radial_filename', 'deeds/structureDeed') + object.setConstructorTemplate('object/building/player/construction/shared_tatooine_house_small_style_02_deed.iff') + object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_tatooine_house_small_deed.iff') + object.setLotRequirement(2) + object.setBMR(8) + return + +def use(core, actor, object): return \ No newline at end of file diff --git a/scripts/object/tangible/deed/player_house_deed/tatooine_house_window_small_deed.py b/scripts/object/tangible/deed/player_house_deed/tatooine_house_window_small_deed.py index ccad8904..8f52a919 100644 --- a/scripts/object/tangible/deed/player_house_deed/tatooine_house_window_small_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/tatooine_house_window_small_deed.py @@ -1,4 +1,12 @@ import sys def setup(core, object): + object.setAttachment('radial_filename', 'deeds/structureDeed') + object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_tatooine_small_style_01.iff') + object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_tatooine_house_window_small_deed.iff') + object.setLotRequirement(2) + object.setBMR(8) + return + +def use(core, actor, object): return \ No newline at end of file diff --git a/scripts/object/tangible/saga_system/rewards/structure_deed_player_house_sandcrawler.py b/scripts/object/tangible/saga_system/rewards/structure_deed_player_house_sandcrawler.py index ccad8904..5a653b5c 100644 --- a/scripts/object/tangible/saga_system/rewards/structure_deed_player_house_sandcrawler.py +++ b/scripts/object/tangible/saga_system/rewards/structure_deed_player_house_sandcrawler.py @@ -1,4 +1,12 @@ import sys def setup(core, object): + object.setAttachment('radial_filename', 'deeds/structureDeed') + object.setConstructorTemplate('object/building/player/shared_construction_structure.iff') + object.setStructureTemplate('object/tangible/saga_system/rewards/shared_structure_deed_player_house_sandcrawler.iff') + object.setLotRequirement(5) + object.setBMR(26) + return + +def use(core, actor, object): return \ No newline at end of file diff --git a/src/services/object/ObjectService.java b/src/services/object/ObjectService.java index d89bce74..f0f864af 100644 --- a/src/services/object/ObjectService.java +++ b/src/services/object/ObjectService.java @@ -245,7 +245,7 @@ public class ObjectService implements INetworkDispatch { object = new Harvester_Deed(objectID, planet, Template, position, orientation); - } else if(Template.startsWith("object/tangible/deed/player_house_deed") || Template.startsWith("object/tangible/deed/guild_deed") || Template.startsWith("object/tangible/deed/city_deed") || Template.startsWith("object/tangible/tcg")) { + } else if(Template.startsWith("object/tangible/deed/player_house_deed") || Template.startsWith("object/tangible/deed/guild_deed") || Template.startsWith("object/tangible/deed/city_deed") || Template.startsWith("object/tangible/tcg") || Template.startsWith("object/tangible/saga_system")) { object = new Player_House_Deed(objectID, planet, Template, position, orientation); From f0e345bf377a708228d5512ae6b0481969ad3a70 Mon Sep 17 00:00:00 2001 From: tacef Date: Sat, 26 Apr 2014 15:40:12 +0200 Subject: [PATCH 06/52] Updated Objectservice to just load playerdeed out of TCG and Saga_system --- src/services/object/ObjectService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/object/ObjectService.java b/src/services/object/ObjectService.java index f0f864af..8158ae15 100644 --- a/src/services/object/ObjectService.java +++ b/src/services/object/ObjectService.java @@ -245,7 +245,7 @@ public class ObjectService implements INetworkDispatch { object = new Harvester_Deed(objectID, planet, Template, position, orientation); - } else if(Template.startsWith("object/tangible/deed/player_house_deed") || Template.startsWith("object/tangible/deed/guild_deed") || Template.startsWith("object/tangible/deed/city_deed") || Template.startsWith("object/tangible/tcg") || Template.startsWith("object/tangible/saga_system")) { + } else if(Template.startsWith("object/tangible/deed/player_house_deed") || Template.startsWith("object/tangible/deed/guild_deed") || Template.startsWith("object/tangible/deed/city_deed") || Template.startsWith("object/tangible/tcg/series3/shared_structure_deed_sith_meditation_room_deed.iff") || Template.startsWith("object/tangible/tcg/series5/shared_structure_deed_player_house_atat.iff") || Template.startsWith("object/tangible/tcg/series5/shared_structure_deed_player_house_hangar.iff") || Template.startsWith("object/tangible/tcg/series3/shared_structure_deed_jedi_meditation_room_deed.iff") || Template.startsWith("object/tangible/saga_system/rewards/shared_structure_deed_player_house_sandcrawler.iff")) { object = new Player_House_Deed(objectID, planet, Template, position, orientation); From 60d282015631261738db66117f8bd6407f4627cc Mon Sep 17 00:00:00 2001 From: Treeku Date: Sat, 26 Apr 2014 16:15:26 +0100 Subject: [PATCH 07/52] Fixed agility.py issue --- scripts/skillMods/agility.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/skillMods/agility.py b/scripts/skillMods/agility.py index 3ea2c7a9..7978281a 100644 --- a/scripts/skillMods/agility.py +++ b/scripts/skillMods/agility.py @@ -1,14 +1,14 @@ import sys -def add(core, actor, skillMod, value): - core.skillModService.addSkillMod('display_only_dodge', skillMod.getBase()) - core.skillModService.addSkillMod('display_only_parry', skillMod.getBase() / 2) - core.skillModService.addSkillMod('display_only_evasion', skillMod.getBase()) +def add(core, actor, skillMod, divisor): + core.skillModService.addSkillMod(actor, 'display_only_dodge', skillMod.getBase()) + core.skillModService.addSkillMod(actor, 'display_only_parry', skillMod.getBase() / 2) + core.skillModService.addSkillMod(actor, 'display_only_evasion', skillMod.getBase()) return -def deduct(core, actor, skillMod, value): - core.skillModService.deductSkillMod('display_only_dodge', skillMod.getBase()) - core.skillModService.deductSkillMod('display_only_parry', skillMod.getBase() / 2) - core.skillModService.deductSkillMod('display_only_evasion', skillMod.getBase()) +def deduct(core, actor, skillMod, divisor): + core.skillModService.deductSkillMod(actor, 'display_only_dodge', skillMod.getBase()) + core.skillModService.deductSkillMod(actor, 'display_only_parry', skillMod.getBase() / 2) + core.skillModService.deductSkillMod(actor, 'display_only_evasion', skillMod.getBase()) return - \ No newline at end of file + From 989ee0a772d33d71216c9f2d5426271620cf1a95 Mon Sep 17 00:00:00 2001 From: zingzing175 Date: Sat, 26 Apr 2014 15:52:46 -0700 Subject: [PATCH 08/52] Revert "Fixed agility.py issue" This reverts commit 8afe1e4af1b8970741d51fab711a625f81e478ae. --- scripts/skillMods/agility.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/skillMods/agility.py b/scripts/skillMods/agility.py index 7978281a..3ea2c7a9 100644 --- a/scripts/skillMods/agility.py +++ b/scripts/skillMods/agility.py @@ -1,14 +1,14 @@ import sys -def add(core, actor, skillMod, divisor): - core.skillModService.addSkillMod(actor, 'display_only_dodge', skillMod.getBase()) - core.skillModService.addSkillMod(actor, 'display_only_parry', skillMod.getBase() / 2) - core.skillModService.addSkillMod(actor, 'display_only_evasion', skillMod.getBase()) +def add(core, actor, skillMod, value): + core.skillModService.addSkillMod('display_only_dodge', skillMod.getBase()) + core.skillModService.addSkillMod('display_only_parry', skillMod.getBase() / 2) + core.skillModService.addSkillMod('display_only_evasion', skillMod.getBase()) return -def deduct(core, actor, skillMod, divisor): - core.skillModService.deductSkillMod(actor, 'display_only_dodge', skillMod.getBase()) - core.skillModService.deductSkillMod(actor, 'display_only_parry', skillMod.getBase() / 2) - core.skillModService.deductSkillMod(actor, 'display_only_evasion', skillMod.getBase()) +def deduct(core, actor, skillMod, value): + core.skillModService.deductSkillMod('display_only_dodge', skillMod.getBase()) + core.skillModService.deductSkillMod('display_only_parry', skillMod.getBase() / 2) + core.skillModService.deductSkillMod('display_only_evasion', skillMod.getBase()) return - + \ No newline at end of file From 410257723e18b3ad1591a9a0c1d87b16805af0de Mon Sep 17 00:00:00 2001 From: zingzing175 Date: Sat, 26 Apr 2014 16:21:30 -0700 Subject: [PATCH 09/52] Revert "Revert "Fixed agility.py issue"" This reverts commit 3e02e080cf485e254f820f75d7591c32c1b3a145. --- scripts/skillMods/agility.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/skillMods/agility.py b/scripts/skillMods/agility.py index 3ea2c7a9..7978281a 100644 --- a/scripts/skillMods/agility.py +++ b/scripts/skillMods/agility.py @@ -1,14 +1,14 @@ import sys -def add(core, actor, skillMod, value): - core.skillModService.addSkillMod('display_only_dodge', skillMod.getBase()) - core.skillModService.addSkillMod('display_only_parry', skillMod.getBase() / 2) - core.skillModService.addSkillMod('display_only_evasion', skillMod.getBase()) +def add(core, actor, skillMod, divisor): + core.skillModService.addSkillMod(actor, 'display_only_dodge', skillMod.getBase()) + core.skillModService.addSkillMod(actor, 'display_only_parry', skillMod.getBase() / 2) + core.skillModService.addSkillMod(actor, 'display_only_evasion', skillMod.getBase()) return -def deduct(core, actor, skillMod, value): - core.skillModService.deductSkillMod('display_only_dodge', skillMod.getBase()) - core.skillModService.deductSkillMod('display_only_parry', skillMod.getBase() / 2) - core.skillModService.deductSkillMod('display_only_evasion', skillMod.getBase()) +def deduct(core, actor, skillMod, divisor): + core.skillModService.deductSkillMod(actor, 'display_only_dodge', skillMod.getBase()) + core.skillModService.deductSkillMod(actor, 'display_only_parry', skillMod.getBase() / 2) + core.skillModService.deductSkillMod(actor, 'display_only_evasion', skillMod.getBase()) return - \ No newline at end of file + From 07e1f7c9f6625003d200a509e543d3654b0edfaa Mon Sep 17 00:00:00 2001 From: zingzing175 Date: Sat, 26 Apr 2014 16:47:03 -0700 Subject: [PATCH 10/52] Added action add to Officer Inspiration, fixed a couple base skill mods, fixed officer buffs. --- scripts/skillMods/agility_modified.py | 16 ++++++++-------- scripts/skillMods/constitution.py | 8 ++++---- scripts/skillMods/constitution_modified.py | 8 ++++---- .../skillMods/expertise_critical_niche_all.py | 4 ++-- scripts/skillMods/healing_action.py | 1 + 5 files changed, 19 insertions(+), 18 deletions(-) diff --git a/scripts/skillMods/agility_modified.py b/scripts/skillMods/agility_modified.py index 9f9e8568..f5752055 100644 --- a/scripts/skillMods/agility_modified.py +++ b/scripts/skillMods/agility_modified.py @@ -1,14 +1,14 @@ import sys -def add(core, actor, skillMod, value): - core.skillModService.addSkillMod('display_only_dodge', base) - core.skillModService.addSkillMod('display_only_parry', base / 2) - core.skillModService.addSkillMod('display_only_evasion', base) +def add((core, actor, skillMod, divisor): + core.skillModService.addSkillMod('display_only_dodge', skillMod.getBase()) + core.skillModService.addSkillMod('display_only_parry', skillMod.getBase() / 2) + core.skillModService.addSkillMod('display_only_evasion', skillMod.getBase()) return -def deduct(core, actor, skillMod, value): - core.skillModService.deductSkillMod('display_only_dodge', base) - core.skillModService.deductSkillMod('display_only_parry', base / 2) - core.skillModService.deductSkillMod('display_only_evasion', base) +def deduct((core, actor, skillMod, divisor): + core.skillModService.deductSkillMod('display_only_dodge', skillMod.getBase()) + core.skillModService.deductSkillMod('display_only_parry', skillMod.getBase() / 2) + core.skillModService.deductSkillMod('display_only_evasion', skillMod.getBase()) return \ No newline at end of file diff --git a/scripts/skillMods/constitution.py b/scripts/skillMods/constitution.py index 73c88999..299bf30d 100644 --- a/scripts/skillMods/constitution.py +++ b/scripts/skillMods/constitution.py @@ -1,12 +1,12 @@ import sys def add(core, actor, skillMod, value): - actor.setMaxHealth(actor.getMaxHealth() + base * 8) - actor.setMaxAction(actor.getMaxAction() + base * 2) + actor.setMaxHealth(actor.getMaxHealth() + skillMod.getBase() * 8) + actor.setMaxAction(actor.getMaxAction() + skillMod.getBase() * 2) return def deduct(core, actor, skillMod, value): - actor.setMaxHealth(actor.getMaxHealth() - base * 8) - actor.setMaxAction(actor.getMaxAction() - base * 2) + actor.setMaxHealth(actor.getMaxHealth() - skillMod.getBase() * 8) + actor.setMaxAction(actor.getMaxAction() - skillMod.getBase() * 2) return \ No newline at end of file diff --git a/scripts/skillMods/constitution_modified.py b/scripts/skillMods/constitution_modified.py index 73c88999..299bf30d 100644 --- a/scripts/skillMods/constitution_modified.py +++ b/scripts/skillMods/constitution_modified.py @@ -1,12 +1,12 @@ import sys def add(core, actor, skillMod, value): - actor.setMaxHealth(actor.getMaxHealth() + base * 8) - actor.setMaxAction(actor.getMaxAction() + base * 2) + actor.setMaxHealth(actor.getMaxHealth() + skillMod.getBase() * 8) + actor.setMaxAction(actor.getMaxAction() + skillMod.getBase() * 2) return def deduct(core, actor, skillMod, value): - actor.setMaxHealth(actor.getMaxHealth() - base * 8) - actor.setMaxAction(actor.getMaxAction() - base * 2) + actor.setMaxHealth(actor.getMaxHealth() - skillMod.getBase() * 8) + actor.setMaxAction(actor.getMaxAction() - skillMod.getBase() * 2) return \ No newline at end of file diff --git a/scripts/skillMods/expertise_critical_niche_all.py b/scripts/skillMods/expertise_critical_niche_all.py index b6492df5..f2d7d723 100644 --- a/scripts/skillMods/expertise_critical_niche_all.py +++ b/scripts/skillMods/expertise_critical_niche_all.py @@ -1,10 +1,10 @@ import sys def add(core, actor, skillMod, value): - core.skillModService.addSkillMod(actor, 'display_only_critical', 100 * base) + core.skillModService.addSkillMod(actor, 'display_only_critical', 100 * skillMod.getBase()) return def deduct(core, actor, skillMod, value): - core.skillModService.deductSkillMod(actor, 'display_only_critical', 100 * base) + core.skillModService.deductSkillMod(actor, 'display_only_critical', 100 * skillMod.getBase()) return \ No newline at end of file diff --git a/scripts/skillMods/healing_action.py b/scripts/skillMods/healing_action.py index 6cd11173..026370f5 100644 --- a/scripts/skillMods/healing_action.py +++ b/scripts/skillMods/healing_action.py @@ -1,6 +1,7 @@ import sys def add(core, actor, skillMod, divisor): + actor.setAction(actor.getAction() + skillMod.getBase()) return def deduct(core, actor, skillMod, divisor): From 2010163228182c404fc996b6d68e06e1f2e754e8 Mon Sep 17 00:00:00 2001 From: Treeku Date: Sun, 27 Apr 2014 01:06:57 +0100 Subject: [PATCH 11/52] Fixed minor agility_modified.py error --- scripts/skillMods/agility_modified.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/skillMods/agility_modified.py b/scripts/skillMods/agility_modified.py index f5752055..7978281a 100644 --- a/scripts/skillMods/agility_modified.py +++ b/scripts/skillMods/agility_modified.py @@ -1,14 +1,14 @@ import sys -def add((core, actor, skillMod, divisor): - core.skillModService.addSkillMod('display_only_dodge', skillMod.getBase()) - core.skillModService.addSkillMod('display_only_parry', skillMod.getBase() / 2) - core.skillModService.addSkillMod('display_only_evasion', skillMod.getBase()) +def add(core, actor, skillMod, divisor): + core.skillModService.addSkillMod(actor, 'display_only_dodge', skillMod.getBase()) + core.skillModService.addSkillMod(actor, 'display_only_parry', skillMod.getBase() / 2) + core.skillModService.addSkillMod(actor, 'display_only_evasion', skillMod.getBase()) return -def deduct((core, actor, skillMod, divisor): - core.skillModService.deductSkillMod('display_only_dodge', skillMod.getBase()) - core.skillModService.deductSkillMod('display_only_parry', skillMod.getBase() / 2) - core.skillModService.deductSkillMod('display_only_evasion', skillMod.getBase()) +def deduct(core, actor, skillMod, divisor): + core.skillModService.deductSkillMod(actor, 'display_only_dodge', skillMod.getBase()) + core.skillModService.deductSkillMod(actor, 'display_only_parry', skillMod.getBase() / 2) + core.skillModService.deductSkillMod(actor, 'display_only_evasion', skillMod.getBase()) return - \ No newline at end of file + From 4cef2c09cc499d8580b9c0cd7c2bdc460c1fcba1 Mon Sep 17 00:00:00 2001 From: Mesagoppinmypants Date: Sat, 26 Apr 2014 20:23:25 -0400 Subject: [PATCH 12/52] Scripted Stormtrooper Squad Leader NPC Tested and works. --- .../canon/stormtrooper_squad_leader.py | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 scripts/mobiles/canon/stormtrooper_squad_leader.py diff --git a/scripts/mobiles/canon/stormtrooper_squad_leader.py b/scripts/mobiles/canon/stormtrooper_squad_leader.py new file mode 100644 index 00000000..8fbea697 --- /dev/null +++ b/scripts/mobiles/canon/stormtrooper_squad_leader.py @@ -0,0 +1,31 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('stormtrooper_squad_leader') + mobileTemplate.setLevel(28) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(24) + mobileTemplate.setAttackSpeed(0.4) + mobileTemplate.setWeaponType(1) + + templates = Vector() + templates.add('object/mobile/shared_dressed_stormtrooper_squad_leader_white_white.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/ranged/pistol/shared_pistol_scout_blaster.iff', 0, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + + attacks = Vector() + mobileTemplate.setDefaultAttack('rangedShot') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('stormtrooper_squad_leader', mobileTemplate) + From 3948fe11f3023f9483481b1867f46935f308b1df Mon Sep 17 00:00:00 2001 From: CharonInferar Date: Mon, 28 Apr 2014 04:31:45 +0200 Subject: [PATCH 13/52] Sandbox city building --- src/services/DevService.java | 8 ++ .../playercities/PlayerCityService.java | 83 +++++++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/src/services/DevService.java b/src/services/DevService.java index 8a3ce949..e3d8a5d4 100644 --- a/src/services/DevService.java +++ b/src/services/DevService.java @@ -93,6 +93,7 @@ public class DevService implements INetworkDispatch { if(creature.getClient().isGM()) suiOptions.put((long) 120, "House Deeds"); if(creature.getClient().isGM()) suiOptions.put((long) 125, "Crafting Tools"); if(creature.getClient().isGM()) suiOptions.put((long) 130, "Vehicle Deeds"); + if(creature.getClient().isGM()) suiOptions.put((long) 121, "Sandbox City"); break; case 3: // [Items] Weapons @@ -1232,6 +1233,11 @@ public class DevService implements INetworkDispatch { inventory.add(deed); return; + + case 121: + NGECore.getInstance().playerCityService.buildSandboxTestCity(player); + + return; case 125: TangibleObject genericCraftingTool = (TangibleObject) core.objectService.createObject("object/tangible/crafting/station/shared_generic_tool.iff", planet); @@ -1244,6 +1250,8 @@ public class DevService implements INetworkDispatch { inventory.add(swoopDeed); inventory.add(av21deed); return; + + } } }); diff --git a/src/services/playercities/PlayerCityService.java b/src/services/playercities/PlayerCityService.java index 86cb57ed..e5864069 100644 --- a/src/services/playercities/PlayerCityService.java +++ b/src/services/playercities/PlayerCityService.java @@ -27,11 +27,15 @@ import java.util.Vector; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; + +import resources.objects.building.BuildingObject; import resources.objects.creature.CreatureObject; +import resources.objects.tangible.TangibleObject; import services.sui.SUIWindow; import services.sui.SUIWindow.SUICallback; import services.sui.SUIWindow.Trigger; import engine.resources.objects.SWGObject; +import engine.resources.scene.Point3D; import engine.resources.service.INetworkDispatch; import engine.resources.service.INetworkRemoteEvent; import main.NGECore; @@ -157,6 +161,85 @@ public class PlayerCityService implements INetworkDispatch { core.suiService.openSUIWindow(window); } + public void buildSandboxTestCity(CreatureObject founder) { + + + float positionX = 2170.0F; + float positionY = 1.0F; + float positionZ = -4659.0F; + + String structureTemplate = "object/building/player/city/shared_cityhall_tatooine.iff"; + + BuildingObject cityHall = (BuildingObject) core.objectService.createObject(structureTemplate, 0, founder.getPlanet(), new Point3D(positionX, positionY, positionZ), founder.getOrientation()); + core.simulationService.add(cityHall, cityHall.getPosition().x, cityHall.getPosition().z, true); + + SWGObject sign = core.objectService.createChildObject((SWGObject)cityHall, "object/tangible/sign/player/shared_house_address.iff", -7.39F, 2.36F, 2, -1, 0, -1); + cityHall.setAttachment("structureSign", sign); + + PlayerCity sandboxCity = null; + synchronized(playerCities){ + sandboxCity = new PlayerCity(founder,cityID++); + sandboxCity.setCityName("Sandbox City"); + playerCities.add(sandboxCity); + } + + cityHall.setAttachment("structureCity", sandboxCity.getCityID()); + founder.setAttachment("residentCity", sandboxCity.getCityID()); + // Name the sign +// TangibleObject sign = (TangibleObject) cityHall.getAttachment("structureSign"); +// String playerFirstName = founder.getCustomName().split(" ")[0]; +// +// if (sign !=null) +// sign.setCustomName2(playerFirstName + "'s House"); + + + + // Structure management + Vector admins = new Vector<>(); + admins.add(founder.getObjectID()); + + cityHall.setAttachment("structureOwner", founder.getObjectID()); + cityHall.setAttachment("structureAdmins", admins); + cityHall.setDeedTemplate("object/tangible/deed/city_deed/shared_cityhall_tatooine_deed.iff"); + cityHall.setBMR(325); + cityHall.setConditionDamage(100); + + + positionY = core.terrainService.getHeight(founder.getPlanetId(), positionX, positionZ)+ 2f; + founder.setPosition(new Point3D(positionX+100,positionY,positionZ)); + core.simulationService.teleport(founder, new Point3D(positionX,positionY,positionZ+150), founder.getOrientation(), 0); + + TangibleObject swoopDeed = (TangibleObject) core.objectService.createObject("object/tangible/deed/vehicle_deed/shared_speederbike_swoop_deed.iff", founder.getPlanet()); + SWGObject inventory = founder.getSlottedObject("inventory"); + inventory.add(swoopDeed); + + + //structureTemplate = "object/building/player/city/shared_shuttleport_tatooine.iff"; + structureTemplate = "object/building/tatooine/shared_shuttleport_tatooine.iff"; + positionX = 2170.0F; + positionY = 1.0F; + positionZ = -4559.0F; + + //StructureObject shuttlePort = (StructureObject) core.objectService.createObject(structureTemplate, 0, founder.getPlanet(), new Point3D(positionX, positionY, positionZ), founder.getOrientation()); + BuildingObject shuttlePort = (BuildingObject) core.objectService.createObject(structureTemplate, 0, founder.getPlanet(), new Point3D(positionX, positionY, positionZ), founder.getOrientation()); + //shuttlePort.setAttachment("cellsSorted", new Boolean(true)); + //"bigSpawnRange" + + core.simulationService.add(shuttlePort, shuttlePort.getPosition().x, shuttlePort.getPosition().z, true); +// sign = core.objectService.createChildObject((SWGObject)shuttlePort, "object/tangible/sign/player/shared_house_address.iff", -7.39F, 2.36F, 2, -1, 0, -1); +// shuttlePort.setAttachment("structureSign", sign); + + // Structure management + admins = new Vector<>(); + admins.add(founder.getObjectID()); + + shuttlePort.setAttachment("structureOwner", founder.getObjectID()); + shuttlePort.setAttachment("structureAdmins", admins); + shuttlePort.setDeedTemplate("object/tangible/deed/city_deed/shared_cityhall_tatooine_deed.iff"); + shuttlePort.setBMR(12); + shuttlePort.setConditionDamage(100); + } + @Override public void insertOpcodes(Map arg0, From a8894d57c05e47d4d4450eb228efe091b1b718e1 Mon Sep 17 00:00:00 2001 From: tacef Date: Mon, 28 Apr 2014 20:38:57 +0200 Subject: [PATCH 14/52] Added Creature scripts for Tatooine(needs more testing) Also altered existing scripts to support weapontemplate(needs more testing) --- .../tatooine/adolescent_krayt_dragon.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/armodragon.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/bantha.py | 21 +++++++++++-- scripts/mobiles/tatooine/bantha_low.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/bantha_matriarch.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/blight_boar.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/bocatt.py | 30 +++++++++++++++++++ .../mobiles/tatooine/bonecracker_bantha.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/bull_bantha.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/bull_ronto.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/cannibal_dewback.py | 30 +++++++++++++++++++ .../mobiles/tatooine/canyon_krayt_dragon.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/carion_kreetle.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/cave_beetle.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/city_rockmite.py | 30 +++++++++++++++++++ .../mobiles/tatooine/city_sewer_swamprat.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/cupa.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/death_kreetle.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/desert_eopie.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/desert_kreetle.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/desert_razorback.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/desert_squill.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/dewback.py | 20 +++++++++++-- scripts/mobiles/tatooine/dimu_bantha.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/diseased_bocatt.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/domestic_eopie.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/dragonet.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/drooling_nuna.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/dune_bantha.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/dune_beetle.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/dune_lizard.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/dwarf_bantha.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/dwarf_eopie.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/dwarf_nuna.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/elder_zucca_boar.py | 30 +++++++++++++++++++ .../tatooine/elite_dewback_cannibal.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/elite_dragonet.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/elite_dune_lizard.py | 30 +++++++++++++++++++ .../tatooine/elite_giant_sand_beetle.py | 30 +++++++++++++++++++ .../mobiles/tatooine/elite_mutant_womprat.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/elite_ronto.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/elite_scyk.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/elite_sevorrt.py | 30 +++++++++++++++++++ .../tatooine/enraged_mountain_dewback.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/enraged_squill.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/eoni.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/eopie.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/eopie_herdmaster.py | 30 +++++++++++++++++++ .../tatooine/female_mountain_squill.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/feral_bantha.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/furios_ronto.py | 30 +++++++++++++++++++ .../tatooine/giant_canyon_krayt_dragon.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/giant_sand_beetle.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/giant_worrt.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/gorg.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/gorg_glutton.py | 30 +++++++++++++++++++ .../mobiles/tatooine/grand_krayt_dragon.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/great_squill.py | 30 +++++++++++++++++++ .../tatooine/greater_desert_womprat.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/grizzled_dewback.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/harmony_worrt.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/jundland_eopie.py | 30 +++++++++++++++++++ .../tatooine/juvenile_canyon_krayt_dragon.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/krayt_dragon.py | 23 ++++++++++---- .../mobiles/tatooine/krayt_dragon_ancient.py | 23 ++++++++++---- scripts/mobiles/tatooine/kreetle.py | 22 ++++++++++---- scripts/mobiles/tatooine/kreetle_swarmling.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/large_cave_beetle.py | 30 +++++++++++++++++++ .../mobiles/tatooine/large_rock_beetle1.py | 30 +++++++++++++++++++ .../mobiles/tatooine/large_rock_beetle2.py | 30 +++++++++++++++++++ .../mobiles/tatooine/large_rock_beetle3.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/large_sand_beetle.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/lesser_bocatt.py | 30 +++++++++++++++++++ .../mobiles/tatooine/lesser_desert_womprat.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/lesser_dewback.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/malignant_squill.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/minor_worrt.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/mound_mite.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/mountain_dewback.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/mountain_squill.py | 30 +++++++++++++++++++ .../tatooine/mountain_squill_guardian.py | 30 +++++++++++++++++++ .../tatooine/mountain_squill_hunter.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/mountain_worrt.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/mutant_womprat.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/overkreetle.py | 30 +++++++++++++++++++ .../tatooine/parry_stormtrooper_dewback.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/plaque_rat.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/razorback_felspur.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/razorclaw.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/rock_beetle.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/rock_beetle1.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/rock_beetle_cave.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/rockmite.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/ronto.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/runted_rill.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/sand_beetle.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/sandreaver.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/savage_zucca_boar.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/scyk.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/sevorrt.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/sewer_worrt.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/sickly_womprat.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/slum_rat.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/snarlfang.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/squill.py | 30 +++++++++++++++++++ .../mobiles/tatooine/stormtrooper_dewback.py | 30 +++++++++++++++++++ .../mobiles/tatooine/sunstained_dunelizard.py | 30 +++++++++++++++++++ .../tatooine/swarming_lesser_dewback.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/tame_rill.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/tame_womprat.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/tame_worrt.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/tatooine_mynock.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/tempest_till.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/tormented_bocatt.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/tusken_bantha.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/tusken_raider.py | 2 +- scripts/mobiles/tatooine/twisted_dewback.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/twisted_rill.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/twisted_womprat.py | 30 +++++++++++++++++++ .../mobiles/tatooine/variegated_womprat.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/vicious_rill.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/volatile_scyk.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/wasteland_cupa.py | 30 +++++++++++++++++++ .../mobiles/tatooine/wild_bladeback_boar.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/wild_dune_boar.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/womprat.py | 24 ++++++++++----- scripts/mobiles/tatooine/wonderous_cupa.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/worrt_gutbuster.py | 30 +++++++++++++++++++ .../mobiles/tatooine/young_mountain_squill.py | 30 +++++++++++++++++++ scripts/mobiles/tatooine/zucca_boar.py | 30 +++++++++++++++++++ 130 files changed, 3793 insertions(+), 32 deletions(-) create mode 100644 scripts/mobiles/tatooine/adolescent_krayt_dragon.py create mode 100644 scripts/mobiles/tatooine/armodragon.py create mode 100644 scripts/mobiles/tatooine/bantha_low.py create mode 100644 scripts/mobiles/tatooine/bantha_matriarch.py create mode 100644 scripts/mobiles/tatooine/blight_boar.py create mode 100644 scripts/mobiles/tatooine/bocatt.py create mode 100644 scripts/mobiles/tatooine/bonecracker_bantha.py create mode 100644 scripts/mobiles/tatooine/bull_bantha.py create mode 100644 scripts/mobiles/tatooine/bull_ronto.py create mode 100644 scripts/mobiles/tatooine/cannibal_dewback.py create mode 100644 scripts/mobiles/tatooine/canyon_krayt_dragon.py create mode 100644 scripts/mobiles/tatooine/carion_kreetle.py create mode 100644 scripts/mobiles/tatooine/cave_beetle.py create mode 100644 scripts/mobiles/tatooine/city_rockmite.py create mode 100644 scripts/mobiles/tatooine/city_sewer_swamprat.py create mode 100644 scripts/mobiles/tatooine/cupa.py create mode 100644 scripts/mobiles/tatooine/death_kreetle.py create mode 100644 scripts/mobiles/tatooine/desert_eopie.py create mode 100644 scripts/mobiles/tatooine/desert_kreetle.py create mode 100644 scripts/mobiles/tatooine/desert_razorback.py create mode 100644 scripts/mobiles/tatooine/desert_squill.py create mode 100644 scripts/mobiles/tatooine/dimu_bantha.py create mode 100644 scripts/mobiles/tatooine/diseased_bocatt.py create mode 100644 scripts/mobiles/tatooine/domestic_eopie.py create mode 100644 scripts/mobiles/tatooine/dragonet.py create mode 100644 scripts/mobiles/tatooine/drooling_nuna.py create mode 100644 scripts/mobiles/tatooine/dune_bantha.py create mode 100644 scripts/mobiles/tatooine/dune_beetle.py create mode 100644 scripts/mobiles/tatooine/dune_lizard.py create mode 100644 scripts/mobiles/tatooine/dwarf_bantha.py create mode 100644 scripts/mobiles/tatooine/dwarf_eopie.py create mode 100644 scripts/mobiles/tatooine/dwarf_nuna.py create mode 100644 scripts/mobiles/tatooine/elder_zucca_boar.py create mode 100644 scripts/mobiles/tatooine/elite_dewback_cannibal.py create mode 100644 scripts/mobiles/tatooine/elite_dragonet.py create mode 100644 scripts/mobiles/tatooine/elite_dune_lizard.py create mode 100644 scripts/mobiles/tatooine/elite_giant_sand_beetle.py create mode 100644 scripts/mobiles/tatooine/elite_mutant_womprat.py create mode 100644 scripts/mobiles/tatooine/elite_ronto.py create mode 100644 scripts/mobiles/tatooine/elite_scyk.py create mode 100644 scripts/mobiles/tatooine/elite_sevorrt.py create mode 100644 scripts/mobiles/tatooine/enraged_mountain_dewback.py create mode 100644 scripts/mobiles/tatooine/enraged_squill.py create mode 100644 scripts/mobiles/tatooine/eoni.py create mode 100644 scripts/mobiles/tatooine/eopie.py create mode 100644 scripts/mobiles/tatooine/eopie_herdmaster.py create mode 100644 scripts/mobiles/tatooine/female_mountain_squill.py create mode 100644 scripts/mobiles/tatooine/feral_bantha.py create mode 100644 scripts/mobiles/tatooine/furios_ronto.py create mode 100644 scripts/mobiles/tatooine/giant_canyon_krayt_dragon.py create mode 100644 scripts/mobiles/tatooine/giant_sand_beetle.py create mode 100644 scripts/mobiles/tatooine/giant_worrt.py create mode 100644 scripts/mobiles/tatooine/gorg.py create mode 100644 scripts/mobiles/tatooine/gorg_glutton.py create mode 100644 scripts/mobiles/tatooine/grand_krayt_dragon.py create mode 100644 scripts/mobiles/tatooine/great_squill.py create mode 100644 scripts/mobiles/tatooine/greater_desert_womprat.py create mode 100644 scripts/mobiles/tatooine/grizzled_dewback.py create mode 100644 scripts/mobiles/tatooine/harmony_worrt.py create mode 100644 scripts/mobiles/tatooine/jundland_eopie.py create mode 100644 scripts/mobiles/tatooine/juvenile_canyon_krayt_dragon.py create mode 100644 scripts/mobiles/tatooine/kreetle_swarmling.py create mode 100644 scripts/mobiles/tatooine/large_cave_beetle.py create mode 100644 scripts/mobiles/tatooine/large_rock_beetle1.py create mode 100644 scripts/mobiles/tatooine/large_rock_beetle2.py create mode 100644 scripts/mobiles/tatooine/large_rock_beetle3.py create mode 100644 scripts/mobiles/tatooine/large_sand_beetle.py create mode 100644 scripts/mobiles/tatooine/lesser_bocatt.py create mode 100644 scripts/mobiles/tatooine/lesser_desert_womprat.py create mode 100644 scripts/mobiles/tatooine/lesser_dewback.py create mode 100644 scripts/mobiles/tatooine/malignant_squill.py create mode 100644 scripts/mobiles/tatooine/minor_worrt.py create mode 100644 scripts/mobiles/tatooine/mound_mite.py create mode 100644 scripts/mobiles/tatooine/mountain_dewback.py create mode 100644 scripts/mobiles/tatooine/mountain_squill.py create mode 100644 scripts/mobiles/tatooine/mountain_squill_guardian.py create mode 100644 scripts/mobiles/tatooine/mountain_squill_hunter.py create mode 100644 scripts/mobiles/tatooine/mountain_worrt.py create mode 100644 scripts/mobiles/tatooine/mutant_womprat.py create mode 100644 scripts/mobiles/tatooine/overkreetle.py create mode 100644 scripts/mobiles/tatooine/parry_stormtrooper_dewback.py create mode 100644 scripts/mobiles/tatooine/plaque_rat.py create mode 100644 scripts/mobiles/tatooine/razorback_felspur.py create mode 100644 scripts/mobiles/tatooine/razorclaw.py create mode 100644 scripts/mobiles/tatooine/rock_beetle.py create mode 100644 scripts/mobiles/tatooine/rock_beetle1.py create mode 100644 scripts/mobiles/tatooine/rock_beetle_cave.py create mode 100644 scripts/mobiles/tatooine/rockmite.py create mode 100644 scripts/mobiles/tatooine/ronto.py create mode 100644 scripts/mobiles/tatooine/runted_rill.py create mode 100644 scripts/mobiles/tatooine/sand_beetle.py create mode 100644 scripts/mobiles/tatooine/sandreaver.py create mode 100644 scripts/mobiles/tatooine/savage_zucca_boar.py create mode 100644 scripts/mobiles/tatooine/scyk.py create mode 100644 scripts/mobiles/tatooine/sevorrt.py create mode 100644 scripts/mobiles/tatooine/sewer_worrt.py create mode 100644 scripts/mobiles/tatooine/sickly_womprat.py create mode 100644 scripts/mobiles/tatooine/slum_rat.py create mode 100644 scripts/mobiles/tatooine/snarlfang.py create mode 100644 scripts/mobiles/tatooine/squill.py create mode 100644 scripts/mobiles/tatooine/stormtrooper_dewback.py create mode 100644 scripts/mobiles/tatooine/sunstained_dunelizard.py create mode 100644 scripts/mobiles/tatooine/swarming_lesser_dewback.py create mode 100644 scripts/mobiles/tatooine/tame_rill.py create mode 100644 scripts/mobiles/tatooine/tame_womprat.py create mode 100644 scripts/mobiles/tatooine/tame_worrt.py create mode 100644 scripts/mobiles/tatooine/tatooine_mynock.py create mode 100644 scripts/mobiles/tatooine/tempest_till.py create mode 100644 scripts/mobiles/tatooine/tormented_bocatt.py create mode 100644 scripts/mobiles/tatooine/tusken_bantha.py create mode 100644 scripts/mobiles/tatooine/twisted_dewback.py create mode 100644 scripts/mobiles/tatooine/twisted_rill.py create mode 100644 scripts/mobiles/tatooine/twisted_womprat.py create mode 100644 scripts/mobiles/tatooine/variegated_womprat.py create mode 100644 scripts/mobiles/tatooine/vicious_rill.py create mode 100644 scripts/mobiles/tatooine/volatile_scyk.py create mode 100644 scripts/mobiles/tatooine/wasteland_cupa.py create mode 100644 scripts/mobiles/tatooine/wild_bladeback_boar.py create mode 100644 scripts/mobiles/tatooine/wild_dune_boar.py create mode 100644 scripts/mobiles/tatooine/wonderous_cupa.py create mode 100644 scripts/mobiles/tatooine/worrt_gutbuster.py create mode 100644 scripts/mobiles/tatooine/young_mountain_squill.py create mode 100644 scripts/mobiles/tatooine/zucca_boar.py diff --git a/scripts/mobiles/tatooine/adolescent_krayt_dragon.py b/scripts/mobiles/tatooine/adolescent_krayt_dragon.py new file mode 100644 index 00000000..8b42ae15 --- /dev/null +++ b/scripts/mobiles/tatooine/adolescent_krayt_dragon.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('adolescent krayt dragon') + mobileTemplate.setLevel(84) + mobileTemplate.setDifficulty(2) + mobileTemplate.setAttackRange(12) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_krayt_dragon.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('adolescent_krayt_dragon', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/armodragon.py b/scripts/mobiles/tatooine/armodragon.py new file mode 100644 index 00000000..66d16956 --- /dev/null +++ b/scripts/mobiles/tatooine/armodragon.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('armodragon') + mobileTemplate.setLevel(25) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dragonet.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('armodragon', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/bantha.py b/scripts/mobiles/tatooine/bantha.py index 4d5ee1e7..19ee591f 100644 --- a/scripts/mobiles/tatooine/bantha.py +++ b/scripts/mobiles/tatooine/bantha.py @@ -1,15 +1,30 @@ import sys from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('bantha') + mobileTemplate.setLevel(14) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + templates = Vector() templates.add('object/mobile/shared_bantha_hue.iff') - mobileTemplate.setCreatureName('bantha') mobileTemplate.setTemplates(templates) - mobileTemplate.setLevel(14) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + attacks = Vector() mobileTemplate.setDefaultAttack('creatureMeleeAttack') mobileTemplate.setAttacks(attacks) - core.spawnService.addMobileTemplate('bantha', mobileTemplate) \ No newline at end of file + + core.spawnService.addMobileTemplate('bantha', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/bantha_low.py b/scripts/mobiles/tatooine/bantha_low.py new file mode 100644 index 00000000..0238608e --- /dev/null +++ b/scripts/mobiles/tatooine/bantha_low.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('bantha') + mobileTemplate.setLevel(8) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bantha_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('bantha_low', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/bantha_matriarch.py b/scripts/mobiles/tatooine/bantha_matriarch.py new file mode 100644 index 00000000..fb944ead --- /dev/null +++ b/scripts/mobiles/tatooine/bantha_matriarch.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('bantha matriarch') + mobileTemplate.setLevel(15) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bantha_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('bantha_matriarch', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/blight_boar.py b/scripts/mobiles/tatooine/blight_boar.py new file mode 100644 index 00000000..7fc2447e --- /dev/null +++ b/scripts/mobiles/tatooine/blight_boar.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('blight boar') + mobileTemplate.setLevel(9) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_zucca_boar.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('blight_boar', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/bocatt.py b/scripts/mobiles/tatooine/bocatt.py new file mode 100644 index 00000000..f1b6bad8 --- /dev/null +++ b/scripts/mobiles/tatooine/bocatt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('bocatt') + mobileTemplate.setLevel(17) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bocatt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('bocatt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/bonecracker_bantha.py b/scripts/mobiles/tatooine/bonecracker_bantha.py new file mode 100644 index 00000000..b7419a4a --- /dev/null +++ b/scripts/mobiles/tatooine/bonecracker_bantha.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('bonecracker bantha') + mobileTemplate.setLevel(21) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bantha_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('bonecracker_bantha', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/bull_bantha.py b/scripts/mobiles/tatooine/bull_bantha.py new file mode 100644 index 00000000..687be186 --- /dev/null +++ b/scripts/mobiles/tatooine/bull_bantha.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('bull bantha') + mobileTemplate.setLevel(15) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bantha_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('bull_bantha', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/bull_ronto.py b/scripts/mobiles/tatooine/bull_ronto.py new file mode 100644 index 00000000..91810d16 --- /dev/null +++ b/scripts/mobiles/tatooine/bull_ronto.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('bull ronto') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_ronto.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('bullronto', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/cannibal_dewback.py b/scripts/mobiles/tatooine/cannibal_dewback.py new file mode 100644 index 00000000..f0baedf8 --- /dev/null +++ b/scripts/mobiles/tatooine/cannibal_dewback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('cannibal dewback') + mobileTemplate.setLevel(13) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dewback.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('cannibal_dewback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/canyon_krayt_dragon.py b/scripts/mobiles/tatooine/canyon_krayt_dragon.py new file mode 100644 index 00000000..d2752ba4 --- /dev/null +++ b/scripts/mobiles/tatooine/canyon_krayt_dragon.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('canyon krayt dragon') + mobileTemplate.setLevel(85) + mobileTemplate.setDifficulty(2) + mobileTemplate.setAttackRange(12) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_krayt_dragon.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('canyon_krayt_dragon', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/carion_kreetle.py b/scripts/mobiles/tatooine/carion_kreetle.py new file mode 100644 index 00000000..1f78ba82 --- /dev/null +++ b/scripts/mobiles/tatooine/carion_kreetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('carrion kreetle') + mobileTemplate.setLevel(2) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_kreetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('carrion_kreetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/cave_beetle.py b/scripts/mobiles/tatooine/cave_beetle.py new file mode 100644 index 00000000..09debbd9 --- /dev/null +++ b/scripts/mobiles/tatooine/cave_beetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('cave beetle') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('cave_beetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/city_rockmite.py b/scripts/mobiles/tatooine/city_rockmite.py new file mode 100644 index 00000000..b31914f3 --- /dev/null +++ b/scripts/mobiles/tatooine/city_rockmite.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('city_rockmite') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_mite.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('city_rockmite', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/city_sewer_swamprat.py b/scripts/mobiles/tatooine/city_sewer_swamprat.py new file mode 100644 index 00000000..79393751 --- /dev/null +++ b/scripts/mobiles/tatooine/city_sewer_swamprat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('city sewer swamprat') + mobileTemplate.setLevel(3) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('city_sewer_swamprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/cupa.py b/scripts/mobiles/tatooine/cupa.py new file mode 100644 index 00000000..ceef477e --- /dev/null +++ b/scripts/mobiles/tatooine/cupa.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('cu pa') + mobileTemplate.setLevel(3) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_cu_pa.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('cu_pa', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/death_kreetle.py b/scripts/mobiles/tatooine/death_kreetle.py new file mode 100644 index 00000000..9da0d1ff --- /dev/null +++ b/scripts/mobiles/tatooine/death_kreetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('death kreetle') + mobileTemplate.setLevel(7) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_kreetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('death_kreetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/desert_eopie.py b/scripts/mobiles/tatooine/desert_eopie.py new file mode 100644 index 00000000..b991692c --- /dev/null +++ b/scripts/mobiles/tatooine/desert_eopie.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('desert eopie') + mobileTemplate.setLevel(16) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_eopie.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('desert_eopie', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/desert_kreetle.py b/scripts/mobiles/tatooine/desert_kreetle.py new file mode 100644 index 00000000..5bb597a7 --- /dev/null +++ b/scripts/mobiles/tatooine/desert_kreetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('desert kreetle') + mobileTemplate.setLevel(3) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_kreetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('desert_kreetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/desert_razorback.py b/scripts/mobiles/tatooine/desert_razorback.py new file mode 100644 index 00000000..04d1e1d0 --- /dev/null +++ b/scripts/mobiles/tatooine/desert_razorback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('desert razorback') + mobileTemplate.setLevel(23) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_zucca_boar.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('desert_razorback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/desert_squill.py b/scripts/mobiles/tatooine/desert_squill.py new file mode 100644 index 00000000..d29ef397 --- /dev/null +++ b/scripts/mobiles/tatooine/desert_squill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('desert squill') + mobileTemplate.setLevel(14) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('desert_squill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/dewback.py b/scripts/mobiles/tatooine/dewback.py index f2c2bb79..086b3fee 100644 --- a/scripts/mobiles/tatooine/dewback.py +++ b/scripts/mobiles/tatooine/dewback.py @@ -1,16 +1,30 @@ import sys from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dewback') + mobileTemplate.setLevel(17) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + templates = Vector() templates.add('object/mobile/shared_dewback.iff') - mobileTemplate.setCreatureName('dewback') mobileTemplate.setTemplates(templates) - mobileTemplate.setLevel(17) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + attacks = Vector() mobileTemplate.setDefaultAttack('creatureMeleeAttack') mobileTemplate.setAttacks(attacks) + core.spawnService.addMobileTemplate('dewback', mobileTemplate) - \ No newline at end of file + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/dimu_bantha.py b/scripts/mobiles/tatooine/dimu_bantha.py new file mode 100644 index 00000000..b7f72d2d --- /dev/null +++ b/scripts/mobiles/tatooine/dimu_bantha.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dim-u bantha') + mobileTemplate.setLevel(3) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bantha_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('dim-u_bantha', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/diseased_bocatt.py b/scripts/mobiles/tatooine/diseased_bocatt.py new file mode 100644 index 00000000..9e747737 --- /dev/null +++ b/scripts/mobiles/tatooine/diseased_bocatt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('diseased bocatt') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bocatt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('diseased_bocatt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/domestic_eopie.py b/scripts/mobiles/tatooine/domestic_eopie.py new file mode 100644 index 00000000..438a34b6 --- /dev/null +++ b/scripts/mobiles/tatooine/domestic_eopie.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('domestic eopie') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_eopie.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('domestic_eopie', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/dragonet.py b/scripts/mobiles/tatooine/dragonet.py new file mode 100644 index 00000000..8827e8eb --- /dev/null +++ b/scripts/mobiles/tatooine/dragonet.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dragonet') + mobileTemplate.setLevel(24) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dragonet.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('dragonet', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/drooling_nuna.py b/scripts/mobiles/tatooine/drooling_nuna.py new file mode 100644 index 00000000..7a470315 --- /dev/null +++ b/scripts/mobiles/tatooine/drooling_nuna.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('drooling nuna') + mobileTemplate.setLevel(2) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_nuna.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('drooling_nuna', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/dune_bantha.py b/scripts/mobiles/tatooine/dune_bantha.py new file mode 100644 index 00000000..a78d0414 --- /dev/null +++ b/scripts/mobiles/tatooine/dune_bantha.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dune bantha') + mobileTemplate.setLevel(20) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bantha_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('dune_bantha', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/dune_beetle.py b/scripts/mobiles/tatooine/dune_beetle.py new file mode 100644 index 00000000..77436c23 --- /dev/null +++ b/scripts/mobiles/tatooine/dune_beetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dune beetle') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_giant_sand_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('dune_beetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/dune_lizard.py b/scripts/mobiles/tatooine/dune_lizard.py new file mode 100644 index 00000000..c2e52567 --- /dev/null +++ b/scripts/mobiles/tatooine/dune_lizard.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dune lizard') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dune_lizard.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('dune_lizard', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/dwarf_bantha.py b/scripts/mobiles/tatooine/dwarf_bantha.py new file mode 100644 index 00000000..89688300 --- /dev/null +++ b/scripts/mobiles/tatooine/dwarf_bantha.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dwarf bantha') + mobileTemplate.setLevel(10) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dwarf_bantha.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('dwarf_bantha', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/dwarf_eopie.py b/scripts/mobiles/tatooine/dwarf_eopie.py new file mode 100644 index 00000000..5f11daee --- /dev/null +++ b/scripts/mobiles/tatooine/dwarf_eopie.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dwarf eopie') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dwarf_eopie.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('dwarf_eopie', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/dwarf_nuna.py b/scripts/mobiles/tatooine/dwarf_nuna.py new file mode 100644 index 00000000..f2ef402b --- /dev/null +++ b/scripts/mobiles/tatooine/dwarf_nuna.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dwarf nuna') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dwarf_nuna.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('dwarf_nuna', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/elder_zucca_boar.py b/scripts/mobiles/tatooine/elder_zucca_boar.py new file mode 100644 index 00000000..2612b588 --- /dev/null +++ b/scripts/mobiles/tatooine/elder_zucca_boar.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elder zucca boar') + mobileTemplate.setLevel(8) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_zucca_boar.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('elder_zucca_boar', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/elite_dewback_cannibal.py b/scripts/mobiles/tatooine/elite_dewback_cannibal.py new file mode 100644 index 00000000..fb1fdf08 --- /dev/null +++ b/scripts/mobiles/tatooine/elite_dewback_cannibal.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite dewback cannibal') + mobileTemplate.setLevel(13) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dewback.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('elite_dewback_cannibal', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/elite_dragonet.py b/scripts/mobiles/tatooine/elite_dragonet.py new file mode 100644 index 00000000..2e3ab506 --- /dev/null +++ b/scripts/mobiles/tatooine/elite_dragonet.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite dragonet') + mobileTemplate.setLevel(24) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dragonet.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('elite_dragonet', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/elite_dune_lizard.py b/scripts/mobiles/tatooine/elite_dune_lizard.py new file mode 100644 index 00000000..c7d36d17 --- /dev/null +++ b/scripts/mobiles/tatooine/elite_dune_lizard.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite dune lizard') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dune_lizard.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('elite_dune_lizard', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/elite_giant_sand_beetle.py b/scripts/mobiles/tatooine/elite_giant_sand_beetle.py new file mode 100644 index 00000000..997a9bbd --- /dev/null +++ b/scripts/mobiles/tatooine/elite_giant_sand_beetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite giant sand beetle') + mobileTemplate.setLevel(25) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_giant_sand_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('elite_giant_sand_beetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/elite_mutant_womprat.py b/scripts/mobiles/tatooine/elite_mutant_womprat.py new file mode 100644 index 00000000..abbdb59a --- /dev/null +++ b/scripts/mobiles/tatooine/elite_mutant_womprat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite mutant womprat') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('womprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/elite_ronto.py b/scripts/mobiles/tatooine/elite_ronto.py new file mode 100644 index 00000000..bfafdec0 --- /dev/null +++ b/scripts/mobiles/tatooine/elite_ronto.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite ronto') + mobileTemplate.setLevel(17) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_ronto.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('elite_ronto', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/elite_scyk.py b/scripts/mobiles/tatooine/elite_scyk.py new file mode 100644 index 00000000..f419ae80 --- /dev/null +++ b/scripts/mobiles/tatooine/elite_scyk.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite scyk') + mobileTemplate.setLevel(11) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_scyk.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('elite_scyk', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/elite_sevorrt.py b/scripts/mobiles/tatooine/elite_sevorrt.py new file mode 100644 index 00000000..36d701c1 --- /dev/null +++ b/scripts/mobiles/tatooine/elite_sevorrt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite sevorrt') + mobileTemplate.setLevel(8) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_sevorrt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('elite_sevorrt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/enraged_mountain_dewback.py b/scripts/mobiles/tatooine/enraged_mountain_dewback.py new file mode 100644 index 00000000..2dbc8ed5 --- /dev/null +++ b/scripts/mobiles/tatooine/enraged_mountain_dewback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('enraged mountain dewback') + mobileTemplate.setLevel(22) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dewback.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('enraged_mountain_dewback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/enraged_squill.py b/scripts/mobiles/tatooine/enraged_squill.py new file mode 100644 index 00000000..fb82150e --- /dev/null +++ b/scripts/mobiles/tatooine/enraged_squill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('enraged squill') + mobileTemplate.setLevel(12) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('enraged_squill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/eoni.py b/scripts/mobiles/tatooine/eoni.py new file mode 100644 index 00000000..0db4f825 --- /dev/null +++ b/scripts/mobiles/tatooine/eoni.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('eoni') + mobileTemplate.setLevel(21) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_eopie.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('eoni', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/eopie.py b/scripts/mobiles/tatooine/eopie.py new file mode 100644 index 00000000..8e1f5ae7 --- /dev/null +++ b/scripts/mobiles/tatooine/eopie.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('eopie') + mobileTemplate.setLevel(4) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_eopie.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('eopie', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/eopie_herdmaster.py b/scripts/mobiles/tatooine/eopie_herdmaster.py new file mode 100644 index 00000000..f8abe532 --- /dev/null +++ b/scripts/mobiles/tatooine/eopie_herdmaster.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('eopie_herdmaster') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_eopie.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('eopie_herdmaster', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/female_mountain_squill.py b/scripts/mobiles/tatooine/female_mountain_squill.py new file mode 100644 index 00000000..339904ee --- /dev/null +++ b/scripts/mobiles/tatooine/female_mountain_squill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('female mountain squill') + mobileTemplate.setLevel(17) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('female_mountain_squill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/feral_bantha.py b/scripts/mobiles/tatooine/feral_bantha.py new file mode 100644 index 00000000..8a7f9641 --- /dev/null +++ b/scripts/mobiles/tatooine/feral_bantha.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('feral bantha') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(15) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bantha_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('feral_bantha', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/furios_ronto.py b/scripts/mobiles/tatooine/furios_ronto.py new file mode 100644 index 00000000..a7df8d48 --- /dev/null +++ b/scripts/mobiles/tatooine/furios_ronto.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('furious ronto') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_ronto.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('furious_ronto', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/giant_canyon_krayt_dragon.py b/scripts/mobiles/tatooine/giant_canyon_krayt_dragon.py new file mode 100644 index 00000000..f542de89 --- /dev/null +++ b/scripts/mobiles/tatooine/giant_canyon_krayt_dragon.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('giant canyon krayt dragon') + mobileTemplate.setLevel(87) + mobileTemplate.setDifficulty(2) + mobileTemplate.setAttackRange(12) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_krayt_dragon.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('giant_canyon_krayt_dragon', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/giant_sand_beetle.py b/scripts/mobiles/tatooine/giant_sand_beetle.py new file mode 100644 index 00000000..c8516196 --- /dev/null +++ b/scripts/mobiles/tatooine/giant_sand_beetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('giant sand beetle') + mobileTemplate.setLevel(25) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_giant_sand_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('giant_sand_beetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/giant_worrt.py b/scripts/mobiles/tatooine/giant_worrt.py new file mode 100644 index 00000000..9db17cbc --- /dev/null +++ b/scripts/mobiles/tatooine/giant_worrt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('giant worrt') + mobileTemplate.setLevel(13) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_minor_worrt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('giant_worrt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/gorg.py b/scripts/mobiles/tatooine/gorg.py new file mode 100644 index 00000000..731c5d4a --- /dev/null +++ b/scripts/mobiles/tatooine/gorg.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('gorg') + mobileTemplate.setLevel(2) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_gorg.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('gorg', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/gorg_glutton.py b/scripts/mobiles/tatooine/gorg_glutton.py new file mode 100644 index 00000000..486e7667 --- /dev/null +++ b/scripts/mobiles/tatooine/gorg_glutton.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('gorg glutton') + mobileTemplate.setLevel(2) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_gorg.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('gorg_glutton', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/grand_krayt_dragon.py b/scripts/mobiles/tatooine/grand_krayt_dragon.py new file mode 100644 index 00000000..a0fdf90f --- /dev/null +++ b/scripts/mobiles/tatooine/grand_krayt_dragon.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('grand krayt dragon') + mobileTemplate.setLevel(88) + mobileTemplate.setDifficulty(2) + mobileTemplate.setAttackRange(12) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_krayt_dragon.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('grand_krayt_dragon', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/great_squill.py b/scripts/mobiles/tatooine/great_squill.py new file mode 100644 index 00000000..ec5c6fac --- /dev/null +++ b/scripts/mobiles/tatooine/great_squill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('great squill') + mobileTemplate.setLevel(13) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('great_squill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/greater_desert_womprat.py b/scripts/mobiles/tatooine/greater_desert_womprat.py new file mode 100644 index 00000000..7f473994 --- /dev/null +++ b/scripts/mobiles/tatooine/greater_desert_womprat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('greater desert womprat') + mobileTemplate.setLevel(12) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('greater_desert_womprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/grizzled_dewback.py b/scripts/mobiles/tatooine/grizzled_dewback.py new file mode 100644 index 00000000..5cae3fec --- /dev/null +++ b/scripts/mobiles/tatooine/grizzled_dewback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('grizzled dewback') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dewback.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('grizzled_dewback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/harmony_worrt.py b/scripts/mobiles/tatooine/harmony_worrt.py new file mode 100644 index 00000000..8036d876 --- /dev/null +++ b/scripts/mobiles/tatooine/harmony_worrt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('harmony worrt') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_minor_worrt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('harmony_worrt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/jundland_eopie.py b/scripts/mobiles/tatooine/jundland_eopie.py new file mode 100644 index 00000000..a0b1b5c2 --- /dev/null +++ b/scripts/mobiles/tatooine/jundland_eopie.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('jundland eopie') + mobileTemplate.setLevel(21) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_eopie.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('jundland_eopie', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/juvenile_canyon_krayt_dragon.py b/scripts/mobiles/tatooine/juvenile_canyon_krayt_dragon.py new file mode 100644 index 00000000..3d0416c1 --- /dev/null +++ b/scripts/mobiles/tatooine/juvenile_canyon_krayt_dragon.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('juvenile canyon krayt dragon') + mobileTemplate.setLevel(82) + mobileTemplate.setDifficulty(2) + mobileTemplate.setAttackRange(12) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_krayt_dragon.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('juvenile_canyon_krayt_dragon', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/krayt_dragon.py b/scripts/mobiles/tatooine/krayt_dragon.py index aded5429..6af77734 100644 --- a/scripts/mobiles/tatooine/krayt_dragon.py +++ b/scripts/mobiles/tatooine/krayt_dragon.py @@ -1,19 +1,30 @@ import sys from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('krayt_dragon') + mobileTemplate.setLevel(10) + mobileTemplate.setDifficulty(2) + mobileTemplate.setAttackRange(12) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + templates = Vector() templates.add('object/mobile/shared_krayt_dragon.iff') mobileTemplate.setTemplates(templates) - mobileTemplate.setLevel(10) - mobileTemplate.setDifficulty(2) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + attacks = Vector() mobileTemplate.setDefaultAttack('creatureMeleeAttack') mobileTemplate.setAttacks(attacks) - mobileTemplate.setCreatureName('krayt_dragon') - mobileTemplate.setScale(2) - mobileTemplate.setAttackRange(12) + core.spawnService.addMobileTemplate('krayt_dragon', mobileTemplate) - \ No newline at end of file + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/krayt_dragon_ancient.py b/scripts/mobiles/tatooine/krayt_dragon_ancient.py index a65f6786..2b25488e 100644 --- a/scripts/mobiles/tatooine/krayt_dragon_ancient.py +++ b/scripts/mobiles/tatooine/krayt_dragon_ancient.py @@ -1,19 +1,30 @@ import sys from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('ancient krayt dragon') + mobileTemplate.setLevel(90) + mobileTemplate.setDifficulty(2) + mobileTemplate.setAttackRange(12) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + templates = Vector() templates.add('object/mobile/shared_krayt_dragon.iff') mobileTemplate.setTemplates(templates) - mobileTemplate.setLevel(90) - mobileTemplate.setDifficulty(2) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + attacks = Vector() mobileTemplate.setDefaultAttack('creatureMeleeAttack') mobileTemplate.setAttacks(attacks) - mobileTemplate.setCreatureName('krayt_dragon_ancient') - mobileTemplate.setScale(2) - mobileTemplate.setAttackRange(12) + core.spawnService.addMobileTemplate('krayt_dragon_ancient', mobileTemplate) - \ No newline at end of file + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/kreetle.py b/scripts/mobiles/tatooine/kreetle.py index 376add57..a118c107 100644 --- a/scripts/mobiles/tatooine/kreetle.py +++ b/scripts/mobiles/tatooine/kreetle.py @@ -1,18 +1,30 @@ import sys from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('kreetle') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + templates = Vector() templates.add('object/mobile/shared_kreetle.iff') - mobileTemplate.setCreatureName('kreetle') mobileTemplate.setTemplates(templates) - mobileTemplate.setAttackRange(5) - mobileTemplate.setAttackSpeed(5) - mobileTemplate.setLevel(5) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + attacks = Vector() mobileTemplate.setDefaultAttack('creatureMeleeAttack') mobileTemplate.setAttacks(attacks) + core.spawnService.addMobileTemplate('kreetle', mobileTemplate) - \ No newline at end of file + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/kreetle_swarmling.py b/scripts/mobiles/tatooine/kreetle_swarmling.py new file mode 100644 index 00000000..844b8f90 --- /dev/null +++ b/scripts/mobiles/tatooine/kreetle_swarmling.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('kreetle swarmling') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_kreetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('kreetle_swarmling', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/large_cave_beetle.py b/scripts/mobiles/tatooine/large_cave_beetle.py new file mode 100644 index 00000000..28604aac --- /dev/null +++ b/scripts/mobiles/tatooine/large_cave_beetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('large cave beetle') + mobileTemplate.setLevel(21) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('large_cave_beetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/large_rock_beetle1.py b/scripts/mobiles/tatooine/large_rock_beetle1.py new file mode 100644 index 00000000..a3ca497f --- /dev/null +++ b/scripts/mobiles/tatooine/large_rock_beetle1.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('large rock beetle') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('large_rock_beetle_1', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/large_rock_beetle2.py b/scripts/mobiles/tatooine/large_rock_beetle2.py new file mode 100644 index 00000000..90eb0540 --- /dev/null +++ b/scripts/mobiles/tatooine/large_rock_beetle2.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('large rock beetle') + mobileTemplate.setLevel(19) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('large_rock_beetle_2', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/large_rock_beetle3.py b/scripts/mobiles/tatooine/large_rock_beetle3.py new file mode 100644 index 00000000..dd3f4a5e --- /dev/null +++ b/scripts/mobiles/tatooine/large_rock_beetle3.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('large rock beetle') + mobileTemplate.setLevel(19) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('large_rock_beetle_3', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/large_sand_beetle.py b/scripts/mobiles/tatooine/large_sand_beetle.py new file mode 100644 index 00000000..91b17485 --- /dev/null +++ b/scripts/mobiles/tatooine/large_sand_beetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('large sand beetle') + mobileTemplate.setLevel(24) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_giant_sand_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('large_sand_beetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/lesser_bocatt.py b/scripts/mobiles/tatooine/lesser_bocatt.py new file mode 100644 index 00000000..e0e1ec52 --- /dev/null +++ b/scripts/mobiles/tatooine/lesser_bocatt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('lesser bocatt') + mobileTemplate.setLevel(14) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bocatt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('lesser_bocatt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/lesser_desert_womprat.py b/scripts/mobiles/tatooine/lesser_desert_womprat.py new file mode 100644 index 00000000..09a7343c --- /dev/null +++ b/scripts/mobiles/tatooine/lesser_desert_womprat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('lesser desert womprat') + mobileTemplate.setLevel(4) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('lesser_deser_womprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/lesser_dewback.py b/scripts/mobiles/tatooine/lesser_dewback.py new file mode 100644 index 00000000..d6ebaaed --- /dev/null +++ b/scripts/mobiles/tatooine/lesser_dewback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('lesser dewback') + mobileTemplate.setLevel(4) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dewback.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('lesser_dewback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/malignant_squill.py b/scripts/mobiles/tatooine/malignant_squill.py new file mode 100644 index 00000000..7eb14d5a --- /dev/null +++ b/scripts/mobiles/tatooine/malignant_squill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('malignant squill') + mobileTemplate.setLevel(50) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('malignant_squill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/minor_worrt.py b/scripts/mobiles/tatooine/minor_worrt.py new file mode 100644 index 00000000..ceb7b57e --- /dev/null +++ b/scripts/mobiles/tatooine/minor_worrt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('minor worrt') + mobileTemplate.setLevel(3) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_minor_worrt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('minor_worrt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/mound_mite.py b/scripts/mobiles/tatooine/mound_mite.py new file mode 100644 index 00000000..356e926f --- /dev/null +++ b/scripts/mobiles/tatooine/mound_mite.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('mound mite') + mobileTemplate.setLevel(4) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_mound_mite.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('mound_mite', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/mountain_dewback.py b/scripts/mobiles/tatooine/mountain_dewback.py new file mode 100644 index 00000000..7080ac42 --- /dev/null +++ b/scripts/mobiles/tatooine/mountain_dewback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('mountain dewback') + mobileTemplate.setLevel(22) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dewback.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('mountain_dewback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/mountain_squill.py b/scripts/mobiles/tatooine/mountain_squill.py new file mode 100644 index 00000000..8e2471cd --- /dev/null +++ b/scripts/mobiles/tatooine/mountain_squill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('mountain squill') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('mountain_squill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/mountain_squill_guardian.py b/scripts/mobiles/tatooine/mountain_squill_guardian.py new file mode 100644 index 00000000..548142ff --- /dev/null +++ b/scripts/mobiles/tatooine/mountain_squill_guardian.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('mountain squill guardian') + mobileTemplate.setLevel(19) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('mountain_squill_guardian', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/mountain_squill_hunter.py b/scripts/mobiles/tatooine/mountain_squill_hunter.py new file mode 100644 index 00000000..95b25879 --- /dev/null +++ b/scripts/mobiles/tatooine/mountain_squill_hunter.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('mountain squill hunter') + mobileTemplate.setLevel(19) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('mountain_squill_hunter', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/mountain_worrt.py b/scripts/mobiles/tatooine/mountain_worrt.py new file mode 100644 index 00000000..ad613725 --- /dev/null +++ b/scripts/mobiles/tatooine/mountain_worrt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('mountain worrt') + mobileTemplate.setLevel(19) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_minor_worrt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('mountain_worrt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/mutant_womprat.py b/scripts/mobiles/tatooine/mutant_womprat.py new file mode 100644 index 00000000..c2ca1a39 --- /dev/null +++ b/scripts/mobiles/tatooine/mutant_womprat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('mutant womprat') + mobileTemplate.setLevel(12) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('womprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/overkreetle.py b/scripts/mobiles/tatooine/overkreetle.py new file mode 100644 index 00000000..9ffa6933 --- /dev/null +++ b/scripts/mobiles/tatooine/overkreetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('overkreetle') + mobileTemplate.setLevel(11) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_kreetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('overkreetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/parry_stormtrooper_dewback.py b/scripts/mobiles/tatooine/parry_stormtrooper_dewback.py new file mode 100644 index 00000000..df5fbd32 --- /dev/null +++ b/scripts/mobiles/tatooine/parry_stormtrooper_dewback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('parry stormtrooper dewback') + mobileTemplate.setLevel(17) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dewback_armored.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('parry_stormtrooper_dewback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/plaque_rat.py b/scripts/mobiles/tatooine/plaque_rat.py new file mode 100644 index 00000000..60344d10 --- /dev/null +++ b/scripts/mobiles/tatooine/plaque_rat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('plaque womprat') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('plaque_womprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/razorback_felspur.py b/scripts/mobiles/tatooine/razorback_felspur.py new file mode 100644 index 00000000..9ff3e68b --- /dev/null +++ b/scripts/mobiles/tatooine/razorback_felspur.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('razorback felspur') + mobileTemplate.setLevel(24) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_zucca_boar.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('razorback_felspur', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/razorclaw.py b/scripts/mobiles/tatooine/razorclaw.py new file mode 100644 index 00000000..d86e1e40 --- /dev/null +++ b/scripts/mobiles/tatooine/razorclaw.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('razorclaw') + mobileTemplate.setLevel(23) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_zucca_boar.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('razorclaw', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/rock_beetle.py b/scripts/mobiles/tatooine/rock_beetle.py new file mode 100644 index 00000000..63ebbdb3 --- /dev/null +++ b/scripts/mobiles/tatooine/rock_beetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('rock beetle') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('rock_beetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/rock_beetle1.py b/scripts/mobiles/tatooine/rock_beetle1.py new file mode 100644 index 00000000..c3768abb --- /dev/null +++ b/scripts/mobiles/tatooine/rock_beetle1.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('rock beetle') + mobileTemplate.setLevel(19) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('rock_beetle_1', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/rock_beetle_cave.py b/scripts/mobiles/tatooine/rock_beetle_cave.py new file mode 100644 index 00000000..5485043f --- /dev/null +++ b/scripts/mobiles/tatooine/rock_beetle_cave.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('rock beetle cave') + mobileTemplate.setLevel(19) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('rock_beetle_cave', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/rockmite.py b/scripts/mobiles/tatooine/rockmite.py new file mode 100644 index 00000000..bd6f39e5 --- /dev/null +++ b/scripts/mobiles/tatooine/rockmite.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('rockmite') + mobileTemplate.setLevel(8) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_mite.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('rockmite', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/ronto.py b/scripts/mobiles/tatooine/ronto.py new file mode 100644 index 00000000..68e02924 --- /dev/null +++ b/scripts/mobiles/tatooine/ronto.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('ronto') + mobileTemplate.setLevel(17) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_ronto.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('ronto', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/runted_rill.py b/scripts/mobiles/tatooine/runted_rill.py new file mode 100644 index 00000000..99cff0db --- /dev/null +++ b/scripts/mobiles/tatooine/runted_rill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('runted rill') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('runted_rill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/sand_beetle.py b/scripts/mobiles/tatooine/sand_beetle.py new file mode 100644 index 00000000..c94eaeb0 --- /dev/null +++ b/scripts/mobiles/tatooine/sand_beetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('sand beetle') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_giant_sand_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('sand_beetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/sandreaver.py b/scripts/mobiles/tatooine/sandreaver.py new file mode 100644 index 00000000..704c661c --- /dev/null +++ b/scripts/mobiles/tatooine/sandreaver.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('sandreaver') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dewback.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('sandreaver', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/savage_zucca_boar.py b/scripts/mobiles/tatooine/savage_zucca_boar.py new file mode 100644 index 00000000..e12fb28b --- /dev/null +++ b/scripts/mobiles/tatooine/savage_zucca_boar.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('savage zucca boar') + mobileTemplate.setLevel(8) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_zucca_boar.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('savage_zucca_boar', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/scyk.py b/scripts/mobiles/tatooine/scyk.py new file mode 100644 index 00000000..f3c09a86 --- /dev/null +++ b/scripts/mobiles/tatooine/scyk.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('scyk') + mobileTemplate.setLevel(11) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_scyk.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('scyk', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/sevorrt.py b/scripts/mobiles/tatooine/sevorrt.py new file mode 100644 index 00000000..3bcd9926 --- /dev/null +++ b/scripts/mobiles/tatooine/sevorrt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('sevorrt') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_sevorrt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('sevorrt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/sewer_worrt.py b/scripts/mobiles/tatooine/sewer_worrt.py new file mode 100644 index 00000000..85729746 --- /dev/null +++ b/scripts/mobiles/tatooine/sewer_worrt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('sewer worrt') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_minor_worrt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('sewer_worrt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/sickly_womprat.py b/scripts/mobiles/tatooine/sickly_womprat.py new file mode 100644 index 00000000..37a4d028 --- /dev/null +++ b/scripts/mobiles/tatooine/sickly_womprat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('sickly womprat') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('sickly_womprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/slum_rat.py b/scripts/mobiles/tatooine/slum_rat.py new file mode 100644 index 00000000..d1dcad52 --- /dev/null +++ b/scripts/mobiles/tatooine/slum_rat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('slum rat') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('slum_rat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/snarlfang.py b/scripts/mobiles/tatooine/snarlfang.py new file mode 100644 index 00000000..c0a8824c --- /dev/null +++ b/scripts/mobiles/tatooine/snarlfang.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('snarlfang') + mobileTemplate.setLevel(17) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bocatt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('snarlfang', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/squill.py b/scripts/mobiles/tatooine/squill.py new file mode 100644 index 00000000..61abb0a3 --- /dev/null +++ b/scripts/mobiles/tatooine/squill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('squill') + mobileTemplate.setLevel(12) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('squill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/stormtrooper_dewback.py b/scripts/mobiles/tatooine/stormtrooper_dewback.py new file mode 100644 index 00000000..21a25d5e --- /dev/null +++ b/scripts/mobiles/tatooine/stormtrooper_dewback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('stormtrooper dewback') + mobileTemplate.setLevel(14) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dewback_armored.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('stormtrooper_dewback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/sunstained_dunelizard.py b/scripts/mobiles/tatooine/sunstained_dunelizard.py new file mode 100644 index 00000000..ca83b06a --- /dev/null +++ b/scripts/mobiles/tatooine/sunstained_dunelizard.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('sunstained dune lizard') + mobileTemplate.setLevel(19) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dune_lizard.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('sunstained_dune_lizard', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/swarming_lesser_dewback.py b/scripts/mobiles/tatooine/swarming_lesser_dewback.py new file mode 100644 index 00000000..ce473e54 --- /dev/null +++ b/scripts/mobiles/tatooine/swarming_lesser_dewback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('swarming lesser dewback') + mobileTemplate.setLevel(13) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_swarming_lesser_dewback.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('swarming_lesser_dewback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/tame_rill.py b/scripts/mobiles/tatooine/tame_rill.py new file mode 100644 index 00000000..4ec78cae --- /dev/null +++ b/scripts/mobiles/tatooine/tame_rill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('tame_rill') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('tame_rill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/tame_womprat.py b/scripts/mobiles/tatooine/tame_womprat.py new file mode 100644 index 00000000..99045672 --- /dev/null +++ b/scripts/mobiles/tatooine/tame_womprat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('tame womprat') + mobileTemplate.setLevel(2) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('tame_womprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/tame_worrt.py b/scripts/mobiles/tatooine/tame_worrt.py new file mode 100644 index 00000000..9ab221c3 --- /dev/null +++ b/scripts/mobiles/tatooine/tame_worrt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('tame worrt') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_minor_worrt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('tame_worrt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/tatooine_mynock.py b/scripts/mobiles/tatooine/tatooine_mynock.py new file mode 100644 index 00000000..c43ed47d --- /dev/null +++ b/scripts/mobiles/tatooine/tatooine_mynock.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('rill') + mobileTemplate.setLevel(2) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_mynock.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('tatooine_mynock', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/tempest_till.py b/scripts/mobiles/tatooine/tempest_till.py new file mode 100644 index 00000000..a97d3f0c --- /dev/null +++ b/scripts/mobiles/tatooine/tempest_till.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('tempest rill') + mobileTemplate.setLevel(8) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('tempest_rill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/tormented_bocatt.py b/scripts/mobiles/tatooine/tormented_bocatt.py new file mode 100644 index 00000000..e4685a95 --- /dev/null +++ b/scripts/mobiles/tatooine/tormented_bocatt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('tormented bocatt') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bocatt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('tormented_bocatt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/tusken_bantha.py b/scripts/mobiles/tatooine/tusken_bantha.py new file mode 100644 index 00000000..a194bd6e --- /dev/null +++ b/scripts/mobiles/tatooine/tusken_bantha.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('tusken bantha') + mobileTemplate.setLevel(30) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bantha_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('tusken_bantha', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/tusken_raider.py b/scripts/mobiles/tatooine/tusken_raider.py index f3a3e867..4c2a2277 100644 --- a/scripts/mobiles/tatooine/tusken_raider.py +++ b/scripts/mobiles/tatooine/tusken_raider.py @@ -26,4 +26,4 @@ def addTemplate(core): mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('tusken_raider', mobileTemplate) - \ No newline at end of file + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/twisted_dewback.py b/scripts/mobiles/tatooine/twisted_dewback.py new file mode 100644 index 00000000..750b9733 --- /dev/null +++ b/scripts/mobiles/tatooine/twisted_dewback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('twisted dewback') + mobileTemplate.setLevel(11) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dewback.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('twisted_dewback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/twisted_rill.py b/scripts/mobiles/tatooine/twisted_rill.py new file mode 100644 index 00000000..9b689cb0 --- /dev/null +++ b/scripts/mobiles/tatooine/twisted_rill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('twisted rill') + mobileTemplate.setLevel(11) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('twisted_rill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/twisted_womprat.py b/scripts/mobiles/tatooine/twisted_womprat.py new file mode 100644 index 00000000..6388ed87 --- /dev/null +++ b/scripts/mobiles/tatooine/twisted_womprat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('twisted womprat') + mobileTemplate.setLevel(11) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('twisted_womprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/variegated_womprat.py b/scripts/mobiles/tatooine/variegated_womprat.py new file mode 100644 index 00000000..e1305820 --- /dev/null +++ b/scripts/mobiles/tatooine/variegated_womprat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('variegated womprat') + mobileTemplate.setLevel(12) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('variegated_womprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/vicious_rill.py b/scripts/mobiles/tatooine/vicious_rill.py new file mode 100644 index 00000000..55a485e3 --- /dev/null +++ b/scripts/mobiles/tatooine/vicious_rill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('vicious rill') + mobileTemplate.setLevel(3) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('vicious_rill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/volatile_scyk.py b/scripts/mobiles/tatooine/volatile_scyk.py new file mode 100644 index 00000000..4256fbf1 --- /dev/null +++ b/scripts/mobiles/tatooine/volatile_scyk.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('volatile scyk') + mobileTemplate.setLevel(12) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_scyk.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('volatile_scyk', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/wasteland_cupa.py b/scripts/mobiles/tatooine/wasteland_cupa.py new file mode 100644 index 00000000..38ced582 --- /dev/null +++ b/scripts/mobiles/tatooine/wasteland_cupa.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('wasteland cu pa') + mobileTemplate.setLevel(20) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_cu_pa.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('wasteland_cu_pa', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/wild_bladeback_boar.py b/scripts/mobiles/tatooine/wild_bladeback_boar.py new file mode 100644 index 00000000..a8656878 --- /dev/null +++ b/scripts/mobiles/tatooine/wild_bladeback_boar.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('wild bladeback boar') + mobileTemplate.setLevel(40) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_zucca_boar.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('wild_bladeback_boar', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/wild_dune_boar.py b/scripts/mobiles/tatooine/wild_dune_boar.py new file mode 100644 index 00000000..19db1593 --- /dev/null +++ b/scripts/mobiles/tatooine/wild_dune_boar.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('wild dune boar') + mobileTemplate.setLevel(50) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_zucca_boar.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('wild_dune_boar', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/womprat.py b/scripts/mobiles/tatooine/womprat.py index f4277933..7852829b 100644 --- a/scripts/mobiles/tatooine/womprat.py +++ b/scripts/mobiles/tatooine/womprat.py @@ -1,22 +1,30 @@ import sys from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('womprat') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + templates = Vector() templates.add('object/mobile/shared_womp_rat.iff') - mobileTemplate.setCreatureName('womprat') mobileTemplate.setTemplates(templates) - mobileTemplate.setAttackRange(5) - mobileTemplate.setAttackSpeed(5) - mobileTemplate.setLevel(5) - mobileTemplate.setAttackRange(3) - mobileTemplate.setAttackSpeed(1.0) - mobileTemplate.setWeaponType(6) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() mobileTemplate.setDefaultAttack('creatureMeleeAttack') mobileTemplate.setAttacks(attacks) + core.spawnService.addMobileTemplate('womprat', mobileTemplate) - \ No newline at end of file + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/wonderous_cupa.py b/scripts/mobiles/tatooine/wonderous_cupa.py new file mode 100644 index 00000000..681b73d7 --- /dev/null +++ b/scripts/mobiles/tatooine/wonderous_cupa.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('wonderous cu pa') + mobileTemplate.setLevel(12) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_cu_pa.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('wonderous_cu_pa', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/worrt_gutbuster.py b/scripts/mobiles/tatooine/worrt_gutbuster.py new file mode 100644 index 00000000..585bde58 --- /dev/null +++ b/scripts/mobiles/tatooine/worrt_gutbuster.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('worrt gutbuster') + mobileTemplate.setLevel(13) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_minor_worrt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('worrt_gutbuster', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/young_mountain_squill.py b/scripts/mobiles/tatooine/young_mountain_squill.py new file mode 100644 index 00000000..c6802f0e --- /dev/null +++ b/scripts/mobiles/tatooine/young_mountain_squill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('young mountain squill') + mobileTemplate.setLevel(16) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('young_mountain_squill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/zucca_boar.py b/scripts/mobiles/tatooine/zucca_boar.py new file mode 100644 index 00000000..722026b0 --- /dev/null +++ b/scripts/mobiles/tatooine/zucca_boar.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('zucca boar') + mobileTemplate.setLevel(8) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_zucca_boar.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('zucca_boar', mobileTemplate) + return \ No newline at end of file From 355700ae787a99d5be951862bf0039c5ce89999b Mon Sep 17 00:00:00 2001 From: tacef Date: Mon, 28 Apr 2014 20:59:35 +0200 Subject: [PATCH 15/52] Updated Creature scripts to have correct Weapontype Also changed template for some creatures --- scripts/mobiles/tatooine/armodragon.py | 2 +- scripts/mobiles/tatooine/bantha_matriarch.py | 2 +- scripts/mobiles/tatooine/bocatt.py | 2 +- scripts/mobiles/tatooine/canyon_krayt_dragon.py | 2 +- scripts/mobiles/tatooine/cave_beetle.py | 2 +- scripts/mobiles/tatooine/dragonet.py | 2 +- scripts/mobiles/tatooine/elite_dragonet.py | 2 +- scripts/mobiles/tatooine/elite_dune_lizard.py | 2 +- scripts/mobiles/tatooine/giant_worrt.py | 2 +- scripts/mobiles/tatooine/greater_desert_womprat.py | 4 ++-- scripts/mobiles/tatooine/harmony_worrt.py | 2 +- scripts/mobiles/tatooine/juvenile_canyon_krayt_dragon.py | 2 +- scripts/mobiles/tatooine/large_cave_beetle.py | 2 +- scripts/mobiles/tatooine/large_rock_beetle1.py | 2 +- scripts/mobiles/tatooine/lesser_desert_womprat.py | 2 +- scripts/mobiles/tatooine/mountain_dewback.py | 2 +- scripts/mobiles/tatooine/mountain_squill.py | 2 +- scripts/mobiles/tatooine/mountain_squill_guardian.py | 2 +- scripts/mobiles/tatooine/mountain_squill_hunter.py | 2 +- scripts/mobiles/tatooine/mountain_worrt.py | 4 ++-- scripts/mobiles/tatooine/rock_beetle.py | 2 +- scripts/mobiles/tatooine/rock_beetle1.py | 2 +- scripts/mobiles/tatooine/rock_beetle_cave.py | 2 +- scripts/mobiles/tatooine/sewer_worrt.py | 2 +- scripts/mobiles/tatooine/snarlfang.py | 2 +- scripts/mobiles/tatooine/tame_worrt.py | 2 +- scripts/mobiles/tatooine/tormented_bocatt.py | 2 +- scripts/mobiles/tatooine/variegated_womprat.py | 2 +- scripts/mobiles/tatooine/worrt.py | 2 +- scripts/mobiles/tatooine/worrt_gutbuster.py | 2 +- 30 files changed, 32 insertions(+), 32 deletions(-) diff --git a/scripts/mobiles/tatooine/armodragon.py b/scripts/mobiles/tatooine/armodragon.py index 66d16956..da9aa221 100644 --- a/scripts/mobiles/tatooine/armodragon.py +++ b/scripts/mobiles/tatooine/armodragon.py @@ -23,7 +23,7 @@ def addTemplate(core): mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() - mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setDefaultAttack('creatureRangedAttack') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('armodragon', mobileTemplate) diff --git a/scripts/mobiles/tatooine/bantha_matriarch.py b/scripts/mobiles/tatooine/bantha_matriarch.py index fb944ead..a0b5b7c5 100644 --- a/scripts/mobiles/tatooine/bantha_matriarch.py +++ b/scripts/mobiles/tatooine/bantha_matriarch.py @@ -14,7 +14,7 @@ def addTemplate(core): mobileTemplate.setAttackSpeed(1.0) templates = Vector() - templates.add('object/mobile/shared_bantha_hue.iff') + templates.add('object/mobile/shared_matriarch_bantha.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() diff --git a/scripts/mobiles/tatooine/bocatt.py b/scripts/mobiles/tatooine/bocatt.py index f1b6bad8..06bbcce7 100644 --- a/scripts/mobiles/tatooine/bocatt.py +++ b/scripts/mobiles/tatooine/bocatt.py @@ -23,7 +23,7 @@ def addTemplate(core): mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() - mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setDefaultAttack('creatureRangedAttack') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('bocatt', mobileTemplate) diff --git a/scripts/mobiles/tatooine/canyon_krayt_dragon.py b/scripts/mobiles/tatooine/canyon_krayt_dragon.py index d2752ba4..fdd0916b 100644 --- a/scripts/mobiles/tatooine/canyon_krayt_dragon.py +++ b/scripts/mobiles/tatooine/canyon_krayt_dragon.py @@ -14,7 +14,7 @@ def addTemplate(core): mobileTemplate.setAttackSpeed(1.0) templates = Vector() - templates.add('object/mobile/shared_krayt_dragon.iff') + templates.add('object/mobile/shared_canyon_krayt_dragon.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() diff --git a/scripts/mobiles/tatooine/cave_beetle.py b/scripts/mobiles/tatooine/cave_beetle.py index 09debbd9..f4b6c944 100644 --- a/scripts/mobiles/tatooine/cave_beetle.py +++ b/scripts/mobiles/tatooine/cave_beetle.py @@ -23,7 +23,7 @@ def addTemplate(core): mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() - mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setDefaultAttack('creatureRangedAttack') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('cave_beetle', mobileTemplate) diff --git a/scripts/mobiles/tatooine/dragonet.py b/scripts/mobiles/tatooine/dragonet.py index 8827e8eb..4b14d198 100644 --- a/scripts/mobiles/tatooine/dragonet.py +++ b/scripts/mobiles/tatooine/dragonet.py @@ -23,7 +23,7 @@ def addTemplate(core): mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() - mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setDefaultAttack('creatureRangedAttack') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('dragonet', mobileTemplate) diff --git a/scripts/mobiles/tatooine/elite_dragonet.py b/scripts/mobiles/tatooine/elite_dragonet.py index 2e3ab506..c797be9c 100644 --- a/scripts/mobiles/tatooine/elite_dragonet.py +++ b/scripts/mobiles/tatooine/elite_dragonet.py @@ -23,7 +23,7 @@ def addTemplate(core): mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() - mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setDefaultAttack('creatureRangedAttack') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('elite_dragonet', mobileTemplate) diff --git a/scripts/mobiles/tatooine/elite_dune_lizard.py b/scripts/mobiles/tatooine/elite_dune_lizard.py index c7d36d17..eeb7fa91 100644 --- a/scripts/mobiles/tatooine/elite_dune_lizard.py +++ b/scripts/mobiles/tatooine/elite_dune_lizard.py @@ -23,7 +23,7 @@ def addTemplate(core): mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() - mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setDefaultAttack('creatureRangedAttack') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('elite_dune_lizard', mobileTemplate) diff --git a/scripts/mobiles/tatooine/giant_worrt.py b/scripts/mobiles/tatooine/giant_worrt.py index 9db17cbc..cbba4837 100644 --- a/scripts/mobiles/tatooine/giant_worrt.py +++ b/scripts/mobiles/tatooine/giant_worrt.py @@ -14,7 +14,7 @@ def addTemplate(core): mobileTemplate.setAttackSpeed(1.0) templates = Vector() - templates.add('object/mobile/shared_minor_worrt.iff') + templates.add('object/mobile/shared_giant_worrt.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() diff --git a/scripts/mobiles/tatooine/greater_desert_womprat.py b/scripts/mobiles/tatooine/greater_desert_womprat.py index 7f473994..97a56bd7 100644 --- a/scripts/mobiles/tatooine/greater_desert_womprat.py +++ b/scripts/mobiles/tatooine/greater_desert_womprat.py @@ -14,7 +14,7 @@ def addTemplate(core): mobileTemplate.setAttackSpeed(1.0) templates = Vector() - templates.add('object/mobile/shared_womp_rat.iff') + templates.add('object/mobile/shared_greater_desert_womp_rat.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() @@ -23,7 +23,7 @@ def addTemplate(core): mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() - mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setDefaultAttack('creatureRangedAttack') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('greater_desert_womprat', mobileTemplate) diff --git a/scripts/mobiles/tatooine/harmony_worrt.py b/scripts/mobiles/tatooine/harmony_worrt.py index 8036d876..b5a226ef 100644 --- a/scripts/mobiles/tatooine/harmony_worrt.py +++ b/scripts/mobiles/tatooine/harmony_worrt.py @@ -14,7 +14,7 @@ def addTemplate(core): mobileTemplate.setAttackSpeed(1.0) templates = Vector() - templates.add('object/mobile/shared_minor_worrt.iff') + templates.add('object/mobile/shared_worrt.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() diff --git a/scripts/mobiles/tatooine/juvenile_canyon_krayt_dragon.py b/scripts/mobiles/tatooine/juvenile_canyon_krayt_dragon.py index 3d0416c1..3983feaf 100644 --- a/scripts/mobiles/tatooine/juvenile_canyon_krayt_dragon.py +++ b/scripts/mobiles/tatooine/juvenile_canyon_krayt_dragon.py @@ -14,7 +14,7 @@ def addTemplate(core): mobileTemplate.setAttackSpeed(1.0) templates = Vector() - templates.add('object/mobile/shared_krayt_dragon.iff') + templates.add('object/mobile/shared_juvenile_canyon_krayt.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() diff --git a/scripts/mobiles/tatooine/large_cave_beetle.py b/scripts/mobiles/tatooine/large_cave_beetle.py index 28604aac..5b3b6bab 100644 --- a/scripts/mobiles/tatooine/large_cave_beetle.py +++ b/scripts/mobiles/tatooine/large_cave_beetle.py @@ -23,7 +23,7 @@ def addTemplate(core): mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() - mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setDefaultAttack('creatureRangedAttack') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('large_cave_beetle', mobileTemplate) diff --git a/scripts/mobiles/tatooine/large_rock_beetle1.py b/scripts/mobiles/tatooine/large_rock_beetle1.py index a3ca497f..a4dd3d9a 100644 --- a/scripts/mobiles/tatooine/large_rock_beetle1.py +++ b/scripts/mobiles/tatooine/large_rock_beetle1.py @@ -23,7 +23,7 @@ def addTemplate(core): mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() - mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setDefaultAttack('creatureRangedAttack') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('large_rock_beetle_1', mobileTemplate) diff --git a/scripts/mobiles/tatooine/lesser_desert_womprat.py b/scripts/mobiles/tatooine/lesser_desert_womprat.py index 09a7343c..364532c3 100644 --- a/scripts/mobiles/tatooine/lesser_desert_womprat.py +++ b/scripts/mobiles/tatooine/lesser_desert_womprat.py @@ -14,7 +14,7 @@ def addTemplate(core): mobileTemplate.setAttackSpeed(1.0) templates = Vector() - templates.add('object/mobile/shared_womp_rat.iff') + templates.add('object/mobile/shared_lesser_desert_womp_rat.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() diff --git a/scripts/mobiles/tatooine/mountain_dewback.py b/scripts/mobiles/tatooine/mountain_dewback.py index 7080ac42..f8e22413 100644 --- a/scripts/mobiles/tatooine/mountain_dewback.py +++ b/scripts/mobiles/tatooine/mountain_dewback.py @@ -14,7 +14,7 @@ def addTemplate(core): mobileTemplate.setAttackSpeed(1.0) templates = Vector() - templates.add('object/mobile/shared_dewback.iff') + templates.add('object/mobile/shared_mountain_dewback.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() diff --git a/scripts/mobiles/tatooine/mountain_squill.py b/scripts/mobiles/tatooine/mountain_squill.py index 8e2471cd..a185ec67 100644 --- a/scripts/mobiles/tatooine/mountain_squill.py +++ b/scripts/mobiles/tatooine/mountain_squill.py @@ -14,7 +14,7 @@ def addTemplate(core): mobileTemplate.setAttackSpeed(1.0) templates = Vector() - templates.add('object/mobile/shared_squill.iff') + templates.add('object/mobile/shared_mountain_squill.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() diff --git a/scripts/mobiles/tatooine/mountain_squill_guardian.py b/scripts/mobiles/tatooine/mountain_squill_guardian.py index 548142ff..06f0fe03 100644 --- a/scripts/mobiles/tatooine/mountain_squill_guardian.py +++ b/scripts/mobiles/tatooine/mountain_squill_guardian.py @@ -14,7 +14,7 @@ def addTemplate(core): mobileTemplate.setAttackSpeed(1.0) templates = Vector() - templates.add('object/mobile/shared_squill.iff') + templates.add('object/mobile/shared_mountain_squill.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() diff --git a/scripts/mobiles/tatooine/mountain_squill_hunter.py b/scripts/mobiles/tatooine/mountain_squill_hunter.py index 95b25879..eb9de090 100644 --- a/scripts/mobiles/tatooine/mountain_squill_hunter.py +++ b/scripts/mobiles/tatooine/mountain_squill_hunter.py @@ -14,7 +14,7 @@ def addTemplate(core): mobileTemplate.setAttackSpeed(1.0) templates = Vector() - templates.add('object/mobile/shared_squill.iff') + templates.add('object/mobile/shared_mountain_squill.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() diff --git a/scripts/mobiles/tatooine/mountain_worrt.py b/scripts/mobiles/tatooine/mountain_worrt.py index ad613725..86c3f91c 100644 --- a/scripts/mobiles/tatooine/mountain_worrt.py +++ b/scripts/mobiles/tatooine/mountain_worrt.py @@ -14,7 +14,7 @@ def addTemplate(core): mobileTemplate.setAttackSpeed(1.0) templates = Vector() - templates.add('object/mobile/shared_minor_worrt.iff') + templates.add('object/mobile/shared_worrt.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() @@ -23,7 +23,7 @@ def addTemplate(core): mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() - mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setDefaultAttack('creatureRangedAttack') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('mountain_worrt', mobileTemplate) diff --git a/scripts/mobiles/tatooine/rock_beetle.py b/scripts/mobiles/tatooine/rock_beetle.py index 63ebbdb3..aa7adf30 100644 --- a/scripts/mobiles/tatooine/rock_beetle.py +++ b/scripts/mobiles/tatooine/rock_beetle.py @@ -23,7 +23,7 @@ def addTemplate(core): mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() - mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setDefaultAttack('creatureRangedAttack') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('rock_beetle', mobileTemplate) diff --git a/scripts/mobiles/tatooine/rock_beetle1.py b/scripts/mobiles/tatooine/rock_beetle1.py index c3768abb..2a588043 100644 --- a/scripts/mobiles/tatooine/rock_beetle1.py +++ b/scripts/mobiles/tatooine/rock_beetle1.py @@ -23,7 +23,7 @@ def addTemplate(core): mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() - mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setDefaultAttack('creatureRangedAttack') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('rock_beetle_1', mobileTemplate) diff --git a/scripts/mobiles/tatooine/rock_beetle_cave.py b/scripts/mobiles/tatooine/rock_beetle_cave.py index 5485043f..a7f54c5c 100644 --- a/scripts/mobiles/tatooine/rock_beetle_cave.py +++ b/scripts/mobiles/tatooine/rock_beetle_cave.py @@ -23,7 +23,7 @@ def addTemplate(core): mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() - mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setDefaultAttack('creatureRangedAttack') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('rock_beetle_cave', mobileTemplate) diff --git a/scripts/mobiles/tatooine/sewer_worrt.py b/scripts/mobiles/tatooine/sewer_worrt.py index 85729746..036d0fdf 100644 --- a/scripts/mobiles/tatooine/sewer_worrt.py +++ b/scripts/mobiles/tatooine/sewer_worrt.py @@ -14,7 +14,7 @@ def addTemplate(core): mobileTemplate.setAttackSpeed(1.0) templates = Vector() - templates.add('object/mobile/shared_minor_worrt.iff') + templates.add('object/mobile/shared_worrt.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() diff --git a/scripts/mobiles/tatooine/snarlfang.py b/scripts/mobiles/tatooine/snarlfang.py index c0a8824c..f81bef47 100644 --- a/scripts/mobiles/tatooine/snarlfang.py +++ b/scripts/mobiles/tatooine/snarlfang.py @@ -23,7 +23,7 @@ def addTemplate(core): mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() - mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setDefaultAttack('creatureRangedAttack') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('snarlfang', mobileTemplate) diff --git a/scripts/mobiles/tatooine/tame_worrt.py b/scripts/mobiles/tatooine/tame_worrt.py index 9ab221c3..eab5119b 100644 --- a/scripts/mobiles/tatooine/tame_worrt.py +++ b/scripts/mobiles/tatooine/tame_worrt.py @@ -14,7 +14,7 @@ def addTemplate(core): mobileTemplate.setAttackSpeed(1.0) templates = Vector() - templates.add('object/mobile/shared_minor_worrt.iff') + templates.add('object/mobile/shared_worrt.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() diff --git a/scripts/mobiles/tatooine/tormented_bocatt.py b/scripts/mobiles/tatooine/tormented_bocatt.py index e4685a95..a5d0ae2b 100644 --- a/scripts/mobiles/tatooine/tormented_bocatt.py +++ b/scripts/mobiles/tatooine/tormented_bocatt.py @@ -23,7 +23,7 @@ def addTemplate(core): mobileTemplate.setWeaponTemplateVector(weaponTemplates) attacks = Vector() - mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setDefaultAttack('creatureRangedAttack') mobileTemplate.setAttacks(attacks) core.spawnService.addMobileTemplate('tormented_bocatt', mobileTemplate) diff --git a/scripts/mobiles/tatooine/variegated_womprat.py b/scripts/mobiles/tatooine/variegated_womprat.py index e1305820..df0ef125 100644 --- a/scripts/mobiles/tatooine/variegated_womprat.py +++ b/scripts/mobiles/tatooine/variegated_womprat.py @@ -14,7 +14,7 @@ def addTemplate(core): mobileTemplate.setAttackSpeed(1.0) templates = Vector() - templates.add('object/mobile/shared_womp_rat.iff') + templates.add('object/mobile/shared_variegated_womp_rat.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() diff --git a/scripts/mobiles/tatooine/worrt.py b/scripts/mobiles/tatooine/worrt.py index 1ce16573..9adb3b10 100644 --- a/scripts/mobiles/tatooine/worrt.py +++ b/scripts/mobiles/tatooine/worrt.py @@ -14,7 +14,7 @@ def addTemplate(core): mobileTemplate.setAttackSpeed(1.0) templates = Vector() - templates.add('object/mobile/shared_minor_worrt.iff') + templates.add('object/mobile/shared_worrt.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() diff --git a/scripts/mobiles/tatooine/worrt_gutbuster.py b/scripts/mobiles/tatooine/worrt_gutbuster.py index 585bde58..f09626d9 100644 --- a/scripts/mobiles/tatooine/worrt_gutbuster.py +++ b/scripts/mobiles/tatooine/worrt_gutbuster.py @@ -14,7 +14,7 @@ def addTemplate(core): mobileTemplate.setAttackSpeed(1.0) templates = Vector() - templates.add('object/mobile/shared_minor_worrt.iff') + templates.add('object/mobile/shared_worrt.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() From ba0b2476a6f72f39311e1e52813a9e31a5de5be5 Mon Sep 17 00:00:00 2001 From: tacef Date: Mon, 28 Apr 2014 21:16:52 +0200 Subject: [PATCH 16/52] Updated Ranged Creatures to play an effect --- scripts/mobiles/tatooine/bocatt.py | 2 +- scripts/mobiles/tatooine/cave_beetle.py | 2 +- scripts/mobiles/tatooine/dragonet.py | 2 +- scripts/mobiles/tatooine/dune_lizard.py | 2 +- scripts/mobiles/tatooine/elite_dragonet.py | 2 +- scripts/mobiles/tatooine/elite_dune_lizard.py | 2 +- scripts/mobiles/tatooine/large_cave_beetle.py | 2 +- scripts/mobiles/tatooine/large_rock_beetle1.py | 2 +- scripts/mobiles/tatooine/mountain_worrt.py | 2 +- scripts/mobiles/tatooine/rock_beetle.py | 2 +- scripts/mobiles/tatooine/rock_beetle1.py | 2 +- scripts/mobiles/tatooine/rock_beetle_cave.py | 2 +- scripts/mobiles/tatooine/snarlfang.py | 2 +- scripts/mobiles/tatooine/tormented_bocatt.py | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/scripts/mobiles/tatooine/bocatt.py b/scripts/mobiles/tatooine/bocatt.py index 06bbcce7..128397fc 100644 --- a/scripts/mobiles/tatooine/bocatt.py +++ b/scripts/mobiles/tatooine/bocatt.py @@ -18,7 +18,7 @@ def addTemplate(core): mobileTemplate.setTemplates(templates) weaponTemplates = Vector() - weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) diff --git a/scripts/mobiles/tatooine/cave_beetle.py b/scripts/mobiles/tatooine/cave_beetle.py index f4b6c944..d25fd350 100644 --- a/scripts/mobiles/tatooine/cave_beetle.py +++ b/scripts/mobiles/tatooine/cave_beetle.py @@ -18,7 +18,7 @@ def addTemplate(core): mobileTemplate.setTemplates(templates) weaponTemplates = Vector() - weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) diff --git a/scripts/mobiles/tatooine/dragonet.py b/scripts/mobiles/tatooine/dragonet.py index 4b14d198..666daef6 100644 --- a/scripts/mobiles/tatooine/dragonet.py +++ b/scripts/mobiles/tatooine/dragonet.py @@ -18,7 +18,7 @@ def addTemplate(core): mobileTemplate.setTemplates(templates) weaponTemplates = Vector() - weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) diff --git a/scripts/mobiles/tatooine/dune_lizard.py b/scripts/mobiles/tatooine/dune_lizard.py index c2e52567..1ff830e9 100644 --- a/scripts/mobiles/tatooine/dune_lizard.py +++ b/scripts/mobiles/tatooine/dune_lizard.py @@ -18,7 +18,7 @@ def addTemplate(core): mobileTemplate.setTemplates(templates) weaponTemplates = Vector() - weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) diff --git a/scripts/mobiles/tatooine/elite_dragonet.py b/scripts/mobiles/tatooine/elite_dragonet.py index c797be9c..3767181e 100644 --- a/scripts/mobiles/tatooine/elite_dragonet.py +++ b/scripts/mobiles/tatooine/elite_dragonet.py @@ -18,7 +18,7 @@ def addTemplate(core): mobileTemplate.setTemplates(templates) weaponTemplates = Vector() - weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_large_toxicgreen.iff', 6, 1.0) weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) diff --git a/scripts/mobiles/tatooine/elite_dune_lizard.py b/scripts/mobiles/tatooine/elite_dune_lizard.py index eeb7fa91..ad9eaf53 100644 --- a/scripts/mobiles/tatooine/elite_dune_lizard.py +++ b/scripts/mobiles/tatooine/elite_dune_lizard.py @@ -18,7 +18,7 @@ def addTemplate(core): mobileTemplate.setTemplates(templates) weaponTemplates = Vector() - weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_large_toxicgreen.iff', 6, 1.0) weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) diff --git a/scripts/mobiles/tatooine/large_cave_beetle.py b/scripts/mobiles/tatooine/large_cave_beetle.py index 5b3b6bab..c62afa0d 100644 --- a/scripts/mobiles/tatooine/large_cave_beetle.py +++ b/scripts/mobiles/tatooine/large_cave_beetle.py @@ -18,7 +18,7 @@ def addTemplate(core): mobileTemplate.setTemplates(templates) weaponTemplates = Vector() - weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) diff --git a/scripts/mobiles/tatooine/large_rock_beetle1.py b/scripts/mobiles/tatooine/large_rock_beetle1.py index a4dd3d9a..a3a7d249 100644 --- a/scripts/mobiles/tatooine/large_rock_beetle1.py +++ b/scripts/mobiles/tatooine/large_rock_beetle1.py @@ -18,7 +18,7 @@ def addTemplate(core): mobileTemplate.setTemplates(templates) weaponTemplates = Vector() - weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) diff --git a/scripts/mobiles/tatooine/mountain_worrt.py b/scripts/mobiles/tatooine/mountain_worrt.py index 86c3f91c..6b0119e0 100644 --- a/scripts/mobiles/tatooine/mountain_worrt.py +++ b/scripts/mobiles/tatooine/mountain_worrt.py @@ -18,7 +18,7 @@ def addTemplate(core): mobileTemplate.setTemplates(templates) weaponTemplates = Vector() - weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) diff --git a/scripts/mobiles/tatooine/rock_beetle.py b/scripts/mobiles/tatooine/rock_beetle.py index aa7adf30..56a14ab5 100644 --- a/scripts/mobiles/tatooine/rock_beetle.py +++ b/scripts/mobiles/tatooine/rock_beetle.py @@ -18,7 +18,7 @@ def addTemplate(core): mobileTemplate.setTemplates(templates) weaponTemplates = Vector() - weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) diff --git a/scripts/mobiles/tatooine/rock_beetle1.py b/scripts/mobiles/tatooine/rock_beetle1.py index 2a588043..2c2026ff 100644 --- a/scripts/mobiles/tatooine/rock_beetle1.py +++ b/scripts/mobiles/tatooine/rock_beetle1.py @@ -18,7 +18,7 @@ def addTemplate(core): mobileTemplate.setTemplates(templates) weaponTemplates = Vector() - weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) diff --git a/scripts/mobiles/tatooine/rock_beetle_cave.py b/scripts/mobiles/tatooine/rock_beetle_cave.py index a7f54c5c..adc6c8f9 100644 --- a/scripts/mobiles/tatooine/rock_beetle_cave.py +++ b/scripts/mobiles/tatooine/rock_beetle_cave.py @@ -18,7 +18,7 @@ def addTemplate(core): mobileTemplate.setTemplates(templates) weaponTemplates = Vector() - weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) diff --git a/scripts/mobiles/tatooine/snarlfang.py b/scripts/mobiles/tatooine/snarlfang.py index f81bef47..cf2ad8bc 100644 --- a/scripts/mobiles/tatooine/snarlfang.py +++ b/scripts/mobiles/tatooine/snarlfang.py @@ -18,7 +18,7 @@ def addTemplate(core): mobileTemplate.setTemplates(templates) weaponTemplates = Vector() - weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) diff --git a/scripts/mobiles/tatooine/tormented_bocatt.py b/scripts/mobiles/tatooine/tormented_bocatt.py index a5d0ae2b..a31e72b5 100644 --- a/scripts/mobiles/tatooine/tormented_bocatt.py +++ b/scripts/mobiles/tatooine/tormented_bocatt.py @@ -18,7 +18,7 @@ def addTemplate(core): mobileTemplate.setTemplates(templates) weaponTemplates = Vector() - weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) weaponTemplates.add(weapontemplate) mobileTemplate.setWeaponTemplateVector(weaponTemplates) From 0adff108a886287a79e4c88de8c776067c180648 Mon Sep 17 00:00:00 2001 From: tacef Date: Mon, 28 Apr 2014 22:05:00 +0200 Subject: [PATCH 17/52] Updated Creature scripts again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Ranged creatures now have correct distance - fixed name problems with creatures - dragonet now doesn´t spawn a krayt dragon anymore --- scripts/mobiles/tatooine/adolescent_krayt_dragon.py | 2 +- scripts/mobiles/tatooine/armodragon.py | 4 ++-- scripts/mobiles/tatooine/blight_boar.py | 2 +- scripts/mobiles/tatooine/bocatt.py | 2 +- scripts/mobiles/tatooine/bonecracker_bantha.py | 2 +- scripts/mobiles/tatooine/bull_bantha.py | 2 +- scripts/mobiles/tatooine/bull_ronto.py | 2 +- scripts/mobiles/tatooine/cannibal_dewback.py | 2 +- scripts/mobiles/tatooine/canyon_krayt_dragon.py | 2 +- scripts/mobiles/tatooine/carion_kreetle.py | 2 +- scripts/mobiles/tatooine/cave_beetle.py | 4 ++-- scripts/mobiles/tatooine/city_sewer_swamprat.py | 2 +- scripts/mobiles/tatooine/cupa.py | 2 +- scripts/mobiles/tatooine/death_kreetle.py | 2 +- scripts/mobiles/tatooine/desert_eopie.py | 2 +- scripts/mobiles/tatooine/desert_kreetle.py | 2 +- scripts/mobiles/tatooine/desert_razorback.py | 2 +- scripts/mobiles/tatooine/desert_squill.py | 2 +- scripts/mobiles/tatooine/dimu_bantha.py | 2 +- scripts/mobiles/tatooine/diseased_bocatt.py | 2 +- scripts/mobiles/tatooine/domestic_eopie.py | 2 +- scripts/mobiles/tatooine/dragonet.py | 4 ++-- scripts/mobiles/tatooine/drooling_nuna.py | 2 +- scripts/mobiles/tatooine/dune_bantha.py | 2 +- scripts/mobiles/tatooine/dune_beetle.py | 2 +- scripts/mobiles/tatooine/dune_lizard.py | 2 +- scripts/mobiles/tatooine/dwarf_bantha.py | 2 +- scripts/mobiles/tatooine/dwarf_eopie.py | 2 +- scripts/mobiles/tatooine/dwarf_nuna.py | 2 +- scripts/mobiles/tatooine/elder_zucca_boar.py | 2 +- scripts/mobiles/tatooine/elite_dewback_cannibal.py | 2 +- scripts/mobiles/tatooine/elite_dragonet.py | 4 ++-- scripts/mobiles/tatooine/elite_dune_lizard.py | 4 ++-- scripts/mobiles/tatooine/elite_giant_sand_beetle.py | 2 +- scripts/mobiles/tatooine/elite_mutant_womprat.py | 2 +- scripts/mobiles/tatooine/elite_ronto.py | 2 +- scripts/mobiles/tatooine/elite_scyk.py | 2 +- scripts/mobiles/tatooine/elite_sevorrt.py | 2 +- scripts/mobiles/tatooine/enraged_mountain_dewback.py | 2 +- scripts/mobiles/tatooine/enraged_squill.py | 2 +- scripts/mobiles/tatooine/eoni.py | 2 +- scripts/mobiles/tatooine/female_mountain_squill.py | 2 +- scripts/mobiles/tatooine/feral_bantha.py | 2 +- scripts/mobiles/tatooine/furios_ronto.py | 2 +- scripts/mobiles/tatooine/giant_canyon_krayt_dragon.py | 2 +- scripts/mobiles/tatooine/giant_sand_beetle.py | 2 +- scripts/mobiles/tatooine/giant_worrt.py | 2 +- scripts/mobiles/tatooine/gorg_glutton.py | 2 +- scripts/mobiles/tatooine/grand_krayt_dragon.py | 2 +- scripts/mobiles/tatooine/great_squill.py | 2 +- scripts/mobiles/tatooine/greater_desert_womprat.py | 4 ++-- scripts/mobiles/tatooine/grizzled_dewback.py | 2 +- scripts/mobiles/tatooine/harmony_worrt.py | 2 +- scripts/mobiles/tatooine/jundland_eopie.py | 2 +- scripts/mobiles/tatooine/juvenile_canyon_krayt_dragon.py | 2 +- scripts/mobiles/tatooine/krayt_dragon_ancient.py | 2 +- scripts/mobiles/tatooine/kreetle_swarmling.py | 2 +- scripts/mobiles/tatooine/large_cave_beetle.py | 4 ++-- scripts/mobiles/tatooine/large_rock_beetle1.py | 4 ++-- scripts/mobiles/tatooine/large_rock_beetle2.py | 2 +- scripts/mobiles/tatooine/large_rock_beetle3.py | 2 +- scripts/mobiles/tatooine/large_sand_beetle.py | 2 +- scripts/mobiles/tatooine/lesser_bocatt.py | 2 +- scripts/mobiles/tatooine/lesser_desert_womprat.py | 2 +- scripts/mobiles/tatooine/lesser_dewback.py | 2 +- scripts/mobiles/tatooine/malignant_squill.py | 2 +- scripts/mobiles/tatooine/minor_worrt.py | 2 +- scripts/mobiles/tatooine/mound_mite.py | 2 +- scripts/mobiles/tatooine/mountain_dewback.py | 2 +- scripts/mobiles/tatooine/mountain_squill.py | 2 +- scripts/mobiles/tatooine/mountain_squill_guardian.py | 2 +- scripts/mobiles/tatooine/mountain_squill_hunter.py | 2 +- scripts/mobiles/tatooine/mountain_worrt.py | 4 ++-- scripts/mobiles/tatooine/mutant_womprat.py | 2 +- scripts/mobiles/tatooine/overkreetle.py | 2 +- scripts/mobiles/tatooine/parry_stormtrooper_dewback.py | 2 +- scripts/mobiles/tatooine/plaque_rat.py | 2 +- scripts/mobiles/tatooine/razorback_felspur.py | 2 +- scripts/mobiles/tatooine/razorclaw.py | 2 +- scripts/mobiles/tatooine/rock_beetle.py | 4 ++-- scripts/mobiles/tatooine/rock_beetle1.py | 4 ++-- scripts/mobiles/tatooine/rock_beetle_cave.py | 4 ++-- scripts/mobiles/tatooine/runted_rill.py | 2 +- scripts/mobiles/tatooine/sand_beetle.py | 2 +- scripts/mobiles/tatooine/sandreaver.py | 2 +- scripts/mobiles/tatooine/savage_zucca_boar.py | 2 +- scripts/mobiles/tatooine/sewer_worrt.py | 2 +- scripts/mobiles/tatooine/sickly_womprat.py | 2 +- scripts/mobiles/tatooine/slum_rat.py | 2 +- scripts/mobiles/tatooine/snarlfang.py | 4 ++-- scripts/mobiles/tatooine/stormtrooper_dewback.py | 2 +- scripts/mobiles/tatooine/sunstained_dunelizard.py | 2 +- scripts/mobiles/tatooine/swarming_lesser_dewback.py | 2 +- scripts/mobiles/tatooine/tame_womprat.py | 2 +- scripts/mobiles/tatooine/tame_worrt.py | 2 +- scripts/mobiles/tatooine/tatooine_mynock.py | 2 +- scripts/mobiles/tatooine/{tempest_till.py => tempest_rill.py} | 2 +- scripts/mobiles/tatooine/tormented_bocatt.py | 4 ++-- scripts/mobiles/tatooine/tusken_bantha.py | 2 +- scripts/mobiles/tatooine/twisted_dewback.py | 2 +- scripts/mobiles/tatooine/twisted_rill.py | 2 +- scripts/mobiles/tatooine/twisted_womprat.py | 2 +- scripts/mobiles/tatooine/variegated_womprat.py | 2 +- scripts/mobiles/tatooine/vicious_rill.py | 2 +- scripts/mobiles/tatooine/volatile_scyk.py | 2 +- scripts/mobiles/tatooine/wasteland_cupa.py | 2 +- scripts/mobiles/tatooine/wild_bladeback_boar.py | 2 +- scripts/mobiles/tatooine/wild_dune_boar.py | 2 +- scripts/mobiles/tatooine/wonderous_cupa.py | 2 +- scripts/mobiles/tatooine/worrt_gutbuster.py | 2 +- scripts/mobiles/tatooine/young_mountain_squill.py | 2 +- scripts/mobiles/tatooine/zucca_boar.py | 2 +- 112 files changed, 126 insertions(+), 126 deletions(-) rename scripts/mobiles/tatooine/{tempest_till.py => tempest_rill.py} (94%) diff --git a/scripts/mobiles/tatooine/adolescent_krayt_dragon.py b/scripts/mobiles/tatooine/adolescent_krayt_dragon.py index 8b42ae15..c1c3fb85 100644 --- a/scripts/mobiles/tatooine/adolescent_krayt_dragon.py +++ b/scripts/mobiles/tatooine/adolescent_krayt_dragon.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('adolescent krayt dragon') + mobileTemplate.setCreatureName('krayt_dragon_adolescent') mobileTemplate.setLevel(84) mobileTemplate.setDifficulty(2) mobileTemplate.setAttackRange(12) diff --git a/scripts/mobiles/tatooine/armodragon.py b/scripts/mobiles/tatooine/armodragon.py index da9aa221..494e4228 100644 --- a/scripts/mobiles/tatooine/armodragon.py +++ b/scripts/mobiles/tatooine/armodragon.py @@ -6,10 +6,10 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('armodragon') + mobileTemplate.setCreatureName('dragonet_armodragon') mobileTemplate.setLevel(25) mobileTemplate.setDifficulty(0) - mobileTemplate.setAttackRange(5) + mobileTemplate.setAttackRange(15) mobileTemplate.setWeaponType(6) mobileTemplate.setAttackSpeed(1.0) diff --git a/scripts/mobiles/tatooine/blight_boar.py b/scripts/mobiles/tatooine/blight_boar.py index 7fc2447e..b25a7441 100644 --- a/scripts/mobiles/tatooine/blight_boar.py +++ b/scripts/mobiles/tatooine/blight_boar.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('blight boar') + mobileTemplate.setCreatureName('zucca_boar_blight') mobileTemplate.setLevel(9) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/bocatt.py b/scripts/mobiles/tatooine/bocatt.py index 128397fc..3cbf9cc1 100644 --- a/scripts/mobiles/tatooine/bocatt.py +++ b/scripts/mobiles/tatooine/bocatt.py @@ -9,7 +9,7 @@ def addTemplate(core): mobileTemplate.setCreatureName('bocatt') mobileTemplate.setLevel(17) mobileTemplate.setDifficulty(0) - mobileTemplate.setAttackRange(5) + mobileTemplate.setAttackRange(15) mobileTemplate.setWeaponType(6) mobileTemplate.setAttackSpeed(1.0) diff --git a/scripts/mobiles/tatooine/bonecracker_bantha.py b/scripts/mobiles/tatooine/bonecracker_bantha.py index b7419a4a..42341f23 100644 --- a/scripts/mobiles/tatooine/bonecracker_bantha.py +++ b/scripts/mobiles/tatooine/bonecracker_bantha.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('bonecracker bantha') + mobileTemplate.setCreatureName('bantha_bonecracker') mobileTemplate.setLevel(21) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/bull_bantha.py b/scripts/mobiles/tatooine/bull_bantha.py index 687be186..c4626e21 100644 --- a/scripts/mobiles/tatooine/bull_bantha.py +++ b/scripts/mobiles/tatooine/bull_bantha.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('bull bantha') + mobileTemplate.setCreatureName('bull_bantha') mobileTemplate.setLevel(15) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/bull_ronto.py b/scripts/mobiles/tatooine/bull_ronto.py index 91810d16..d75ca648 100644 --- a/scripts/mobiles/tatooine/bull_ronto.py +++ b/scripts/mobiles/tatooine/bull_ronto.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('bull ronto') + mobileTemplate.setCreatureName('ronto_male') mobileTemplate.setLevel(18) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/cannibal_dewback.py b/scripts/mobiles/tatooine/cannibal_dewback.py index f0baedf8..941c0ebf 100644 --- a/scripts/mobiles/tatooine/cannibal_dewback.py +++ b/scripts/mobiles/tatooine/cannibal_dewback.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('cannibal dewback') + mobileTemplate.setCreatureName('dewback_cannibal') mobileTemplate.setLevel(13) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/canyon_krayt_dragon.py b/scripts/mobiles/tatooine/canyon_krayt_dragon.py index fdd0916b..7eb53cc6 100644 --- a/scripts/mobiles/tatooine/canyon_krayt_dragon.py +++ b/scripts/mobiles/tatooine/canyon_krayt_dragon.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('canyon krayt dragon') + mobileTemplate.setCreatureName('canyon_krayt_dragon') mobileTemplate.setLevel(85) mobileTemplate.setDifficulty(2) mobileTemplate.setAttackRange(12) diff --git a/scripts/mobiles/tatooine/carion_kreetle.py b/scripts/mobiles/tatooine/carion_kreetle.py index 1f78ba82..f1a1bf01 100644 --- a/scripts/mobiles/tatooine/carion_kreetle.py +++ b/scripts/mobiles/tatooine/carion_kreetle.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('carrion kreetle') + mobileTemplate.setCreatureName('fragile_kreetle') mobileTemplate.setLevel(2) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/cave_beetle.py b/scripts/mobiles/tatooine/cave_beetle.py index d25fd350..2a98b7bc 100644 --- a/scripts/mobiles/tatooine/cave_beetle.py +++ b/scripts/mobiles/tatooine/cave_beetle.py @@ -6,10 +6,10 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('cave beetle') + mobileTemplate.setCreatureName('cave_beetle') mobileTemplate.setLevel(5) mobileTemplate.setDifficulty(0) - mobileTemplate.setAttackRange(5) + mobileTemplate.setAttackRange(15) mobileTemplate.setWeaponType(6) mobileTemplate.setAttackSpeed(1.0) diff --git a/scripts/mobiles/tatooine/city_sewer_swamprat.py b/scripts/mobiles/tatooine/city_sewer_swamprat.py index 79393751..ecb72a17 100644 --- a/scripts/mobiles/tatooine/city_sewer_swamprat.py +++ b/scripts/mobiles/tatooine/city_sewer_swamprat.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('city sewer swamprat') + mobileTemplate.setCreatureName('city_sewer_swamprat') mobileTemplate.setLevel(3) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/cupa.py b/scripts/mobiles/tatooine/cupa.py index ceef477e..b44cff3a 100644 --- a/scripts/mobiles/tatooine/cupa.py +++ b/scripts/mobiles/tatooine/cupa.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('cu pa') + mobileTemplate.setCreatureName('cu_pa') mobileTemplate.setLevel(3) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/death_kreetle.py b/scripts/mobiles/tatooine/death_kreetle.py index 9da0d1ff..5e39d8ae 100644 --- a/scripts/mobiles/tatooine/death_kreetle.py +++ b/scripts/mobiles/tatooine/death_kreetle.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('death kreetle') + mobileTemplate.setCreatureName('kreetle_death') mobileTemplate.setLevel(7) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/desert_eopie.py b/scripts/mobiles/tatooine/desert_eopie.py index b991692c..be18b6bb 100644 --- a/scripts/mobiles/tatooine/desert_eopie.py +++ b/scripts/mobiles/tatooine/desert_eopie.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('desert eopie') + mobileTemplate.setCreatureName('desert_eopie') mobileTemplate.setLevel(16) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/desert_kreetle.py b/scripts/mobiles/tatooine/desert_kreetle.py index 5bb597a7..bddbbf1a 100644 --- a/scripts/mobiles/tatooine/desert_kreetle.py +++ b/scripts/mobiles/tatooine/desert_kreetle.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('desert kreetle') + mobileTemplate.setCreatureName('orphan_kreetle') mobileTemplate.setLevel(3) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/desert_razorback.py b/scripts/mobiles/tatooine/desert_razorback.py index 04d1e1d0..6e07cd81 100644 --- a/scripts/mobiles/tatooine/desert_razorback.py +++ b/scripts/mobiles/tatooine/desert_razorback.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('desert razorback') + mobileTemplate.setCreatureName('desert_razorback') mobileTemplate.setLevel(23) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/desert_squill.py b/scripts/mobiles/tatooine/desert_squill.py index d29ef397..2ab4b5ca 100644 --- a/scripts/mobiles/tatooine/desert_squill.py +++ b/scripts/mobiles/tatooine/desert_squill.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('desert squill') + mobileTemplate.setCreatureName('desert_squill') mobileTemplate.setLevel(14) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/dimu_bantha.py b/scripts/mobiles/tatooine/dimu_bantha.py index b7f72d2d..5280c721 100644 --- a/scripts/mobiles/tatooine/dimu_bantha.py +++ b/scripts/mobiles/tatooine/dimu_bantha.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('dim-u bantha') + mobileTemplate.setCreatureName('dim_u_bantha') mobileTemplate.setLevel(3) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/diseased_bocatt.py b/scripts/mobiles/tatooine/diseased_bocatt.py index 9e747737..96bb977e 100644 --- a/scripts/mobiles/tatooine/diseased_bocatt.py +++ b/scripts/mobiles/tatooine/diseased_bocatt.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('diseased bocatt') + mobileTemplate.setCreatureName('bocatt_diseased') mobileTemplate.setLevel(5) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/domestic_eopie.py b/scripts/mobiles/tatooine/domestic_eopie.py index 438a34b6..33e8077b 100644 --- a/scripts/mobiles/tatooine/domestic_eopie.py +++ b/scripts/mobiles/tatooine/domestic_eopie.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('domestic eopie') + mobileTemplate.setCreatureName('domestic_eopie') mobileTemplate.setLevel(1) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/dragonet.py b/scripts/mobiles/tatooine/dragonet.py index 666daef6..5d8cb006 100644 --- a/scripts/mobiles/tatooine/dragonet.py +++ b/scripts/mobiles/tatooine/dragonet.py @@ -9,12 +9,12 @@ def addTemplate(core): mobileTemplate.setCreatureName('dragonet') mobileTemplate.setLevel(24) mobileTemplate.setDifficulty(0) - mobileTemplate.setAttackRange(5) + mobileTemplate.setAttackRange(15) mobileTemplate.setWeaponType(6) mobileTemplate.setAttackSpeed(1.0) templates = Vector() - templates.add('object/mobile/shared_dragonet.iff') + templates.add('object/mobile/shared_dune_lizard.iff') mobileTemplate.setTemplates(templates) weaponTemplates = Vector() diff --git a/scripts/mobiles/tatooine/drooling_nuna.py b/scripts/mobiles/tatooine/drooling_nuna.py index 7a470315..b729515c 100644 --- a/scripts/mobiles/tatooine/drooling_nuna.py +++ b/scripts/mobiles/tatooine/drooling_nuna.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('drooling nuna') + mobileTemplate.setCreatureName('dwarf_nuna_drooling') mobileTemplate.setLevel(2) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/dune_bantha.py b/scripts/mobiles/tatooine/dune_bantha.py index a78d0414..cb29c496 100644 --- a/scripts/mobiles/tatooine/dune_bantha.py +++ b/scripts/mobiles/tatooine/dune_bantha.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('dune bantha') + mobileTemplate.setCreatureName('dune_bantha') mobileTemplate.setLevel(20) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/dune_beetle.py b/scripts/mobiles/tatooine/dune_beetle.py index 77436c23..9cc34df7 100644 --- a/scripts/mobiles/tatooine/dune_beetle.py +++ b/scripts/mobiles/tatooine/dune_beetle.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('dune beetle') + mobileTemplate.setCreatureName('dune_beetle') mobileTemplate.setLevel(5) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/dune_lizard.py b/scripts/mobiles/tatooine/dune_lizard.py index 1ff830e9..ec826be0 100644 --- a/scripts/mobiles/tatooine/dune_lizard.py +++ b/scripts/mobiles/tatooine/dune_lizard.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('dune lizard') + mobileTemplate.setCreatureName('dune_lizard') mobileTemplate.setLevel(5) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/dwarf_bantha.py b/scripts/mobiles/tatooine/dwarf_bantha.py index 89688300..6c8449ca 100644 --- a/scripts/mobiles/tatooine/dwarf_bantha.py +++ b/scripts/mobiles/tatooine/dwarf_bantha.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('dwarf bantha') + mobileTemplate.setCreatureName('dwarf_bantha') mobileTemplate.setLevel(10) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/dwarf_eopie.py b/scripts/mobiles/tatooine/dwarf_eopie.py index 5f11daee..cb9a80cc 100644 --- a/scripts/mobiles/tatooine/dwarf_eopie.py +++ b/scripts/mobiles/tatooine/dwarf_eopie.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('dwarf eopie') + mobileTemplate.setCreatureName('dwarf_eopie') mobileTemplate.setLevel(1) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/dwarf_nuna.py b/scripts/mobiles/tatooine/dwarf_nuna.py index f2ef402b..423fb7d9 100644 --- a/scripts/mobiles/tatooine/dwarf_nuna.py +++ b/scripts/mobiles/tatooine/dwarf_nuna.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('dwarf nuna') + mobileTemplate.setCreatureName('dwarf_nuna') mobileTemplate.setLevel(1) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/elder_zucca_boar.py b/scripts/mobiles/tatooine/elder_zucca_boar.py index 2612b588..11e040e2 100644 --- a/scripts/mobiles/tatooine/elder_zucca_boar.py +++ b/scripts/mobiles/tatooine/elder_zucca_boar.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('elder zucca boar') + mobileTemplate.setCreatureName('zucca_boar_elder') mobileTemplate.setLevel(8) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/elite_dewback_cannibal.py b/scripts/mobiles/tatooine/elite_dewback_cannibal.py index fb1fdf08..910ba869 100644 --- a/scripts/mobiles/tatooine/elite_dewback_cannibal.py +++ b/scripts/mobiles/tatooine/elite_dewback_cannibal.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('elite dewback cannibal') + mobileTemplate.setCreatureName('elite_dewback_canibal') mobileTemplate.setLevel(13) mobileTemplate.setDifficulty(1) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/elite_dragonet.py b/scripts/mobiles/tatooine/elite_dragonet.py index 3767181e..481b2d64 100644 --- a/scripts/mobiles/tatooine/elite_dragonet.py +++ b/scripts/mobiles/tatooine/elite_dragonet.py @@ -6,10 +6,10 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('elite dragonet') + mobileTemplate.setCreatureName('elite_dragonet') mobileTemplate.setLevel(24) mobileTemplate.setDifficulty(1) - mobileTemplate.setAttackRange(5) + mobileTemplate.setAttackRange(15) mobileTemplate.setWeaponType(6) mobileTemplate.setAttackSpeed(1.0) diff --git a/scripts/mobiles/tatooine/elite_dune_lizard.py b/scripts/mobiles/tatooine/elite_dune_lizard.py index ad9eaf53..a0adf4e8 100644 --- a/scripts/mobiles/tatooine/elite_dune_lizard.py +++ b/scripts/mobiles/tatooine/elite_dune_lizard.py @@ -6,10 +6,10 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('elite dune lizard') + mobileTemplate.setCreatureName('elite_dune_lizard') mobileTemplate.setLevel(18) mobileTemplate.setDifficulty(1) - mobileTemplate.setAttackRange(5) + mobileTemplate.setAttackRange(15) mobileTemplate.setWeaponType(6) mobileTemplate.setAttackSpeed(1.0) diff --git a/scripts/mobiles/tatooine/elite_giant_sand_beetle.py b/scripts/mobiles/tatooine/elite_giant_sand_beetle.py index 997a9bbd..c21a083c 100644 --- a/scripts/mobiles/tatooine/elite_giant_sand_beetle.py +++ b/scripts/mobiles/tatooine/elite_giant_sand_beetle.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('elite giant sand beetle') + mobileTemplate.setCreatureName('elite_giant_sand_beetle') mobileTemplate.setLevel(25) mobileTemplate.setDifficulty(1) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/elite_mutant_womprat.py b/scripts/mobiles/tatooine/elite_mutant_womprat.py index abbdb59a..de786778 100644 --- a/scripts/mobiles/tatooine/elite_mutant_womprat.py +++ b/scripts/mobiles/tatooine/elite_mutant_womprat.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('elite mutant womprat') + mobileTemplate.setCreatureName('elite_mutant_womprat') mobileTemplate.setLevel(5) mobileTemplate.setDifficulty(1) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/elite_ronto.py b/scripts/mobiles/tatooine/elite_ronto.py index bfafdec0..a5d22cef 100644 --- a/scripts/mobiles/tatooine/elite_ronto.py +++ b/scripts/mobiles/tatooine/elite_ronto.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('elite ronto') + mobileTemplate.setCreatureName('elite_ronto_ronto') mobileTemplate.setLevel(17) mobileTemplate.setDifficulty(1) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/elite_scyk.py b/scripts/mobiles/tatooine/elite_scyk.py index f419ae80..54ad052c 100644 --- a/scripts/mobiles/tatooine/elite_scyk.py +++ b/scripts/mobiles/tatooine/elite_scyk.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('elite scyk') + mobileTemplate.setCreatureName('elite_scyk') mobileTemplate.setLevel(11) mobileTemplate.setDifficulty(1) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/elite_sevorrt.py b/scripts/mobiles/tatooine/elite_sevorrt.py index 36d701c1..190a9e26 100644 --- a/scripts/mobiles/tatooine/elite_sevorrt.py +++ b/scripts/mobiles/tatooine/elite_sevorrt.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('elite sevorrt') + mobileTemplate.setCreatureName('elite_sevorrt') mobileTemplate.setLevel(8) mobileTemplate.setDifficulty(1) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/enraged_mountain_dewback.py b/scripts/mobiles/tatooine/enraged_mountain_dewback.py index 2dbc8ed5..dfebff92 100644 --- a/scripts/mobiles/tatooine/enraged_mountain_dewback.py +++ b/scripts/mobiles/tatooine/enraged_mountain_dewback.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('enraged mountain dewback') + mobileTemplate.setCreatureName('elite_mountain_dewback') mobileTemplate.setLevel(22) mobileTemplate.setDifficulty(1) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/enraged_squill.py b/scripts/mobiles/tatooine/enraged_squill.py index fb82150e..3fd86349 100644 --- a/scripts/mobiles/tatooine/enraged_squill.py +++ b/scripts/mobiles/tatooine/enraged_squill.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('enraged squill') + mobileTemplate.setCreatureName('elite_squill') mobileTemplate.setLevel(12) mobileTemplate.setDifficulty(1) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/eoni.py b/scripts/mobiles/tatooine/eoni.py index 0db4f825..0dd12e09 100644 --- a/scripts/mobiles/tatooine/eoni.py +++ b/scripts/mobiles/tatooine/eoni.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('eoni') + mobileTemplate.setCreatureName('elite_jundland_eopie') mobileTemplate.setLevel(21) mobileTemplate.setDifficulty(1) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/female_mountain_squill.py b/scripts/mobiles/tatooine/female_mountain_squill.py index 339904ee..e2da21e4 100644 --- a/scripts/mobiles/tatooine/female_mountain_squill.py +++ b/scripts/mobiles/tatooine/female_mountain_squill.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('female mountain squill') + mobileTemplate.setCreatureName('female_mountain_squill') mobileTemplate.setLevel(17) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/feral_bantha.py b/scripts/mobiles/tatooine/feral_bantha.py index 8a7f9641..fcbbbebc 100644 --- a/scripts/mobiles/tatooine/feral_bantha.py +++ b/scripts/mobiles/tatooine/feral_bantha.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('feral bantha') + mobileTemplate.setCreatureName('feral_bantha') mobileTemplate.setLevel(5) mobileTemplate.setDifficulty(15) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/furios_ronto.py b/scripts/mobiles/tatooine/furios_ronto.py index a7df8d48..c8c4fe74 100644 --- a/scripts/mobiles/tatooine/furios_ronto.py +++ b/scripts/mobiles/tatooine/furios_ronto.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('furious ronto') + mobileTemplate.setCreatureName('ronto_furious') mobileTemplate.setLevel(18) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/giant_canyon_krayt_dragon.py b/scripts/mobiles/tatooine/giant_canyon_krayt_dragon.py index f542de89..2d86f3cd 100644 --- a/scripts/mobiles/tatooine/giant_canyon_krayt_dragon.py +++ b/scripts/mobiles/tatooine/giant_canyon_krayt_dragon.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('giant canyon krayt dragon') + mobileTemplate.setCreatureName('giant_canyon_krayt_dragon') mobileTemplate.setLevel(87) mobileTemplate.setDifficulty(2) mobileTemplate.setAttackRange(12) diff --git a/scripts/mobiles/tatooine/giant_sand_beetle.py b/scripts/mobiles/tatooine/giant_sand_beetle.py index c8516196..2f9138d5 100644 --- a/scripts/mobiles/tatooine/giant_sand_beetle.py +++ b/scripts/mobiles/tatooine/giant_sand_beetle.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('giant sand beetle') + mobileTemplate.setCreatureName('giant_sand_beetle') mobileTemplate.setLevel(25) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/giant_worrt.py b/scripts/mobiles/tatooine/giant_worrt.py index cbba4837..27edbbed 100644 --- a/scripts/mobiles/tatooine/giant_worrt.py +++ b/scripts/mobiles/tatooine/giant_worrt.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('giant worrt') + mobileTemplate.setCreatureName('giant_worrt') mobileTemplate.setLevel(13) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/gorg_glutton.py b/scripts/mobiles/tatooine/gorg_glutton.py index 486e7667..7eaddd81 100644 --- a/scripts/mobiles/tatooine/gorg_glutton.py +++ b/scripts/mobiles/tatooine/gorg_glutton.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('gorg glutton') + mobileTemplate.setCreatureName('gorg_glutton') mobileTemplate.setLevel(2) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/grand_krayt_dragon.py b/scripts/mobiles/tatooine/grand_krayt_dragon.py index a0fdf90f..d149306b 100644 --- a/scripts/mobiles/tatooine/grand_krayt_dragon.py +++ b/scripts/mobiles/tatooine/grand_krayt_dragon.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('grand krayt dragon') + mobileTemplate.setCreatureName('krayt_dragon_grand') mobileTemplate.setLevel(88) mobileTemplate.setDifficulty(2) mobileTemplate.setAttackRange(12) diff --git a/scripts/mobiles/tatooine/great_squill.py b/scripts/mobiles/tatooine/great_squill.py index ec5c6fac..ec27d549 100644 --- a/scripts/mobiles/tatooine/great_squill.py +++ b/scripts/mobiles/tatooine/great_squill.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('great squill') + mobileTemplate.setCreatureName('squill_great') mobileTemplate.setLevel(13) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/greater_desert_womprat.py b/scripts/mobiles/tatooine/greater_desert_womprat.py index 97a56bd7..cbf1c39a 100644 --- a/scripts/mobiles/tatooine/greater_desert_womprat.py +++ b/scripts/mobiles/tatooine/greater_desert_womprat.py @@ -6,10 +6,10 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('greater desert womprat') + mobileTemplate.setCreatureName('greater_desert_womprat') mobileTemplate.setLevel(12) mobileTemplate.setDifficulty(0) - mobileTemplate.setAttackRange(5) + mobileTemplate.setAttackRange(15) mobileTemplate.setWeaponType(6) mobileTemplate.setAttackSpeed(1.0) diff --git a/scripts/mobiles/tatooine/grizzled_dewback.py b/scripts/mobiles/tatooine/grizzled_dewback.py index 5cae3fec..416f9a58 100644 --- a/scripts/mobiles/tatooine/grizzled_dewback.py +++ b/scripts/mobiles/tatooine/grizzled_dewback.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('grizzled dewback') + mobileTemplate.setCreatureName('grizzled_dewback') mobileTemplate.setLevel(18) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/harmony_worrt.py b/scripts/mobiles/tatooine/harmony_worrt.py index b5a226ef..07f24218 100644 --- a/scripts/mobiles/tatooine/harmony_worrt.py +++ b/scripts/mobiles/tatooine/harmony_worrt.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('harmony worrt') + mobileTemplate.setCreatureName('harmony_worrt') mobileTemplate.setLevel(18) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/jundland_eopie.py b/scripts/mobiles/tatooine/jundland_eopie.py index a0b1b5c2..ee6cf43c 100644 --- a/scripts/mobiles/tatooine/jundland_eopie.py +++ b/scripts/mobiles/tatooine/jundland_eopie.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('jundland eopie') + mobileTemplate.setCreatureName('jundland_eopie') mobileTemplate.setLevel(21) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/juvenile_canyon_krayt_dragon.py b/scripts/mobiles/tatooine/juvenile_canyon_krayt_dragon.py index 3983feaf..d06ec11d 100644 --- a/scripts/mobiles/tatooine/juvenile_canyon_krayt_dragon.py +++ b/scripts/mobiles/tatooine/juvenile_canyon_krayt_dragon.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('juvenile canyon krayt dragon') + mobileTemplate.setCreatureName('juvenile_canyon_krayt') mobileTemplate.setLevel(82) mobileTemplate.setDifficulty(2) mobileTemplate.setAttackRange(12) diff --git a/scripts/mobiles/tatooine/krayt_dragon_ancient.py b/scripts/mobiles/tatooine/krayt_dragon_ancient.py index 2b25488e..b8450ec0 100644 --- a/scripts/mobiles/tatooine/krayt_dragon_ancient.py +++ b/scripts/mobiles/tatooine/krayt_dragon_ancient.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('ancient krayt dragon') + mobileTemplate.setCreatureName('krayt_dragon_ancient') mobileTemplate.setLevel(90) mobileTemplate.setDifficulty(2) mobileTemplate.setAttackRange(12) diff --git a/scripts/mobiles/tatooine/kreetle_swarmling.py b/scripts/mobiles/tatooine/kreetle_swarmling.py index 844b8f90..9f998e07 100644 --- a/scripts/mobiles/tatooine/kreetle_swarmling.py +++ b/scripts/mobiles/tatooine/kreetle_swarmling.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('kreetle swarmling') + mobileTemplate.setCreatureName('kreetle_swarming') mobileTemplate.setLevel(1) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/large_cave_beetle.py b/scripts/mobiles/tatooine/large_cave_beetle.py index c62afa0d..ccfc9a8d 100644 --- a/scripts/mobiles/tatooine/large_cave_beetle.py +++ b/scripts/mobiles/tatooine/large_cave_beetle.py @@ -6,10 +6,10 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('large cave beetle') + mobileTemplate.setCreatureName('large_cave_beetle') mobileTemplate.setLevel(21) mobileTemplate.setDifficulty(0) - mobileTemplate.setAttackRange(5) + mobileTemplate.setAttackRange(15) mobileTemplate.setWeaponType(6) mobileTemplate.setAttackSpeed(1.0) diff --git a/scripts/mobiles/tatooine/large_rock_beetle1.py b/scripts/mobiles/tatooine/large_rock_beetle1.py index a3a7d249..39078fb6 100644 --- a/scripts/mobiles/tatooine/large_rock_beetle1.py +++ b/scripts/mobiles/tatooine/large_rock_beetle1.py @@ -6,10 +6,10 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('large rock beetle') + mobileTemplate.setCreatureName('large_rock_beetle') mobileTemplate.setLevel(18) mobileTemplate.setDifficulty(1) - mobileTemplate.setAttackRange(5) + mobileTemplate.setAttackRange(15) mobileTemplate.setWeaponType(6) mobileTemplate.setAttackSpeed(1.0) diff --git a/scripts/mobiles/tatooine/large_rock_beetle2.py b/scripts/mobiles/tatooine/large_rock_beetle2.py index 90eb0540..dfadc654 100644 --- a/scripts/mobiles/tatooine/large_rock_beetle2.py +++ b/scripts/mobiles/tatooine/large_rock_beetle2.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('large rock beetle') + mobileTemplate.setCreatureName('large_rock_beetle') mobileTemplate.setLevel(19) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/large_rock_beetle3.py b/scripts/mobiles/tatooine/large_rock_beetle3.py index dd3f4a5e..1cca8d4e 100644 --- a/scripts/mobiles/tatooine/large_rock_beetle3.py +++ b/scripts/mobiles/tatooine/large_rock_beetle3.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('large rock beetle') + mobileTemplate.setCreatureName('large_rock_beetle') mobileTemplate.setLevel(19) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/large_sand_beetle.py b/scripts/mobiles/tatooine/large_sand_beetle.py index 91b17485..2bfc2cb9 100644 --- a/scripts/mobiles/tatooine/large_sand_beetle.py +++ b/scripts/mobiles/tatooine/large_sand_beetle.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('large sand beetle') + mobileTemplate.setCreatureName('large_sand_beetle') mobileTemplate.setLevel(24) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/lesser_bocatt.py b/scripts/mobiles/tatooine/lesser_bocatt.py index e0e1ec52..d768a79b 100644 --- a/scripts/mobiles/tatooine/lesser_bocatt.py +++ b/scripts/mobiles/tatooine/lesser_bocatt.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('lesser bocatt') + mobileTemplate.setCreatureName('lesser_bocatt') mobileTemplate.setLevel(14) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/lesser_desert_womprat.py b/scripts/mobiles/tatooine/lesser_desert_womprat.py index 364532c3..66ff6a9f 100644 --- a/scripts/mobiles/tatooine/lesser_desert_womprat.py +++ b/scripts/mobiles/tatooine/lesser_desert_womprat.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('lesser desert womprat') + mobileTemplate.setCreatureName('lesser_desert_womprat') mobileTemplate.setLevel(4) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/lesser_dewback.py b/scripts/mobiles/tatooine/lesser_dewback.py index d6ebaaed..d6a49360 100644 --- a/scripts/mobiles/tatooine/lesser_dewback.py +++ b/scripts/mobiles/tatooine/lesser_dewback.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('lesser dewback') + mobileTemplate.setCreatureName('lesser_dewback') mobileTemplate.setLevel(4) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/malignant_squill.py b/scripts/mobiles/tatooine/malignant_squill.py index 7eb14d5a..2b96c627 100644 --- a/scripts/mobiles/tatooine/malignant_squill.py +++ b/scripts/mobiles/tatooine/malignant_squill.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('malignant squill') + mobileTemplate.setCreatureName('malignant_squill') mobileTemplate.setLevel(50) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/minor_worrt.py b/scripts/mobiles/tatooine/minor_worrt.py index ceb7b57e..5ffa7afe 100644 --- a/scripts/mobiles/tatooine/minor_worrt.py +++ b/scripts/mobiles/tatooine/minor_worrt.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('minor worrt') + mobileTemplate.setCreatureName('minor_worrt') mobileTemplate.setLevel(3) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/mound_mite.py b/scripts/mobiles/tatooine/mound_mite.py index 356e926f..c62a5715 100644 --- a/scripts/mobiles/tatooine/mound_mite.py +++ b/scripts/mobiles/tatooine/mound_mite.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('mound mite') + mobileTemplate.setCreatureName('mound_mite') mobileTemplate.setLevel(4) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/mountain_dewback.py b/scripts/mobiles/tatooine/mountain_dewback.py index f8e22413..6b73306f 100644 --- a/scripts/mobiles/tatooine/mountain_dewback.py +++ b/scripts/mobiles/tatooine/mountain_dewback.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('mountain dewback') + mobileTemplate.setCreatureName('mountain_dewback') mobileTemplate.setLevel(22) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/mountain_squill.py b/scripts/mobiles/tatooine/mountain_squill.py index a185ec67..052d4e62 100644 --- a/scripts/mobiles/tatooine/mountain_squill.py +++ b/scripts/mobiles/tatooine/mountain_squill.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('mountain squill') + mobileTemplate.setCreatureName('mountain_squill') mobileTemplate.setLevel(18) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/mountain_squill_guardian.py b/scripts/mobiles/tatooine/mountain_squill_guardian.py index 06f0fe03..5b402840 100644 --- a/scripts/mobiles/tatooine/mountain_squill_guardian.py +++ b/scripts/mobiles/tatooine/mountain_squill_guardian.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('mountain squill guardian') + mobileTemplate.setCreatureName('mountain_squill_guardian') mobileTemplate.setLevel(19) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/mountain_squill_hunter.py b/scripts/mobiles/tatooine/mountain_squill_hunter.py index eb9de090..5393c868 100644 --- a/scripts/mobiles/tatooine/mountain_squill_hunter.py +++ b/scripts/mobiles/tatooine/mountain_squill_hunter.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('mountain squill hunter') + mobileTemplate.setCreatureName('mountain_squill_hunter') mobileTemplate.setLevel(19) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/mountain_worrt.py b/scripts/mobiles/tatooine/mountain_worrt.py index 6b0119e0..1790dd65 100644 --- a/scripts/mobiles/tatooine/mountain_worrt.py +++ b/scripts/mobiles/tatooine/mountain_worrt.py @@ -6,10 +6,10 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('mountain worrt') + mobileTemplate.setCreatureName('mountain_worrt') mobileTemplate.setLevel(19) mobileTemplate.setDifficulty(0) - mobileTemplate.setAttackRange(5) + mobileTemplate.setAttackRange(15) mobileTemplate.setWeaponType(6) mobileTemplate.setAttackSpeed(1.0) diff --git a/scripts/mobiles/tatooine/mutant_womprat.py b/scripts/mobiles/tatooine/mutant_womprat.py index c2ca1a39..831182ac 100644 --- a/scripts/mobiles/tatooine/mutant_womprat.py +++ b/scripts/mobiles/tatooine/mutant_womprat.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('mutant womprat') + mobileTemplate.setCreatureName('mutant_womprat') mobileTemplate.setLevel(12) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/overkreetle.py b/scripts/mobiles/tatooine/overkreetle.py index 9ffa6933..7f6bb056 100644 --- a/scripts/mobiles/tatooine/overkreetle.py +++ b/scripts/mobiles/tatooine/overkreetle.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('overkreetle') + mobileTemplate.setCreatureName('kreetle_over') mobileTemplate.setLevel(11) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/parry_stormtrooper_dewback.py b/scripts/mobiles/tatooine/parry_stormtrooper_dewback.py index df5fbd32..9c961a1f 100644 --- a/scripts/mobiles/tatooine/parry_stormtrooper_dewback.py +++ b/scripts/mobiles/tatooine/parry_stormtrooper_dewback.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('parry stormtrooper dewback') + mobileTemplate.setCreatureName('parry_stormtrooper_dewback') mobileTemplate.setLevel(17) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/plaque_rat.py b/scripts/mobiles/tatooine/plaque_rat.py index 60344d10..53a5a8e1 100644 --- a/scripts/mobiles/tatooine/plaque_rat.py +++ b/scripts/mobiles/tatooine/plaque_rat.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('plaque womprat') + mobileTemplate.setCreatureName('womprat_plague') mobileTemplate.setLevel(1) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/razorback_felspur.py b/scripts/mobiles/tatooine/razorback_felspur.py index 9ff3e68b..ca591441 100644 --- a/scripts/mobiles/tatooine/razorback_felspur.py +++ b/scripts/mobiles/tatooine/razorback_felspur.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('razorback felspur') + mobileTemplate.setCreatureName('desert_razorback_felspur') mobileTemplate.setLevel(24) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/razorclaw.py b/scripts/mobiles/tatooine/razorclaw.py index d86e1e40..2434283f 100644 --- a/scripts/mobiles/tatooine/razorclaw.py +++ b/scripts/mobiles/tatooine/razorclaw.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('razorclaw') + mobileTemplate.setCreatureName('elite_desert_razorback') mobileTemplate.setLevel(23) mobileTemplate.setDifficulty(1) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/rock_beetle.py b/scripts/mobiles/tatooine/rock_beetle.py index 56a14ab5..e5241063 100644 --- a/scripts/mobiles/tatooine/rock_beetle.py +++ b/scripts/mobiles/tatooine/rock_beetle.py @@ -6,10 +6,10 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('rock beetle') + mobileTemplate.setCreatureName('rock_beetle') mobileTemplate.setLevel(18) mobileTemplate.setDifficulty(1) - mobileTemplate.setAttackRange(5) + mobileTemplate.setAttackRange(15) mobileTemplate.setWeaponType(6) mobileTemplate.setAttackSpeed(1.0) diff --git a/scripts/mobiles/tatooine/rock_beetle1.py b/scripts/mobiles/tatooine/rock_beetle1.py index 2c2026ff..6145a123 100644 --- a/scripts/mobiles/tatooine/rock_beetle1.py +++ b/scripts/mobiles/tatooine/rock_beetle1.py @@ -6,10 +6,10 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('rock beetle') + mobileTemplate.setCreatureName('rock_beetle') mobileTemplate.setLevel(19) mobileTemplate.setDifficulty(1) - mobileTemplate.setAttackRange(5) + mobileTemplate.setAttackRange(15) mobileTemplate.setWeaponType(6) mobileTemplate.setAttackSpeed(1.0) diff --git a/scripts/mobiles/tatooine/rock_beetle_cave.py b/scripts/mobiles/tatooine/rock_beetle_cave.py index adc6c8f9..afa926ac 100644 --- a/scripts/mobiles/tatooine/rock_beetle_cave.py +++ b/scripts/mobiles/tatooine/rock_beetle_cave.py @@ -6,10 +6,10 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('rock beetle cave') + mobileTemplate.setCreatureName('rock_beetle_cave') mobileTemplate.setLevel(19) mobileTemplate.setDifficulty(1) - mobileTemplate.setAttackRange(5) + mobileTemplate.setAttackRange(15) mobileTemplate.setWeaponType(6) mobileTemplate.setAttackSpeed(1.0) diff --git a/scripts/mobiles/tatooine/runted_rill.py b/scripts/mobiles/tatooine/runted_rill.py index 99cff0db..dd84444f 100644 --- a/scripts/mobiles/tatooine/runted_rill.py +++ b/scripts/mobiles/tatooine/runted_rill.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('runted rill') + mobileTemplate.setCreatureName('runted_rill') mobileTemplate.setLevel(1) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/sand_beetle.py b/scripts/mobiles/tatooine/sand_beetle.py index c94eaeb0..072fa787 100644 --- a/scripts/mobiles/tatooine/sand_beetle.py +++ b/scripts/mobiles/tatooine/sand_beetle.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('sand beetle') + mobileTemplate.setCreatureName('sand_beetle') mobileTemplate.setLevel(18) mobileTemplate.setDifficulty(1) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/sandreaver.py b/scripts/mobiles/tatooine/sandreaver.py index 704c661c..86af2d0b 100644 --- a/scripts/mobiles/tatooine/sandreaver.py +++ b/scripts/mobiles/tatooine/sandreaver.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('sandreaver') + mobileTemplate.setCreatureName('dewback_sandreaver') mobileTemplate.setLevel(18) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/savage_zucca_boar.py b/scripts/mobiles/tatooine/savage_zucca_boar.py index e12fb28b..646cc819 100644 --- a/scripts/mobiles/tatooine/savage_zucca_boar.py +++ b/scripts/mobiles/tatooine/savage_zucca_boar.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('savage zucca boar') + mobileTemplate.setCreatureName('elite_zucca_boar') mobileTemplate.setLevel(8) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/sewer_worrt.py b/scripts/mobiles/tatooine/sewer_worrt.py index 036d0fdf..ac614b18 100644 --- a/scripts/mobiles/tatooine/sewer_worrt.py +++ b/scripts/mobiles/tatooine/sewer_worrt.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('sewer worrt') + mobileTemplate.setCreatureName('sewer_worrt') mobileTemplate.setLevel(5) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/sickly_womprat.py b/scripts/mobiles/tatooine/sickly_womprat.py index 37a4d028..3961ece7 100644 --- a/scripts/mobiles/tatooine/sickly_womprat.py +++ b/scripts/mobiles/tatooine/sickly_womprat.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('sickly womprat') + mobileTemplate.setCreatureName('sickly_womprat') mobileTemplate.setLevel(1) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/slum_rat.py b/scripts/mobiles/tatooine/slum_rat.py index d1dcad52..90eeb0cf 100644 --- a/scripts/mobiles/tatooine/slum_rat.py +++ b/scripts/mobiles/tatooine/slum_rat.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('slum rat') + mobileTemplate.setCreatureName('womprat_city') mobileTemplate.setLevel(5) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/snarlfang.py b/scripts/mobiles/tatooine/snarlfang.py index cf2ad8bc..95aa8910 100644 --- a/scripts/mobiles/tatooine/snarlfang.py +++ b/scripts/mobiles/tatooine/snarlfang.py @@ -6,10 +6,10 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('snarlfang') + mobileTemplate.setCreatureName('elite_bocatt') mobileTemplate.setLevel(17) mobileTemplate.setDifficulty(0) - mobileTemplate.setAttackRange(5) + mobileTemplate.setAttackRange(15) mobileTemplate.setWeaponType(6) mobileTemplate.setAttackSpeed(1.0) diff --git a/scripts/mobiles/tatooine/stormtrooper_dewback.py b/scripts/mobiles/tatooine/stormtrooper_dewback.py index 21a25d5e..b6dcea7f 100644 --- a/scripts/mobiles/tatooine/stormtrooper_dewback.py +++ b/scripts/mobiles/tatooine/stormtrooper_dewback.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('stormtrooper dewback') + mobileTemplate.setCreatureName('stormtrooper_dewback') mobileTemplate.setLevel(14) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/sunstained_dunelizard.py b/scripts/mobiles/tatooine/sunstained_dunelizard.py index ca83b06a..03737a37 100644 --- a/scripts/mobiles/tatooine/sunstained_dunelizard.py +++ b/scripts/mobiles/tatooine/sunstained_dunelizard.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('sunstained dune lizard') + mobileTemplate.setCreatureName('dune_lizard_sunstained') mobileTemplate.setLevel(19) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/swarming_lesser_dewback.py b/scripts/mobiles/tatooine/swarming_lesser_dewback.py index ce473e54..88fae935 100644 --- a/scripts/mobiles/tatooine/swarming_lesser_dewback.py +++ b/scripts/mobiles/tatooine/swarming_lesser_dewback.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('swarming lesser dewback') + mobileTemplate.setCreatureName('swarming_lesser_dewback') mobileTemplate.setLevel(13) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/tame_womprat.py b/scripts/mobiles/tatooine/tame_womprat.py index 99045672..bbc970a1 100644 --- a/scripts/mobiles/tatooine/tame_womprat.py +++ b/scripts/mobiles/tatooine/tame_womprat.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('tame womprat') + mobileTemplate.setCreatureName('tame_womprat') mobileTemplate.setLevel(2) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/tame_worrt.py b/scripts/mobiles/tatooine/tame_worrt.py index eab5119b..75bda089 100644 --- a/scripts/mobiles/tatooine/tame_worrt.py +++ b/scripts/mobiles/tatooine/tame_worrt.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('tame worrt') + mobileTemplate.setCreatureName('tame_worrt') mobileTemplate.setLevel(5) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/tatooine_mynock.py b/scripts/mobiles/tatooine/tatooine_mynock.py index c43ed47d..64b3e4f1 100644 --- a/scripts/mobiles/tatooine/tatooine_mynock.py +++ b/scripts/mobiles/tatooine/tatooine_mynock.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('rill') + mobileTemplate.setCreatureName('tatooine_mynock') mobileTemplate.setLevel(2) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/tempest_till.py b/scripts/mobiles/tatooine/tempest_rill.py similarity index 94% rename from scripts/mobiles/tatooine/tempest_till.py rename to scripts/mobiles/tatooine/tempest_rill.py index a97d3f0c..d5df155c 100644 --- a/scripts/mobiles/tatooine/tempest_till.py +++ b/scripts/mobiles/tatooine/tempest_rill.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('tempest rill') + mobileTemplate.setCreatureName('rill_tempest') mobileTemplate.setLevel(8) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/tormented_bocatt.py b/scripts/mobiles/tatooine/tormented_bocatt.py index a31e72b5..ed5c4ecd 100644 --- a/scripts/mobiles/tatooine/tormented_bocatt.py +++ b/scripts/mobiles/tatooine/tormented_bocatt.py @@ -6,10 +6,10 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('tormented bocatt') + mobileTemplate.setCreatureName('bocatt_tormented') mobileTemplate.setLevel(18) mobileTemplate.setDifficulty(0) - mobileTemplate.setAttackRange(5) + mobileTemplate.setAttackRange(15) mobileTemplate.setWeaponType(6) mobileTemplate.setAttackSpeed(1.0) diff --git a/scripts/mobiles/tatooine/tusken_bantha.py b/scripts/mobiles/tatooine/tusken_bantha.py index a194bd6e..13943979 100644 --- a/scripts/mobiles/tatooine/tusken_bantha.py +++ b/scripts/mobiles/tatooine/tusken_bantha.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('tusken bantha') + mobileTemplate.setCreatureName('feeder_tusken_bantha') mobileTemplate.setLevel(30) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/twisted_dewback.py b/scripts/mobiles/tatooine/twisted_dewback.py index 750b9733..f88b8020 100644 --- a/scripts/mobiles/tatooine/twisted_dewback.py +++ b/scripts/mobiles/tatooine/twisted_dewback.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('twisted dewback') + mobileTemplate.setCreatureName('twisted_dewback') mobileTemplate.setLevel(11) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/twisted_rill.py b/scripts/mobiles/tatooine/twisted_rill.py index 9b689cb0..977dd020 100644 --- a/scripts/mobiles/tatooine/twisted_rill.py +++ b/scripts/mobiles/tatooine/twisted_rill.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('twisted rill') + mobileTemplate.setCreatureName('twisted_rill') mobileTemplate.setLevel(11) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/twisted_womprat.py b/scripts/mobiles/tatooine/twisted_womprat.py index 6388ed87..851ffcda 100644 --- a/scripts/mobiles/tatooine/twisted_womprat.py +++ b/scripts/mobiles/tatooine/twisted_womprat.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('twisted womprat') + mobileTemplate.setCreatureName('twisted_womprat') mobileTemplate.setLevel(11) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/variegated_womprat.py b/scripts/mobiles/tatooine/variegated_womprat.py index df0ef125..72cc6401 100644 --- a/scripts/mobiles/tatooine/variegated_womprat.py +++ b/scripts/mobiles/tatooine/variegated_womprat.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('variegated womprat') + mobileTemplate.setCreatureName('variegated_womprat') mobileTemplate.setLevel(12) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/vicious_rill.py b/scripts/mobiles/tatooine/vicious_rill.py index 55a485e3..19262365 100644 --- a/scripts/mobiles/tatooine/vicious_rill.py +++ b/scripts/mobiles/tatooine/vicious_rill.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('vicious rill') + mobileTemplate.setCreatureName('vicious_rill') mobileTemplate.setLevel(3) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/volatile_scyk.py b/scripts/mobiles/tatooine/volatile_scyk.py index 4256fbf1..0262572f 100644 --- a/scripts/mobiles/tatooine/volatile_scyk.py +++ b/scripts/mobiles/tatooine/volatile_scyk.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('volatile scyk') + mobileTemplate.setCreatureName('scyk_volatile') mobileTemplate.setLevel(12) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/wasteland_cupa.py b/scripts/mobiles/tatooine/wasteland_cupa.py index 38ced582..e7bcd8b2 100644 --- a/scripts/mobiles/tatooine/wasteland_cupa.py +++ b/scripts/mobiles/tatooine/wasteland_cupa.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('wasteland cu pa') + mobileTemplate.setCreatureName('wasteland_cu_pa') mobileTemplate.setLevel(20) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/wild_bladeback_boar.py b/scripts/mobiles/tatooine/wild_bladeback_boar.py index a8656878..6568f78f 100644 --- a/scripts/mobiles/tatooine/wild_bladeback_boar.py +++ b/scripts/mobiles/tatooine/wild_bladeback_boar.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('wild bladeback boar') + mobileTemplate.setCreatureName('quest_hero_of_tatooine_ferocious_beast') mobileTemplate.setLevel(40) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/wild_dune_boar.py b/scripts/mobiles/tatooine/wild_dune_boar.py index 19db1593..61a673ae 100644 --- a/scripts/mobiles/tatooine/wild_dune_boar.py +++ b/scripts/mobiles/tatooine/wild_dune_boar.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('wild dune boar') + mobileTemplate.setCreatureName('wild_dune_boar') mobileTemplate.setLevel(50) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/wonderous_cupa.py b/scripts/mobiles/tatooine/wonderous_cupa.py index 681b73d7..377aea78 100644 --- a/scripts/mobiles/tatooine/wonderous_cupa.py +++ b/scripts/mobiles/tatooine/wonderous_cupa.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('wonderous cu pa') + mobileTemplate.setCreatureName('cu_pa_wonderous') mobileTemplate.setLevel(12) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/worrt_gutbuster.py b/scripts/mobiles/tatooine/worrt_gutbuster.py index f09626d9..83f03334 100644 --- a/scripts/mobiles/tatooine/worrt_gutbuster.py +++ b/scripts/mobiles/tatooine/worrt_gutbuster.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('worrt gutbuster') + mobileTemplate.setCreatureName('worrt_gutbuster') mobileTemplate.setLevel(13) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/young_mountain_squill.py b/scripts/mobiles/tatooine/young_mountain_squill.py index c6802f0e..934f5c31 100644 --- a/scripts/mobiles/tatooine/young_mountain_squill.py +++ b/scripts/mobiles/tatooine/young_mountain_squill.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('young mountain squill') + mobileTemplate.setCreatureName('young_mountain_squill') mobileTemplate.setLevel(16) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) diff --git a/scripts/mobiles/tatooine/zucca_boar.py b/scripts/mobiles/tatooine/zucca_boar.py index 722026b0..8b278a9c 100644 --- a/scripts/mobiles/tatooine/zucca_boar.py +++ b/scripts/mobiles/tatooine/zucca_boar.py @@ -6,7 +6,7 @@ from java.util import Vector def addTemplate(core): mobileTemplate = MobileTemplate() - mobileTemplate.setCreatureName('zucca boar') + mobileTemplate.setCreatureName('zucca_boar') mobileTemplate.setLevel(8) mobileTemplate.setDifficulty(0) mobileTemplate.setAttackRange(5) From bec401c57b71569cb281f392e6f5d557e2c63fed Mon Sep 17 00:00:00 2001 From: CharonInferar Date: Mon, 28 Apr 2014 22:52:04 +0200 Subject: [PATCH 18/52] continued sandbox city, public structure problem --- .../houses/player_garden_tatooine_sml_01.py | 15 ++ scripts/houses/player_shuttleport_tatooine.py | 12 ++ .../player/city/garden_tatooine_sml_01.py | 10 + .../city_deed/garden_tatooine_sml_01_deed.py | 8 + .../city_deed/shuttleport_tatooine_deed.py | 8 + .../terminal/city_maintenance_terminal.py | 32 ++- src/services/DevService.java | 1 + src/services/housing/HousingService.java | 19 +- src/services/playercities/PlayerCity.java | 190 +++++++++++++++--- .../playercities/PlayerCityService.java | 23 ++- 10 files changed, 275 insertions(+), 43 deletions(-) create mode 100644 scripts/houses/player_garden_tatooine_sml_01.py create mode 100644 scripts/houses/player_shuttleport_tatooine.py diff --git a/scripts/houses/player_garden_tatooine_sml_01.py b/scripts/houses/player_garden_tatooine_sml_01.py new file mode 100644 index 00000000..516ed6a3 --- /dev/null +++ b/scripts/houses/player_garden_tatooine_sml_01.py @@ -0,0 +1,15 @@ +import sys +from services.housing import HouseTemplate +from engine.resources.scene import Point3D + +def setup(core): + houseTemplate = HouseTemplate("object/tangible/deed/city_deed/shared_garden_tatooine_sml_01_deed.iff", "object/building/player/city/shared_garden_tatooine_sml_01.iff", 0) + + houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(1, 2, 3)) + houseTemplate.addPlaceablePlanet("tatooine") + houseTemplate.addPlaceablePlanet("dantooine") + houseTemplate.addPlaceablePlanet("lok") + houseTemplate.setDefaultItemLimit(0) + + core.housingService.addHousingTemplate(houseTemplate) + return \ No newline at end of file diff --git a/scripts/houses/player_shuttleport_tatooine.py b/scripts/houses/player_shuttleport_tatooine.py new file mode 100644 index 00000000..9ff64abc --- /dev/null +++ b/scripts/houses/player_shuttleport_tatooine.py @@ -0,0 +1,12 @@ +import sys +from services.housing import HouseTemplate +from engine.resources.scene import Point3D + +def setup(core): + houseTemplate = HouseTemplate("object/tangible/deed/city_deed/shared_shuttleport_tatooine_deed.iff", "object/building/tatooine/shared_shuttleport_tatooine.iff", 1) + + houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(3.5),float(-0.3),float(3.5))) + houseTemplate.addPlaceablePlanet("tatooine") + houseTemplate.setDefaultItemLimit(0) + core.housingService.addHousingTemplate(houseTemplate) + return \ No newline at end of file diff --git a/scripts/object/building/player/city/garden_tatooine_sml_01.py b/scripts/object/building/player/city/garden_tatooine_sml_01.py index ccad8904..287ca8f0 100644 --- a/scripts/object/building/player/city/garden_tatooine_sml_01.py +++ b/scripts/object/building/player/city/garden_tatooine_sml_01.py @@ -1,4 +1,14 @@ import sys +from engine.resources.scene import Point3D +from engine.resources.scene import Quaternion def setup(core, object): + sign = core.objectService.createChildObject(object, 'object/tangible/sign/player/shared_house_address.iff', -13.7, 3, 9.1, -1, 0, -1) + print(sign) + object.setAttachment("structureSign", sign) + + structureterminal = core.objectService.createChildObject(object, 'object/tangible/terminal/shared_terminal_player_structure.iff', -17.2, 1.5 , 8, 1, 0 ,4) + #structureterminal.setAttachment('radial_filename', 'structure_management_terminal') + structureterminal.setAttachment('housing_parentstruct', object) + return \ No newline at end of file diff --git a/scripts/object/tangible/deed/city_deed/garden_tatooine_sml_01_deed.py b/scripts/object/tangible/deed/city_deed/garden_tatooine_sml_01_deed.py index ccad8904..d3678f09 100644 --- a/scripts/object/tangible/deed/city_deed/garden_tatooine_sml_01_deed.py +++ b/scripts/object/tangible/deed/city_deed/garden_tatooine_sml_01_deed.py @@ -1,4 +1,12 @@ import sys def setup(core, object): + object.setAttachment('radial_filename', 'deeds/structureDeed') + object.setConstructorTemplate('object/building/player/shared_construction_structure.iff') + object.setStructureTemplate('object/tangible/deed/city_deed/shared_garden_tatooine_sml_01_deed.iff') + #object.setLotRequirement(5) + object.setBMR(5) + return + +def use(core, actor, object): return \ No newline at end of file diff --git a/scripts/object/tangible/deed/city_deed/shuttleport_tatooine_deed.py b/scripts/object/tangible/deed/city_deed/shuttleport_tatooine_deed.py index ccad8904..d676ac12 100644 --- a/scripts/object/tangible/deed/city_deed/shuttleport_tatooine_deed.py +++ b/scripts/object/tangible/deed/city_deed/shuttleport_tatooine_deed.py @@ -1,4 +1,12 @@ import sys def setup(core, object): + object.setAttachment('radial_filename', 'deeds/structureDeed') + object.setConstructorTemplate('object/building/player/shared_construction_structure.iff') + object.setStructureTemplate('object/tangible/deed/city_deed/shared_shuttleport_tatooine_deed.iff') + #object.setLotRequirement(5) + object.setBMR(100) + return + +def use(core, actor, object): return \ No newline at end of file diff --git a/scripts/radial/terminal/city_maintenance_terminal.py b/scripts/radial/terminal/city_maintenance_terminal.py index ef951426..e5bab716 100644 --- a/scripts/radial/terminal/city_maintenance_terminal.py +++ b/scripts/radial/terminal/city_maintenance_terminal.py @@ -24,6 +24,10 @@ def createRadial(core, owner, target, radials): radials.add(RadialOptions(3, 121, 0, '@city/city:non_citizen_city_status')) radials.add(RadialOptions(3, 122, 0, '@city/city:rank_info_t')) radials.add(RadialOptions(3, 123, 0, '@city/city:citizen_list_t')) + radials.add(RadialOptions(3, 230, 0, '@city/city:revoke_citizenship')) + + radials.add(RadialOptions(3, 231, 0, 'Add 10 citizens')) + radials.add(RadialOptions(3, 232, 0, 'Deduct 10 citizens')) return @@ -80,14 +84,26 @@ def handleSelection(core, owner, target, option): if owner is not None: handleCitizenList(core, owner, target, option) return - -def handleSetCityName(core, owner, target, option): - window = core.suiService.createInputBox(2,'@city/city:city_name_new_t','@city/city:city_name_new_d', owner, target, 0) - returnList = Vector() - returnList.add('txtInput:LocalText') - window.addHandler(0, '', Trigger.TRIGGER_OK, returnList, setnameCallBack) - window.addHandler(1, '', Trigger.TRIGGER_CANCEL, returnList, setnameCallBack) - core.suiService.openSUIWindow(window); + + if option == 231: + if owner is not None: + handle10Add(core, owner, target, option) + return + + if option == 232: + if owner is not None: + handle10Deduct(core, owner, target, option) + return + +def handle10Add(core, owner, target, option): + playerCity = main.NGECore.getInstance().playerCityService.getPlayerCity(owner) + playerCity.Add10MoreCitizens() + return + + +def handle10Deduct(core, owner, target, option): + playerCity = main.NGECore.getInstance().playerCityService.getPlayerCity(owner) + playerCity.Deduct10Citizens() return def setnameCallBack(owner, window, eventType, returnList): diff --git a/src/services/DevService.java b/src/services/DevService.java index e3d8a5d4..b5d204a8 100644 --- a/src/services/DevService.java +++ b/src/services/DevService.java @@ -1231,6 +1231,7 @@ public class DevService implements INetworkDispatch { deed.setBMR(15); deed.setAttributes(); inventory.add(deed); + return; diff --git a/src/services/housing/HousingService.java b/src/services/housing/HousingService.java index 47fdaceb..b4ac1589 100644 --- a/src/services/housing/HousingService.java +++ b/src/services/housing/HousingService.java @@ -74,8 +74,10 @@ public class HousingService implements INetworkDispatch { } if(housingTemplates.containsKey(deed.getTemplate())) - { + { HouseTemplate houseTemplate = housingTemplates.get(deed.getTemplate()); + System.out.println("DEED FOUND " + houseTemplate.getBuildingTemplate()); + System.out.println("DEED TEMP " + deed.getTemplate()); EnterStructurePlacementModeMessage packet = new EnterStructurePlacementModeMessage(deed, houseTemplate.getBuildingTemplate()); actor.getClient().getSession().write(packet.serialize()); } @@ -90,6 +92,7 @@ public class HousingService implements INetworkDispatch { if (deed.getTemplate().contains("cityhall")) structureLotCost = 0; + String structureTemplate = houseTemplate.getBuildingTemplate(); if(!houseTemplate.canBePlacedOn(actor.getPlanet().getName())) @@ -126,6 +129,20 @@ public class HousingService implements INetworkDispatch { // Actor is inside the bounds of a city, so zoning must be checked //actor.setAttachment("Has24HZoningFor",cityActorIsIn.getCityID()); // for testing //actor.setAttachment("Has24HZoningUntil",System.currentTimeMillis()+1000000); // for testing + + + if (deed.getTemplate().contains("shuttleport")){ + + if (actor.getObjectID()!=cityActorIsIn.getMayorID()) + actor.sendSystemMessage("You must be the mayor of this city to place the structure.", (byte) 0); + + if (cityActorIsIn.getRank()<0){ + actor.sendSystemMessage("@city/city:rank_req", (byte) 0); + return; + } + + } + if (actor.getAttachment("Has24HZoningFor")==null || actor.getAttachment("Has24HZoningFor")==null) return; int cityActorHasZoning = (int)actor.getAttachment("Has24HZoningFor"); diff --git a/src/services/playercities/PlayerCity.java b/src/services/playercities/PlayerCity.java index c8d7d2c2..2fbb7179 100644 --- a/src/services/playercities/PlayerCity.java +++ b/src/services/playercities/PlayerCity.java @@ -42,7 +42,7 @@ import engine.resources.scene.Point3D; public class PlayerCity { - public static final int DESERTED = 0; + public static final int NEWCITY = 0; public static final int OUTPOST = 1; public static final int VILLAGE = 2; public static final int TOWNSHIP = 3; @@ -106,8 +106,11 @@ public class PlayerCity { private boolean registered = false; private boolean zoningEnabled = false; - private final long cityUpdateSpan = 7*86400*1000; - private final long legislationPeriod = 21*86400*1000; + //private final long cityUpdateSpan = 7*86400*1000; + private final long cityUpdateSpan = 100*1000; + + //private final long legislationPeriod = 21*86400*1000; + private final long legislationPeriod = 100*1000; private Vector placedStructures = new Vector(); private Vector citizens = new Vector(); @@ -157,36 +160,67 @@ public class PlayerCity { public void processCityUpdate() { // has something changed? System.out.println("processCityUpdate"); - int censusResult = citizens.size(); - // ToDo: Consider 1 rank per update changes - if (censusResult<5){ - setRank(DESERTED); // City is technically not a city anymore - setCityRadius(0); - } + int censusResult = citizens.size(); + int currentRank = getRank(); - if (censusResult>=5 && censusResult<10){ - setRank(OUTPOST); - setCityRadius(150); - } + switch (currentRank) { + case NEWCITY : if (censusResult>=5){ + setRank(++currentRank); // Expand to Outpost + sendCityExpandMailAll(); + } + + if (censusResult<5){ + // kill city + } + break; + + case OUTPOST : if (censusResult>=10){ + setRank(++currentRank); // Expand to Village + sendCityExpandMailAll(); + } + if (censusResult<5){ + setRank(--currentRank); // Contract to Deserted + sendCityContractMailAll(); + } + break; + + case VILLAGE : if (censusResult>=15){ + setRank(++currentRank); // Expand to Township + sendCityExpandMailAll(); + } + if (censusResult<10){ + setRank(--currentRank); // Contract to Outpost + sendCityContractMailAll(); + } + break; + + case TOWNSHIP : if (censusResult>=30){ + setRank(++currentRank); // Expand to City + sendCityExpandMailAll(); + } + if (censusResult<15){ + setRank(--currentRank); // Contract to Village + sendCityContractMailAll(); + } + break; + + case CITY : if (censusResult>=40){ + setRank(++currentRank); // Expand to Metropolis + sendCityExpandMailAll(); + } + if (censusResult<15){ + setRank(--currentRank); // Contract to Township + sendCityContractMailAll(); + } + break; + + case METROPOLIS : if (censusResult<40){ + setRank(--currentRank); // Contract to City + sendCityContractMailAll(); + } + break; + - if (censusResult>=10 && censusResult<15){ - setRank(VILLAGE); - setCityRadius(200); - } - - if (censusResult>=15 && censusResult<30){ - setRank(TOWNSHIP); - setCityRadius(300); - } - - if (censusResult>=30 && censusResult<40){ - setRank(CITY); - setCityRadius(400); - } - - if (censusResult>=40){ - setRank(METROPOLIS); - setCityRadius(450); } // collect taxes @@ -213,6 +247,10 @@ public class PlayerCity { setNextCityUpdate(System.currentTimeMillis()+cityUpdateSpan); } + public void cityFixUp(){ + + } + public void demolishHighRankStructures() { // Check if there are any structures in the city // that require a higher rank than the current one @@ -713,5 +751,95 @@ public class PlayerCity { } } + + public void sendCityExpandMailAll() { + Vector citizenList = getCitizens(); + for (long citizen : citizenList){ + CreatureObject citizenObject = (CreatureObject) NGECore.getInstance().objectService.getObject(citizen); + Mail actorMail = new Mail(); + actorMail.setMailId(NGECore.getInstance().chatService.generateMailId()); + actorMail.setRecieverId(citizen); + actorMail.setStatus(Mail.NEW); + actorMail.setTimeStamp((int) (new Date().getTime() / 1000)); + actorMail.setMessage("@city/city:city_expand_body"); + actorMail.setSubject("@city/city:city_expand_subject"); + actorMail.setSenderName("City " + this.cityName); + + List attachments = new ArrayList(); + WaypointObject constructionWaypoint = (WaypointObject)NGECore.getInstance().objectService.createObject("object/waypoint/shared_world_waypoint_blue.iff", citizenObject.getPlanet(), citizenObject.getPosition().x, 0 ,citizenObject.getPosition().z); + WaypointAttachment attachment = new WaypointAttachment(); + attachment.active = false; + attachment.cellID = constructionWaypoint.getCellId(); + attachment.color = (byte)1; + attachment.name = "City"; + attachment.planetCRC = engine.resources.common.CRC.StringtoCRC(citizenObject.getPlanet().getName()); + attachment.positionX = citizenObject.getPosition().x; + attachment.positionY = 0; + attachment.positionZ = citizenObject.getPosition().z; + attachments.add(attachment); + actorMail.setAttachments(attachments); + + NGECore.getInstance().chatService.storePersistentMessage(actorMail); + + } + } + + public void sendCityContractMailAll() { + + Vector citizenList = getCitizens(); + for (long citizen : citizenList){ + CreatureObject citizenObject = (CreatureObject) NGECore.getInstance().objectService.getObject(citizen); + Mail actorMail = new Mail(); + actorMail.setMailId(NGECore.getInstance().chatService.generateMailId()); + actorMail.setRecieverId(citizen); + actorMail.setStatus(Mail.NEW); + actorMail.setTimeStamp((int) (new Date().getTime() / 1000)); + actorMail.setMessage("@city/city:city_contract_body"); + actorMail.setSubject("@city/city:city_contract_subject"); + actorMail.setSenderName("City " + this.cityName); + + List attachments = new ArrayList(); + WaypointObject constructionWaypoint = (WaypointObject)NGECore.getInstance().objectService.createObject("object/waypoint/shared_world_waypoint_blue.iff", citizenObject.getPlanet(), citizenObject.getPosition().x, 0 ,citizenObject.getPosition().z); + WaypointAttachment attachment = new WaypointAttachment(); + attachment.active = false; + attachment.cellID = constructionWaypoint.getCellId(); + attachment.color = (byte)1; + attachment.name = "City"; + attachment.planetCRC = engine.resources.common.CRC.StringtoCRC(citizenObject.getPlanet().getName()); + attachment.positionX = citizenObject.getPosition().x; + attachment.positionY = 0; + attachment.positionZ = citizenObject.getPosition().z; + attachments.add(attachment); + actorMail.setAttachments(attachments); + + NGECore.getInstance().chatService.storePersistentMessage(actorMail); + } + } + + + + + // Test method to be deleted later + public void Add10MoreCitizens() { + synchronized(citizens){ + for (int i=0;i<10;i++){ + this.citizens.add(this.getMayorID()); + } + + } + } + + + // Test method to be deleted later + public void Deduct10Citizens() { + int citizenCount = this.getCitizens().size(); + synchronized(citizens){ + this.citizens.clear(); + + for (int i=0;i playerCities = new Vector(); private int cityID = 0; // This must be persisted or handled via objectservice somehow + // static helper variable to be deleted later + public static boolean sandboxCityBuilt = false; + public PlayerCityService(NGECore core) { this.core = core; @@ -161,8 +165,12 @@ public class PlayerCityService implements INetworkDispatch { core.suiService.openSUIWindow(window); } + + // Test method to be deleted later public void buildSandboxTestCity(CreatureObject founder) { + if (sandboxCityBuilt) + return; float positionX = 2170.0F; float positionY = 1.0F; @@ -205,13 +213,19 @@ public class PlayerCityService implements INetworkDispatch { cityHall.setConditionDamage(100); - positionY = core.terrainService.getHeight(founder.getPlanetId(), positionX, positionZ)+ 2f; - founder.setPosition(new Point3D(positionX+100,positionY,positionZ)); - core.simulationService.teleport(founder, new Point3D(positionX,positionY,positionZ+150), founder.getOrientation(), 0); + positionY = core.terrainService.getHeight(founder.getPlanetId(), positionX, positionZ); + founder.setPosition(new Point3D(positionX,positionY,positionZ+50)); + core.simulationService.teleport(founder, new Point3D(positionX,positionY,positionZ+50), founder.getOrientation(), 0); TangibleObject swoopDeed = (TangibleObject) core.objectService.createObject("object/tangible/deed/vehicle_deed/shared_speederbike_swoop_deed.iff", founder.getPlanet()); SWGObject inventory = founder.getSlottedObject("inventory"); inventory.add(swoopDeed); + + TangibleObject shuttleportDeed = (TangibleObject) core.objectService.createObject("object/tangible/deed/city_deed/shared_shuttleport_tatooine_deed.iff", founder.getPlanet()); + inventory.add(shuttleportDeed); + + TangibleObject garden1 = (TangibleObject) core.objectService.createObject("object/tangible/deed/city_deed/shared_garden_tatooine_sml_01_deed.iff", founder.getPlanet()); + inventory.add(garden1); //structureTemplate = "object/building/player/city/shared_shuttleport_tatooine.iff"; @@ -219,6 +233,7 @@ public class PlayerCityService implements INetworkDispatch { positionX = 2170.0F; positionY = 1.0F; positionZ = -4559.0F; + positionY = core.terrainService.getHeight(founder.getPlanetId(), positionX, positionZ); //StructureObject shuttlePort = (StructureObject) core.objectService.createObject(structureTemplate, 0, founder.getPlanet(), new Point3D(positionX, positionY, positionZ), founder.getOrientation()); BuildingObject shuttlePort = (BuildingObject) core.objectService.createObject(structureTemplate, 0, founder.getPlanet(), new Point3D(positionX, positionY, positionZ), founder.getOrientation()); @@ -238,6 +253,8 @@ public class PlayerCityService implements INetworkDispatch { shuttlePort.setDeedTemplate("object/tangible/deed/city_deed/shared_cityhall_tatooine_deed.iff"); shuttlePort.setBMR(12); shuttlePort.setConditionDamage(100); + + sandboxCityBuilt = true; } From 9fc30d10c4b780d0bc5ae70279b85b3ac05c61f5 Mon Sep 17 00:00:00 2001 From: Treeku Date: Mon, 28 Apr 2014 22:07:32 +0100 Subject: [PATCH 19/52] Removed DeedObject, made buildings simpler --- scripts/commands/harvesteractivate.py | 2 +- scripts/commands/harvesterdeactivate.py | 4 +- scripts/commands/harvesterdiscardhopper.py | 4 +- scripts/commands/harvesterselectresource.py | 4 +- scripts/commands/movefurniture.py | 6 +- scripts/commands/permissionlistmodify.py | 2 +- scripts/commands/resourceemptyhopper.py | 4 +- scripts/commands/rotatefurniture.py | 6 +- .../player_cityhall_corellia_style_01.py | 6 +- .../houses/player_cityhall_naboo_style_01.py | 5 +- .../player_cityhall_tatooine_style_01.py | 5 +- .../player_guildhall_corellia_style_01.py | 5 +- .../player_guildhall_generic_style_01.py | 7 +- .../houses/player_guildhall_naboo_style_01.py | 5 +- .../player_guildhall_tatooine_style_01.py | 5 +- .../player_guildhall_tatooine_style_02.py | 5 +- scripts/houses/player_house_atat.py | 5 +- .../player_house_corellia_large_style_01.py | 5 +- .../player_house_corellia_large_style_02.py | 7 +- .../player_house_corellia_medium_style_01.py | 6 +- .../player_house_corellia_medium_style_02.py | 6 +- .../player_house_corellia_small_style_01.py | 5 +- ...se_corellia_small_style_01_floorplan_02.py | 5 +- .../player_house_corellia_small_style_02.py | 5 +- ...se_corellia_small_style_02_floorplan_02.py | 5 +- .../player_house_generic_large_style_01.py | 7 +- .../player_house_generic_large_style_02.py | 5 +- .../player_house_generic_large_window_s01.py | 5 +- .../player_house_generic_large_window_s02.py | 5 +- .../player_house_generic_medium_style_01.py | 5 +- .../player_house_generic_medium_style_02.py | 5 +- .../player_house_generic_medium_windowed.py | 5 +- ...layer_house_generic_medium_windowed_s02.py | 5 +- .../player_house_generic_small_style_01.py | 5 +- ...use_generic_small_style_01_floorplan_02.py | 5 +- .../player_house_generic_small_style_02.py | 5 +- ...use_generic_small_style_02_floorplan_02.py | 5 +- ...yer_house_generic_small_window_style_03.py | 5 +- .../player_house_generic_small_windowed.py | 5 +- scripts/houses/player_house_hangar.py | 5 +- .../houses/player_house_jabbas_sail_barge.py | 5 +- .../player_house_jedi_meditation_room.py | 5 +- scripts/houses/player_house_mustafar_lg.py | 5 +- .../player_house_sith_meditation_room.py | 5 +- .../deed/city_deed/cityhall_corellia_deed.py | 4 - .../deed/city_deed/cityhall_naboo_deed.py | 4 - .../deed/city_deed/cityhall_tatooine_deed.py | 4 - .../deed/guild_deed/corellia_guild_deed.py | 4 - .../deed/guild_deed/generic_guild_deed.py | 4 - .../deed/guild_deed/naboo_guild_deed.py | 4 - .../deed/guild_deed/tatooine_guild_deed.py | 4 - .../tatooine_guild_style_02_deed.py | 4 - .../harvester_deed/harvester_flora_deed.py | 8 +- .../harvester_flora_deed_elite.py | 8 +- .../harvester_flora_deed_heavy.py | 8 +- .../harvester_flora_deed_medium.py | 8 +- .../deed/harvester_deed/harvester_gas_deed.py | 8 +- .../harvester_gas_deed_elite.py | 8 +- .../harvester_gas_deed_heavy.py | 8 +- .../harvester_gas_deed_medium.py | 8 +- .../harvester_deed/harvester_liquid_deed.py | 8 +- .../harvester_liquid_deed_elite.py | 8 +- .../harvester_liquid_deed_heavy.py | 8 +- .../harvester_liquid_deed_medium.py | 8 +- .../harvester_deed/harvester_moisture_deed.py | 8 +- .../harvester_moisture_deed_elite.py | 8 +- .../harvester_moisture_deed_heavy.py | 8 +- .../harvester_moisture_deed_medium.py | 8 +- .../harvester_ore_deed_elite.py | 8 +- .../harvester_ore_heavy_deed.py | 8 +- .../harvester_deed/harvester_ore_s1_deed.py | 8 +- .../harvester_deed/harvester_ore_s2_deed.py | 8 +- .../corellia_house_large_deed.py | 4 - .../corellia_house_large_style_02_deed.py | 4 - .../corellia_house_medium_deed.py | 4 - .../corellia_house_medium_style_02_deed.py | 4 - .../corellia_house_small_deed.py | 4 - .../corellia_house_small_floor_02_deed.py | 4 - .../corellia_house_small_style_02_deed.py | 4 - ...llia_house_small_style_02_floor_02_deed.py | 4 - .../generic_house_large_deed.py | 4 - .../generic_house_large_style_02_deed.py | 4 - .../generic_house_large_window_s01_deed.py | 4 - .../generic_house_large_window_s02_deed.py | 4 - .../generic_house_medium_deed.py | 4 - .../generic_house_medium_style_02_deed.py | 4 - .../generic_house_medium_windowed_deed.py | 4 - .../generic_house_medium_windowed_s02_deed.py | 4 - .../generic_house_small_deed.py | 4 - .../generic_house_small_floor_02_deed.py | 4 - .../generic_house_small_style_02_deed.py | 4 - ...eric_house_small_style_02_floor_02_deed.py | 4 - .../generic_house_small_window_deed.py | 4 - ...eneric_house_small_window_style_03_deed.py | 4 - .../jabbas_sail_barge_deed.py | 4 - .../player_house_deed/mustafar_house_lg.py | 4 - ...tructure_deed_jedi_meditation_room_deed.py | 4 - ...tructure_deed_sith_meditation_room_deed.py | 4 - .../structure_deed_player_house_hangar.py | 4 - scripts/radial/deeds/harvesterDeed.py | 8 +- src/resources/objects/deed/Deed.java | 37 --- .../objects/deed/Harvester_Deed.java | 121 --------- .../objects/deed/Player_House_Deed.java | 94 ------- src/services/DevService.java | 231 +++++++----------- src/services/housing/HouseTemplate.java | 73 +++--- src/services/housing/HousingService.java | 156 ++++++------ 106 files changed, 416 insertions(+), 825 deletions(-) delete mode 100644 src/resources/objects/deed/Deed.java delete mode 100644 src/resources/objects/deed/Harvester_Deed.java delete mode 100644 src/resources/objects/deed/Player_House_Deed.java diff --git a/scripts/commands/harvesteractivate.py b/scripts/commands/harvesteractivate.py index 5411445a..f05ede73 100644 --- a/scripts/commands/harvesteractivate.py +++ b/scripts/commands/harvesteractivate.py @@ -2,7 +2,7 @@ import sys def setup(): return - + def run(core, actor, target, commandString): core.harvesterService.handleHarvesterActivateCommand(actor, target, commandString) return diff --git a/scripts/commands/harvesterdeactivate.py b/scripts/commands/harvesterdeactivate.py index 3a225b3f..7989148f 100644 --- a/scripts/commands/harvesterdeactivate.py +++ b/scripts/commands/harvesterdeactivate.py @@ -2,9 +2,7 @@ import sys def setup(): return - + def run(core, actor, target, commandString): core.harvesterService.handleHarvesterDeactivateCommand(actor, target, commandString) return - - \ No newline at end of file diff --git a/scripts/commands/harvesterdiscardhopper.py b/scripts/commands/harvesterdiscardhopper.py index 3a52f754..6ae345b9 100644 --- a/scripts/commands/harvesterdiscardhopper.py +++ b/scripts/commands/harvesterdiscardhopper.py @@ -2,10 +2,8 @@ import sys def setup(): return - + def run(core, actor, target, commandString): actor.sendSystemMessage('handleEmptyHarvester', 0) core.harvesterService.handleEmptyHarvester(actor, target, commandString) return - - \ No newline at end of file diff --git a/scripts/commands/harvesterselectresource.py b/scripts/commands/harvesterselectresource.py index 69c8c725..cc1c18aa 100644 --- a/scripts/commands/harvesterselectresource.py +++ b/scripts/commands/harvesterselectresource.py @@ -2,9 +2,7 @@ import sys def setup(): return - + def run(core, actor, target, commandString): core.harvesterService.handleHarvesterSelectResourceCommand(actor, target, commandString) return - - \ No newline at end of file diff --git a/scripts/commands/movefurniture.py b/scripts/commands/movefurniture.py index 1f4a7148..d07ea1da 100644 --- a/scripts/commands/movefurniture.py +++ b/scripts/commands/movefurniture.py @@ -3,7 +3,7 @@ from engine.resources.scene import Point3D def setup(): return - + def run(core, actor, target, commandString): tarObj = core.objectService.getObject(actor.getTargetId()) container = actor.getContainer() @@ -28,10 +28,8 @@ def run(core, actor, target, commandString): elif parsedMsg[0] == "left": core.simulationService.transform(tarObj, Point3D(float(parsedMsg[1]) * -0.01, 0, 0)) return - elif container.getTemplate() == "object/cell/shared_cell.iff": actor.sendSystemMessage("You do not have permission to access that container!", 0) return - + return - \ No newline at end of file diff --git a/scripts/commands/permissionlistmodify.py b/scripts/commands/permissionlistmodify.py index 8c0108ba..5d75a1e2 100644 --- a/scripts/commands/permissionlistmodify.py +++ b/scripts/commands/permissionlistmodify.py @@ -2,7 +2,7 @@ import sys def setup(): return - + def run(core, actor, target, commandString): permissionType = 'Undetermined' commandArgs = commandString.split(' ') diff --git a/scripts/commands/resourceemptyhopper.py b/scripts/commands/resourceemptyhopper.py index 3a225b3f..7989148f 100644 --- a/scripts/commands/resourceemptyhopper.py +++ b/scripts/commands/resourceemptyhopper.py @@ -2,9 +2,7 @@ import sys def setup(): return - + def run(core, actor, target, commandString): core.harvesterService.handleHarvesterDeactivateCommand(actor, target, commandString) return - - \ No newline at end of file diff --git a/scripts/commands/rotatefurniture.py b/scripts/commands/rotatefurniture.py index 9d019d0c..18fbfe35 100644 --- a/scripts/commands/rotatefurniture.py +++ b/scripts/commands/rotatefurniture.py @@ -3,7 +3,7 @@ from engine.resources.scene import Point3D def setup(): return - + def run(core, actor, target, commandString): tarObj = core.objectService.getObject(actor.getTargetId()) @@ -20,10 +20,8 @@ def run(core, actor, target, commandString): elif parsedMsg[0] == "roll": core.simulationService.transform(tarObj, float(parsedMsg[1]), Point3D(0, 0, 1)) # this is messed up ??? return - elif container.getTemplate() == "object/cell/shared_cell.iff": actor.sendSystemMessage("You do not have permission to access that container!", 0) return - + return - \ No newline at end of file diff --git a/scripts/houses/player_cityhall_corellia_style_01.py b/scripts/houses/player_cityhall_corellia_style_01.py index 7b9e070b..ff396cb0 100644 --- a/scripts/houses/player_cityhall_corellia_style_01.py +++ b/scripts/houses/player_cityhall_corellia_style_01.py @@ -2,13 +2,15 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/city_deed/shared_cityhall_corellia_deed.iff", "object/building/player/city/shared_cityhall_corellia.iff", 0) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(1, 2, 3)) houseTemplate.addPlaceablePlanet("corellia") houseTemplate.addPlaceablePlanet("talus") houseTemplate.setDefaultItemLimit(400) + houseTemplate.setBaseMaintenanceRate(308) + + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) - core.housingService.addHousingTemplate(houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_cityhall_naboo_style_01.py b/scripts/houses/player_cityhall_naboo_style_01.py index 0e9a8335..8bb52c69 100644 --- a/scripts/houses/player_cityhall_naboo_style_01.py +++ b/scripts/houses/player_cityhall_naboo_style_01.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/city_deed/shared_cityhall_naboo_deed.iff", "object/building/player/city/shared_cityhall_naboo.iff", 0) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(1, 2, 3)) @@ -10,6 +10,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("rori") houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.setDefaultItemLimit(400) + houseTemplate.setBaseMaintenanceRate(308) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_cityhall_tatooine_style_01.py b/scripts/houses/player_cityhall_tatooine_style_01.py index da337900..766ed7cf 100644 --- a/scripts/houses/player_cityhall_tatooine_style_01.py +++ b/scripts/houses/player_cityhall_tatooine_style_01.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/city_deed/shared_cityhall_tatooine_deed.iff", "object/building/player/city/shared_cityhall_tatooine.iff", 0) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(1, 2, 3)) @@ -10,6 +10,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(400) + houseTemplate.setBaseMaintenanceRate(308) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_guildhall_corellia_style_01.py b/scripts/houses/player_guildhall_corellia_style_01.py index d48d14e0..31cb89f8 100644 --- a/scripts/houses/player_guildhall_corellia_style_01.py +++ b/scripts/houses/player_guildhall_corellia_style_01.py @@ -2,13 +2,14 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/guild_deed/shared_corellia_guild_deed.iff", "object/building/player/shared_player_guildhall_corellia_style_01.iff", 5) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(6), float(3), float(18.4))) houseTemplate.addPlaceablePlanet("corellia") houseTemplate.addPlaceablePlanet("talus") houseTemplate.setDefaultItemLimit(400) + houseTemplate.setBaseMaintenanceRate(100) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_guildhall_generic_style_01.py b/scripts/houses/player_guildhall_generic_style_01.py index a52507ea..a60c94d6 100644 --- a/scripts/houses/player_guildhall_generic_style_01.py +++ b/scripts/houses/player_guildhall_generic_style_01.py @@ -2,8 +2,8 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): - houseTemplate = HouseTemplate("object/tangible/deed/guild_deed/shared_generic_guild_deed.iff", "object/building/player/shared_player_guildhall_generic_style_01.iff", 2) +def setup(housingTemplates): + houseTemplate = HouseTemplate("object/tangible/deed/guild_deed/shared_generic_guild_deed.iff", "object/building/player/shared_player_guildhall_generic_style_01.iff", 5) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(6), float(3), float(18.4))) houseTemplate.addPlaceablePlanet("tatooine") @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(400) + houseTemplate.setBaseMaintenanceRate(100) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_guildhall_naboo_style_01.py b/scripts/houses/player_guildhall_naboo_style_01.py index 61304374..c9a2777e 100644 --- a/scripts/houses/player_guildhall_naboo_style_01.py +++ b/scripts/houses/player_guildhall_naboo_style_01.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/guild_deed/shared_naboo_guild_deed.iff", "object/building/player/shared_player_guildhall_naboo_style_01.iff", 5) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(6), float(3), float(18.4))) @@ -10,6 +10,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("rori") houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.setDefaultItemLimit(400) + houseTemplate.setBaseMaintenanceRate(100) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_guildhall_tatooine_style_01.py b/scripts/houses/player_guildhall_tatooine_style_01.py index edae69a7..05a70c0c 100644 --- a/scripts/houses/player_guildhall_tatooine_style_01.py +++ b/scripts/houses/player_guildhall_tatooine_style_01.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/guild_deed/shared_tatooine_guild_deed.iff", "object/building/player/shared_player_guildhall_tatooine_style_01.iff", 5) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(6), float(3), float(18.4))) @@ -10,6 +10,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(400) + houseTemplate.setBaseMaintenanceRate(100) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_guildhall_tatooine_style_02.py b/scripts/houses/player_guildhall_tatooine_style_02.py index 395b56d6..451bb05a 100644 --- a/scripts/houses/player_guildhall_tatooine_style_02.py +++ b/scripts/houses/player_guildhall_tatooine_style_02.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/guild_deed/shared_tatooine_guild_style_02_deed.iff", "object/building/player/shared_player_guildhall_tatooine_style_02.iff", 5) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(5.5), float(4), float(12.7))) @@ -10,6 +10,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(400) + houseTemplate.setBaseMaintenanceRate(100) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_atat.py b/scripts/houses/player_house_atat.py index 3d0b04d2..1ff4e466 100644 --- a/scripts/houses/player_house_atat.py +++ b/scripts/houses/player_house_atat.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/tcg/series5/shared_structure_deed_player_house_atat.iff", "object/building/player/shared_player_house_atat.iff", 3) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-3.8), float(5.86), float(15.1))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(350) + houseTemplate.setBaseMaintenanceRate(8) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_corellia_large_style_01.py b/scripts/houses/player_house_corellia_large_style_01.py index c47098c5..2ecf7235 100644 --- a/scripts/houses/player_house_corellia_large_style_01.py +++ b/scripts/houses/player_house_corellia_large_style_01.py @@ -2,13 +2,14 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_corellia_house_large_deed.iff", "object/building/player/shared_player_house_corellia_large_style_01.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(6), float(3), float(13.4))) houseTemplate.addPlaceablePlanet("corellia") houseTemplate.addPlaceablePlanet("talus") houseTemplate.setDefaultItemLimit(500) + houseTemplate.setBaseMaintenanceRate(26) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_corellia_large_style_02.py b/scripts/houses/player_house_corellia_large_style_02.py index 6e005a55..7bc5f2da 100644 --- a/scripts/houses/player_house_corellia_large_style_02.py +++ b/scripts/houses/player_house_corellia_large_style_02.py @@ -2,13 +2,14 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): - houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_corellia_house_large_style_02_deed.iff", "object/building/player/shared_player_house_generic_large_style_02.iff", 2) +def setup(housingTemplates): + houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_corellia_house_large_style_02_deed.iff", "object/building/player/shared_player_house_generic_large_style_02.iff", 5) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-13.4), float(3), float(9.1))) houseTemplate.addPlaceablePlanet("corellia") houseTemplate.addPlaceablePlanet("talus") houseTemplate.setDefaultItemLimit(500) + houseTemplate.setBaseMaintenanceRate(26) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_corellia_medium_style_01.py b/scripts/houses/player_house_corellia_medium_style_01.py index d8a293c7..d02dd3a6 100644 --- a/scripts/houses/player_house_corellia_medium_style_01.py +++ b/scripts/houses/player_house_corellia_medium_style_01.py @@ -2,11 +2,13 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_corellia_house_medium_deed.iff", "object/building/player/shared_player_house_corellia_medium_style_01.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(5.3),float(2.26),float(7.7))) houseTemplate.addPlaceablePlanet("talus") houseTemplate.setDefaultItemLimit(200) - core.housingService.addHousingTemplate(houseTemplate) + houseTemplate.setBaseMaintenanceRate(18) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) + return \ No newline at end of file diff --git a/scripts/houses/player_house_corellia_medium_style_02.py b/scripts/houses/player_house_corellia_medium_style_02.py index a0472e2e..41559ba0 100644 --- a/scripts/houses/player_house_corellia_medium_style_02.py +++ b/scripts/houses/player_house_corellia_medium_style_02.py @@ -2,12 +2,14 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_corellia_house_medium_style_02_deed.iff", "object/building/player/shared_player_house_corellia_medium_style_02.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(5.3), float(2.26), float(7.7))) houseTemplate.addPlaceablePlanet("corellia") houseTemplate.addPlaceablePlanet("talus") houseTemplate.setDefaultItemLimit(200) - core.housingService.addHousingTemplate(houseTemplate) + houseTemplate.setBaseMaintenanceRate(18) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) + return \ No newline at end of file diff --git a/scripts/houses/player_house_corellia_small_style_01.py b/scripts/houses/player_house_corellia_small_style_01.py index acae7c15..96de8802 100644 --- a/scripts/houses/player_house_corellia_small_style_01.py +++ b/scripts/houses/player_house_corellia_small_style_01.py @@ -2,13 +2,14 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_corellia_house_small_deed.iff", "object/building/player/shared_player_house_corellia_small_style_01.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-7.39), float(2.36), float(2))) houseTemplate.addPlaceablePlanet("corellia") houseTemplate.addPlaceablePlanet("talus") houseTemplate.setDefaultItemLimit(200) + houseTemplate.setBaseMaintenanceRate(8) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_corellia_small_style_01_floorplan_02.py b/scripts/houses/player_house_corellia_small_style_01_floorplan_02.py index 5781e8eb..bf670367 100644 --- a/scripts/houses/player_house_corellia_small_style_01_floorplan_02.py +++ b/scripts/houses/player_house_corellia_small_style_01_floorplan_02.py @@ -2,13 +2,14 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_corellia_house_small_floor_02_deed.iff", "object/building/player/shared_player_house_corellia_small_style_01_floorplan_02.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-7.39), float(2.36), float(2))) houseTemplate.addPlaceablePlanet("corellia") houseTemplate.addPlaceablePlanet("talus") houseTemplate.setDefaultItemLimit(200) + houseTemplate.setBaseMaintenanceRate(8) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_corellia_small_style_02.py b/scripts/houses/player_house_corellia_small_style_02.py index 1e55a1ed..5baf48fd 100644 --- a/scripts/houses/player_house_corellia_small_style_02.py +++ b/scripts/houses/player_house_corellia_small_style_02.py @@ -2,13 +2,14 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_corellia_house_small_style_02_deed.iff", "object/building/player/shared_player_house_corellia_small_style_02.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-1.9), float(2.86), float(8.35))) houseTemplate.addPlaceablePlanet("corellia") houseTemplate.addPlaceablePlanet("talus") houseTemplate.setDefaultItemLimit(200) + houseTemplate.setBaseMaintenanceRate(8) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_corellia_small_style_02_floorplan_02.py b/scripts/houses/player_house_corellia_small_style_02_floorplan_02.py index 6e7feff8..914fa313 100644 --- a/scripts/houses/player_house_corellia_small_style_02_floorplan_02.py +++ b/scripts/houses/player_house_corellia_small_style_02_floorplan_02.py @@ -2,13 +2,14 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_corellia_house_small_style_02_floor_02_deed.iff", "object/building/player/shared_player_house_corellia_small_style_02_floorplan_02.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-1.9), float(2.86), float(8.35))) houseTemplate.addPlaceablePlanet("corellia") houseTemplate.addPlaceablePlanet("talus") houseTemplate.setDefaultItemLimit(200) + houseTemplate.setBaseMaintenanceRate(8) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_generic_large_style_01.py b/scripts/houses/player_house_generic_large_style_01.py index 645038ca..aa933d9d 100644 --- a/scripts/houses/player_house_generic_large_style_01.py +++ b/scripts/houses/player_house_generic_large_style_01.py @@ -2,8 +2,8 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): - houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_generic_house_large_style_02_deed.iff", "object/building/player/shared_player_house_generic_large_style_02.iff", 2) +def setup(housingTemplates): + houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_generic_house_large_style_02_deed.iff", "object/building/player/shared_player_house_generic_large_style_02.iff", 5) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(6), float(3), float(13.4))) houseTemplate.addPlaceablePlanet("tatooine") @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(500) + houseTemplate.setBaseMaintenanceRate(26) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_generic_large_style_02.py b/scripts/houses/player_house_generic_large_style_02.py index 6ee98363..a64b27dc 100644 --- a/scripts/houses/player_house_generic_large_style_02.py +++ b/scripts/houses/player_house_generic_large_style_02.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_generic_house_large_deed.iff", "object/building/player/shared_player_house_generic_large_style_01.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-13.4), float(3), float(9.1))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(500) + houseTemplate.setBaseMaintenanceRate(26) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_generic_large_window_s01.py b/scripts/houses/player_house_generic_large_window_s01.py index 66c1b69a..031f8296 100644 --- a/scripts/houses/player_house_generic_large_window_s01.py +++ b/scripts/houses/player_house_generic_large_window_s01.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_generic_house_large_window_s01_deed.iff", "object/building/player/shared_player_house_generic_large_window_s01.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-13.7), float(3), float(9.1))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(500) + houseTemplate.setBaseMaintenanceRate(26) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_generic_large_window_s02.py b/scripts/houses/player_house_generic_large_window_s02.py index fba62f6c..d5919f4d 100644 --- a/scripts/houses/player_house_generic_large_window_s02.py +++ b/scripts/houses/player_house_generic_large_window_s02.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_generic_house_large_window_s02_deed.iff", "object/building/player/shared_player_house_generic_large_window_s02.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(10.4), float(3), float(-11))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(500) + houseTemplate.setBaseMaintenanceRate(26) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_generic_medium_style_01.py b/scripts/houses/player_house_generic_medium_style_01.py index e8473868..3d0beb4e 100644 --- a/scripts/houses/player_house_generic_medium_style_01.py +++ b/scripts/houses/player_house_generic_medium_style_01.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_generic_house_medium_deed.iff", "object/building/player/shared_player_house_generic_medium_style_01.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(5.3),float(2.26),float(7.7))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(200) + houseTemplate.setBaseMaintenanceRate(18) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_generic_medium_style_02.py b/scripts/houses/player_house_generic_medium_style_02.py index 7bd2db7b..b8aa1bf6 100644 --- a/scripts/houses/player_house_generic_medium_style_02.py +++ b/scripts/houses/player_house_generic_medium_style_02.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_generic_house_medium_style_02_deed.iff", "object/building/player/shared_player_house_generic_medium_style_02.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(5.3), float(2.26), float(7.7))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(200) + houseTemplate.setBaseMaintenanceRate(18) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_generic_medium_windowed.py b/scripts/houses/player_house_generic_medium_windowed.py index e10c4b17..9ddc528a 100644 --- a/scripts/houses/player_house_generic_medium_windowed.py +++ b/scripts/houses/player_house_generic_medium_windowed.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_generic_house_medium_windowed_deed.iff", "object/building/player/shared_player_house_generic_medium_windowed.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(5.5), float(2.26), float(7.8))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(200) + houseTemplate.setBaseMaintenanceRate(18) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_generic_medium_windowed_s02.py b/scripts/houses/player_house_generic_medium_windowed_s02.py index 9c69e156..692f620b 100644 --- a/scripts/houses/player_house_generic_medium_windowed_s02.py +++ b/scripts/houses/player_house_generic_medium_windowed_s02.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_generic_house_medium_windowed_s02_deed.iff", "object/building/player/shared_player_house_generic_medium_windowed_s02.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(5.5), float(2.26), float(7.8))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(200) + houseTemplate.setBaseMaintenanceRate(18) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_generic_small_style_01.py b/scripts/houses/player_house_generic_small_style_01.py index 778d50da..3c225c31 100644 --- a/scripts/houses/player_house_generic_small_style_01.py +++ b/scripts/houses/player_house_generic_small_style_01.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_generic_house_small_deed.iff", "object/building/player/shared_player_house_generic_small_style_01.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-7.39), float(2.36), float(2))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(200) + houseTemplate.setBaseMaintenanceRate(8) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_generic_small_style_01_floorplan_02.py b/scripts/houses/player_house_generic_small_style_01_floorplan_02.py index e20ec536..e06a6316 100644 --- a/scripts/houses/player_house_generic_small_style_01_floorplan_02.py +++ b/scripts/houses/player_house_generic_small_style_01_floorplan_02.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_generic_house_small_floor_02_deed.iff", "object/building/player/shared_player_house_generic_small_style_01_floorplan_02.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-7.39), float(2.36), float(2))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(200) + houseTemplate.setBaseMaintenanceRate(8) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_generic_small_style_02.py b/scripts/houses/player_house_generic_small_style_02.py index 87121425..c32a0b84 100644 --- a/scripts/houses/player_house_generic_small_style_02.py +++ b/scripts/houses/player_house_generic_small_style_02.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_generic_house_small_style_02_deed.iff", "object/building/player/shared_player_house_generic_small_style_02.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-1.9), float(2.86), float(8.35))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(200) + houseTemplate.setBaseMaintenanceRate(8) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_generic_small_style_02_floorplan_02.py b/scripts/houses/player_house_generic_small_style_02_floorplan_02.py index 72ef35ac..a2ffe757 100644 --- a/scripts/houses/player_house_generic_small_style_02_floorplan_02.py +++ b/scripts/houses/player_house_generic_small_style_02_floorplan_02.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_generic_house_small_style_02_floor_02_deed.iff", "object/building/player/shared_player_house_generic_small_style_02_floorplan_02.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-1.9), float(2.86), float(8.35))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(200) + houseTemplate.setBaseMaintenanceRate(8) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_generic_small_window_style_03.py b/scripts/houses/player_house_generic_small_window_style_03.py index 260c2476..9adf8ff0 100644 --- a/scripts/houses/player_house_generic_small_window_style_03.py +++ b/scripts/houses/player_house_generic_small_window_style_03.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_generic_house_small_window_style_03_deed.iff", "object/building/player/shared_player_house_generic_small_window_style_03.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-6.6), float(2.36), float(6.3))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(200) + houseTemplate.setBaseMaintenanceRate(8) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_generic_small_windowed.py b/scripts/houses/player_house_generic_small_windowed.py index 4f2293ab..71439b6a 100644 --- a/scripts/houses/player_house_generic_small_windowed.py +++ b/scripts/houses/player_house_generic_small_windowed.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_generic_house_small_window_deed.iff", "object/building/player/shared_player_house_generic_small_windowed.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-7.39), float(2.36), float(2))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(200) + houseTemplate.setBaseMaintenanceRate(8) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_hangar.py b/scripts/houses/player_house_hangar.py index f3eab890..01373883 100644 --- a/scripts/houses/player_house_hangar.py +++ b/scripts/houses/player_house_hangar.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/tcg/series5/shared_structure_deed_player_house_hangar.iff", "object/building/player/shared_player_house_hangar.iff", 3) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(9.2), float(2.86), float(0.8))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(350) + houseTemplate.setBaseMaintenanceRate(8) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_jabbas_sail_barge.py b/scripts/houses/player_house_jabbas_sail_barge.py index abc84451..c39e9c25 100644 --- a/scripts/houses/player_house_jabbas_sail_barge.py +++ b/scripts/houses/player_house_jabbas_sail_barge.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_jabbas_sail_barge_deed.iff", "object/building/player/shared_player_house_jabbas_sail_barge.iff", 3) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(0), float(2.86), float(-3.5))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(350) + houseTemplate.setBaseMaintenanceRate(8) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_jedi_meditation_room.py b/scripts/houses/player_house_jedi_meditation_room.py index df257c29..6ed97065 100644 --- a/scripts/houses/player_house_jedi_meditation_room.py +++ b/scripts/houses/player_house_jedi_meditation_room.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/tcg/series3/shared_structure_deed_jedi_meditation_room_deed.iff", "object/building/player/shared_player_house_jedi_meditation_room.iff", 3) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(0), float(2.86), float(-3.5))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(350) + houseTemplate.setBaseMaintenanceRate(8) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_mustafar_lg.py b/scripts/houses/player_house_mustafar_lg.py index 8d04566e..891c9e09 100644 --- a/scripts/houses/player_house_mustafar_lg.py +++ b/scripts/houses/player_house_mustafar_lg.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_mustafar_house_lg.iff", "object/building/player/shared_player_house_mustafar_lg.iff", 5) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(1.5), float(2.86), float(13.7))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(200) + houseTemplate.setBaseMaintenanceRate(8) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_sith_meditation_room.py b/scripts/houses/player_house_sith_meditation_room.py index 6e75e875..e1e6a892 100644 --- a/scripts/houses/player_house_sith_meditation_room.py +++ b/scripts/houses/player_house_sith_meditation_room.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/tcg/series3/shared_structure_deed_sith_meditation_room_deed.iff", "object/building/player/shared_player_house_sith_meditation_room.iff", 3) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(3), float(2.86), float(5.7))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(350) + houseTemplate.setBaseMaintenanceRate(8) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/city_deed/cityhall_corellia_deed.py b/scripts/object/tangible/deed/city_deed/cityhall_corellia_deed.py index d76c4b31..07ab9319 100644 --- a/scripts/object/tangible/deed/city_deed/cityhall_corellia_deed.py +++ b/scripts/object/tangible/deed/city_deed/cityhall_corellia_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/shared_construction_structure.iff') - object.setStructureTemplate('object/tangible/deed/city_deed/shared_cityhall_corellia_deed.iff') - #object.setLotRequirement(5) - object.setBMR(308) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/city_deed/cityhall_naboo_deed.py b/scripts/object/tangible/deed/city_deed/cityhall_naboo_deed.py index 51249c92..07ab9319 100644 --- a/scripts/object/tangible/deed/city_deed/cityhall_naboo_deed.py +++ b/scripts/object/tangible/deed/city_deed/cityhall_naboo_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/shared_construction_structure.iff') - object.setStructureTemplate('object/tangible/deed/city_deed/shared_cityhall_naboo_deed.iff') - #object.setLotRequirement(5) - object.setBMR(308) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/city_deed/cityhall_tatooine_deed.py b/scripts/object/tangible/deed/city_deed/cityhall_tatooine_deed.py index d0afdb68..07ab9319 100644 --- a/scripts/object/tangible/deed/city_deed/cityhall_tatooine_deed.py +++ b/scripts/object/tangible/deed/city_deed/cityhall_tatooine_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/shared_construction_structure.iff') - object.setStructureTemplate('object/tangible/deed/city_deed/shared_cityhall_tatooine_deed.iff') - #object.setLotRequirement(5) - object.setBMR(308) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/guild_deed/corellia_guild_deed.py b/scripts/object/tangible/deed/guild_deed/corellia_guild_deed.py index 4551ea56..07ab9319 100644 --- a/scripts/object/tangible/deed/guild_deed/corellia_guild_deed.py +++ b/scripts/object/tangible/deed/guild_deed/corellia_guild_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_guildhall_corellia_style_01.iff') - object.setStructureTemplate('object/tangible/deed/guild_deed/shared_corellia_guild_deed.iff') - object.setLotRequirement(5) - object.setBMR(100) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/guild_deed/generic_guild_deed.py b/scripts/object/tangible/deed/guild_deed/generic_guild_deed.py index e7bc0a46..07ab9319 100644 --- a/scripts/object/tangible/deed/guild_deed/generic_guild_deed.py +++ b/scripts/object/tangible/deed/guild_deed/generic_guild_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_guildhall_corellia_style_01.iff') - object.setStructureTemplate('object/tangible/deed/guild_deed/shared_generic_guild_deed.iff') - object.setLotRequirement(5) - object.setBMR(100) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/guild_deed/naboo_guild_deed.py b/scripts/object/tangible/deed/guild_deed/naboo_guild_deed.py index 773614bf..07ab9319 100644 --- a/scripts/object/tangible/deed/guild_deed/naboo_guild_deed.py +++ b/scripts/object/tangible/deed/guild_deed/naboo_guild_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_guildhall_naboo_style_01.iff') - object.setStructureTemplate('object/tangible/deed/guild_deed/shared_naboo_guild_deed.iff') - object.setLotRequirement(5) - object.setBMR(100) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/guild_deed/tatooine_guild_deed.py b/scripts/object/tangible/deed/guild_deed/tatooine_guild_deed.py index fe254f2c..07ab9319 100644 --- a/scripts/object/tangible/deed/guild_deed/tatooine_guild_deed.py +++ b/scripts/object/tangible/deed/guild_deed/tatooine_guild_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_guildhall_tatooine_style_01.iff') - object.setStructureTemplate('object/tangible/deed/guild_deed/shared_tatooine_guild_deed.iff') - object.setLotRequirement(5) - object.setBMR(100) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/guild_deed/tatooine_guild_style_02_deed.py b/scripts/object/tangible/deed/guild_deed/tatooine_guild_style_02_deed.py index 8560e4bb..07ab9319 100644 --- a/scripts/object/tangible/deed/guild_deed/tatooine_guild_style_02_deed.py +++ b/scripts/object/tangible/deed/guild_deed/tatooine_guild_style_02_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_guildhall_tatooine_style_02.iff') - object.setStructureTemplate('object/tangible/deed/guild_deed/shared_tatooine_guild_style_02_deed.iff') - object.setLotRequirement(5) - object.setBMR(100) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_flora_deed.py b/scripts/object/tangible/deed/harvester_deed/harvester_flora_deed.py index bc69c878..10d24ebd 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_flora_deed.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_flora_deed.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_1.iff') - object.setStructureTemplate('object/installation/mining_organic/shared_mining_organic_flora_farm.iff') - object.setLotRequirement(1) - object.setBMR(16) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_1.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_organic/shared_mining_organic_flora_farm.iff') + object.setAttachment('LotRequirement', 1) + object.setIntAttribute('examine_maintenance_rate', 16) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_flora_deed_elite.py b/scripts/object/tangible/deed/harvester_deed/harvester_flora_deed_elite.py index 3bda16b3..8a14fe9a 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_flora_deed_elite.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_flora_deed_elite.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') - object.setStructureTemplate('object/installation/mining_organic/shared_mining_organic_flora_farm_elite.iff') - object.setLotRequirement(3) - object.setBMR(120) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_organic/shared_mining_organic_flora_farm_elite.iff') + object.setAttachment('LotRequirement', 3) + object.setIntAttribute('examine_maintenance_rate', 120) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_flora_deed_heavy.py b/scripts/object/tangible/deed/harvester_deed/harvester_flora_deed_heavy.py index 419f60f5..1006c18b 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_flora_deed_heavy.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_flora_deed_heavy.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') - object.setStructureTemplate('object/installation/mining_organic/shared_mining_organic_flora_farm_heavy.iff') - object.setLotRequirement(1) - object.setBMR(90) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_organic/shared_mining_organic_flora_farm_heavy.iff') + object.setAttachment('LotRequirement', 1) + object.setIntAttribute('examine_maintenance_rate', 90) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_flora_deed_medium.py b/scripts/object/tangible/deed/harvester_deed/harvester_flora_deed_medium.py index 9eb27e8b..41c49098 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_flora_deed_medium.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_flora_deed_medium.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_2.iff') - object.setStructureTemplate('object/installation/mining_organic/shared_mining_organic_flora_farm_medium.iff') - object.setLotRequirement(1) - object.setBMR(60) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_2.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_organic/shared_mining_organic_flora_farm_medium.iff') + object.setAttachment('LotRequirement', 1) + object.setIntAttribute('examine_maintenance_rate', 60) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_gas_deed.py b/scripts/object/tangible/deed/harvester_deed/harvester_gas_deed.py index 5a4a2404..d11eb62d 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_gas_deed.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_gas_deed.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_1.iff') - object.setStructureTemplate('object/installation/mining_gas/shared_mining_gas_harvester_style_1.iff') - object.setLotRequirement(1) - object.setBMR(16) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_1.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_gas/shared_mining_gas_harvester_style_1.iff') + object.setAttachment('LotRequirement', 1) + object.setIntAttribute('examine_maintenance_rate', 16) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_gas_deed_elite.py b/scripts/object/tangible/deed/harvester_deed/harvester_gas_deed_elite.py index f560acdf..0ea574be 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_gas_deed_elite.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_gas_deed_elite.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') - object.setStructureTemplate('object/installation/mining_gas/shared_mining_gas_harvester_style_4.iff') - object.setLotRequirement(3) - object.setBMR(120) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_gas/shared_mining_gas_harvester_style_4.iff') + object.setAttachment('LotRequirement', 3) + object.setIntAttribute('examine_maintenance_rate', 120) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_gas_deed_heavy.py b/scripts/object/tangible/deed/harvester_deed/harvester_gas_deed_heavy.py index c9bbd64b..d77581cf 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_gas_deed_heavy.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_gas_deed_heavy.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') - object.setStructureTemplate('object/installation/mining_gas/shared_mining_gas_harvester_style_3.iff') - object.setLotRequirement(1) - object.setBMR(90) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_gas/shared_mining_gas_harvester_style_3.iff') + object.setAttachment('LotRequirement', 1) + object.setIntAttribute('examine_maintenance_rate', 90) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_gas_deed_medium.py b/scripts/object/tangible/deed/harvester_deed/harvester_gas_deed_medium.py index 10a7007a..4e999ccb 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_gas_deed_medium.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_gas_deed_medium.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_2.iff') - object.setStructureTemplate('object/installation/mining_gas/shared_mining_gas_harvester_style_2.iff') - object.setLotRequirement(1) - object.setBMR(60) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_2.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_gas/shared_mining_gas_harvester_style_2.iff') + object.setAttachment('LotRequirement', 1) + object.setIntAttribute('examine_maintenance_rate', 60) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_liquid_deed.py b/scripts/object/tangible/deed/harvester_deed/harvester_liquid_deed.py index b0455145..39590829 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_liquid_deed.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_liquid_deed.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_1.iff') - object.setStructureTemplate('object/installation/mining_liquid/shared_mining_liquid_harvester_style_1.iff') - object.setLotRequirement(1) - object.setBMR(16) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_1.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_liquid/shared_mining_liquid_harvester_style_1.iff') + object.setAttachment('LotRequirement', 1) + object.setIntAttribute('examine_maintenance_rate', 16) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_liquid_deed_elite.py b/scripts/object/tangible/deed/harvester_deed/harvester_liquid_deed_elite.py index 723f3eab..b3eaba78 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_liquid_deed_elite.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_liquid_deed_elite.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') - object.setStructureTemplate('object/installation/mining_liquid/shared_mining_liquid_harvester_style_4.iff') - object.setLotRequirement(3) - object.setBMR(120) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_liquid/shared_mining_liquid_harvester_style_4.iff') + object.setAttachment('LotRequirement', 3) + object.setIntAttribute('examine_maintenance_rate', 120) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_liquid_deed_heavy.py b/scripts/object/tangible/deed/harvester_deed/harvester_liquid_deed_heavy.py index 773e722d..48a97f35 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_liquid_deed_heavy.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_liquid_deed_heavy.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') - object.setStructureTemplate('object/installation/mining_liquid/shared_mining_liquid_harvester_style_3.iff') - object.setLotRequirement(1) - object.setBMR(90) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_liquid/shared_mining_liquid_harvester_style_3.iff') + object.setAttachment('LotRequirement', 1) + object.setIntAttribute('examine_maintenance_rate', 90) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_liquid_deed_medium.py b/scripts/object/tangible/deed/harvester_deed/harvester_liquid_deed_medium.py index 1f40b563..3ece7d28 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_liquid_deed_medium.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_liquid_deed_medium.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_2.iff') - object.setStructureTemplate('object/installation/mining_liquid/shared_mining_liquid_harvester_style_2.iff') - object.setLotRequirement(1) - object.setBMR(60) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_2.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_liquid/shared_mining_liquid_harvester_style_2.iff') + object.setAttachment('LotRequirement', 1) + object.setIntAttribute('examine_maintenance_rate', 60) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_moisture_deed.py b/scripts/object/tangible/deed/harvester_deed/harvester_moisture_deed.py index 0241a524..213a8d53 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_moisture_deed.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_moisture_deed.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_1.iff') - object.setStructureTemplate('object/installation/mining_liquid/shared_mining_liquid_moisture_harvester.iff') - object.setLotRequirement(1) - object.setBMR(16) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_1.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_liquid/shared_mining_liquid_moisture_harvester.iff') + object.setAttachment('LotRequirement', 1) + object.setIntAttribute('examine_maintenance_rate', 16) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_moisture_deed_elite.py b/scripts/object/tangible/deed/harvester_deed/harvester_moisture_deed_elite.py index e008e004..ba7cf3f9 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_moisture_deed_elite.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_moisture_deed_elite.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') - object.setStructureTemplate('object/installation/mining_liquid/shared_mining_liquid_moisture_harvester_elite.iff') - object.setLotRequirement(3) - object.setBMR(120) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_liquid/shared_mining_liquid_moisture_harvester_elite.iff') + object.setAttachment('LotRequirement', 3) + object.setIntAttribute('examine_maintenance_rate', 120) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_moisture_deed_heavy.py b/scripts/object/tangible/deed/harvester_deed/harvester_moisture_deed_heavy.py index e9206a11..5ca18dc4 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_moisture_deed_heavy.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_moisture_deed_heavy.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') - object.setStructureTemplate('object/installation/mining_liquid/shared_mining_liquid_moisture_harvester_heavy.iff') - object.setLotRequirement(1) - object.setBMR(90) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_liquid/shared_mining_liquid_moisture_harvester_heavy.iff') + object.setAttachment('LotRequirement', 1) + object.setIntAttribute('examine_maintenance_rate', 90) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_moisture_deed_medium.py b/scripts/object/tangible/deed/harvester_deed/harvester_moisture_deed_medium.py index 2d1b24d2..e14043d2 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_moisture_deed_medium.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_moisture_deed_medium.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_2.iff') - object.setStructureTemplate('object/installation/mining_liquid/shared_mining_liquid_moisture_harvester_medium.iff') - object.setLotRequirement(1) - object.setBMR(60) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_2.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_liquid/shared_mining_liquid_moisture_harvester_medium.iff') + object.setAttachment('LotRequirement', 1) + object.setIntAttribute('examine_maintenance_rate', 60) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_ore_deed_elite.py b/scripts/object/tangible/deed/harvester_deed/harvester_ore_deed_elite.py index b8f86d6e..6c3db03a 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_ore_deed_elite.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_ore_deed_elite.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') - object.setStructureTemplate('object/installation/mining_ore/shared_mining_ore_harvester_elite.iff') - object.setLotRequirement(3) - object.setBMR(120) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_ore/shared_mining_ore_harvester_elite.iff') + object.setAttachment('LotRequirement', 3) + object.setIntAttribute('examine_maintenance_rate', 120) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_ore_heavy_deed.py b/scripts/object/tangible/deed/harvester_deed/harvester_ore_heavy_deed.py index 28978e9c..e15fd8b4 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_ore_heavy_deed.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_ore_heavy_deed.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') - object.setStructureTemplate('object/installation/mining_ore/shared_mining_ore_harvester_heavy.iff') - object.setLotRequirement(1) - object.setBMR(90) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_heavy.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_ore/shared_mining_ore_harvester_heavy.iff') + object.setAttachment('LotRequirement', 1) + object.setIntAttribute('examine_maintenance_rate', 90) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_ore_s1_deed.py b/scripts/object/tangible/deed/harvester_deed/harvester_ore_s1_deed.py index ca897eb7..42fbafc3 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_ore_s1_deed.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_ore_s1_deed.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_1.iff') - object.setStructureTemplate('object/installation/mining_ore/shared_mining_ore_harvester_style_1.iff') - object.setLotRequirement(1) - object.setBMR(16) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_1.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_ore/shared_mining_ore_harvester_style_1.iff') + object.setAttachment('LotRequirement', 1) + object.setIntAttribute('examine_maintenance_rate', 16) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/harvester_deed/harvester_ore_s2_deed.py b/scripts/object/tangible/deed/harvester_deed/harvester_ore_s2_deed.py index 97ca86a7..e619c2ee 100644 --- a/scripts/object/tangible/deed/harvester_deed/harvester_ore_s2_deed.py +++ b/scripts/object/tangible/deed/harvester_deed/harvester_ore_s2_deed.py @@ -2,8 +2,8 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/harvesterDeed') - object.setConstructorTemplate('object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_2.iff') - object.setStructureTemplate('object/installation/mining_ore/shared_mining_ore_harvester_style_2.iff') - object.setLotRequirement(1) - object.setBMR(60) + object.setAttachment('ConstructorTemplate', 'object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_2.iff') + object.setAttachment('StructureTemplate', 'object/installation/mining_ore/shared_mining_ore_harvester_style_2.iff') + object.setAttachment('LotRequirement', 1) + object.setIntAttribute('examine_maintenance_rate', 60) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/player_house_deed/corellia_house_large_deed.py b/scripts/object/tangible/deed/player_house_deed/corellia_house_large_deed.py index 7110ddc2..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/corellia_house_large_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/corellia_house_large_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_corellia_large_style_01.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_corellia_house_large_deed.iff') - object.setLotRequirement(5) - object.setBMR(26) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/corellia_house_large_style_02_deed.py b/scripts/object/tangible/deed/player_house_deed/corellia_house_large_style_02_deed.py index fd316e06..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/corellia_house_large_style_02_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/corellia_house_large_style_02_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_corellia_large_style_02.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_corellia_house_large_style_02_deed.iff') - object.setLotRequirement(5) - object.setBMR(26) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/corellia_house_medium_deed.py b/scripts/object/tangible/deed/player_house_deed/corellia_house_medium_deed.py index 0794bf6a..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/corellia_house_medium_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/corellia_house_medium_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_player_house_corellia_medium_style_01.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_corellia_house_medium_deed.iff') - object.setLotRequirement(2) - object.setBMR(18) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/corellia_house_medium_style_02_deed.py b/scripts/object/tangible/deed/player_house_deed/corellia_house_medium_style_02_deed.py index ff561136..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/corellia_house_medium_style_02_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/corellia_house_medium_style_02_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_player_house_corellia_medium_style_02.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_corellia_house_medium_style_02_deed.iff') - object.setLotRequirement(2) - object.setBMR(18) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/corellia_house_small_deed.py b/scripts/object/tangible/deed/player_house_deed/corellia_house_small_deed.py index 412cb41f..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/corellia_house_small_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/corellia_house_small_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_corellia_small_style_01.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_corellia_house_small_deed.iff') - object.setLotRequirement(2) - object.setBMR(8) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/corellia_house_small_floor_02_deed.py b/scripts/object/tangible/deed/player_house_deed/corellia_house_small_floor_02_deed.py index d7c943c8..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/corellia_house_small_floor_02_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/corellia_house_small_floor_02_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_corellia_small_style_01.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_corellia_house_small_floor_02_deed.iff') - object.setLotRequirement(2) - object.setBMR(8) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/corellia_house_small_style_02_deed.py b/scripts/object/tangible/deed/player_house_deed/corellia_house_small_style_02_deed.py index 5d4d2b6a..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/corellia_house_small_style_02_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/corellia_house_small_style_02_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_corellia_small_style_02.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_corellia_house_small_style_02_deed.iff') - object.setLotRequirement(2) - object.setBMR(8) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/corellia_house_small_style_02_floor_02_deed.py b/scripts/object/tangible/deed/player_house_deed/corellia_house_small_style_02_floor_02_deed.py index af5a8c82..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/corellia_house_small_style_02_floor_02_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/corellia_house_small_style_02_floor_02_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_corellia_small_style_02.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_corellia_house_small_style_02_floor_02_deed.iff') - object.setLotRequirement(2) - object.setBMR(8) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/generic_house_large_deed.py b/scripts/object/tangible/deed/player_house_deed/generic_house_large_deed.py index 8762d716..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/generic_house_large_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/generic_house_large_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_generic_large_style_01.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_generic_house_large_deed.iff') - object.setLotRequirement(5) - object.setBMR(26) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/generic_house_large_style_02_deed.py b/scripts/object/tangible/deed/player_house_deed/generic_house_large_style_02_deed.py index 33ac2fb5..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/generic_house_large_style_02_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/generic_house_large_style_02_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_generic_large_style_02.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_generic_house_large_style_02_deed.iff') - object.setLotRequirement(2) - object.setBMR(26) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/generic_house_large_window_s01_deed.py b/scripts/object/tangible/deed/player_house_deed/generic_house_large_window_s01_deed.py index 5c5fe535..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/generic_house_large_window_s01_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/generic_house_large_window_s01_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_generic_large_style_01.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_generic_house_large_window_s01_deed.iff') - object.setLotRequirement(2) - object.setBMR(26) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/generic_house_large_window_s02_deed.py b/scripts/object/tangible/deed/player_house_deed/generic_house_large_window_s02_deed.py index 8ad15d4e..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/generic_house_large_window_s02_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/generic_house_large_window_s02_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_generic_large_style_02.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_generic_house_large_window_s02_deed.iff') - object.setLotRequirement(2) - object.setBMR(26) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/generic_house_medium_deed.py b/scripts/object/tangible/deed/player_house_deed/generic_house_medium_deed.py index 98fbe311..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/generic_house_medium_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/generic_house_medium_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_generic_medium_style_01.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_generic_house_medium_deed.iff') - object.setLotRequirement(2) - object.setBMR(18) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/generic_house_medium_style_02_deed.py b/scripts/object/tangible/deed/player_house_deed/generic_house_medium_style_02_deed.py index f8941dc1..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/generic_house_medium_style_02_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/generic_house_medium_style_02_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_generic_medium_style_02.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_generic_house_medium_style_02_deed.iff') - object.setLotRequirement(2) - object.setBMR(18) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/generic_house_medium_windowed_deed.py b/scripts/object/tangible/deed/player_house_deed/generic_house_medium_windowed_deed.py index 28949069..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/generic_house_medium_windowed_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/generic_house_medium_windowed_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_generic_medium_style_01.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_generic_house_medium_windowed_deed.iff') - object.setLotRequirement(2) - object.setBMR(18) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/generic_house_medium_windowed_s02_deed.py b/scripts/object/tangible/deed/player_house_deed/generic_house_medium_windowed_s02_deed.py index b784b441..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/generic_house_medium_windowed_s02_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/generic_house_medium_windowed_s02_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_generic_medium_style_02.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_generic_house_medium_windowed_s02_deed.iff') - object.setLotRequirement(2) - object.setBMR(18) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/generic_house_small_deed.py b/scripts/object/tangible/deed/player_house_deed/generic_house_small_deed.py index 15cdd156..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/generic_house_small_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/generic_house_small_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_generic_small_style_01.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_generic_house_small_deed.iff') - object.setLotRequirement(2) - object.setBMR(8) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/generic_house_small_floor_02_deed.py b/scripts/object/tangible/deed/player_house_deed/generic_house_small_floor_02_deed.py index 830af4dc..5483eb6d 100644 --- a/scripts/object/tangible/deed/player_house_deed/generic_house_small_floor_02_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/generic_house_small_floor_02_deed.py @@ -2,8 +2,4 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_generic_small_style_02.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_generic_house_small_floor_02_deed.iff') - object.setLotRequirement(2) - object.setBMR(8) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/player_house_deed/generic_house_small_style_02_deed.py b/scripts/object/tangible/deed/player_house_deed/generic_house_small_style_02_deed.py index 54ae2ecb..29729ab1 100644 --- a/scripts/object/tangible/deed/player_house_deed/generic_house_small_style_02_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/generic_house_small_style_02_deed.py @@ -2,8 +2,4 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_generic_small_style_02.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_generic_house_small_style_02_deed.iff') - object.setLotRequirement(2) - object.setBMR(8) return diff --git a/scripts/object/tangible/deed/player_house_deed/generic_house_small_style_02_floor_02_deed.py b/scripts/object/tangible/deed/player_house_deed/generic_house_small_style_02_floor_02_deed.py index 4ca8c73e..29729ab1 100644 --- a/scripts/object/tangible/deed/player_house_deed/generic_house_small_style_02_floor_02_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/generic_house_small_style_02_floor_02_deed.py @@ -2,8 +2,4 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_generic_small_style_02.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_generic_house_small_style_02_floor_02_deed.iff') - object.setLotRequirement(2) - object.setBMR(8) return diff --git a/scripts/object/tangible/deed/player_house_deed/generic_house_small_window_deed.py b/scripts/object/tangible/deed/player_house_deed/generic_house_small_window_deed.py index 5bad5b8e..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/generic_house_small_window_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/generic_house_small_window_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_generic_small_style_01.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_generic_house_small_window_deed.iff') - object.setLotRequirement(2) - object.setBMR(8) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/generic_house_small_window_style_03_deed.py b/scripts/object/tangible/deed/player_house_deed/generic_house_small_window_style_03_deed.py index 3666b630..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/generic_house_small_window_style_03_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/generic_house_small_window_style_03_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_generic_small_style_02.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_generic_house_small_window_style_03_deed.iff') - object.setLotRequirement(2) - object.setBMR(8) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/jabbas_sail_barge_deed.py b/scripts/object/tangible/deed/player_house_deed/jabbas_sail_barge_deed.py index 515f876b..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/jabbas_sail_barge_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/jabbas_sail_barge_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_jabbas_sail_barge.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_jabbas_sail_barge_deed.iff') - object.setLotRequirement(2) - object.setBMR(8) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/mustafar_house_lg.py b/scripts/object/tangible/deed/player_house_deed/mustafar_house_lg.py index 9232137e..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/mustafar_house_lg.py +++ b/scripts/object/tangible/deed/player_house_deed/mustafar_house_lg.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_structure.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_mustafar_house_lg.iff') - object.setLotRequirement(2) - object.setBMR(8) return def use(core, actor, object): diff --git a/scripts/object/tangible/tcg/series3/structure_deed_jedi_meditation_room_deed.py b/scripts/object/tangible/tcg/series3/structure_deed_jedi_meditation_room_deed.py index 3abde0fa..01e3b335 100644 --- a/scripts/object/tangible/tcg/series3/structure_deed_jedi_meditation_room_deed.py +++ b/scripts/object/tangible/tcg/series3/structure_deed_jedi_meditation_room_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_jedi_meditation_room.iff') - object.setStructureTemplate('object/tangible/tcg/series3/shared_structure_deed_jedi_meditation_room_deed.iff') - object.setLotRequirement(3) - object.setBMR(8) return def use(core, actor, object): diff --git a/scripts/object/tangible/tcg/series3/structure_deed_sith_meditation_room_deed.py b/scripts/object/tangible/tcg/series3/structure_deed_sith_meditation_room_deed.py index d069e412..01e3b335 100644 --- a/scripts/object/tangible/tcg/series3/structure_deed_sith_meditation_room_deed.py +++ b/scripts/object/tangible/tcg/series3/structure_deed_sith_meditation_room_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_sith_meditation_room.iff') - object.setStructureTemplate('object/tangible/tcg/series3/shared_structure_deed_sith_meditation_room_deed.iff') - object.setLotRequirement(3) - object.setBMR(8) return def use(core, actor, object): diff --git a/scripts/object/tangible/tcg/series5/structure_deed_player_house_hangar.py b/scripts/object/tangible/tcg/series5/structure_deed_player_house_hangar.py index 3abde0fa..01e3b335 100644 --- a/scripts/object/tangible/tcg/series5/structure_deed_player_house_hangar.py +++ b/scripts/object/tangible/tcg/series5/structure_deed_player_house_hangar.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_jedi_meditation_room.iff') - object.setStructureTemplate('object/tangible/tcg/series3/shared_structure_deed_jedi_meditation_room_deed.iff') - object.setLotRequirement(3) - object.setBMR(8) return def use(core, actor, object): diff --git a/scripts/radial/deeds/harvesterDeed.py b/scripts/radial/deeds/harvesterDeed.py index cc8fdc7a..d25e0503 100644 --- a/scripts/radial/deeds/harvesterDeed.py +++ b/scripts/radial/deeds/harvesterDeed.py @@ -3,19 +3,17 @@ import sys def createRadial(core, owner, target, radials): radials.clear() - radials.add(RadialOptions(0, 21, 1, 'Use Deed')) + radials.add(RadialOptions(0, 21, 3, 'Use Deed')) #radials.add(RadialOptions(0, 7, 1, '111111')) #radials.add(RadialOptions(0, 15, 1, '')) #radials.add(RadialOptions(0, 61, 1, '')) return def handleSelection(core, owner, target, option): - if option == 21 and target: - owner.setAttachment('UsingHarvesterDeed', '1'); - core.harvesterService.enterStructurePlacementMode(target,owner) + core.harvesterService.enterStructurePlacementMode(owner, target) if option == 61 and target: - object5 = core.harvesterService.constructionSite(owner,target) + object5 = core.harvesterService.constructionSite(owner, target) core.objectService.useObject(owner, target) if option == 15 and target: core.objectService.destroyObject(target) diff --git a/src/resources/objects/deed/Deed.java b/src/resources/objects/deed/Deed.java deleted file mode 100644 index f98c6398..00000000 --- a/src/resources/objects/deed/Deed.java +++ /dev/null @@ -1,37 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2013 - * - * This File is part of NGECore2. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . - * - * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. - * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. - ******************************************************************************/ -package resources.objects.deed; - -import engine.resources.scene.Planet; -import engine.resources.scene.Point3D; -import engine.resources.scene.Quaternion; -import resources.objects.tangible.TangibleObject; - -/** - * @author Charon - */ -public class Deed extends TangibleObject { - - public Deed(long objectID, Planet planet, String template, Point3D position, Quaternion orientation){ - super(objectID, planet, template, position, orientation); - } -} diff --git a/src/resources/objects/deed/Harvester_Deed.java b/src/resources/objects/deed/Harvester_Deed.java deleted file mode 100644 index 945d9eb3..00000000 --- a/src/resources/objects/deed/Harvester_Deed.java +++ /dev/null @@ -1,121 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2013 - * - * This File is part of NGECore2. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . - * - * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. - * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. - ******************************************************************************/ -package resources.objects.deed; -import com.sleepycat.persist.model.Persistent; - -import engine.resources.scene.Planet; -import engine.resources.scene.Point3D; -import engine.resources.scene.Quaternion; - -/** - * @author Charon - */ -@Persistent(version=0) -public class Harvester_Deed extends Deed { - - private String name; - private String structureTemplate; - private String constructorTemplate; - private int outputHopperCapacity=0; - private int BER=0; - private int BMR=0; - private int surplusMaintenance=0; - private int surplusPower=0; - private int lotRequirement; - - - public Harvester_Deed(long objectID, Planet planet, String template, Point3D position, Quaternion orientation){ - super(objectID, planet, template, position, orientation); - } - - public int getOutputHopperCapacity() { - return outputHopperCapacity; - } - public void setOutputHopperCapacity(int outputHopperCapacity) { - this.outputHopperCapacity = outputHopperCapacity; - } - public int getBER() { - return BER; - } - public void setBER(int bER) { - this.BER = bER; - } - public String getName() { - return name; - } - public void setName(String name) { - this.name = name; - } - public String getStructureTemplate() { - return structureTemplate; - } - public void setStructureTemplate(String structureTemplate) { - this.structureTemplate = structureTemplate; - } - public int getLotRequirement() { - return lotRequirement; - } - public void setLotRequirement(int lotRequirement) { - this.lotRequirement = lotRequirement; - } - public String getConstructorTemplate() { - return constructorTemplate; - } - public void setConstructorTemplate(String constructorTemplate) { - this.constructorTemplate = constructorTemplate; - } - public int getBMR() { - return BMR; - } - public void setBMR(int BMR) { - this.BMR = BMR; - } - public int getSurplusMaintenance() { - return surplusMaintenance; - } - public void setSurplusMaintenance(int surplusMaintenance) { - this.surplusMaintenance = surplusMaintenance; - } - - public int getSurplusPower() { - return surplusPower; - } - - public void setSurplusPower(int surplusPower) { - this.surplusPower = surplusPower; - } - - - public void setAttributes() { - this.getAttributes().put("@obj_attr_n:volume", "1"); - this.getAttributes().put("@obj_attr_n:examine_maintenance_rate", ""+this.getBMR() + "/hour"); - if (this.getSurplusMaintenance()>0) - this.getAttributes().put("@obj_attr_n:examine_maintenance", ""+this.getSurplusMaintenance()); - - //this.getAttributes().put("@obj_attr_n:energy_maintenance", "0"); - if (this.getSurplusPower()>0) - this.getAttributes().put("@obj_attr_n:examine_power", ""+this.getSurplusPower()); - - this.getAttributes().put("@obj_attr_n:examine_hoppersize", ""+this.getOutputHopperCapacity()); - this.getAttributes().put("@obj_attr_n:examine_extractionrate", ""+this.getBER()); - } -} diff --git a/src/resources/objects/deed/Player_House_Deed.java b/src/resources/objects/deed/Player_House_Deed.java deleted file mode 100644 index 448f3da9..00000000 --- a/src/resources/objects/deed/Player_House_Deed.java +++ /dev/null @@ -1,94 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2013 - * - * This File is part of NGECore2. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . - * - * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. - * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. - ******************************************************************************/ -package resources.objects.deed; -import com.sleepycat.persist.model.Persistent; - -import engine.resources.scene.Planet; -import engine.resources.scene.Point3D; -import engine.resources.scene.Quaternion; - -/** - * @author Seefo - * @author Charon - */ - -@Persistent(version=0) -public class Player_House_Deed extends Deed { - - private String name; - private String structureTemplate; - private String constructorTemplate; - private int BMR=0; - private int surplusMaintenance=0; - private int lotRequirement; - - - public Player_House_Deed(long objectID, Planet planet, String template, Point3D position, Quaternion orientation){ - super(objectID, planet, template, position, orientation); - } - - public String getName() { - return name; - } - public void setName(String name) { - this.name = name; - } - public String getStructureTemplate() { - return structureTemplate; - } - public void setStructureTemplate(String structureTemplate) { - this.structureTemplate = structureTemplate; - } - public int getLotRequirement() { - return lotRequirement; - } - public void setLotRequirement(int lotRequirement) { - this.lotRequirement = lotRequirement; - } - public String getConstructorTemplate() { - return constructorTemplate; - } - public void setConstructorTemplate(String constructorTemplate) { - this.constructorTemplate = constructorTemplate; - } - public int getBMR() { - return BMR; - } - public void setBMR(int BMR) { - this.BMR = BMR; - } - public int getSurplusMaintenance() { - return surplusMaintenance; - } - public void setSurplusMaintenance(int surplusMaintenance) { - this.surplusMaintenance = surplusMaintenance; - } - - public void setAttributes() { - this.getAttributes().put("@obj_attr_n:volume", "1"); - this.getAttributes().put("@obj_attr_n:examine_maintenance_rate", ""+this.getBMR() + "/hour"); - if (this.getSurplusMaintenance()>0) - this.getAttributes().put("@obj_attr_n:examine_maintenance", ""+this.getSurplusMaintenance()); - - - } -} diff --git a/src/services/DevService.java b/src/services/DevService.java index 8a3ce949..3ba062be 100644 --- a/src/services/DevService.java +++ b/src/services/DevService.java @@ -1027,190 +1027,140 @@ public class DevService implements INetworkDispatch { inventory.add(solarSurveyTool); return; case 111: + SWGObject deed1; + // Minerals - String templateString="object/tangible/deed/harvester_deed/shared_harvester_ore_s1_deed.iff"; - Harvester_Deed deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(27344); - deed1.setBER(5); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_ore_s1_deed.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 27344); + deed1.setIntAttribute("examine_maintenance_rate", 5); inventory.add(deed1); - templateString="object/tangible/deed/harvester_deed/shared_harvester_ore_s2_deed.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(27344); - deed1.setBER(11); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_ore_s2_deed.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 27344); + deed1.setIntAttribute("examine_maintenance_rate", 11); inventory.add(deed1); - templateString="object/tangible/deed/harvester_deed/shared_harvester_ore_heavy_deed.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(135400); - deed1.setBER(14); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_ore_heavy_deed.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 135400); + deed1.setIntAttribute("examine_maintenance_rate", 14); inventory.add(deed1); - templateString="object/tangible/deed/harvester_deed/shared_harvester_ore_deed_elite.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(250000); - deed1.setBER(44); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_ore_deed_elite.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 250000); + deed1.setIntAttribute("examine_maintenance_rate", 44); inventory.add(deed1); - // Chemicals - templateString="object/tangible/deed/harvester_deed/shared_harvester_liquid_deed.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(27344); - deed1.setBER(5); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_liquid_deed.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 27344); + deed1.setIntAttribute("examine_maintenance_rate", 5); inventory.add(deed1); - templateString="object/tangible/deed/harvester_deed/shared_harvester_liquid_deed_medium.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(27344); - deed1.setBER(11); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_liquid_deed_medium.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 27344); + deed1.setIntAttribute("examine_maintenance_rate", 11); inventory.add(deed1); - templateString="object/tangible/deed/harvester_deed/shared_harvester_liquid_deed_heavy.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(135400); - deed1.setBER(14); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_liquid_deed_heavy.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 135400); + deed1.setIntAttribute("examine_maintenance_rate", 14); inventory.add(deed1); - templateString="object/tangible/deed/harvester_deed/shared_harvester_liquid_deed_elite.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(250000); - deed1.setBER(44); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_liquid_deed_elite.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 250000); + deed1.setIntAttribute("examine_maintenance_rate", 44); inventory.add(deed1); - // Flora - templateString="object/tangible/deed/harvester_deed/shared_harvester_flora_deed.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(27344); - deed1.setBER(5); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_flora_deed.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 27344); + deed1.setIntAttribute("examine_maintenance_rate", 5); inventory.add(deed1); - templateString="object/tangible/deed/harvester_deed/shared_harvester_flora_deed_medium.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(27344); - deed1.setBER(11); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_flora_deed_medium.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 27344); + deed1.setIntAttribute("examine_maintenance_rate", 11); inventory.add(deed1); - templateString="object/tangible/deed/harvester_deed/shared_harvester_flora_deed_heavy.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(135400); - deed1.setBER(14); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_flora_deed_heavy.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 135400); + deed1.setIntAttribute("examine_maintenance_rate", 14); inventory.add(deed1); - templateString="object/tangible/deed/harvester_deed/shared_harvester_flora_deed_elite.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(250000); - deed1.setBER(44); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_flora_deed_elite.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 250000); + deed1.setIntAttribute("examine_maintenance_rate", 44); inventory.add(deed1); // Gas - templateString="object/tangible/deed/harvester_deed/shared_harvester_gas_deed.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(27344); - deed1.setBER(5); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_gas_deed.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 27344); + deed1.setIntAttribute("examine_maintenance_rate", 5); inventory.add(deed1); - templateString="object/tangible/deed/harvester_deed/shared_harvester_gas_deed_medium.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(27344); - deed1.setBER(11); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_gas_deed_medium.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 27344); + deed1.setIntAttribute("examine_maintenance_rate", 11); inventory.add(deed1); - templateString="object/tangible/deed/harvester_deed/shared_harvester_gas_deed_heavy.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(135400); - deed1.setBER(14); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_gas_deed_heavy.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 135400); + deed1.setIntAttribute("examine_maintenance_rate", 14); inventory.add(deed1); - templateString="object/tangible/deed/harvester_deed/shared_harvester_gas_deed_elite.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(250000); - deed1.setBER(44); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_gas_deed_elite.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 250000); + deed1.setIntAttribute("examine_maintenance_rate", 44); inventory.add(deed1); - // Water - templateString="object/tangible/deed/harvester_deed/shared_harvester_moisture_deed.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(27344); - deed1.setBER(5); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_moisture_deed.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 27344); + deed1.setIntAttribute("examine_maintenance_rate", 5); inventory.add(deed1); - templateString="object/tangible/deed/harvester_deed/shared_harvester_moisture_deed_medium.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(27344); - deed1.setBER(11); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_moisture_deed_medium.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 27344); + deed1.setIntAttribute("examine_maintenance_rate", 11); inventory.add(deed1); - templateString="object/tangible/deed/harvester_deed/shared_harvester_moisture_deed_heavy.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(135400); - deed1.setBER(14); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_moisture_deed_heavy.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 135400); + deed1.setIntAttribute("examine_maintenance_rate", 14); inventory.add(deed1); - templateString="object/tangible/deed/harvester_deed/shared_harvester_moisture_deed_elite.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(250000); - deed1.setBER(44); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/harvester_deed/shared_harvester_moisture_deed_elite.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 250000); + deed1.setIntAttribute("examine_maintenance_rate", 44); inventory.add(deed1); - // Generators - templateString="object/tangible/deed/generator_deed/shared_generator_fusion_deed.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(250000); - deed1.setBER(19); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/generator_deed/shared_generator_fusion_deed.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 250000); + deed1.setIntAttribute("examine_maintenance_rate", 19); inventory.add(deed1); - templateString="object/tangible/deed/generator_deed/shared_generator_wind_deed.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(250000); - deed1.setBER(10); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/generator_deed/shared_generator_wind_deed.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 250000); + deed1.setIntAttribute("examine_maintenance_rate", 10); inventory.add(deed1); - templateString="object/tangible/deed/generator_deed/shared_generator_solar_deed.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(250000); - deed1.setBER(15); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/generator_deed/shared_generator_solar_deed.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 250000); + deed1.setIntAttribute("examine_maintenance_rate", 15); inventory.add(deed1); -// templateString="object/tangible/deed/generator_deed/shared_generator_photo_bio_deed.iff"; -// deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); -// deed1.setOutputHopperCapacity(250000); -// deed1.setBER(19); +// deed1 = core.objectService.createObject("object/tangible/deed/generator_deed/shared_generator_photo_bio_deed.iff", planet); +// deed1.setIntAttribute("examine_hoppersize", 250000); +// deed1.setIntAttribute("examine_maintenance_rate", 19); // inventory.add(deed1); - templateString="object/tangible/deed/generator_deed/shared_generator_geothermal_deed.iff"; - deed1 = (Harvester_Deed)core.objectService.createObject(templateString, planet); - deed1.setOutputHopperCapacity(250000); - deed1.setBER(15); - deed1.setAttributes(); + deed1 = core.objectService.createObject("object/tangible/deed/generator_deed/shared_generator_geothermal_deed.iff", planet); + deed1.setIntAttribute("examine_hoppersize", 250000); + deed1.setIntAttribute("examine_maintenance_rate", 15); inventory.add(deed1); + return; case 112: core.resourceService.spawnSpecificResourceContainer("Radioactive", player, 100000); @@ -1218,21 +1168,16 @@ public class DevService implements INetworkDispatch { case 120: // SWGObject houseDeed = core.objectService.createObject("object/tangible/deed/player_house_deed/shared_generic_house_small_deed.iff", planet); // inventory.add(houseDeed); - - templateString="object/tangible/deed/player_house_deed/shared_generic_house_small_deed.iff"; - Player_House_Deed deed = (Player_House_Deed)core.objectService.createObject(templateString, planet); - deed.setBMR(15); - deed.setAttributes(); - inventory.add(deed); - - templateString="object/tangible/deed/city_deed/shared_cityhall_tatooine_deed.iff"; - deed = (Player_House_Deed)core.objectService.createObject(templateString, planet); - deed.setBMR(15); - deed.setAttributes(); - inventory.add(deed); - - return; - + + TangibleObject deed = (TangibleObject) core.objectService.createObject("object/tangible/deed/player_house_deed/shared_generic_house_small_deed.iff", planet); + deed.setIntAttribute("examine_maintenance_rate", 15); + inventory.add(deed); + + deed = (TangibleObject) core.objectService.createObject("object/tangible/deed/city_deed/shared_cityhall_tatooine_deed.iff", planet); + deed.setIntAttribute("examine_maintenance_rate", 15); + inventory.add(deed); + + return; case 125: TangibleObject genericCraftingTool = (TangibleObject) core.objectService.createObject("object/tangible/crafting/station/shared_generic_tool.iff", planet); genericCraftingTool.setCustomName("Generic Crafting Tool"); diff --git a/src/services/housing/HouseTemplate.java b/src/services/housing/HouseTemplate.java index 3918cf55..78f7715f 100644 --- a/src/services/housing/HouseTemplate.java +++ b/src/services/housing/HouseTemplate.java @@ -6,65 +6,76 @@ import java.util.Vector; import engine.resources.scene.Point3D; -public class HouseTemplate -{ +public class HouseTemplate { + private String deedTemplate; private String buildingTemplate; private int lotCost; private int defaultItemLimit; + private int baseMaintenanceRate; private Vector placeablePlanets; private Map buildingSigns; - public HouseTemplate(String deedTemplate, String buildingTemplate, int lotCost) - { + public HouseTemplate(String deedTemplate, String buildingTemplate, int lotCost) { this.deedTemplate = deedTemplate; this.buildingTemplate = buildingTemplate; this.lotCost = lotCost; this.defaultItemLimit = 50; + this.baseMaintenanceRate = 8; this.placeablePlanets = new Vector(); this.buildingSigns = new HashMap(); } - public void addBuildingSign(String signTemplate, Point3D signPosition) - { + public void addBuildingSign(String signTemplate, Point3D signPosition) { buildingSigns.put(signTemplate, signPosition); } - public void addPlaceablePlanet(String planetName) - { + + public void addPlaceablePlanet(String planetName) { this.placeablePlanets.add(planetName); } - public void setDefaultItemLimit(int itemLimit) - { + + public void setDefaultItemLimit(int itemLimit) { this.defaultItemLimit = itemLimit; } - public String getDeedTemplate() - { - return this.deedTemplate; + public String getDeedTemplate() { + return deedTemplate; } - public String getBuildingTemplate() - { - return this.buildingTemplate; + + public String getBuildingTemplate() { + return buildingTemplate; } - public Map getBuildingSigns() - { - return this.buildingSigns; + + public Map getBuildingSigns() { + return buildingSigns; } - public Vector getPlaceablePlanets() - { - return this.placeablePlanets; + + public Vector getPlaceablePlanets() { + return placeablePlanets; } - public boolean canBePlacedOn(String planetName) - { - if(placeablePlanets.contains(planetName)) return true; + + public boolean canBePlacedOn(String planetName) { + if (placeablePlanets.contains(planetName)) { + return true; + } + return false; } - public int getLotCost() - { - return this.lotCost; + + public int getLotCost() { + return lotCost; } - public int getDefaultItemLimit() - { - return this.defaultItemLimit; + + public int getDefaultItemLimit() { + return defaultItemLimit; } + + public int getBaseMaintenanceRate() { + return baseMaintenanceRate; + } + + public void setBaseMaintenanceRate(int baseMaintenanceRate) { + this.baseMaintenanceRate = baseMaintenanceRate; + } + } diff --git a/src/services/housing/HousingService.java b/src/services/housing/HousingService.java index ff85019e..cb923335 100644 --- a/src/services/housing/HousingService.java +++ b/src/services/housing/HousingService.java @@ -39,7 +39,6 @@ import main.NGECore; import protocol.swg.EnterStructurePlacementModeMessage; import resources.objects.building.BuildingObject; import resources.objects.creature.CreatureObject; -import resources.objects.deed.Player_House_Deed; import resources.objects.player.PlayerObject; import resources.objects.tangible.TangibleObject; import services.playercities.PlayerCity; @@ -56,52 +55,60 @@ public class HousingService implements INetworkDispatch { private NGECore core; private Map housingTemplates = new ConcurrentHashMap(); - + private Map houseToDeed = new ConcurrentHashMap(); + public HousingService(NGECore core) { this.core = core; - core.commandService.registerCommand("placestructure"); - core.commandService.registerCommand("movefurniture"); - core.commandService.registerCommand("rotatefurniture"); + + Path p = Paths.get("scripts/houses/"); + + FileVisitor fv = new SimpleFileVisitor() { + @Override + public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException { + core.scriptService.callScript("scripts/houses/", file.getFileName().toString().replace(".py", ""), "setup", housingTemplates); + return FileVisitResult.CONTINUE; + } + }; + + try { + Files.walkFileTree(p, fv); + } catch (IOException e) { + e.printStackTrace(); + } + + housingTemplates.values().forEach((houseTemplate) -> houseToDeed.put(houseTemplate.getBuildingTemplate(), houseTemplate.getDeedTemplate())); } - public void enterStructureMode(CreatureObject actor, TangibleObject deed) - { - if(!actor.getClient().isGM() && !core.terrainService.canBuildAtPosition(actor, actor.getWorldPosition().x, actor.getWorldPosition().z)) - { + public void enterStructureMode(CreatureObject actor, TangibleObject deed) { + if (!actor.getClient().isGM() && !core.terrainService.canBuildAtPosition(actor, actor.getWorldPosition().x, actor.getWorldPosition().z)) { actor.sendSystemMessage("You may not place a structure here.", (byte) 0); // should probably load this from an stf return; } - if(housingTemplates.containsKey(deed.getTemplate())) - { + if (housingTemplates.containsKey(deed.getTemplate())) { HouseTemplate houseTemplate = housingTemplates.get(deed.getTemplate()); EnterStructurePlacementModeMessage packet = new EnterStructurePlacementModeMessage(deed, houseTemplate.getBuildingTemplate()); actor.getClient().getSession().write(packet.serialize()); } } - public void placeStructure(final CreatureObject actor, TangibleObject deed, float positionX, float positionZ, float rotation) - { + public void placeStructure(final CreatureObject actor, TangibleObject deed, float positionX, float positionZ, float rotation) { HouseTemplate houseTemplate = housingTemplates.get(deed.getTemplate()); - Player_House_Deed playerHourseDeed = (Player_House_Deed)core.objectService.getObject(deed.getObjectID()); int structureLotCost = houseTemplate.getLotCost(); String structureTemplate = houseTemplate.getBuildingTemplate(); - if(!houseTemplate.canBePlacedOn(actor.getPlanet().getName())) - { + if (!houseTemplate.canBePlacedOn(actor.getPlanet().getName())) { actor.sendSystemMessage("You may not place this structure on this planet.", (byte) 0); // should probably load this from an stf return; } - if(!actor.getClient().isGM() && !core.terrainService.canBuildAtPosition(actor, positionX, positionZ)) - { + if(!actor.getClient().isGM() && !core.terrainService.canBuildAtPosition(actor, positionX, positionZ)) { actor.sendSystemMessage("You may not place a structure here.", (byte) 0); // should probably load this from an stf return; } // Lot stuff - if(!actor.getPlayerObject().deductLots(structureLotCost)) - { + if (!actor.getPlayerObject().deductLots(structureLotCost)) { actor.sendSystemMessage("You do not have enough available lots to place this structure.", (byte) 0); // should probably load this from an stf return; } @@ -120,10 +127,12 @@ public class HousingService implements INetworkDispatch { TangibleObject sign = (TangibleObject) building.getAttachment("structureSign"); String playerFirstName = actor.getCustomName().split(" ")[0]; - if (sign !=null) + if (sign != null) { sign.setCustomName2(playerFirstName + "'s House"); + } + //building.add(sign); - + core.objectService.destroyObject(deed); // Structure management @@ -133,8 +142,8 @@ public class HousingService implements INetworkDispatch { building.setAttachment("structureOwner", actor.getObjectID()); building.setAttachment("structureAdmins", admins); building.setDeedTemplate(deed.getTemplate()); - building.setBMR(playerHourseDeed.getBMR()); - building.setConditionDamage(100); + building.setMaintenanceAmount(houseTemplate.getBaseMaintenanceRate()); + building.setConditionDamage(100); // Ouch if (structureTemplate.contains("cityhall")){ PlayerCity newCity = core.playerCityService.addNewPlayerCity(actor); @@ -164,39 +173,18 @@ public class HousingService implements INetworkDispatch { } @SuppressWarnings("unchecked") - public boolean getPermissions(SWGObject player, SWGObject container) - { - if(((Vector) container.getContainer().getAttachment("structureAdmins")).contains(player.getObjectID())) return true; - return false; - } + public boolean getPermissions(SWGObject player, SWGObject container) { + if (((Vector) container.getContainer().getAttachment("structureAdmins")).contains(player.getObjectID())) { + return true; + } - public void addHousingTemplate(HouseTemplate houseTemplate) - { - housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate); - } - - public void loadHousingTemplates() { - Path p = Paths.get("scripts/houses/"); - FileVisitor fv = new SimpleFileVisitor() - { - @Override - public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException - { - System.out.println("Loading housing template " + file.getFileName()); - core.scriptService.callScript("scripts/houses/", file.getFileName().toString().replace(".py", ""), "setup", core); - return FileVisitResult.CONTINUE; - } - }; - try - { - Files.walkFileTree(p, fv); - } - catch (IOException e) { e.printStackTrace(); } + return false; } public void createDestroySUIPage(final SWGObject owner, final TangibleObject target) { - final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); + final BuildingObject building = (BuildingObject) target.getGrandparent(); + //final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); //final BuildingObject building = (BuildingObject) core.objectService.getObject(target.getParentId()); // harvester.getStfFilename(); installation_n .getTemplate(); @@ -253,7 +241,8 @@ public class HousingService implements INetworkDispatch { public void createCodeWindow(SWGObject owner, TangibleObject target) { - final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); + final BuildingObject building = (BuildingObject) target.getGrandparent(); + //final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); //final BuildingObject building = (BuildingObject)target; Random rnd = new Random(); final int confirmCode = 100000 + rnd.nextInt(900000); @@ -279,26 +268,27 @@ public class HousingService implements INetworkDispatch { if (returnList.get(0).equals(""+confirmCode)){ // handle creation of correct deed in player inventory PlayerObject player = (PlayerObject) crafter.getSlottedObject("ghost"); - String deedTemplate = building.getDeedTemplate(); - - Player_House_Deed deed = (Player_House_Deed)core.objectService.createObject(deedTemplate, owner.getPlanet()); - if(player.getLotsRemaining()+deed.getLotRequirement()>10){ + HouseTemplate houseTemplate = housingTemplates.get(houseToDeed.get(building.getTemplate())); + + TangibleObject deed = (TangibleObject) core.objectService.createObject(houseTemplate.getDeedTemplate(), owner.getPlanet()); + + if (player.getLotsRemaining() + houseTemplate.getLotCost() > 10){ // Something went wrong or hacking attempt crafter.sendSystemMessage("Structure can't be redeeded. Maximum lot count exceeded.",(byte)1); return; } - - deed.setStructureTemplate(building.getTemplate()); - deed.setSurplusMaintenance((int)building.getMaintenanceAmount()); - deed.setAttributes(); + + deed.setIntAttribute("@obj_attr_n:examine_maintenance_rate", houseTemplate.getBaseMaintenanceRate()); + deed.setIntAttribute("@obj_attr_n:examine_maintenance", (int) building.getMaintenanceAmount()); core.objectService.destroyObject(building.getObjectID()); SWGObject ownerInventory = owner.getSlottedObject("inventory"); ownerInventory.add(deed); - if(player.getLotsRemaining()+deed.getLotRequirement()<=10) - player.setLotsRemaining(player.getLotsRemaining()+deed.getLotRequirement()); + if (player.getLotsRemaining() + houseTemplate.getLotCost() <= 10) { + player.setLotsRemaining(player.getLotsRemaining() + houseTemplate.getLotCost()); + } crafter.sendSystemMessage("@player_structure:processing_destruction",(byte)1); crafter.sendSystemMessage("@player_structure:deed_reclaimed",(byte)1); @@ -320,7 +310,8 @@ public class HousingService implements INetworkDispatch { public void createPayMaintenanceSUIPage(SWGObject owner, TangibleObject target) { CreatureObject creature = (CreatureObject) owner; - final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); + final BuildingObject building = (BuildingObject) target.getGrandparent(); + //final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); final SUIWindow window = core.suiService.createSUIWindow("Script.transfer", owner, target, 10); window.setProperty("bg.caption.lblTitle:Text", "@player_structure:select_amount"); window.setProperty("Prompt.lblPrompt:Text", "@player_structure:select_maint_amount" + @@ -398,7 +389,8 @@ public class HousingService implements INetworkDispatch { } public void createStatusSUIPage(SWGObject owner, TangibleObject target) { - final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); + final BuildingObject building = (BuildingObject) target.getGrandparent(); + //final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); String displayname = "@installation_n:"+building.getStfName(); if (building.getCustomName()!=null) displayname = building.getCustomName(); @@ -450,7 +442,8 @@ public class HousingService implements INetworkDispatch { } public void declareResidency(SWGObject owner, TangibleObject target) { - final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); + final BuildingObject building = (BuildingObject) target.getGrandparent(); + //final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); building.setResidency((CreatureObject)owner); PlayerCity cityActorIsIn = core.playerCityService.getCityObjectIsIn(owner); owner.setAttachment("residentCity", cityActorIsIn.getCityID()); @@ -458,7 +451,8 @@ public class HousingService implements INetworkDispatch { } public void handleListAllItems(SWGObject owner, TangibleObject target) { - final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); + final BuildingObject building = (BuildingObject) target.getGrandparent(); + //final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); String displayname = "@installation_n:"+building.getStfName(); if (building.getCustomName()!=null) displayname = building.getCustomName(); @@ -491,15 +485,17 @@ public class HousingService implements INetworkDispatch { } public void handleDeleteAllItems(SWGObject owner, TangibleObject target) { - final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); + final BuildingObject building = (BuildingObject) target.getGrandparent(); + //final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); //building.getItemsList().clear(); // confirmation needed confirmDeleteAllItems(owner, target); } public void confirmDeleteAllItems(SWGObject owner, TangibleObject target) { - - final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); + + final BuildingObject building = (BuildingObject) target.getGrandparent(); + //final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); Random rnd = new Random(); final int confirmCode = 100000 + rnd.nextInt(900000); @@ -570,7 +566,8 @@ public class HousingService implements INetworkDispatch { } public void handleFindLostItems(SWGObject owner, TangibleObject target) { - final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); + final BuildingObject building = (BuildingObject) target.getGrandparent(); + //final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); String displayname = "@installation_n:"+building.getStfName(); if (building.getCustomName()!=null) displayname = building.getCustomName(); @@ -620,7 +617,8 @@ public class HousingService implements INetworkDispatch { core.staticService.spawnObject("object/tangible/terminal/shared_terminal_player_structure.iff", "tatooine", 0L, 3525.0F, 4.0F, -4800.0F, 0.70F, 0.71F); // I assume that childobject does not get a radial somehow - final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); + final BuildingObject building = (BuildingObject) target.getGrandparent(); + //final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); final SUIWindow window = core.suiService.createInputBox(2,"@player_structure:structure_status","@player_structure:structure_name_prompt", owner, target, 0); window.setProperty("bg.caption.lblTitle:Text", "@player_structure:find_items_search_keyword_title"); window.setProperty("Prompt.lblPrompt:Text", "@player_structure:find_items_search_keyword_prompt"); @@ -666,7 +664,8 @@ public class HousingService implements INetworkDispatch { } public void displayFoundItems(SWGObject owner, TangibleObject target, Vector foundItems) { - final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); + final BuildingObject building = (BuildingObject) target.getGrandparent(); + //final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); final SUIWindow window = core.suiService.createSUIWindow("Script.listBox", owner, target, 0); window.setProperty("bg.caption.lblTitle:Text", "@player_structure:find_items_search_keyword_title"); window.setProperty("Prompt.lblPrompt:Text", "@player_structure:find_items_search_list_prompt"); @@ -707,13 +706,15 @@ public class HousingService implements INetworkDispatch { } public void handlePermissionEntry(CreatureObject owner, TangibleObject target) { - final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); + final BuildingObject building = (BuildingObject) target.getGrandparent(); + //final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); String listName = "ENTRY"; building.setPermissionEntry(listName,owner); } public void handlePermissionBan(CreatureObject owner, TangibleObject target) { - final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); + final BuildingObject building = (BuildingObject) target.getGrandparent(); + //final BuildingObject building = (BuildingObject) target.getAttachment("housing_parentstruct"); String listName = "BAN"; building.setPermissionBan(listName,owner); } @@ -754,8 +755,9 @@ public class HousingService implements INetworkDispatch { } public String fetchPrivacyString(TangibleObject object){ - final BuildingObject building = (BuildingObject) object.getAttachment("housing_parentstruct"); - return building.getPrivacyString(); + //final BuildingObject building = (BuildingObject) object.getAttachment("housing_parentstruct"); + //return building.getPrivacyString(); + return ((BuildingObject) object.getGrandparent()).getPrivacyString(); } From b0e2a490f69b127d328297cd7e33dfb40d5176c7 Mon Sep 17 00:00:00 2001 From: Waverunner Date: Mon, 28 Apr 2014 17:34:39 -0400 Subject: [PATCH 20/52] Changes to MissionObjective, started working on player bounties --- .gitignore | 3 +- odb/bounties/placeholder.txt | 0 scripts/commands/setgodmode.py | 8 +- scripts/conversation/missions/deliver.py | 8 +- .../tangible/terminal/terminal_mission.py | 4 +- .../terminal/terminal_mission_bounty.py | 1 + src/main/NGECore.java | 6 + src/resources/common/BountyListItem.java | 105 ++++++++++ .../objectives/BountyMissionObjective.java | 80 ++++++++ .../objectives/DeliveryMissionObjective.java | 26 +-- .../objectives/DestroyMissionObjective.java | 19 +- .../mission/MissionMessageBuilder.java | 14 +- .../objects/mission/MissionObject.java | 26 ++- src/services/CharacterService.java | 2 + src/services/GroupService.java | 10 + src/services/PlayerService.java | 22 ++ src/services/combat/CombatService.java | 2 + src/services/mission/MissionObjective.java | 11 +- src/services/mission/MissionService.java | 194 +++++++++++++++--- 19 files changed, 461 insertions(+), 80 deletions(-) create mode 100644 odb/bounties/placeholder.txt create mode 100644 src/resources/common/BountyListItem.java create mode 100644 src/resources/objectives/BountyMissionObjective.java diff --git a/.gitignore b/.gitignore index 63147709..ab30f143 100644 --- a/.gitignore +++ b/.gitignore @@ -60,7 +60,8 @@ odb/chatRooms/je.info.* odb/resourcehistory/je.info.* odb/resourceroots/je.info.* odb/resources/je.info.* -odb/auction/je.info.* +odb/auction/je.info.* +odb/bounties/je.info.* # External tool builders .externalToolBuilders/ diff --git a/odb/bounties/placeholder.txt b/odb/bounties/placeholder.txt new file mode 100644 index 00000000..e69de29b diff --git a/scripts/commands/setgodmode.py b/scripts/commands/setgodmode.py index e66d7982..65b10b3f 100644 --- a/scripts/commands/setgodmode.py +++ b/scripts/commands/setgodmode.py @@ -99,11 +99,9 @@ def run(core, actor, target, commandString): if (actor.isInStealth()): actor.setInStealth(False) actor.setRadarVisible(True) - actor.sendSystemMessage('You are now visible to other players.', 0) else: actor.setInStealth(True) actor.setRadarVisible(False) - actor.sendSystemMessage('You are now hidden from players. "Stealth Effect" is not implemented, however players still won\'t be able to see you. Type /setgodmode stealth again to be visible.', 0) elif command == 'holoEmote' and arg1: playerObject.setHoloEmote('holoemote_' + arg1) @@ -114,5 +112,9 @@ def run(core, actor, target, commandString): if playerObject.getGodLevel > 0: actor.removeAbility("admin") playerObject.setGodLevel(0) - + + elif command == 'setBounty' and arg1: + core.missionService.createNewBounty(actor, int(arg1)) + return + return diff --git a/scripts/conversation/missions/deliver.py b/scripts/conversation/missions/deliver.py index 5caef3fa..f8ee5667 100644 --- a/scripts/conversation/missions/deliver.py +++ b/scripts/conversation/missions/deliver.py @@ -44,8 +44,8 @@ def handlePickupStage(core, actor, npc, objective, mission): return core.conversationService.sendStopConversation(actor, npc, mission.getMissionDescription(), 'm' + str(mission.getMissionId()) + 'p') - objective.createDeliveryItem() - objective.update() + objective.createDeliveryItem(core, actor) + objective.update(core, actor) return def handleDeliveryStage(core, actor, npc, objective, mission): @@ -56,7 +56,7 @@ def handleDeliveryStage(core, actor, npc, objective, mission): core.conversationService.sendStopConversation(actor, npc, mission.getMissionDescription(), 'm' + str(mission.getMissionId()) + 'r') core.objectService.destroyObject(objective.getDeliveryObject()) - objective.update() + objective.update(core, actor) return def handleCompletionStage(core, actor, npc, objective, mission): @@ -66,5 +66,5 @@ def handleCompletionStage(core, actor, npc, objective, mission): return core.conversationService.sendStopConversation(actor, npc, mission.getMissionDescription(), 'm' + str(mission.getMissionId()) + 's') - objective.complete() + objective.complete(core, actor) return \ No newline at end of file diff --git a/scripts/object/tangible/terminal/terminal_mission.py b/scripts/object/tangible/terminal/terminal_mission.py index ccf684c0..dd9fc3e1 100644 --- a/scripts/object/tangible/terminal/terminal_mission.py +++ b/scripts/object/tangible/terminal/terminal_mission.py @@ -1,9 +1,7 @@ -from resources.common import TerminalType import sys def setup(core, object): - core.mapService.addLocation(object.getPlanet(), 'Mission Terminal', object.getPosition().x, object.getPosition().z, 41, 44, 0) - object.setAttachment("terminalType", TerminalType.MISSION_GENERIC) + object.setAttachment("terminalType", 1) return \ No newline at end of file diff --git a/scripts/object/tangible/terminal/terminal_mission_bounty.py b/scripts/object/tangible/terminal/terminal_mission_bounty.py index ccad8904..4103f954 100644 --- a/scripts/object/tangible/terminal/terminal_mission_bounty.py +++ b/scripts/object/tangible/terminal/terminal_mission_bounty.py @@ -1,4 +1,5 @@ import sys def setup(core, object): + object.setAttachment("terminalType", 2) return \ No newline at end of file diff --git a/src/main/NGECore.java b/src/main/NGECore.java index c99d4912..5f81be51 100644 --- a/src/main/NGECore.java +++ b/src/main/NGECore.java @@ -213,6 +213,7 @@ public class NGECore { private ObjectDatabase resourcesODB; private ObjectDatabase resourceRootsODB; private ObjectDatabase resourceHistoryODB; + private ObjectDatabase bountiesODB; public static boolean PACKET_DEBUG = false; @@ -274,6 +275,7 @@ public class NGECore { resourceRootsODB = new ObjectDatabase("resourceroots", true, false, true); resourceHistoryODB = new ObjectDatabase("resourcehistory", true, false, true); auctionODB = new ObjectDatabase("auction", true, false, true); + bountiesODB = new ObjectDatabase("bounties", true, false, true); // Services loginService = new LoginService(this); @@ -626,6 +628,10 @@ public class NGECore { return chatRoomODB; } + public ObjectDatabase getBountiesODB() { + return bountiesODB; + } + public ObjectDatabase getResourcesODB() { return resourcesODB; } diff --git a/src/resources/common/BountyListItem.java b/src/resources/common/BountyListItem.java new file mode 100644 index 00000000..5581483c --- /dev/null +++ b/src/resources/common/BountyListItem.java @@ -0,0 +1,105 @@ +/******************************************************************************* + * Copyright (c) 2013 + * + * This File is part of NGECore2. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. + * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. + ******************************************************************************/ +package resources.common; + +import java.util.ArrayList; +import java.util.List; + +import com.sleepycat.persist.model.Entity; +import com.sleepycat.persist.model.PrimaryKey; + +@Entity +public class BountyListItem { + @PrimaryKey + private long objectId; + private int creditReward; + private String profession; + private String faction; + private String name; + private List assignedHunters; + + public BountyListItem() { } + + public BountyListItem(long objectId, int creditReward, String profession, String faction, String name) { + this.objectId = objectId; + this.creditReward = creditReward; + this.profession = profession; + this.faction = faction; + this.setName(name); + this.setAssignedHunters(new ArrayList(3)); + } + + public long getObjectId() { + return objectId; + } + public void setObjectId(long objectId) { + this.objectId = objectId; + } + public int getCreditReward() { + return creditReward; + } + public void setCreditReward(int creditReward) { + this.creditReward = creditReward; + } + public String getProfession() { + return profession; + } + public void setProfession(String profession) { + this.profession = profession; + } + + public String getFaction() { + return faction; + } + + public void setFaction(String faction) { + this.faction = faction; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public void addBounty(int amountToAdd) { + this.creditReward =+ amountToAdd; + } + + public List getAssignedHunters() { + return assignedHunters; + } + + public void setAssignedHunters(List assignedHunters) { + this.assignedHunters = assignedHunters; + } + + public boolean addBountyHunter(long objectId) { + return assignedHunters.add(objectId); + } + + public boolean removeBountyHunter(long objectId) { + return assignedHunters.remove(objectId); + } +} diff --git a/src/resources/objectives/BountyMissionObjective.java b/src/resources/objectives/BountyMissionObjective.java new file mode 100644 index 00000000..96b90c88 --- /dev/null +++ b/src/resources/objectives/BountyMissionObjective.java @@ -0,0 +1,80 @@ +/******************************************************************************* + * Copyright (c) 2013 + * + * This File is part of NGECore2. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. + * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. + ******************************************************************************/ +package resources.objectives; + +import java.util.Random; + +import engine.resources.scene.Point3D; +import main.NGECore; +import resources.common.BountyListItem; +import resources.objects.creature.CreatureObject; +import resources.objects.mission.MissionObject; +import services.mission.MissionObjective; + +public class BountyMissionObjective extends MissionObjective { + + private Point3D lastKnownLocation; + private long markObjId; + + public BountyMissionObjective(MissionObject parent) { + super(parent); + } + + @Override + public void activate(NGECore core, CreatureObject player) { + if (isActivated()) + return; + + BountyListItem bountyTarget = core.missionService.getBountyListItem(getMissionObject().getBountyObjId()); + + setMarkObjId(bountyTarget.getObjectId()); + + // TODO: Change this to a comm message. + player.sendSystemMessage("@mission/mission_bounty_informant:target_hard_" + Integer.toString(new Random().nextInt(5)), (byte) 0); + + + } + + @Override + public void complete(NGECore core, CreatureObject player) { + + } + + @Override + public void abort(NGECore core, CreatureObject player) { + + } + + @Override + public void update(NGECore core, CreatureObject player) { + + } + + public Point3D getLastKnownLocation() { return lastKnownLocation; } + + public void setLastKnownLocation(Point3D lastKnownLocation) { this.lastKnownLocation = lastKnownLocation; } + + public long getMarkObjId() { return markObjId; } + + public void setMarkObjId(long markObjId) { this.markObjId = markObjId; } + +} diff --git a/src/resources/objectives/DeliveryMissionObjective.java b/src/resources/objectives/DeliveryMissionObjective.java index b5802390..6a116a8e 100644 --- a/src/resources/objectives/DeliveryMissionObjective.java +++ b/src/resources/objectives/DeliveryMissionObjective.java @@ -21,7 +21,6 @@ ******************************************************************************/ package resources.objectives; -import engine.resources.objects.SWGObject; import engine.resources.scene.Point3D; import main.NGECore; import resources.common.OutOfBand; @@ -37,14 +36,13 @@ public class DeliveryMissionObjective extends MissionObjective { private TangibleObject deliveryObject; private CreatureObject missionGiver; private CreatureObject dropOffNpc; - private NGECore core = NGECore.getInstance(); public DeliveryMissionObjective(MissionObject parent) { super(parent); } @Override - public void activate() { + public void activate(NGECore core, CreatureObject player) { if (isActivated()) return; @@ -97,25 +95,21 @@ public class DeliveryMissionObjective extends MissionObjective { } @Override - public void complete() { - CreatureObject completer = (CreatureObject) getMissionObject().getGrandparent(); - - if (completer == null) - return; - + public void complete(NGECore core, CreatureObject player) { + int reward = getMissionObject().getCreditReward(); - completer.addBankCredits(reward); + player.addBankCredits(reward); - completer.sendSystemMessage(new OutOfBand(new ProsePackage("@mission/mission_generic:success_w_amount", reward)), (byte) 0); + player.sendSystemMessage(new OutOfBand(new ProsePackage("@mission/mission_generic:success_w_amount", reward)), (byte) 0); - abort(); + abort(core, player); core.objectService.destroyObject(getMissionObject()); } @Override - public void abort() { + public void abort(NGECore core, CreatureObject player) { if (deliveryObject != null) core.objectService.destroyObject(deliveryObject.getObjectId()); @@ -127,7 +121,7 @@ public class DeliveryMissionObjective extends MissionObjective { } @Override - public void update() { + public void update(NGECore core, CreatureObject player) { setObjectivePhase(getObjectivePhase() + 1); @@ -154,10 +148,8 @@ public class DeliveryMissionObjective extends MissionObjective { } } - public boolean createDeliveryItem() { + public boolean createDeliveryItem(NGECore core, CreatureObject player) { - SWGObject player = getMissionObject().getGrandparent(); - if (player == null) return false; diff --git a/src/resources/objectives/DestroyMissionObjective.java b/src/resources/objectives/DestroyMissionObjective.java index e4832756..7437d46f 100644 --- a/src/resources/objectives/DestroyMissionObjective.java +++ b/src/resources/objectives/DestroyMissionObjective.java @@ -21,6 +21,8 @@ ******************************************************************************/ package resources.objectives; +import main.NGECore; +import resources.objects.creature.CreatureObject; import resources.objects.mission.MissionObject; import services.mission.MissionObjective; @@ -31,27 +33,28 @@ public class DestroyMissionObjective extends MissionObjective { } @Override - public void activate() { + public void activate(NGECore core, CreatureObject player) { // TODO Auto-generated method stub - + } @Override - public void complete() { + public void complete(NGECore core, CreatureObject player) { // TODO Auto-generated method stub - + } @Override - public void abort() { + public void abort(NGECore core, CreatureObject player) { // TODO Auto-generated method stub - + } @Override - public void update() { + public void update(NGECore core, CreatureObject player) { // TODO Auto-generated method stub - + } + } diff --git a/src/resources/objects/mission/MissionMessageBuilder.java b/src/resources/objects/mission/MissionMessageBuilder.java index 24c9aa07..071a4f58 100644 --- a/src/resources/objects/mission/MissionMessageBuilder.java +++ b/src/resources/objects/mission/MissionMessageBuilder.java @@ -304,13 +304,13 @@ public class MissionMessageBuilder extends ObjectMessageBuilder { return buffer; } - public IoBuffer buildMissionDescriptionDelta(String desc, int id) { + public IoBuffer buildMissionDescriptionDelta(String desc, int id, String additionalParam) { - IoBuffer buffer = IoBuffer.allocate(12 + desc.length(), false).order(ByteOrder.LITTLE_ENDIAN); + IoBuffer buffer = IoBuffer.allocate(13 + desc.length() + additionalParam.length(), false).order(ByteOrder.LITTLE_ENDIAN); buffer.put(getAsciiString(desc)); buffer.putInt(0); - buffer.put(getAsciiString("m" + id + "d")); + buffer.put(getAsciiString("m" + id + "d" + additionalParam)); int size = buffer.position(); buffer.flip(); @@ -318,14 +318,14 @@ public class MissionMessageBuilder extends ObjectMessageBuilder { return buffer; } - - public IoBuffer buildMissionTitleDelta(String title, int id) { - IoBuffer buffer = IoBuffer.allocate(12 + title.length(), false).order(ByteOrder.LITTLE_ENDIAN); + public IoBuffer buildMissionTitleDelta(String title, int id, String additionalParam) { + + IoBuffer buffer = IoBuffer.allocate(12 + title.length() + additionalParam.length(), false).order(ByteOrder.LITTLE_ENDIAN); buffer.put(getAsciiString(title)); buffer.putInt(0); - buffer.put(getAsciiString("m" + id + "t")); + buffer.put(getAsciiString("m" + id + "t" + additionalParam)); int size = buffer.position(); buffer.flip(); diff --git a/src/resources/objects/mission/MissionObject.java b/src/resources/objects/mission/MissionObject.java index 12ed3fa8..48f573f2 100644 --- a/src/resources/objects/mission/MissionObject.java +++ b/src/resources/objects/mission/MissionObject.java @@ -26,6 +26,7 @@ import com.sleepycat.je.Transaction; import com.sleepycat.persist.model.NotPersistent; import com.sleepycat.persist.model.Persistent; +import resources.common.BountyListItem; import resources.objects.intangible.IntangibleObject; import resources.objects.waypoint.WaypointObject; import services.mission.MissionObjective; @@ -53,8 +54,11 @@ public class MissionObject extends IntangibleObject implements IPersistent { private String type = ""; private int missionTemplateObject = 0; private WaypointObject attachedWaypoint; + + // Server variables private MissionObjective objective; - + private long bountyObjId; + @NotPersistent MissionMessageBuilder messageBuilder = new MissionMessageBuilder(this); @@ -148,11 +152,15 @@ public class MissionObject extends IntangibleObject implements IPersistent { } public void setMissionDescription(String missionDescription) { + setMissionDescription(missionDescription, ""); + } + + public void setMissionDescription(String missionDescription, String additionalParam) { synchronized(objectMutex) { this.description = missionDescription; } if (getGrandparent() != null && getGrandparent().getClient() != null && getGrandparent().getClient().getSession() != null) { - getGrandparent().getClient().getSession().write(messageBuilder.buildMissionDescriptionDelta(missionDescription, missionId)); + getGrandparent().getClient().getSession().write(messageBuilder.buildMissionDescriptionDelta(missionDescription, missionId, additionalParam)); } } @@ -163,11 +171,15 @@ public class MissionObject extends IntangibleObject implements IPersistent { } public void setMissionTitle(String missionTitle) { + setMissionTitle(missionTitle, ""); + } + + public void setMissionTitle(String missionTitle, String additionalParam) { synchronized(objectMutex) { this.title = missionTitle; } if (getGrandparent() != null && getGrandparent().getClient() != null && getGrandparent().getClient().getSession() != null) { - getGrandparent().getClient().getSession().write(messageBuilder.buildMissionTitleDelta(missionTitle, missionId)); + getGrandparent().getClient().getSession().write(messageBuilder.buildMissionTitleDelta(missionTitle, missionId, additionalParam)); } } @@ -286,6 +298,14 @@ public class MissionObject extends IntangibleObject implements IPersistent { this.missionId = missionId; } + public long getBountyObjId() { + return bountyObjId; + } + + public void setBountyObjId(long bountyObjId) { + this.bountyObjId = bountyObjId; + } + public Transaction getTransaction() { return txn; } diff --git a/src/services/CharacterService.java b/src/services/CharacterService.java index b11bd350..7807b9ec 100644 --- a/src/services/CharacterService.java +++ b/src/services/CharacterService.java @@ -323,6 +323,8 @@ public class CharacterService implements INetworkDispatch { object.addAbility("startDance"); object.addAbility("startDance+Basic"); + object.setFaction("neutral"); + object.addObjectToEquipList(datapad); object.addObjectToEquipList(inventory); object.addObjectToEquipList(bank); diff --git a/src/services/GroupService.java b/src/services/GroupService.java index fa4d9d5b..3f063a74 100644 --- a/src/services/GroupService.java +++ b/src/services/GroupService.java @@ -146,6 +146,12 @@ public class GroupService implements INetworkDispatch { group.setGroupLeader(leader); group.getMemberList().add(leader); group.getMemberList().add(invited); + + if (invited.getLevel() > leader.getLevel()) + group.setGroupLevel(invited.getLevel()); + else + group.setGroupLevel(leader.getLevel()); + leader.makeAware(group); leader.setGroupId(group.getObjectID()); invited.makeAware(group); @@ -170,6 +176,10 @@ public class GroupService implements INetworkDispatch { invited.makeAware(group); invited.setGroupId(group.getObjectID()); invited.sendSystemMessage("@group:joined_self", (byte) 0); + + if (group.getGroupLevel() < invited.getLevel()) + group.setGroupLevel(invited.getLevel()); + addGroupBuffsToMember(group, invited); core.chatService.joinChatRoom(invited.getCustomName(), group.getChatRoomId(), true); diff --git a/src/services/PlayerService.java b/src/services/PlayerService.java index ea075dc5..564bec61 100644 --- a/src/services/PlayerService.java +++ b/src/services/PlayerService.java @@ -58,6 +58,7 @@ import protocol.swg.ShowHelmet; import protocol.swg.objectControllerObjects.ChangeRoleIconChoice; import protocol.swg.objectControllerObjects.ShowFlyText; import protocol.swg.objectControllerObjects.ShowLootBox; +import resources.common.BountyListItem; import resources.common.FileUtilities; import resources.common.ObjControllerOpcodes; import resources.common.Opcodes; @@ -78,6 +79,7 @@ import resources.objects.player.PlayerMessageBuilder; import resources.objects.player.PlayerObject; import resources.objects.tangible.TangibleObject; import resources.objects.waypoint.WaypointObject; +import services.sui.SUIService.InputBoxType; import services.sui.SUIService.ListBoxType; import services.sui.SUIWindow; import services.sui.SUIWindow.Trigger; @@ -1252,6 +1254,26 @@ public class PlayerService implements INetworkDispatch { core.suiService.openSUIWindow(ringWindow); } + public void sendSetBountyWindow(final CreatureObject victim, final CreatureObject attacker) { + final SUIWindow bountyWindow = core.suiService.createInputBox(InputBoxType.INPUT_BOX_OK_CANCEL, "@bounty_hunter:setbounty_title", "@bounty_hunter:setbounty_prompt1 " + attacker.getCustomName() + "?" + "\n@bounty_hunter:setbounty_prompt2 " + victim.getBankCredits() + victim.getCashCredits(), + victim, null, (float) 10, new SUICallback() { + + @Override + public void process(SWGObject owner, int eventType, Vector returnList) { + if (eventType == 0 && returnList.get(0) != null) { + if (core.missionService.getBountyListItem(attacker.getObjectId()) != null) { + BountyListItem currentBounty = core.missionService.getBountyListItem(attacker.getObjectId()); + currentBounty.addBounty(Integer.parseInt(returnList.get(0))); + } else { + core.missionService.createNewBounty(attacker, Integer.parseInt(returnList.get(0))); + } + } + } + + }); + core.suiService.openSUIWindow(bountyWindow); + } + public String getFormalProfessionName(String template) { String formalName = ""; diff --git a/src/services/combat/CombatService.java b/src/services/combat/CombatService.java index 1a265c8c..9dabaf94 100644 --- a/src/services/combat/CombatService.java +++ b/src/services/combat/CombatService.java @@ -991,6 +991,8 @@ public class CombatService implements INetworkDispatch { if(target.getDuelList().contains(attacker)) handleEndDuel(target, attacker, false); core.playerService.sendCloningWindow(target, attacker.getSlottedObject("ghost") != null); + //if (attacker.getSlottedObject("ghost") != null) + //core.playerService.sendSetBountyWindow(target, attacker); } public boolean areInDuel(CreatureObject creature1, CreatureObject creature2) { diff --git a/src/services/mission/MissionObjective.java b/src/services/mission/MissionObjective.java index c81fcc0a..8f43fe9f 100644 --- a/src/services/mission/MissionObjective.java +++ b/src/services/mission/MissionObjective.java @@ -21,8 +21,11 @@ ******************************************************************************/ package services.mission; +import main.NGECore; + import com.sleepycat.persist.model.Persistent; +import resources.objects.creature.CreatureObject; import resources.objects.mission.MissionObject; @Persistent(version=0) @@ -42,10 +45,10 @@ public abstract class MissionObjective { this.objectivePhase = 0; } - public abstract void activate(); - public abstract void complete(); - public abstract void abort(); - public abstract void update(); + public abstract void activate(NGECore core, CreatureObject player); + public abstract void complete(NGECore core, CreatureObject player); + public abstract void abort(NGECore core, CreatureObject player); + public abstract void update(NGECore core, CreatureObject player); public long getStartTime() { return startTime; } diff --git a/src/services/mission/MissionService.java b/src/services/mission/MissionService.java index 40b5abf0..d463893a 100644 --- a/src/services/mission/MissionService.java +++ b/src/services/mission/MissionService.java @@ -26,6 +26,7 @@ import java.io.IOException; import java.nio.ByteOrder; import java.util.Map; import java.util.Random; +import java.util.Vector; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; @@ -35,24 +36,29 @@ import main.NGECore; import org.apache.mina.core.buffer.IoBuffer; import org.apache.mina.core.session.IoSession; +import com.sleepycat.je.Transaction; + import protocol.swg.ObjControllerMessage; import protocol.swg.objectControllerObjects.MissionAbort; import protocol.swg.objectControllerObjects.MissionAcceptRequest; import protocol.swg.objectControllerObjects.MissionAcceptResponse; import protocol.swg.objectControllerObjects.MissionListRequest; +import resources.common.BountyListItem; import resources.common.SpawnPoint; import resources.common.ObjControllerOpcodes; +import resources.objectives.BountyMissionObjective; import resources.objectives.DeliveryMissionObjective; import resources.objectives.DestroyMissionObjective; import resources.objects.creature.CreatureObject; import resources.objects.mission.MissionObject; +import resources.objects.player.PlayerObject; import resources.objects.tangible.TangibleObject; -import resources.objects.waypoint.WaypointObject; import engine.clientdata.StfTable; import engine.clients.Client; import engine.resources.common.CRC; import engine.resources.common.NameGen; import engine.resources.container.Traverser; +import engine.resources.database.ObjectDatabase; import engine.resources.objects.SWGObject; import engine.resources.scene.Point3D; import engine.resources.service.INetworkDispatch; @@ -63,7 +69,9 @@ public class MissionService implements INetworkDispatch { private NGECore core; private NameGen nameGenerator; // Use a HashMap for obtaining number of entries so we aren't using a visitor all the time. - private ConcurrentHashMap entryCounts = new ConcurrentHashMap(); + private Map entryCounts = new ConcurrentHashMap(); + private Vector bountyList = new Vector(); + private ObjectDatabase bountiesODB; private Random ran = new Random(); public MissionService(NGECore core) { @@ -73,6 +81,8 @@ public class MissionService implements INetworkDispatch { catch (IOException e) { e.printStackTrace(); } loadMissionEntryCounts(); + + bountiesODB = core.getBountiesODB(); } @Override @@ -118,7 +128,7 @@ public class MissionService implements INetworkDispatch { if(client == null || client.getSession() == null) return; - SWGObject object = client.getParent(); + CreatureObject object = (CreatureObject) client.getParent(); if(object == null) return; @@ -137,8 +147,12 @@ public class MissionService implements INetworkDispatch { if (terminalType == TerminalType.GENERIC) { handleMissionListRequest(core.objectService.getObject(request.getObjectId()), request.getTickCount(), TerminalType.GENERIC); - } else if (terminalType == TerminalType.BOUNTYHUNTER) { - + } else if (terminalType == TerminalType.BOUNTY) { + if (!object.hasSkill("class_bountyhunter_phase1_novice")) { + object.sendSystemMessage("@mission/mission_generic:not_bounty_hunter_terminal", (byte) 0); + } else { + handleMissionListRequest(core.objectService.getObject(request.getObjectId()), request.getTickCount(), TerminalType.BOUNTY); + } } else if (terminalType == TerminalType.ENTERTAINER) { } else if (terminalType == TerminalType.ARTISAN) { @@ -191,7 +205,7 @@ public class MissionService implements INetworkDispatch { MissionObjective objective = mission.getObjective(); if (objective != null) - objective.abort(); + objective.abort(core, creature); core.objectService.destroyObject(mission.getObjectId()); } @@ -267,7 +281,7 @@ public class MissionService implements INetworkDispatch { if (type == TerminalType.GENERIC) randomDeliveryMission(player, mission); - else if (type == TerminalType.BOUNTYHUNTER) + else if (type == TerminalType.BOUNTY) randomBountyMission(player, mission); else if (type == TerminalType.ARTISAN) @@ -282,9 +296,9 @@ public class MissionService implements INetworkDispatch { } else if (typeTwoCount.get() < 4) { if (type == TerminalType.GENERIC) - randomDestroyMission(player, mission); + return; - else if (type == TerminalType.BOUNTYHUNTER) + else if (type == TerminalType.BOUNTY) return; else if (type == TerminalType.ARTISAN) @@ -293,8 +307,8 @@ public class MissionService implements INetworkDispatch { else return; - mission.setRepeatCount(requestCounter); - typeTwoCount.incrementAndGet(); + //mission.setRepeatCount(requestCounter); + //typeTwoCount.incrementAndGet(); } } }); @@ -338,7 +352,11 @@ public class MissionService implements INetworkDispatch { return true; } - private void createMissionObjective(CreatureObject creature, MissionObject mission) { + private MissionObjective createMissionObjective(CreatureObject creature, MissionObject mission) { + return createMissionObjective(creature, mission, false); + } + + private MissionObjective createMissionObjective(CreatureObject creature, MissionObject mission, boolean silent) { switch(mission.getMissionType()) { case "deliver": @@ -346,18 +364,32 @@ public class MissionService implements INetworkDispatch { mission.setObjective(deliveryObjective); - deliveryObjective.activate(); - break; + if (!silent) + deliveryObjective.activate(core, creature); + + return deliveryObjective; case "destroy": DestroyMissionObjective destroyObjective = new DestroyMissionObjective(mission); mission.setObjective(destroyObjective); - destroyObjective.activate(); - break; + if (!silent) + destroyObjective.activate(core, creature); + + return destroyObjective; + + case "bounty": + BountyMissionObjective bountyObjective = new BountyMissionObjective(mission); + + mission.setObjective(bountyObjective); + + if (!silent) + bountyObjective.activate(core, creature); + + return bountyObjective; default: - break; + return null; } } @@ -387,33 +419,135 @@ public class MissionService implements INetworkDispatch { mission.setMissionTemplateObject(CRC.StringtoCRC("object/tangible/mission/shared_mission_datadisk.iff")); mission.setMissionTargetName("Datadisk"); - - WaypointObject waypoint = (WaypointObject) core.objectService.createObject("object/waypoint/shared_waypoint.iff", player.getPlanet()); - if (waypoint == null) - return; - - waypoint.setColor(WaypointObject.ORANGE); - - } - - private void randomDestroyMission(SWGObject player, MissionObject mission) { - } private void randomBountyMission(SWGObject player, MissionObject mission) { + BountyListItem bountyTarget = null; + if (bountyList.size() > 0) { + boolean gotBounty = false; + while (!gotBounty) { + bountyTarget = getRandomBounty(); + + if (bountyTarget == null || bountyTarget.getAssignedHunters().size() >= 3 || bountyTarget.getCreditReward() < 20000) + continue; + else + gotBounty = true; + } + } + + if (bountyTarget == null) + return; + + mission.setMissionType("bounty"); + + String missionStf = "mission/mission_bounty_jedi"; + + if (!bountyTarget.getProfession().equals("")) { // TODO: Smuggler mission checks. + if (bountyTarget.getFaction().equals("neutral")) { + mission.setMissionTargetName("@mission/mission_bounty_jedi:neutral_jedi"); + mission.setMissionId(3); + } + else if (bountyTarget.getFaction().equals("rebel")) { + mission.setMissionTargetName("@mission/mission_bounty_jedi:rebel_jedi"); + mission.setMissionId(2); + } + else if (bountyTarget.getFaction().equals("imperial")) { + mission.setMissionTargetName("@mission/mission_bounty_jedi:imperial_jedi"); + mission.setMissionId(1); + } + mission.setMissionTitle(missionStf); + mission.setMissionDescription(missionStf); + } else { + // TODO: Dead code, but place-holder for implementation of smuggler missions. + if (bountyTarget.getFaction().equals("neutral")) { + mission.setMissionId(3); + } + else if (bountyTarget.getFaction().equals("rebel")) { + mission.setMissionId(2); + } + else if (bountyTarget.getFaction().equals("imperial")) { + mission.setMissionId(1); + } + mission.setMissionTitle(missionStf, "s"); + mission.setMissionDescription(missionStf, "s"); + } + + mission.setMissionLevel(90); + + mission.setCreditReward(bountyTarget.getCreditReward()); + + mission.setMissionTemplateObject(CRC.StringtoCRC("object/tangible/mission/shared_mission_bounty_jedi_target.iff")); + + mission.setBountyObjId(bountyTarget.getObjectId()); } public enum TerminalType {; public static final int GENERIC = 1; - public static final int BOUNTYHUNTER = 2; + public static final int BOUNTY = 2; public static final int ENTERTAINER = 3; public static final int ARTISAN = 4; public static final int EXPLORER = 5; } + public Vector getBountyList() { + return this.bountyList; + } + + public BountyListItem getRandomBounty() { + int bountyListId = ran.nextInt(bountyList.size()); + + return bountyList.get(bountyListId); + } + + public BountyListItem getBountyListItem(long objectId) { + Vector bounties = bountyList; + for (BountyListItem bounty : bounties) { + if (bounty.getObjectId() == objectId) + return bounty; + } + return null; + } + + public BountyListItem createNewBounty(CreatureObject bountyTarget, int reward) { + PlayerObject player = (PlayerObject) bountyTarget.getSlottedObject("ghost"); + if (player == null) + return null; + + if (getBountyListItem(bountyTarget.getObjectId()) != null) + return null; + + BountyListItem bounty = new BountyListItem(bountyTarget.getObjectId(), reward, core.playerService.getFormalProfessionName(player.getProfession()), bountyTarget.getFaction(), bountyTarget.getCustomName()); + + bountyList.add(bounty); + + //Transaction txn = bountiesODB.getEnvironment().beginTransaction(null, null); + //bountiesODB.put(bounty, Long.class, BountyListItem.class, txn); + //txn.commitSync(); + + //System.out.println("Put in bounty for " + bounty.getName() + " with amount " + reward); + + return bounty; + } + + public boolean addToExistingBounty(CreatureObject bountyTarget, int amountToAdd) { + PlayerObject player = (PlayerObject) bountyTarget.getSlottedObject("ghost"); + if (player == null) + return false; + + BountyListItem bounty = getBountyListItem(bountyTarget.getObjectId()); + + if (bounty == null) + return false; + + //Transaction txn = bountiesODB.getEnvironment().beginTransaction(null, null); + //bountiesODB.get(bounty, Long.class, BountyListItem.class); + //txn.commitSync(); + + return true; + } + @Override public void shutdown() { - } } From 0364cad779be982975054dacaadc9eb4cd065963 Mon Sep 17 00:00:00 2001 From: Treeku Date: Tue, 29 Apr 2014 02:54:59 +0100 Subject: [PATCH 21/52] Added all (findable) junk dealer types --- scripts/object/mobile/dressed_fs_junk_dealer.py | 6 ++++++ scripts/object/mobile/junk_dealer_f_01.py | 6 ++++++ scripts/object/mobile/junk_dealer_f_02.py | 6 ++++++ scripts/object/mobile/junk_dealer_f_03.py | 6 ++++++ scripts/object/mobile/junk_dealer_m_01.py | 6 ++++++ scripts/object/mobile/junk_dealer_m_02.py | 6 ++++++ scripts/object/mobile/junk_dealer_m_03.py | 6 ++++++ scripts/object/mobile/junk_dender.py | 6 ++++++ scripts/object/mobile/junk_lila.py | 6 ++++++ scripts/object/mobile/junk_malik.py | 6 ++++++ scripts/object/mobile/junk_nado.py | 6 ++++++ scripts/object/mobile/junk_nathan.py | 6 ++++++ scripts/object/mobile/junk_ollobo.py | 6 ++++++ scripts/object/mobile/junk_quich.py | 6 ++++++ scripts/object/mobile/junk_reggi.py | 6 ++++++ scripts/object/mobile/junk_sheani.py | 6 ++++++ scripts/object/mobile/junk_sneg.py | 6 ++++++ scripts/object/mobile/outbreak_junk_dealer_f_01.py | 6 ++++++ scripts/object/mobile/outbreak_junk_dealer_f_02.py | 6 ++++++ scripts/object/mobile/outbreak_junk_dealer_m_01.py | 6 ++++++ scripts/object/mobile/outbreak_junk_dealer_m_02.py | 6 ++++++ scripts/object/mobile/outbreak_junk_dealer_m_03.py | 6 ++++++ scripts/object/mobile/som/must_junk.py | 6 ++++++ scripts/static_spawns/tatooine.py | 4 ---- 24 files changed, 138 insertions(+), 4 deletions(-) diff --git a/scripts/object/mobile/dressed_fs_junk_dealer.py b/scripts/object/mobile/dressed_fs_junk_dealer.py index ccad8904..6fed84e5 100644 --- a/scripts/object/mobile/dressed_fs_junk_dealer.py +++ b/scripts/object/mobile/dressed_fs_junk_dealer.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('junk_dealer') return \ No newline at end of file diff --git a/scripts/object/mobile/junk_dealer_f_01.py b/scripts/object/mobile/junk_dealer_f_01.py index ccad8904..6fed84e5 100644 --- a/scripts/object/mobile/junk_dealer_f_01.py +++ b/scripts/object/mobile/junk_dealer_f_01.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('junk_dealer') return \ No newline at end of file diff --git a/scripts/object/mobile/junk_dealer_f_02.py b/scripts/object/mobile/junk_dealer_f_02.py index ccad8904..6e9644e2 100644 --- a/scripts/object/mobile/junk_dealer_f_02.py +++ b/scripts/object/mobile/junk_dealer_f_02.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('junk_dealer_smuggler') return \ No newline at end of file diff --git a/scripts/object/mobile/junk_dealer_f_03.py b/scripts/object/mobile/junk_dealer_f_03.py index ccad8904..9ed1eded 100644 --- a/scripts/object/mobile/junk_dealer_f_03.py +++ b/scripts/object/mobile/junk_dealer_f_03.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('junk_dealer_special') return \ No newline at end of file diff --git a/scripts/object/mobile/junk_dealer_m_01.py b/scripts/object/mobile/junk_dealer_m_01.py index ccad8904..6fed84e5 100644 --- a/scripts/object/mobile/junk_dealer_m_01.py +++ b/scripts/object/mobile/junk_dealer_m_01.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('junk_dealer') return \ No newline at end of file diff --git a/scripts/object/mobile/junk_dealer_m_02.py b/scripts/object/mobile/junk_dealer_m_02.py index ccad8904..6e9644e2 100644 --- a/scripts/object/mobile/junk_dealer_m_02.py +++ b/scripts/object/mobile/junk_dealer_m_02.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('junk_dealer_smuggler') return \ No newline at end of file diff --git a/scripts/object/mobile/junk_dealer_m_03.py b/scripts/object/mobile/junk_dealer_m_03.py index ccad8904..9ed1eded 100644 --- a/scripts/object/mobile/junk_dealer_m_03.py +++ b/scripts/object/mobile/junk_dealer_m_03.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('junk_dealer_special') return \ No newline at end of file diff --git a/scripts/object/mobile/junk_dender.py b/scripts/object/mobile/junk_dender.py index ccad8904..9ed1eded 100644 --- a/scripts/object/mobile/junk_dender.py +++ b/scripts/object/mobile/junk_dender.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('junk_dealer_special') return \ No newline at end of file diff --git a/scripts/object/mobile/junk_lila.py b/scripts/object/mobile/junk_lila.py index ccad8904..9ed1eded 100644 --- a/scripts/object/mobile/junk_lila.py +++ b/scripts/object/mobile/junk_lila.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('junk_dealer_special') return \ No newline at end of file diff --git a/scripts/object/mobile/junk_malik.py b/scripts/object/mobile/junk_malik.py index ccad8904..9ed1eded 100644 --- a/scripts/object/mobile/junk_malik.py +++ b/scripts/object/mobile/junk_malik.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('junk_dealer_special') return \ No newline at end of file diff --git a/scripts/object/mobile/junk_nado.py b/scripts/object/mobile/junk_nado.py index ccad8904..9ed1eded 100644 --- a/scripts/object/mobile/junk_nado.py +++ b/scripts/object/mobile/junk_nado.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('junk_dealer_special') return \ No newline at end of file diff --git a/scripts/object/mobile/junk_nathan.py b/scripts/object/mobile/junk_nathan.py index ccad8904..9ed1eded 100644 --- a/scripts/object/mobile/junk_nathan.py +++ b/scripts/object/mobile/junk_nathan.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('junk_dealer_special') return \ No newline at end of file diff --git a/scripts/object/mobile/junk_ollobo.py b/scripts/object/mobile/junk_ollobo.py index ccad8904..9ed1eded 100644 --- a/scripts/object/mobile/junk_ollobo.py +++ b/scripts/object/mobile/junk_ollobo.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('junk_dealer_special') return \ No newline at end of file diff --git a/scripts/object/mobile/junk_quich.py b/scripts/object/mobile/junk_quich.py index ccad8904..9ed1eded 100644 --- a/scripts/object/mobile/junk_quich.py +++ b/scripts/object/mobile/junk_quich.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('junk_dealer_special') return \ No newline at end of file diff --git a/scripts/object/mobile/junk_reggi.py b/scripts/object/mobile/junk_reggi.py index ccad8904..9ed1eded 100644 --- a/scripts/object/mobile/junk_reggi.py +++ b/scripts/object/mobile/junk_reggi.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('junk_dealer_special') return \ No newline at end of file diff --git a/scripts/object/mobile/junk_sheani.py b/scripts/object/mobile/junk_sheani.py index ccad8904..9ed1eded 100644 --- a/scripts/object/mobile/junk_sheani.py +++ b/scripts/object/mobile/junk_sheani.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('junk_dealer_special') return \ No newline at end of file diff --git a/scripts/object/mobile/junk_sneg.py b/scripts/object/mobile/junk_sneg.py index ccad8904..9ed1eded 100644 --- a/scripts/object/mobile/junk_sneg.py +++ b/scripts/object/mobile/junk_sneg.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('junk_dealer_special') return \ No newline at end of file diff --git a/scripts/object/mobile/outbreak_junk_dealer_f_01.py b/scripts/object/mobile/outbreak_junk_dealer_f_01.py index ccad8904..8d5252a1 100644 --- a/scripts/object/mobile/outbreak_junk_dealer_f_01.py +++ b/scripts/object/mobile/outbreak_junk_dealer_f_01.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('outbreak_junk_dealer') return \ No newline at end of file diff --git a/scripts/object/mobile/outbreak_junk_dealer_f_02.py b/scripts/object/mobile/outbreak_junk_dealer_f_02.py index ccad8904..8d5252a1 100644 --- a/scripts/object/mobile/outbreak_junk_dealer_f_02.py +++ b/scripts/object/mobile/outbreak_junk_dealer_f_02.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('outbreak_junk_dealer') return \ No newline at end of file diff --git a/scripts/object/mobile/outbreak_junk_dealer_m_01.py b/scripts/object/mobile/outbreak_junk_dealer_m_01.py index ccad8904..8d5252a1 100644 --- a/scripts/object/mobile/outbreak_junk_dealer_m_01.py +++ b/scripts/object/mobile/outbreak_junk_dealer_m_01.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('outbreak_junk_dealer') return \ No newline at end of file diff --git a/scripts/object/mobile/outbreak_junk_dealer_m_02.py b/scripts/object/mobile/outbreak_junk_dealer_m_02.py index ccad8904..8d5252a1 100644 --- a/scripts/object/mobile/outbreak_junk_dealer_m_02.py +++ b/scripts/object/mobile/outbreak_junk_dealer_m_02.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('outbreak_junk_dealer') return \ No newline at end of file diff --git a/scripts/object/mobile/outbreak_junk_dealer_m_03.py b/scripts/object/mobile/outbreak_junk_dealer_m_03.py index ccad8904..8d5252a1 100644 --- a/scripts/object/mobile/outbreak_junk_dealer_m_03.py +++ b/scripts/object/mobile/outbreak_junk_dealer_m_03.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('outbreak_junk_dealer') return \ No newline at end of file diff --git a/scripts/object/mobile/som/must_junk.py b/scripts/object/mobile/som/must_junk.py index ccad8904..d33eab84 100644 --- a/scripts/object/mobile/som/must_junk.py +++ b/scripts/object/mobile/som/must_junk.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','junk_dealer') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + junkdealer.setStfName('som_mustafarian_junk') return \ No newline at end of file diff --git a/scripts/static_spawns/tatooine.py b/scripts/static_spawns/tatooine.py index b376cf1f..8b4a389c 100644 --- a/scripts/static_spawns/tatooine.py +++ b/scripts/static_spawns/tatooine.py @@ -13,10 +13,6 @@ def addPlanetSpawns(core, planet): #object.setOptionsBitmask(264) junkdealer = stcSvc.spawnObject('object/mobile/shared_junk_dealer_m_01.iff', 'tatooine', long(0), float(3525), float(4), float(-4804), float(0.70), float(0.71)) - junkdealer.setOptionsBitmask(264) - junkdealer.setCustomName('a Junk Dealer') - junkdealer.setAttachment('radial_filename', 'object/conversation'); - junkdealer.setAttachment('conversationFile','junk_dealer') return From 919eb5ea44a125845a2d4340c16f01643f7eb19a Mon Sep 17 00:00:00 2001 From: Treeku Date: Tue, 29 Apr 2014 03:29:03 +0100 Subject: [PATCH 22/52] Added UseTarget to CreatureObject --- src/resources/objects/creature/CreatureObject.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/resources/objects/creature/CreatureObject.java b/src/resources/objects/creature/CreatureObject.java index 20e460e4..b13b9201 100644 --- a/src/resources/objects/creature/CreatureObject.java +++ b/src/resources/objects/creature/CreatureObject.java @@ -189,6 +189,8 @@ public class CreatureObject extends TangibleObject implements IPersistent { private ConcurrentHashMap cooldowns = new ConcurrentHashMap(); @NotPersistent private long tefTime = System.currentTimeMillis(); + @NotPersistent + private SWGObject useTarget; public CreatureObject(long objectID, Planet planet, Point3D position, Quaternion orientation, String Template) { super(objectID, planet, Template, position, orientation); @@ -987,6 +989,18 @@ public class CreatureObject extends TangibleObject implements IPersistent { notifyObservers(messageBuilder.buildIntendedTargetDelta(intendedTarget), true); } + public SWGObject getUseTarget() { + synchronized(objectMutex) { + return useTarget; + } + } + + public void setUseTarget(SWGObject useTarget) { + synchronized(objectMutex) { + this.useTarget = useTarget; + } + } + public long getTargetId() { return getIntendedTarget(); } From de296b4db204a3893cb1463df1442962d5b5f377 Mon Sep 17 00:00:00 2001 From: Treeku Date: Tue, 29 Apr 2014 03:48:32 +0100 Subject: [PATCH 23/52] More removed DeedObject stuff Also changed attachments to use ids instead of objects. Best to use Ids otherwise issues such as objects not deleting successfully occur, if not outright causing persistence errors during saving. --- scripts/commands/placestructure.py | 23 ++--- .../EnterStructurePlacementModeMessage.java | 6 +- src/services/DevService.java | 2 - src/services/object/ObjectService.java | 12 +-- src/services/resources/HarvesterService.java | 98 +++++++++++-------- 5 files changed, 68 insertions(+), 73 deletions(-) diff --git a/scripts/commands/placestructure.py b/scripts/commands/placestructure.py index f6f5c122..30b239a0 100644 --- a/scripts/commands/placestructure.py +++ b/scripts/commands/placestructure.py @@ -1,32 +1,25 @@ import sys -import resources.objects.deed.Harvester_Deed def setup(): return - + def run(core, actor, target, commandString): cmdArgs = commandString.split(" ") deedId = long(cmdArgs[0]) deed = core.objectService.getObject(deedId) - - if (actor.getAttachment('UsingHarvesterDeed') == '1'): - actor.setAttachment('UsingHarvesterDeed', '0'); + + if deed == actor: + deed = actor.getUseTarget() + + if deed.getTemplate().startswith('object/tangible/deed/harvester_deed') is True: core.harvesterService.handlePlaceStructureCommand(actor, target, commandString) return - + positionX = float(cmdArgs[1]) positionZ = float(cmdArgs[2]) - #positionY = core.terrainService.getHeight(actor.getPlanetId(), positionX, positionZ) + 2 - rotation = float(cmdArgs[3]) - - #structureTemplate = deed.getAttachment("structureTemplate") - core.housingService.placeStructure(actor, deed, positionX, positionZ, rotation) - #building = core.objectService.createObject(structureTemplate, actor.getPlanet(), positionX, positionZ, positionY); - #core.simulationService.add(building, building.getPosition().x, building.getPosition().z); - - return \ No newline at end of file + return diff --git a/src/protocol/swg/EnterStructurePlacementModeMessage.java b/src/protocol/swg/EnterStructurePlacementModeMessage.java index 3f12cf0a..b46ed3db 100644 --- a/src/protocol/swg/EnterStructurePlacementModeMessage.java +++ b/src/protocol/swg/EnterStructurePlacementModeMessage.java @@ -39,6 +39,7 @@ public class EnterStructurePlacementModeMessage extends SWGMessage { public EnterStructurePlacementModeMessage(SWGObject deed, String structureTemplate) { this.deed = deed; this.structureTemplate = structureTemplate; + deed.setAttachment("structureTemplate", structureTemplate); } @Override @@ -49,15 +50,10 @@ public class EnterStructurePlacementModeMessage extends SWGMessage { @Override public IoBuffer serialize() { IoBuffer result = IoBuffer.allocate(16 + structureTemplate.length()).order(ByteOrder.LITTLE_ENDIAN); - result.putShort((short) 3); result.putInt(0xE8A54DC1); - result.putLong(deed.getObjectID()); - - deed.setAttachment("structureTemplate", structureTemplate); result.put(getAsciiString(structureTemplate)); - return result.flip(); } diff --git a/src/services/DevService.java b/src/services/DevService.java index 3ba062be..e2bd4390 100644 --- a/src/services/DevService.java +++ b/src/services/DevService.java @@ -39,8 +39,6 @@ import resources.common.SpawnPoint; import resources.datatables.WeaponType; import resources.objects.building.BuildingObject; import resources.objects.creature.CreatureObject; -import resources.objects.deed.Harvester_Deed; -import resources.objects.deed.Player_House_Deed; import resources.objects.player.PlayerObject; import resources.objects.tangible.TangibleObject; import resources.objects.tool.SurveyTool; diff --git a/src/services/object/ObjectService.java b/src/services/object/ObjectService.java index d89bce74..e46c047f 100644 --- a/src/services/object/ObjectService.java +++ b/src/services/object/ObjectService.java @@ -102,8 +102,6 @@ import resources.objects.building.BuildingObject; import resources.objects.cell.CellObject; import resources.objects.craft.DraftSchematic; import resources.objects.creature.CreatureObject; -import resources.objects.deed.Harvester_Deed; -import resources.objects.deed.Player_House_Deed; import resources.objects.factorycrate.FactoryCrateObject; import resources.objects.group.GroupObject; import resources.objects.guild.GuildObject; @@ -241,15 +239,7 @@ public class ObjectService implements INetworkDispatch { object = new SurveyTool(objectID, planet, Template, position, orientation); - } else if(Template.startsWith("object/tangible/deed/harvester_deed") || Template.startsWith("object/tangible/deed/generator_deed")) { - - object = new Harvester_Deed(objectID, planet, Template, position, orientation); - - } else if(Template.startsWith("object/tangible/deed/player_house_deed") || Template.startsWith("object/tangible/deed/guild_deed") || Template.startsWith("object/tangible/deed/city_deed") || Template.startsWith("object/tangible/tcg")) { - - object = new Player_House_Deed(objectID, planet, Template, position, orientation); - - } + } // else if(Template.startsWith("object/tangible/container/drum/shared_treasure_drum.iff")) { // // object = new CreatureObject(objectID, planet, position, orientation, Template); diff --git a/src/services/resources/HarvesterService.java b/src/services/resources/HarvesterService.java index 7dd955eb..f8838be1 100644 --- a/src/services/resources/HarvesterService.java +++ b/src/services/resources/HarvesterService.java @@ -54,7 +54,6 @@ import engine.resources.service.INetworkDispatch; import engine.resources.service.INetworkRemoteEvent; import resources.common.ObjControllerOpcodes; import resources.objects.creature.CreatureObject; -import resources.objects.deed.Harvester_Deed; import resources.objects.harvester.HarvesterMessageBuilder; import resources.objects.harvester.HarvesterObject; import resources.objects.installation.InstallationObject; @@ -83,7 +82,7 @@ public class HarvesterService implements INetworkDispatch { private Vector allConstructors = new Vector(); public HarvesterService(NGECore core) { - this.core = core; + this.core = core; //core.commandService.registerCommand("permissionlistmodify"); //core.commandService.registerCommand("harvesterselectresource"); //core.commandService.registerCommand("harvesteractivate"); @@ -439,19 +438,26 @@ public class HarvesterService implements INetworkDispatch { // handle creation of correct deed in player inventory PlayerObject player = (PlayerObject) crafter.getSlottedObject("ghost"); String deedTemplate = harvester.getDeedTemplate(); - Harvester_Deed deed = (Harvester_Deed)core.objectService.createObject(deedTemplate, owner.getPlanet()); - if(player.getLotsRemaining()+deed.getLotRequirement()>10){ + TangibleObject deed = (TangibleObject) core.objectService.createObject(deedTemplate, owner.getPlanet()); + + if (player.getLotsRemaining() + (Integer) deed.getAttachment("LotRequirement") > 10) { // Something went wrong or hacking attempt crafter.sendSystemMessage("Structure can't be redeeded. Maximum lot count exceeded.",(byte)1); return; } - deed.setStructureTemplate(harvester.getTemplate()); - deed.setOutputHopperCapacity(harvester.getOutputHopperCapacity()); - deed.setBER(harvester.getBER()); - deed.setSurplusMaintenance((int)harvester.getMaintenanceAmount()); - deed.setSurplusPower((int)harvester.getPowerLevel()); - deed.setAttributes(); + deed.setAttachment("StructureTemplate", harvester.getTemplate()); + + if (harvester.getMaintenanceAmount() > 0) { + deed.setIntAttribute("examine_maintenance", (int) harvester.getMaintenanceAmount()); + } + + if (harvester.getPowerLevel() > 0) { + deed.setIntAttribute("examine_power", (int) harvester.getPowerLevel()); + } + + deed.setIntAttribute("examine_hoppersize", harvester.getOutputHopperCapacity()); + deed.setIntAttribute("examine_extractionrate", harvester.getBER()); removeHarvester(harvester); core.objectService.destroyObject(harvester.getObjectID()); @@ -459,8 +465,9 @@ public class HarvesterService implements INetworkDispatch { SWGObject crafterInventory = owner.getSlottedObject("inventory"); crafterInventory.add(deed); - if(player.getLotsRemaining()+deed.getLotRequirement()<=10) - player.setLotsRemaining(player.getLotsRemaining()+deed.getLotRequirement()); + if (player.getLotsRemaining() + (Integer) deed.getAttachment("LotRequirement") <= 10) { + player.setLotsRemaining(player.getLotsRemaining() + (Integer) deed.getAttachment("LotRequirement")); + } crafter.sendSystemMessage("@player_structure:processing_destruction",(byte)1); crafter.sendSystemMessage("@player_structure:deed_reclaimed",(byte)1); @@ -651,7 +658,7 @@ public class HarvesterService implements INetworkDispatch { } return 0; } - } + } public void handlePermissionAdmin(CreatureObject owner, TangibleObject target) { @@ -927,11 +934,9 @@ public class HarvesterService implements INetworkDispatch { return container; } - - public void constructionSite(CreatureObject actor,SWGObject target, long objectId, float posX, float posZ, float dir){ - - SWGObject usedDeed = (SWGObject)actor.getAttachment("LastUsedDeed"); - String constructorTemplate = ((Harvester_Deed)usedDeed).getConstructorTemplate(); + public void constructionSite(CreatureObject actor, SWGObject target, long objectId, float posX, float posZ, float dir){ + SWGObject usedDeed = actor.getUseTarget(); //(SWGObject)actor.getAttachment("LastUsedDeed"); + String constructorTemplate = (String) usedDeed.getAttachment("ConstructorTemplate"); //String structureTemplate = "object/installation/mining_ore/construction/shared_construction_mining_ore_harvester_style_1.iff"; float positionY = core.terrainService.getHeight(actor.getPlanetId(), posX, posZ) + 2f; @@ -939,33 +944,47 @@ public class HarvesterService implements INetworkDispatch { quaternion = resources.common.MathUtilities.rotateQuaternion(quaternion, (float)((Math.PI/2) * dir), new Point3D(0, 1, 0)); InstallationObject installation = (InstallationObject) core.objectService.createObject(constructorTemplate, 0, actor.getPlanet(), new Point3D(posX, positionY, posZ), quaternion); + if (usedDeed.getAttributes().containsKey("examine_extractionrate")) { + usedDeed.setIntAttribute("examine_extractionrate", 0); + } + + if (usedDeed.getAttributes().containsKey("examine_hoppersize")) { + usedDeed.setIntAttribute("examine_hoppersize", 0); + } + + if (usedDeed.getAttributes().containsKey("examine_maintenance")) { + usedDeed.setIntAttribute("examine_maintenance", 0); + } + + if (usedDeed.getAttributes().containsKey("examine_power")) { + usedDeed.setIntAttribute("examine_power", 0); + } installation.setAttachment("ConstructionStart", System.currentTimeMillis()); - installation.setAttachment("Owner", actor); - installation.setAttachment("Deed_StructureTemplate", ((Harvester_Deed)usedDeed).getStructureTemplate()); - installation.setAttachment("Deed_DeedTemplate", ((Harvester_Deed)usedDeed).getTemplate()); - installation.setAttachment("Deed_BER", ((Harvester_Deed)usedDeed).getBER()); - installation.setAttachment("Deed_Capacity", ((Harvester_Deed)usedDeed).getOutputHopperCapacity()); - installation.setAttachment("Deed_DeedLots", ((Harvester_Deed)usedDeed).getLotRequirement()); - installation.setAttachment("Deed_SurplusMaintenance", ((Harvester_Deed)usedDeed).getSurplusMaintenance()); - installation.setAttachment("Deed_SurplusPower", ((Harvester_Deed)usedDeed).getSurplusPower()); + installation.setAttachment("ownerId", actor.getObjectID()); + installation.setAttachment("StructureTemplate", usedDeed.getAttachment("StructureTemplate")); + installation.setAttachment("Deed_DeedTemplate", usedDeed.getTemplate()); + installation.setAttachment("Deed_BER", usedDeed.getIntAttribute("examine_extractionrate")); + installation.setAttachment("Deed_Capacity", usedDeed.getIntAttribute("examine_hoppersize")); + installation.setAttachment("Deed_DeedLots", usedDeed.getAttachment("LotRequirement")); + installation.setAttachment("Deed_SurplusMaintenance", usedDeed.getIntAttribute("examine_maintenance")); + installation.setAttachment("Deed_SurplusPower", usedDeed.getIntAttribute("examine_power")); // destroy deed - TangibleObject playerInventory = (TangibleObject) actor.getSlottedObject("inventory"); - playerInventory.remove(usedDeed); + core.objectService.destroyObject(usedDeed); core.simulationService.add(installation, posX, posZ, true); PlayerObject player = (PlayerObject) actor.getSlottedObject("ghost"); - player.setLotsRemaining(player.getLotsRemaining()-(int)((Harvester_Deed)usedDeed).getLotRequirement()); + player.setLotsRemaining(player.getLotsRemaining() - (int) usedDeed.getAttachment("LotRequirement")); synchronized(allConstructors){ allConstructors.add(installation); } } public void placeHarvester(SWGObject object) { - CreatureObject actor = (CreatureObject) object.getAttachment("Owner"); - String structureTemplate = (String)object.getAttachment("Deed_StructureTemplate"); + CreatureObject actor = (CreatureObject) NGECore.getInstance().objectService.getObject((Long) object.getAttachment("ownerId")); + String structureTemplate = (String) object.getAttachment("StructureTemplate"); HarvesterObject harvester = (HarvesterObject) NGECore.getInstance().objectService.createObject(structureTemplate, actor.getPlanet()); long objectId = harvester.getObjectID(); Vector adminList = harvester.getAdminList(); @@ -1039,7 +1058,7 @@ public class HarvesterService implements INetworkDispatch { } - public void enterStructurePlacementMode(SWGObject object, CreatureObject actor){ + public void enterStructurePlacementMode(CreatureObject actor, SWGObject object){ if (!actor.getClient().isGM() && !core.terrainService.canBuildAtPosition(actor,actor.getPosition().x,actor.getPosition().z)){ actor.sendSystemMessage("@player_structure:not_permitted", (byte) 0); @@ -1047,13 +1066,12 @@ public class HarvesterService implements INetworkDispatch { } PlayerObject player = (PlayerObject) actor.getSlottedObject("ghost"); - if (((Harvester_Deed)object).getLotRequirement()>player.getLotsRemaining()){ + if (((Integer) object.getAttachment("LotRequirement")) > player.getLotsRemaining()){ actor.sendSystemMessage("@player_structure:not_enough_lots", (byte) 0); return; } - actor.setAttachment("LastUsedDeed", object); - String structureTemplate = ((Harvester_Deed)object).getStructureTemplate(); + String structureTemplate = (String) object.getAttachment("StructureTemplate"); //String temp = "object/installation/mining_ore/shared_mining_ore_harvester_style_1.iff"; EnterStructurePlacementModeMessage placementMsg = new EnterStructurePlacementModeMessage(actor,structureTemplate); actor.getClient().getSession().write(placementMsg.serialize()); @@ -1085,11 +1103,11 @@ public class HarvesterService implements INetworkDispatch { public void createExampleDeed(CreatureObject actor){ String templateString="object/tangible/deed/harvester_deed/shared_harvester_ore_s1_deed.iff"; - Harvester_Deed deed = (Harvester_Deed)core.objectService.createObject(templateString, actor.getPlanet()); - deed.setName("Example Harvester Deed"); - deed.setStructureTemplate("object/installation/mining_ore/shared_mining_ore_harvester_style_1.iff"); - deed.setOutputHopperCapacity(27344); - deed.setBER(15); + TangibleObject deed = (TangibleObject) core.objectService.createObject(templateString, actor.getPlanet()); + deed.setCustomName("Example Harvester Deed"); + deed.setAttachment("StructureTemplate", "object/installation/mining_ore/shared_mining_ore_harvester_style_1.iff"); + deed.setIntAttribute("examine_hoppersize", 27344); + deed.setIntAttribute("examine_extractionrate", 15); TangibleObject playerInventory = (TangibleObject) actor.getSlottedObject("inventory"); playerInventory.add(deed); From 985cd6b779a4f224e31ef5afe7786c831f4805f0 Mon Sep 17 00:00:00 2001 From: Treeku Date: Tue, 29 Apr 2014 03:56:52 +0100 Subject: [PATCH 24/52] Moved buff and skillmod objects --- .../objectControllerObjects/BuffBuilderChangeMessage.java | 2 +- .../swg/objectControllerObjects/BuffBuilderEndMessage.java | 2 +- src/resources/{objects => buffs}/Buff.java | 3 ++- src/resources/{objects => buffs}/BuffItem.java | 2 +- src/resources/{objects => buffs}/DamageOverTime.java | 2 +- src/resources/objects/creature/CreatureMessageBuilder.java | 5 ++--- src/resources/objects/creature/CreatureObject.java | 6 +++--- src/resources/{objects => skills}/SkillMod.java | 4 +++- src/services/BuffService.java | 4 ++-- src/services/EntertainmentService.java | 4 ++-- src/services/GroupService.java | 2 +- src/services/PlayerService.java | 2 +- src/services/SkillModService.java | 2 +- src/services/combat/CombatService.java | 4 ++-- 14 files changed, 23 insertions(+), 21 deletions(-) rename src/resources/{objects => buffs}/Buff.java (99%) rename src/resources/{objects => buffs}/BuffItem.java (98%) rename src/resources/{objects => buffs}/DamageOverTime.java (99%) rename src/resources/{objects => skills}/SkillMod.java (97%) diff --git a/src/protocol/swg/objectControllerObjects/BuffBuilderChangeMessage.java b/src/protocol/swg/objectControllerObjects/BuffBuilderChangeMessage.java index b522ee35..0c5740fd 100644 --- a/src/protocol/swg/objectControllerObjects/BuffBuilderChangeMessage.java +++ b/src/protocol/swg/objectControllerObjects/BuffBuilderChangeMessage.java @@ -6,7 +6,7 @@ import java.util.Vector; import org.apache.mina.core.buffer.IoBuffer; import protocol.swg.ObjControllerMessage; -import resources.objects.BuffItem; +import resources.buffs.BuffItem; public class BuffBuilderChangeMessage extends ObjControllerObject { diff --git a/src/protocol/swg/objectControllerObjects/BuffBuilderEndMessage.java b/src/protocol/swg/objectControllerObjects/BuffBuilderEndMessage.java index 96a959db..b4aa5cd1 100644 --- a/src/protocol/swg/objectControllerObjects/BuffBuilderEndMessage.java +++ b/src/protocol/swg/objectControllerObjects/BuffBuilderEndMessage.java @@ -27,7 +27,7 @@ import java.util.Vector; import org.apache.mina.core.buffer.IoBuffer; import protocol.swg.ObjControllerMessage; -import resources.objects.BuffItem; +import resources.buffs.BuffItem; public class BuffBuilderEndMessage extends ObjControllerObject { diff --git a/src/resources/objects/Buff.java b/src/resources/buffs/Buff.java similarity index 99% rename from src/resources/objects/Buff.java rename to src/resources/buffs/Buff.java index fd6aa4e0..52b9613e 100644 --- a/src/resources/objects/Buff.java +++ b/src/resources/buffs/Buff.java @@ -19,7 +19,7 @@ * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. ******************************************************************************/ -package resources.objects; +package resources.buffs; import java.nio.ByteOrder; import java.util.concurrent.Executors; @@ -31,6 +31,7 @@ import main.NGECore; import org.apache.mina.core.buffer.IoBuffer; import org.apache.mina.core.buffer.SimpleBufferAllocator; +import resources.objects.IDelta; import resources.objects.creature.CreatureObject; import com.sleepycat.persist.model.NotPersistent; diff --git a/src/resources/objects/BuffItem.java b/src/resources/buffs/BuffItem.java similarity index 98% rename from src/resources/objects/BuffItem.java rename to src/resources/buffs/BuffItem.java index b87ce0af..ae302027 100644 --- a/src/resources/objects/BuffItem.java +++ b/src/resources/buffs/BuffItem.java @@ -19,7 +19,7 @@ * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. ******************************************************************************/ -package resources.objects; +package resources.buffs; import com.sleepycat.persist.model.Persistent; diff --git a/src/resources/objects/DamageOverTime.java b/src/resources/buffs/DamageOverTime.java similarity index 99% rename from src/resources/objects/DamageOverTime.java rename to src/resources/buffs/DamageOverTime.java index ce367916..8a21306a 100644 --- a/src/resources/objects/DamageOverTime.java +++ b/src/resources/buffs/DamageOverTime.java @@ -19,7 +19,7 @@ * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. ******************************************************************************/ -package resources.objects; +package resources.buffs; import java.util.concurrent.ScheduledFuture; diff --git a/src/resources/objects/creature/CreatureMessageBuilder.java b/src/resources/objects/creature/CreatureMessageBuilder.java index 1255acb9..b7e4553f 100644 --- a/src/resources/objects/creature/CreatureMessageBuilder.java +++ b/src/resources/objects/creature/CreatureMessageBuilder.java @@ -22,7 +22,6 @@ package resources.objects.creature; import java.nio.ByteOrder; - import java.util.Map.Entry; import org.apache.mina.core.buffer.IoBuffer; @@ -30,13 +29,13 @@ import org.apache.mina.core.buffer.IoBuffer; import com.sleepycat.persist.model.Persistent; import engine.resources.common.CRC; -import resources.objects.Buff; +import resources.buffs.Buff; import resources.objects.ObjectMessageBuilder; -import resources.objects.SkillMod; import engine.resources.objects.SWGObject; import resources.objects.player.PlayerObject; import resources.objects.tangible.TangibleObject; import resources.objects.weapon.WeaponObject; +import resources.skills.SkillMod; @Persistent public class CreatureMessageBuilder extends ObjectMessageBuilder { diff --git a/src/resources/objects/creature/CreatureObject.java b/src/resources/objects/creature/CreatureObject.java index b13b9201..cfd9a60c 100644 --- a/src/resources/objects/creature/CreatureObject.java +++ b/src/resources/objects/creature/CreatureObject.java @@ -49,13 +49,12 @@ import com.sleepycat.persist.model.NotPersistent; import main.NGECore; import engine.clients.Client; +import resources.buffs.Buff; +import resources.buffs.DamageOverTime; import resources.common.Cooldown; import resources.common.OutOfBand; -import resources.objects.Buff; -import resources.objects.DamageOverTime; import resources.objects.SWGList; import resources.objects.SWGMap; -import resources.objects.SkillMod; import engine.resources.common.CRC; import engine.resources.objects.IPersistent; import engine.resources.objects.MissionCriticalObject; @@ -65,6 +64,7 @@ import engine.resources.scene.Point3D; import engine.resources.scene.Quaternion; import resources.objects.player.PlayerObject; import resources.objects.tangible.TangibleObject; +import resources.skills.SkillMod; import services.command.BaseSWGCommand; @Entity(version=9) diff --git a/src/resources/objects/SkillMod.java b/src/resources/skills/SkillMod.java similarity index 97% rename from src/resources/objects/SkillMod.java rename to src/resources/skills/SkillMod.java index 1a2fef63..2bce0b23 100644 --- a/src/resources/objects/SkillMod.java +++ b/src/resources/skills/SkillMod.java @@ -19,10 +19,12 @@ * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. ******************************************************************************/ -package resources.objects; +package resources.skills; import org.apache.mina.core.buffer.IoBuffer; +import resources.objects.Delta; + import com.sleepycat.persist.model.Persistent; @Persistent(version=0) diff --git a/src/services/BuffService.java b/src/services/BuffService.java index 71f44a0d..839c2b01 100644 --- a/src/services/BuffService.java +++ b/src/services/BuffService.java @@ -31,9 +31,9 @@ import java.util.concurrent.TimeUnit; import org.python.core.Py; import org.python.core.PyObject; +import resources.buffs.Buff; +import resources.buffs.DamageOverTime; import resources.common.FileUtilities; -import resources.objects.Buff; -import resources.objects.DamageOverTime; import resources.objects.creature.CreatureObject; import resources.objects.group.GroupObject; import resources.objects.player.PlayerObject; diff --git a/src/services/EntertainmentService.java b/src/services/EntertainmentService.java index f210cdc7..0643348e 100644 --- a/src/services/EntertainmentService.java +++ b/src/services/EntertainmentService.java @@ -20,6 +20,7 @@ import protocol.swg.ObjControllerMessage; import protocol.swg.objectControllerObjects.BuffBuilderChangeMessage; import protocol.swg.objectControllerObjects.BuffBuilderEndMessage; import protocol.swg.objectControllerObjects.ImageDesignMessage; +import resources.buffs.BuffItem; import resources.common.BuffBuilder; import resources.common.IDAttribute; import resources.common.MathUtilities; @@ -29,11 +30,10 @@ import resources.common.Performance; import resources.common.PerformanceEffect; import resources.common.RGB; import resources.datatables.Posture; -import resources.objects.BuffItem; -import resources.objects.SkillMod; import resources.objects.creature.CreatureObject; import resources.objects.player.PlayerObject; import resources.objects.tangible.TangibleObject; +import resources.skills.SkillMod; import resources.visitors.IDManagerVisitor; import services.sui.SUIService.InputBoxType; import services.sui.SUIWindow; diff --git a/src/services/GroupService.java b/src/services/GroupService.java index fa4d9d5b..b7ffa309 100644 --- a/src/services/GroupService.java +++ b/src/services/GroupService.java @@ -25,7 +25,7 @@ import java.util.ArrayList; import java.util.List; import java.util.Map; -import resources.objects.Buff; +import resources.buffs.Buff; import resources.objects.creature.CreatureObject; import resources.objects.group.GroupObject; import services.chat.ChatRoom; diff --git a/src/services/PlayerService.java b/src/services/PlayerService.java index ea075dc5..82f5150d 100644 --- a/src/services/PlayerService.java +++ b/src/services/PlayerService.java @@ -58,6 +58,7 @@ import protocol.swg.ShowHelmet; import protocol.swg.objectControllerObjects.ChangeRoleIconChoice; import protocol.swg.objectControllerObjects.ShowFlyText; import protocol.swg.objectControllerObjects.ShowLootBox; +import resources.buffs.Buff; import resources.common.FileUtilities; import resources.common.ObjControllerOpcodes; import resources.common.Opcodes; @@ -70,7 +71,6 @@ import resources.datatables.DisplayType; import resources.datatables.PlayerFlags; import resources.datatables.Professions; import resources.guild.Guild; -import resources.objects.Buff; import resources.objects.building.BuildingObject; import resources.objects.cell.CellObject; import resources.objects.creature.CreatureObject; diff --git a/src/services/SkillModService.java b/src/services/SkillModService.java index b72dc14e..e463c473 100644 --- a/src/services/SkillModService.java +++ b/src/services/SkillModService.java @@ -25,8 +25,8 @@ import java.util.HashMap; import java.util.Map; import resources.common.FileUtilities; -import resources.objects.SkillMod; import resources.objects.creature.CreatureObject; +import resources.skills.SkillMod; import main.NGECore; import engine.clientdata.ClientFileManager; import engine.clientdata.visitors.DatatableVisitor; diff --git a/src/services/combat/CombatService.java b/src/services/combat/CombatService.java index 1a265c8c..9440d2b9 100644 --- a/src/services/combat/CombatService.java +++ b/src/services/combat/CombatService.java @@ -40,13 +40,13 @@ import protocol.swg.objectControllerObjects.CombatAction; import protocol.swg.objectControllerObjects.CombatSpam; import protocol.swg.objectControllerObjects.CommandEnqueueRemove; import protocol.swg.objectControllerObjects.StartTask; +import resources.buffs.Buff; +import resources.buffs.DamageOverTime; import resources.common.FileUtilities; import resources.datatables.Options; import resources.datatables.Elemental; import resources.datatables.Posture; import resources.datatables.WeaponType; -import resources.objects.Buff; -import resources.objects.DamageOverTime; import resources.objects.creature.CreatureObject; import resources.objects.player.PlayerObject; import resources.objects.tangible.TangibleObject; From 73f8ad85bc436670cfdd0871beae230533479341 Mon Sep 17 00:00:00 2001 From: Treeku Date: Tue, 29 Apr 2014 04:49:42 +0100 Subject: [PATCH 25/52] useObject adds the UseTarget --- scripts/radial/deeds/harvesterDeed.py | 2 +- src/main/NGECore.java | 2 +- src/services/object/ObjectService.java | 2 ++ src/services/resources/HarvesterService.java | 8 ++++---- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/scripts/radial/deeds/harvesterDeed.py b/scripts/radial/deeds/harvesterDeed.py index d25e0503..9d85158b 100644 --- a/scripts/radial/deeds/harvesterDeed.py +++ b/scripts/radial/deeds/harvesterDeed.py @@ -11,10 +11,10 @@ def createRadial(core, owner, target, radials): def handleSelection(core, owner, target, option): if option == 21 and target: + core.objectService.useObject(owner, target) core.harvesterService.enterStructurePlacementMode(owner, target) if option == 61 and target: object5 = core.harvesterService.constructionSite(owner, target) - core.objectService.useObject(owner, target) if option == 15 and target: core.objectService.destroyObject(target) return diff --git a/src/main/NGECore.java b/src/main/NGECore.java index c99d4912..7cbf266b 100644 --- a/src/main/NGECore.java +++ b/src/main/NGECore.java @@ -363,6 +363,7 @@ public class NGECore { zoneDispatch.addService(bazaarService); zoneDispatch.addService(lootService); zoneDispatch.addService(mountService); + zoneDispatch.addService(housingService); zoneDispatch.addService(playerCityService); if (optionsConfigLoaded && options.getInt("LOAD.RESOURCE.SYSTEM") == 1) { @@ -482,7 +483,6 @@ public class NGECore { spawnService.loadLairGroups(); spawnService.loadSpawnAreas(); - housingService.loadHousingTemplates(); equipmentService.loadBonusSets(); retroService.run(); diff --git a/src/services/object/ObjectService.java b/src/services/object/ObjectService.java index e46c047f..8cfc50f4 100644 --- a/src/services/object/ObjectService.java +++ b/src/services/object/ObjectService.java @@ -638,6 +638,8 @@ public class ObjectService implements INetworkDispatch { return; } + creature.setUseTarget(object); + int reuse_time; try { diff --git a/src/services/resources/HarvesterService.java b/src/services/resources/HarvesterService.java index f8838be1..151a6d67 100644 --- a/src/services/resources/HarvesterService.java +++ b/src/services/resources/HarvesterService.java @@ -944,19 +944,19 @@ public class HarvesterService implements INetworkDispatch { quaternion = resources.common.MathUtilities.rotateQuaternion(quaternion, (float)((Math.PI/2) * dir), new Point3D(0, 1, 0)); InstallationObject installation = (InstallationObject) core.objectService.createObject(constructorTemplate, 0, actor.getPlanet(), new Point3D(posX, positionY, posZ), quaternion); - if (usedDeed.getAttributes().containsKey("examine_extractionrate")) { + if (!usedDeed.getAttributes().containsKey("examine_extractionrate")) { usedDeed.setIntAttribute("examine_extractionrate", 0); } - if (usedDeed.getAttributes().containsKey("examine_hoppersize")) { + if (!usedDeed.getAttributes().containsKey("examine_hoppersize")) { usedDeed.setIntAttribute("examine_hoppersize", 0); } - if (usedDeed.getAttributes().containsKey("examine_maintenance")) { + if (!usedDeed.getAttributes().containsKey("examine_maintenance")) { usedDeed.setIntAttribute("examine_maintenance", 0); } - if (usedDeed.getAttributes().containsKey("examine_power")) { + if (!usedDeed.getAttributes().containsKey("examine_power")) { usedDeed.setIntAttribute("examine_power", 0); } From af64aae9f1320e6ca0e931496d3547ed2b514ff4 Mon Sep 17 00:00:00 2001 From: Treeku Date: Tue, 29 Apr 2014 05:33:16 +0100 Subject: [PATCH 26/52] Fixed merge clashes --- scripts/commands/placestructure.py | 2 +- scripts/houses/player_house_naboo_large_style_01.py | 5 +++-- scripts/houses/player_house_naboo_medium_style_01.py | 5 +++-- scripts/houses/player_house_naboo_small_style_01.py | 5 +++-- scripts/houses/player_house_naboo_small_style_02.py | 5 +++-- .../houses/player_house_naboo_small_window_style_01.py | 5 +++-- scripts/houses/player_house_sandcrawler.py | 7 ++++--- scripts/houses/player_house_tatooine_large_style_01.py | 5 +++-- .../houses/player_house_tatooine_medium_style_01.py | 5 +++-- scripts/houses/player_house_tatooine_small_style_01.py | 5 +++-- scripts/houses/player_house_tatooine_small_style_02.py | 5 +++-- .../player_house_tatooine_small_window_style_01.py | 5 +++-- scripts/houses/player_house_tcg_8_bespin_house.py | 5 +++-- scripts/houses/player_merchant_tent_style_01.py | 5 +++-- scripts/houses/player_merchant_tent_style_02.py | 5 +++-- scripts/houses/player_merchant_tent_style_03.py | 5 +++-- .../player_house_deed/merchant_tent_style_01_deed.py | 4 ---- .../player_house_deed/merchant_tent_style_02_deed.py | 4 ---- .../player_house_deed/merchant_tent_style_03_deed.py | 4 ---- .../deed/player_house_deed/naboo_house_large_deed.py | 10 +--------- .../deed/player_house_deed/naboo_house_medium_deed.py | 4 ---- .../deed/player_house_deed/naboo_house_small_deed.py | 4 ---- .../naboo_house_small_style_02_deed.py | 4 ---- .../player_house_deed/naboo_house_small_window_deed.py | 4 ---- .../player_house_tcg_8_bespin_house_deed.py | 4 ---- .../player_house_deed/tatooine_house_large_deed.py | 4 ---- .../player_house_deed/tatooine_house_medium_deed.py | 4 ---- .../player_house_deed/tatooine_house_small_deed.py | 4 ---- .../tatooine_house_small_style_02_deed.py | 4 ---- .../rewards/structure_deed_player_house_sandcrawler.py | 4 ---- src/services/DevService.java | 2 -- src/services/housing/HousingService.java | 1 - src/services/object/ObjectService.java | 2 -- src/services/resources/HarvesterService.java | 1 - 34 files changed, 48 insertions(+), 99 deletions(-) diff --git a/scripts/commands/placestructure.py b/scripts/commands/placestructure.py index 30b239a0..fa7bc65a 100644 --- a/scripts/commands/placestructure.py +++ b/scripts/commands/placestructure.py @@ -12,7 +12,7 @@ def run(core, actor, target, commandString): if deed == actor: deed = actor.getUseTarget() - if deed.getTemplate().startswith('object/tangible/deed/harvester_deed') is True: + if deed.getTemplate().startswith('object/tangible/deed/harvester_deed') is True or deed.getTemplate().startswith('object/tangible/deed/generator_deed') is True: core.harvesterService.handlePlaceStructureCommand(actor, target, commandString) return diff --git a/scripts/houses/player_house_naboo_large_style_01.py b/scripts/houses/player_house_naboo_large_style_01.py index afaf05dd..a75ee9c9 100644 --- a/scripts/houses/player_house_naboo_large_style_01.py +++ b/scripts/houses/player_house_naboo_large_style_01.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_naboo_house_large_deed.iff", "object/building/player/shared_player_house_naboo_large_style_01.iff", 5) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-7), float(3), float(-15.5))) @@ -10,6 +10,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("rori") houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.setDefaultItemLimit(500) + houseTemplate.setBaseMaintenanceRate(8) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_naboo_medium_style_01.py b/scripts/houses/player_house_naboo_medium_style_01.py index fd16fd70..c5cf6211 100644 --- a/scripts/houses/player_house_naboo_medium_style_01.py +++ b/scripts/houses/player_house_naboo_medium_style_01.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_naboo_house_medium_deed.iff", "object/building/player/shared_player_house_naboo_medium_style_01.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-2.2),float(3),float(-11.5))) @@ -10,5 +10,6 @@ def setup(core): houseTemplate.addPlaceablePlanet("rori") houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.setDefaultItemLimit(200) - core.housingService.addHousingTemplate(houseTemplate) + houseTemplate.setBaseMaintenanceRate(18) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_naboo_small_style_01.py b/scripts/houses/player_house_naboo_small_style_01.py index eb092bce..7fdd3716 100644 --- a/scripts/houses/player_house_naboo_small_style_01.py +++ b/scripts/houses/player_house_naboo_small_style_01.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_naboo_house_small_deed.iff", "object/building/player/shared_player_house_naboo_small_style_01.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-1.7),float(3),float(8.2))) @@ -10,5 +10,6 @@ def setup(core): houseTemplate.addPlaceablePlanet("rori") houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.setDefaultItemLimit(200) - core.housingService.addHousingTemplate(houseTemplate) + houseTemplate.setBaseMaintenanceRate(18) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_naboo_small_style_02.py b/scripts/houses/player_house_naboo_small_style_02.py index f5f35f0f..05f46d81 100644 --- a/scripts/houses/player_house_naboo_small_style_02.py +++ b/scripts/houses/player_house_naboo_small_style_02.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_naboo_house_small_style_02_deed.iff", "object/building/player/shared_player_house_naboo_small_style_02.iff", 1) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(8.4),float(3),float(7.2))) @@ -10,5 +10,6 @@ def setup(core): houseTemplate.addPlaceablePlanet("rori") houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.setDefaultItemLimit(100) - core.housingService.addHousingTemplate(houseTemplate) + houseTemplate.setBaseMaintenanceRate(18) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_naboo_small_window_style_01.py b/scripts/houses/player_house_naboo_small_window_style_01.py index 7ffa7dec..375af434 100644 --- a/scripts/houses/player_house_naboo_small_window_style_01.py +++ b/scripts/houses/player_house_naboo_small_window_style_01.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_naboo_house_small_window_deed.iff", "object/building/player/shared_player_house_naboo_small_window_style_01.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-1.7),float(3),float(8.2))) @@ -10,5 +10,6 @@ def setup(core): houseTemplate.addPlaceablePlanet("rori") houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.setDefaultItemLimit(200) - core.housingService.addHousingTemplate(houseTemplate) + houseTemplate.setBaseMaintenanceRate(18) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_sandcrawler.py b/scripts/houses/player_house_sandcrawler.py index c14d2b8c..3d33b10f 100644 --- a/scripts/houses/player_house_sandcrawler.py +++ b/scripts/houses/player_house_sandcrawler.py @@ -2,8 +2,8 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): - houseTemplate = HouseTemplate("object/tangible/saga_system/rewards/shared_structure_deed_player_house_sandcrawler.iff", "object/building/player/shared_player_house_sandcrawler.iff", 3) +def setup(housingTemplates): + houseTemplate = HouseTemplate("object/tangible/saga_system/rewards/shared_structure_deed_player_house_sandcrawler.iff", "object/building/player/shared_player_house_sandcrawler.iff", 5) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-8.75), float(3.86), float(1))) houseTemplate.addPlaceablePlanet("tatooine") @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(350) + houseTemplate.setBaseMaintenanceRate(26) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_tatooine_large_style_01.py b/scripts/houses/player_house_tatooine_large_style_01.py index 3085eb20..37a9b894 100644 --- a/scripts/houses/player_house_tatooine_large_style_01.py +++ b/scripts/houses/player_house_tatooine_large_style_01.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_tatooine_house_large_deed.iff", "object/building/player/shared_player_house_tatooine_large_style_01.iff", 5) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-3), float(3), float(15.8))) @@ -10,6 +10,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("lok") houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.setDefaultItemLimit(500) + houseTemplate.setBaseMaintenanceRate(26) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_tatooine_medium_style_01.py b/scripts/houses/player_house_tatooine_medium_style_01.py index d173048d..959cbb7e 100644 --- a/scripts/houses/player_house_tatooine_medium_style_01.py +++ b/scripts/houses/player_house_tatooine_medium_style_01.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_tatooine_house_medium_deed.iff", "object/building/player/shared_player_house_tatooine_medium_style_01.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(4.3),float(2.26),float(12.5))) @@ -10,5 +10,6 @@ def setup(core): houseTemplate.addPlaceablePlanet("lok") houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.setDefaultItemLimit(200) - core.housingService.addHousingTemplate(houseTemplate) + houseTemplate.setBaseMaintenanceRate(18) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_tatooine_small_style_01.py b/scripts/houses/player_house_tatooine_small_style_01.py index eff8a21d..1e2579c2 100644 --- a/scripts/houses/player_house_tatooine_small_style_01.py +++ b/scripts/houses/player_house_tatooine_small_style_01.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_tatooine_house_small_deed.iff", "object/building/player/shared_player_house_tatooine_small_style_01.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-1.7),float(3),float(7.9))) @@ -10,5 +10,6 @@ def setup(core): houseTemplate.addPlaceablePlanet("lok") houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.setDefaultItemLimit(200) - core.housingService.addHousingTemplate(houseTemplate) + houseTemplate.setBaseMaintenanceRate(8) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_tatooine_small_style_02.py b/scripts/houses/player_house_tatooine_small_style_02.py index e5484c22..8c953386 100644 --- a/scripts/houses/player_house_tatooine_small_style_02.py +++ b/scripts/houses/player_house_tatooine_small_style_02.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_tatooine_house_small_style_02_deed.iff", "object/building/player/shared_player_house_tatooine_small_style_02.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-1.7),float(3),float(8.2))) @@ -10,5 +10,6 @@ def setup(core): houseTemplate.addPlaceablePlanet("lok") houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.setDefaultItemLimit(200) - core.housingService.addHousingTemplate(houseTemplate) + houseTemplate.setBaseMaintenanceRate(8) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_tatooine_small_window_style_01.py b/scripts/houses/player_house_tatooine_small_window_style_01.py index eff8a21d..1e2579c2 100644 --- a/scripts/houses/player_house_tatooine_small_window_style_01.py +++ b/scripts/houses/player_house_tatooine_small_window_style_01.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_tatooine_house_small_deed.iff", "object/building/player/shared_player_house_tatooine_small_style_01.iff", 2) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-1.7),float(3),float(7.9))) @@ -10,5 +10,6 @@ def setup(core): houseTemplate.addPlaceablePlanet("lok") houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.setDefaultItemLimit(200) - core.housingService.addHousingTemplate(houseTemplate) + houseTemplate.setBaseMaintenanceRate(8) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_house_tcg_8_bespin_house.py b/scripts/houses/player_house_tcg_8_bespin_house.py index c7ac7d0b..2f37c85a 100644 --- a/scripts/houses/player_house_tcg_8_bespin_house.py +++ b/scripts/houses/player_house_tcg_8_bespin_house.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_player_house_tcg_8_bespin_house_deed.iff", "object/building/player/shared_player_house_tcg_8_bespin_house.iff", 3) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(0), float(2.86), float(-3.5))) @@ -14,6 +14,7 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(350) + houseTemplate.setBaseMaintenanceRate(8) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_merchant_tent_style_01.py b/scripts/houses/player_merchant_tent_style_01.py index 3eef6c91..684cbcb6 100644 --- a/scripts/houses/player_merchant_tent_style_01.py +++ b/scripts/houses/player_merchant_tent_style_01.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_merchant_tent_style_01_deed.iff", "object/building/player/shared_player_merchant_tent_style_01.iff", 1) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(3.5),float(-0.3),float(3.5))) @@ -14,5 +14,6 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(200) - core.housingService.addHousingTemplate(houseTemplate) + houseTemplate.setBaseMaintenanceRate(8) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_merchant_tent_style_02.py b/scripts/houses/player_merchant_tent_style_02.py index 811c5a5e..96668f8d 100644 --- a/scripts/houses/player_merchant_tent_style_02.py +++ b/scripts/houses/player_merchant_tent_style_02.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_merchant_tent_style_02_deed.iff", "object/building/player/shared_player_merchant_tent_style_02.iff", 1) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(3.5),float(-0.3),float(3.5))) @@ -14,5 +14,6 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(200) - core.housingService.addHousingTemplate(houseTemplate) + houseTemplate.setBaseMaintenanceRate(8) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_merchant_tent_style_03.py b/scripts/houses/player_merchant_tent_style_03.py index d908b947..abfa4196 100644 --- a/scripts/houses/player_merchant_tent_style_03.py +++ b/scripts/houses/player_merchant_tent_style_03.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_merchant_tent_style_03_deed.iff", "object/building/player/shared_player_merchant_tent_style_03.iff", 1) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(3.5),float(-0.3),float(3.5))) @@ -14,5 +14,6 @@ def setup(core): houseTemplate.addPlaceablePlanet("dantooine") houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(200) - core.housingService.addHousingTemplate(houseTemplate) + houseTemplate.setBaseMaintenanceRate(8) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/player_house_deed/merchant_tent_style_01_deed.py b/scripts/object/tangible/deed/player_house_deed/merchant_tent_style_01_deed.py index 39fa9d08..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/merchant_tent_style_01_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/merchant_tent_style_01_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_structure.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_merchant_tent_style_01_deed.iff') - object.setLotRequirement(2) - object.setBMR(8) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/merchant_tent_style_02_deed.py b/scripts/object/tangible/deed/player_house_deed/merchant_tent_style_02_deed.py index 387a8928..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/merchant_tent_style_02_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/merchant_tent_style_02_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_structure.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_merchant_tent_style_02_deed.iff') - object.setLotRequirement(2) - object.setBMR(8) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/merchant_tent_style_03_deed.py b/scripts/object/tangible/deed/player_house_deed/merchant_tent_style_03_deed.py index 38c8003f..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/merchant_tent_style_03_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/merchant_tent_style_03_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_structure.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_merchant_tent_style_03_deed.iff') - object.setLotRequirement(2) - object.setBMR(8) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/naboo_house_large_deed.py b/scripts/object/tangible/deed/player_house_deed/naboo_house_large_deed.py index 0f0a6353..5483eb6d 100644 --- a/scripts/object/tangible/deed/player_house_deed/naboo_house_large_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/naboo_house_large_deed.py @@ -2,12 +2,4 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_naboo_large_style_01.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_naboo_house_large_deed.iff') - object.setLotRequirement(2) - object.setBMR(8) - return - - - - + return \ No newline at end of file diff --git a/scripts/object/tangible/deed/player_house_deed/naboo_house_medium_deed.py b/scripts/object/tangible/deed/player_house_deed/naboo_house_medium_deed.py index 22d9b33e..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/naboo_house_medium_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/naboo_house_medium_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_naboo_medium_style_01.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_naboo_house_medium_deed.iff') - object.setLotRequirement(2) - object.setBMR(18) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/naboo_house_small_deed.py b/scripts/object/tangible/deed/player_house_deed/naboo_house_small_deed.py index edff2158..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/naboo_house_small_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/naboo_house_small_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_naboo_small_style_01.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_naboo_house_small_deed.iff') - object.setLotRequirement(2) - object.setBMR(18) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/naboo_house_small_style_02_deed.py b/scripts/object/tangible/deed/player_house_deed/naboo_house_small_style_02_deed.py index adeca170..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/naboo_house_small_style_02_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/naboo_house_small_style_02_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_naboo_small_style_02.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_naboo_house_small_style_02_deed.iff') - object.setLotRequirement(2) - object.setBMR(18) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/naboo_house_small_window_deed.py b/scripts/object/tangible/deed/player_house_deed/naboo_house_small_window_deed.py index 8ebc7feb..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/naboo_house_small_window_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/naboo_house_small_window_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_player_house_naboo_small_window_style_01.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_naboo_house_small_window_deed.iff') - object.setLotRequirement(2) - object.setBMR(18) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/player_house_tcg_8_bespin_house_deed.py b/scripts/object/tangible/deed/player_house_deed/player_house_tcg_8_bespin_house_deed.py index 937edeb4..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/player_house_tcg_8_bespin_house_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/player_house_tcg_8_bespin_house_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_structure.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_player_house_tcg_8_bespin_house_deed.iff') - object.setLotRequirement(2) - object.setBMR(8) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/tatooine_house_large_deed.py b/scripts/object/tangible/deed/player_house_deed/tatooine_house_large_deed.py index 7110ddc2..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/tatooine_house_large_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/tatooine_house_large_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_corellia_large_style_01.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_corellia_house_large_deed.iff') - object.setLotRequirement(5) - object.setBMR(26) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/tatooine_house_medium_deed.py b/scripts/object/tangible/deed/player_house_deed/tatooine_house_medium_deed.py index b9918233..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/tatooine_house_medium_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/tatooine_house_medium_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_tatooine_medium_style_01.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_tatooine_house_medium_deed.iff') - object.setLotRequirement(2) - object.setBMR(18) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/tatooine_house_small_deed.py b/scripts/object/tangible/deed/player_house_deed/tatooine_house_small_deed.py index dd23d101..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/tatooine_house_small_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/tatooine_house_small_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_construction_player_house_tatooine_small_style_01.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_tatooine_house_small_deed.iff') - object.setLotRequirement(2) - object.setBMR(8) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/player_house_deed/tatooine_house_small_style_02_deed.py b/scripts/object/tangible/deed/player_house_deed/tatooine_house_small_style_02_deed.py index 31de820d..07ab9319 100644 --- a/scripts/object/tangible/deed/player_house_deed/tatooine_house_small_style_02_deed.py +++ b/scripts/object/tangible/deed/player_house_deed/tatooine_house_small_style_02_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/construction/shared_tatooine_house_small_style_02_deed.iff') - object.setStructureTemplate('object/tangible/deed/player_house_deed/shared_tatooine_house_small_deed.iff') - object.setLotRequirement(2) - object.setBMR(8) return def use(core, actor, object): diff --git a/scripts/object/tangible/saga_system/rewards/structure_deed_player_house_sandcrawler.py b/scripts/object/tangible/saga_system/rewards/structure_deed_player_house_sandcrawler.py index 5a653b5c..07ab9319 100644 --- a/scripts/object/tangible/saga_system/rewards/structure_deed_player_house_sandcrawler.py +++ b/scripts/object/tangible/saga_system/rewards/structure_deed_player_house_sandcrawler.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/shared_construction_structure.iff') - object.setStructureTemplate('object/tangible/saga_system/rewards/shared_structure_deed_player_house_sandcrawler.iff') - object.setLotRequirement(5) - object.setBMR(26) return def use(core, actor, object): diff --git a/src/services/DevService.java b/src/services/DevService.java index a7cbf6c7..e2bd4390 100644 --- a/src/services/DevService.java +++ b/src/services/DevService.java @@ -40,8 +40,6 @@ import resources.datatables.WeaponType; import resources.objects.building.BuildingObject; import resources.objects.creature.CreatureObject; import resources.objects.player.PlayerObject; -import resources.objects.tangible.Harvester_Deed; -import resources.objects.tangible.Player_House_Deed; import resources.objects.tangible.TangibleObject; import resources.objects.tool.SurveyTool; import resources.objects.weapon.WeaponObject; diff --git a/src/services/housing/HousingService.java b/src/services/housing/HousingService.java index e35cd1a1..34bdb205 100644 --- a/src/services/housing/HousingService.java +++ b/src/services/housing/HousingService.java @@ -40,7 +40,6 @@ import protocol.swg.EnterStructurePlacementModeMessage; import resources.objects.building.BuildingObject; import resources.objects.creature.CreatureObject; import resources.objects.player.PlayerObject; -import resources.objects.tangible.Player_House_Deed; import resources.objects.tangible.TangibleObject; import services.playercities.PlayerCity; import services.sui.SUIWindow; diff --git a/src/services/object/ObjectService.java b/src/services/object/ObjectService.java index c48881ef..8cfc50f4 100644 --- a/src/services/object/ObjectService.java +++ b/src/services/object/ObjectService.java @@ -115,8 +115,6 @@ import resources.objects.resource.GalacticResource; import resources.objects.resource.ResourceContainerObject; import resources.objects.resource.ResourceRoot; import resources.objects.staticobject.StaticObject; -import resources.objects.tangible.Harvester_Deed; -import resources.objects.tangible.Player_House_Deed; import resources.objects.tangible.TangibleObject; import resources.objects.tool.SurveyTool; import resources.objects.waypoint.WaypointObject; diff --git a/src/services/resources/HarvesterService.java b/src/services/resources/HarvesterService.java index 57b7cf82..151a6d67 100644 --- a/src/services/resources/HarvesterService.java +++ b/src/services/resources/HarvesterService.java @@ -61,7 +61,6 @@ import resources.objects.player.PlayerObject; import resources.objects.resource.GalacticResource; import resources.objects.resource.ResourceContainerObject; import resources.objects.resource.ResourceRoot; -import resources.objects.tangible.Harvester_Deed; import resources.objects.tangible.TangibleObject; import resources.objects.waypoint.WaypointObject; import services.chat.Mail; From 29e78e1d0df15287b83ef10360bb99f739389dbc Mon Sep 17 00:00:00 2001 From: Treeku Date: Tue, 29 Apr 2014 08:35:18 +0100 Subject: [PATCH 27/52] Made doids more precise --- src/services/object/ObjectService.java | 27 ++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/src/services/object/ObjectService.java b/src/services/object/ObjectService.java index 8cfc50f4..46f9fea9 100644 --- a/src/services/object/ObjectService.java +++ b/src/services/object/ObjectService.java @@ -633,6 +633,26 @@ public class ObjectService implements INetworkDispatch { } + public long getDOId(String planet, String template, int type, long cellId, int cellNumber, float x1, float y, float z1) { + SWGObject container = getObject(cellId); + float x = ((container == null) ? x1 : container.getPosition().x + x1); + float z = ((container == null) ? z1 : container.getPosition().z + z1); + String key = "" + CRC.StringtoCRC(planet) + CRC.StringtoCRC(template) + type + cellId + cellNumber + x + y + z; + + long objectId = 0; + + if (core.getDuplicateIdODB().contains(key, String.class, DuplicateId.class)) { + objectId = core.getDuplicateIdODB().get(key, String.class, DuplicateId.class).getObjectId(); + } else { + objectId = generateObjectID(); + Transaction txn = core.getDuplicateIdODB().getEnvironment().beginTransaction(null, null); + core.getDuplicateIdODB().put(new DuplicateId(key, objectId), String.class, DuplicateId.class, txn); + txn.commitSync(); + } + + return objectId; + } + public void useObject(CreatureObject creature, SWGObject object) { if (creature == null || object == null) { return; @@ -1073,11 +1093,14 @@ public class ObjectService implements INetworkDispatch { if (duplicate.containsKey(containerId)) { containerId = duplicate.get(containerId); } + String planetName = planet.getName(); + + // TODO needs to a way to work for mustafar and kashyyyk which both have instances if (objectId != 0 && getObject(objectId) != null && (planetName.contains("dungeon") || planetName.contains("adventure"))) { SWGObject container = getObject(containerId); - int x = ((int) (px + ((container == null) ? x1 : container.getPosition().x))); - int z = ((int) (pz + ((container == null) ? z1 : container.getPosition().z))); + float x = (px + ((container == null) ? x1 : container.getPosition().x)); + float z = (pz + ((container == null) ? z1 : container.getPosition().z)); String key = "" + CRC.StringtoCRC(planet.getName()) + CRC.StringtoCRC(template) + type + containerId + cellIndex + x + py + z; long newObjectId = 0; From 3368682443947a0aa2a6674ada83acd12d1072a3 Mon Sep 17 00:00:00 2001 From: Treeku Date: Tue, 29 Apr 2014 08:36:44 +0100 Subject: [PATCH 28/52] Static objects now use doids --- scripts/object/mobile/respec_seller_f_1.py | 1 + scripts/static_spawns/tatooine.py | 22 +++++++--- .../objects/building/BuildingObject.java | 24 ++++++++--- .../objects/tangible/TangibleObject.java | 2 +- src/services/StaticService.java | 41 +++++++++++-------- 5 files changed, 61 insertions(+), 29 deletions(-) diff --git a/scripts/object/mobile/respec_seller_f_1.py b/scripts/object/mobile/respec_seller_f_1.py index c7327815..4facad13 100644 --- a/scripts/object/mobile/respec_seller_f_1.py +++ b/scripts/object/mobile/respec_seller_f_1.py @@ -4,4 +4,5 @@ from resources.datatables import Options def setup(core, object): object.setAttachment('radial_filename', 'object/conversation') object.setAttachment('conversationFile', 'respec') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) return \ No newline at end of file diff --git a/scripts/static_spawns/tatooine.py b/scripts/static_spawns/tatooine.py index 8b4a389c..1d7b383b 100644 --- a/scripts/static_spawns/tatooine.py +++ b/scripts/static_spawns/tatooine.py @@ -3,16 +3,26 @@ from resources.datatables import Options from resources.datatables import StateStatus def addPlanetSpawns(core, planet): - + stcSvc = core.staticService - #this script is no longer for NPC spawning usage. - Levarris - #stcSvc.spawnObject('object/mobile/shared_3po_protocol_droid_red.iff', 'tatooine', long(26582), float(-14.3), float(2.0), float(47.4), float(0.70), float(0.71)) + # Objects + 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)) - #object = stcSvc.spawnObject('object/mobile/shared_respec_seller_f_1.iff', 'tatooine', long(0), float(3533.14), float(5), float(-4788.86), float(-0.3327), float(0.9288)) - #object.setOptionsBitmask(264) - junkdealer = stcSvc.spawnObject('object/mobile/shared_junk_dealer_m_01.iff', 'tatooine', long(0), float(3525), float(4), float(-4804), float(0.70), float(0.71)) + # Buildings + + # Example + #building = stcSvc.spawnObject('object/building/myThatchedHut.iff', 'tatooine', long(0), float(3525), float(4), float(-4804), float(0.70), float(0.71)) + #stcSvc.spawnObject('object/mobile/shared_my_npc.iff', 'tatooine', building.getCellByCellNumber(7), float(3525), float(4), float(-4804), float(0.70), float(0.71)) + + # NPCs + + stcSvc.spawnObject('object/mobile/shared_respec_seller_f_1.iff', 'tatooine', long(0), float(3533.14), float(5), float(-4788.86), float(-0.3327), float(0.9288)) + + stcSvc.spawnObject('object/mobile/shared_junk_dealer_m_01.iff', 'tatooine', long(0), float(3525), float(4), float(-4804), float(0.70), float(0.71)) + + #stcSvc.spawnObject('object/mobile/shared_3po_protocol_droid_red.iff', 'tatooine', long(26582), float(-14.3), float(2.0), float(47.4), float(0.70), float(0.71)) return diff --git a/src/resources/objects/building/BuildingObject.java b/src/resources/objects/building/BuildingObject.java index 6b4fd8fa..5d276fc8 100644 --- a/src/resources/objects/building/BuildingObject.java +++ b/src/resources/objects/building/BuildingObject.java @@ -61,15 +61,15 @@ public class BuildingObject extends TangibleObject implements IPersistent { private short maximumStorageCapacity=0; private Vector entryList = new Vector(); // Preferably the OIDs should be stored, because of name changes private Vector banList = new Vector(); - - public BuildingObject() { - super(); + + public BuildingObject(long objectID, Planet planet, Point3D position, Quaternion orientation, String Template) { + super(objectID, planet, Template, position, orientation); messageBuilder = new BuildingMessageBuilder(this); this.setConditionDamage(100); } - - public BuildingObject(long objectID, Planet planet, Point3D position, Quaternion orientation, String Template) { - super(objectID, planet, Template, position, orientation); + + public BuildingObject() { + super(); messageBuilder = new BuildingMessageBuilder(this); this.setConditionDamage(100); } @@ -89,6 +89,18 @@ public class BuildingObject extends TangibleObject implements IPersistent { } + public int getCellNumberByObjectId(long objectId) { + Vector cells = getCells(); + + for (CellObject cell : cells) { + if (cell.getObjectID() == objectId) { + return cell.getCellNumber(); + } + } + + return 0; + } + public float getMaintenanceAmount() { return maintenanceAmount; } diff --git a/src/resources/objects/tangible/TangibleObject.java b/src/resources/objects/tangible/TangibleObject.java index 4a5f11c3..d11c3644 100644 --- a/src/resources/objects/tangible/TangibleObject.java +++ b/src/resources/objects/tangible/TangibleObject.java @@ -54,7 +54,7 @@ import engine.resources.scene.Planet; import engine.resources.scene.Point3D; import engine.resources.scene.Quaternion; -@Persistent(version=12) +@Persistent(version=13) public class TangibleObject extends SWGObject { // TODO: Thread safety diff --git a/src/services/StaticService.java b/src/services/StaticService.java index 7dbe7d97..380ec762 100644 --- a/src/services/StaticService.java +++ b/src/services/StaticService.java @@ -28,9 +28,7 @@ import java.util.Map; import resources.objects.building.BuildingObject; import resources.objects.creature.CreatureObject; import resources.objects.tangible.TangibleObject; - import main.NGECore; - import engine.resources.objects.SWGObject; import engine.resources.scene.Planet; import engine.resources.scene.Point3D; @@ -72,26 +70,39 @@ public class StaticService implements INetworkDispatch { } public SWGObject spawnObject(String template, String planetName, long cellId, float x, float y, float z, float qW, float qX, float qY, float qZ) { - return spawnObject(template, 0, planetName, cellId, x, y, z, qW, qX, qY, qZ); - } - - public SWGObject spawnObject(String template, long objectId, String planetName, long cellId, float x, float y, float z, float qW, float qX, float qY, float qZ) { Planet planet = core.terrainService.getPlanetByName(planetName); if (planet == null) { - System.out.println("StaticService: Can't spawn static object because planet is null."); + System.err.println("StaticService: Can't spawn static object because planet is null."); return null; } - SWGObject object = core.objectService.createObject(template, objectId, planet, new Point3D(x, y, z), new Quaternion(qW, qX, qY, qZ)); + int cellNumber = 0; + + SWGObject container = core.objectService.getObject(cellId); + + if (container != null && container.getContainer() != null && container.getContainer() instanceof BuildingObject) { + cellNumber = ((BuildingObject) container.getContainer()).getCellNumberByObjectId(cellId); + } + + long objectId = core.objectService.getDOId(planetName, template, 0, cellId, cellNumber, x, y, z); + + SWGObject object; + + // Temp fix while objects with custom ids don't appear to spawn despite there being no errors... + if (template.contains("character_builder")) { + object = core.objectService.createObject(template, 0, planet, new Point3D(x, y, z), new Quaternion(qW, qX, qY, qZ)); + } else { + object = core.objectService.createObject(template, objectId, planet, new Point3D(x, y, z), new Quaternion(qW, qX, qY, qZ)); + } if (object == null) { - System.out.println("Static object is null with id " + objectId + " and template " + template + "."); + System.err.println("Static object is null with id " + objectId + " and template " + template + "."); return null; } if (objectId != 0 && object.getObjectID() != objectId) { - System.out.println("StaticService: ObjectId " + objectId + " was taken for object with template " + object.getTemplate() + ". Replacement: " + object.getObjectID()); + System.err.println("StaticService: ObjectId " + objectId + " was taken for object with template " + object.getTemplate() + ". Replacement: " + object.getObjectID()); } if (object instanceof CreatureObject) { @@ -99,16 +110,14 @@ public class StaticService implements INetworkDispatch { } if (cellId == 0) { - boolean add = core.simulationService.add(object, (float) x, (float) z, true); - - if (!add) { - System.out.println("StaticService: Quadtree insert failed for: " + template); + if (!core.simulationService.add(object, (float) x, (float) z, true)) { + System.err.println("StaticService: Quadtree insert failed for: " + template); } } else { SWGObject parent = core.objectService.getObject(cellId); if (parent == null) { - System.out.println("StaticService: Cell not found"); + System.err.println("StaticService: Cell not found"); return object; } @@ -128,8 +137,8 @@ public class StaticService implements INetworkDispatch { cloners.add(obj); } } - return cloners; + return cloners; } @Override From 3933fe8a65d163f783576bbec28ca9be72d618f8 Mon Sep 17 00:00:00 2001 From: Levarrishawk Date: Tue, 29 Apr 2014 04:19:19 -0400 Subject: [PATCH 29/52] Misc Changes to Kaas Nothing to see here, move along. --- scripts/static_spawns/kaas.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/static_spawns/kaas.py b/scripts/static_spawns/kaas.py index 7bcd17d9..b576e2da 100644 --- a/scripts/static_spawns/kaas.py +++ b/scripts/static_spawns/kaas.py @@ -68,7 +68,7 @@ def addPlanetSpawns(core, planet): stcSvc.spawnObject('object/building/general/shared_cave_01.iff', 'kaas', long(0), float(-6135.3), float(185), float(6575.0), float(0), float(0)) #Abandoned Separatist Base - stcSvc.spawnObject('object/building/military/shared_military_base_police_station_rebel_style_01.iff', 'kaas', long(0), float(-3509), float(77), float(6800), float(0), float(0)) + stcSvc.spawnObject('object/building/military/shared_military_base_police_station_rebel_style_01.iff', 'kaas', long(0), float(-3538), float(80), float(6758), float(0), float(0)) #Sith Meditation Chamber stcSvc.spawnObject('object/building/player/shared_player_house_sith_meditation_room.iff', 'kaas', long(0), float(4766), float(126), float(-7307), float(0), float(0)) @@ -82,6 +82,7 @@ def addPlanetSpawns(core, planet): stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_wall_1.iff', 'kaas', long(0), float(-58), float(77), float(6321), float(-0.71), float(0.71)) stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_wall_2.iff', 'kaas', long(0), float(-71), float(77), float(6312), float(0), float(0)) stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_temple_pillar.iff', 'kaas', long(0), float(-71.0), float(78), float(6320.8), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_main_structure.iff', 'kaas', long(0), float(-97), float(78), float(6376), float(0), float(0)) return From bfa32b533f46b845fc1e2f1ecf030b01c693cea8 Mon Sep 17 00:00:00 2001 From: Levarrishawk Date: Tue, 29 Apr 2014 09:27:57 -0400 Subject: [PATCH 30/52] Temp Fix to Static Spawns Temporary fix for the handling of static spawned objects. --- scripts/static_spawns/kaas.py | 87 ++-- scripts/static_spawns/rori.py | 745 +++++++++++++++--------------- scripts/static_spawns/tatooine.py | 10 +- src/services/StaticService.java | 8 +- 4 files changed, 426 insertions(+), 424 deletions(-) diff --git a/scripts/static_spawns/kaas.py b/scripts/static_spawns/kaas.py index b576e2da..e462f01a 100644 --- a/scripts/static_spawns/kaas.py +++ b/scripts/static_spawns/kaas.py @@ -4,6 +4,11 @@ import sys # Do not make ANY changes to this script without direct approval from Levarris! +# Example + #building = stcSvc.spawnObject('object/building/myThatchedHut.iff', 'tatooine', long(0), float(3525), float(4), float(-4804), float(0.70), float(0.71)) + #stcSvc.spawnObject('object/mobile/shared_my_npc.iff', 'tatooine', building.getCellByCellNumber(7), float(3525), float(4), float(-4804), float(0.70), float(0.71)) + + from resources.datatables import Options from resources.datatables import StateStatus @@ -14,75 +19,75 @@ def addPlanetSpawns(core, planet): objSvc = core.objectService #Dark Temple Area #Structures - stcSvc.spawnObject('object/building/military/shared_military_base_police_station_imperial_lok_otto.iff', 'kaas', long(0), float(-5117.8), float(80.0), float(-2314.1), float(0), float(0)) - stcSvc.spawnObject('object/building/player/shared_player_house_corellia_medium_style_01.iff', 'kaas', long(0), float(-5078.6), float(80.0), float(-2302.5), float(0), float(0)) - stcSvc.spawnObject('object/building/general/shared_bunker_imperial_weapons_research_facility_01.iff', 'kaas', long(0), float(-5159.5), float(80.0), float(-2298.7), float(0), float(0)) - stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', 'kaas', long(0), float(-5163.9), float(79.0), float(-2369.6), float(0.71), float(0.71)) - stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', 'kaas', long(0), float(-5163.9), float(79.0), float(-2351.6), float(0.71), float(0.71)) - stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', 'kaas', long(0), float(-5072.1), float(79.0), float(-2369.6), float(-0.71), float(0.71)) - stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', 'kaas', long(0), float(-5072.1), float(79.0), float(-2351.6), float(-0.71), float(0.71)) + dtMain = stcSvc.spawnObject('object/building/military/shared_military_base_police_station_imperial_lok_otto.iff', long(0), 'kaas', long(0), float(-5117.8), float(80.0), float(-2314.1), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/building/player/shared_player_house_corellia_medium_style_01.iff', long(0), 'kaas', long(0), float(-5078.6), float(80.0), float(-2302.5), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/building/general/shared_bunker_imperial_weapons_research_facility_01.iff', long(0), 'kaas', long(0), float(-5159.5), float(80.0), float(-2298.7), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', long(0), 'kaas', long(0), float(-5163.9), float(79.0), float(-2369.6), float(0.71), float(0), float(0.71), float(0)) + stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', long(0), 'kaas', long(0), float(-5163.9), float(79.0), float(-2351.6), float(0.71), float(0), float(0.71), float(0)) + stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', long(0), 'kaas', long(0), float(-5072.1), float(79.0), float(-2369.6), float(-0.71), float(0), float(0.71), float(0)) + stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', long(0), 'kaas', long(0), float(-5072.1), float(79.0), float(-2351.6), float(-0.71), float(0), float(0.71), float(0)) stcSvc.spawnObject('object/building/military/shared_outpost_cloning_facility_s02.iff', long(0), 'kaas', long(0), float(-5072.1), float(80.0), float(-2279.5), float(0.71), float(0), float(-0.71), float(0)) #Terminals - stcSvc.spawnObject('object/tangible/terminal/shared_terminal_bank.iff', 'kaas', long(0), float(-5080.8), float(80.0), float(-2275.7), float(-0.71), float(0.71)) - stcSvc.spawnObject('object/tangible/terminal/shared_terminal_mission.iff', 'kaas', long(0), float(-5108.7), float(80.0), float(-2289.2), float(0), float(0)) - stcSvc.spawnObject('object/tangible/terminal/shared_terminal_mission.iff', 'kaas', long(0), float(-5127.3), float(80.0), float(-2289.2), float(0), float(0)) + stcSvc.spawnObject('object/tangible/terminal/shared_terminal_bank.iff', long(0), 'kaas', long(0), float(-5080.8), float(80.0), float(-2275.7), float(-0.71), float(0), float(0.71), float(0)) + stcSvc.spawnObject('object/tangible/terminal/shared_terminal_mission.iff', long(0), 'kaas', long(0), float(-5108.7), float(80.0), float(-2289.2), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/tangible/terminal/shared_terminal_mission.iff', long(0), 'kaas', long(0), float(-5127.3), float(80.0), float(-2289.2), float(0), float(0), float(0), float(0)) - #Decor - stcSvc.spawnObject('object/static/vehicle/shared_static_lambda_shuttle.iff', 'kaas', long(0), float(-5078.1), float(80.0), float(-2256.0), float(-0.70), float(0.70)) - stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_crystal_centerpiece.iff', 'kaas', long(0), float(-5121.5), float(80.0), float(-2360.5), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/tatooine/shared_antenna_tatt_style_1.iff', 'kaas', long(0), float(-5146.7), float(80.0), float(-2301.7), float(0), float(0)) - stcSvc.spawnObject('object/static/installation/shared_mockup_power_generator_fusion_style_1.iff', 'kaas', long(0), float(-5146.7), float(80.0), float(-2301.7), float(0.71), float(0.71)) - stcSvc.spawnObject('object/static/installation/shared_mockup_power_generator_photo_bio_style_1.iff', 'kaas', long(0), float(-5146.9), float(80.0), float(-2294.5), float(0), float(0)) - stcSvc.spawnObject('object/static/vehicle/shared_static_tie_bomber.iff', 'kaas', long(0), float(-5158.5), float(80.5), float(-2232.4), float(0.70), float(0.70)) - stcSvc.spawnObject('object/static/vehicle/shared_static_tie_fighter.iff', 'kaas', long(0), float(-5158.5), float(85.0), float(-2257.4), float(0.70), float(0.70)) + #Exterior Decor + stcSvc.spawnObject('object/static/vehicle/shared_static_lambda_shuttle.iff', long(0), 'kaas', long(0), float(-5078.1), float(80.0), float(-2256.0), float(-0.70), float(0), float(0.70), float(0)) + stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_crystal_centerpiece.iff', long(0), 'kaas', long(0), float(-5121.5), float(80.0), float(-2360.5), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/tatooine/shared_antenna_tatt_style_1.iff', long(0), 'kaas', long(0), float(-5146.7), float(80.0), float(-2301.7), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/installation/shared_mockup_power_generator_fusion_style_1.iff', long(0), 'kaas', long(0), float(-5146.7), float(80.0), float(-2301.7), float(0.71), float(0), float(0.71), float(0)) + stcSvc.spawnObject('object/static/installation/shared_mockup_power_generator_photo_bio_style_1.iff', long(0), 'kaas', long(0), float(-5146.9), float(80.0), float(-2294.5), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/vehicle/shared_static_tie_bomber.iff', long(0), 'kaas', long(0), float(-5158.5), float(80.5), float(-2232.4), float(0.70), float(0), float(0.70), float(0)) + stcSvc.spawnObject('object/static/vehicle/shared_static_tie_fighter.iff', long(0), 'kaas', long(0), float(-5158.5), float(85.0), float(-2257.4), float(0.70), float(0), float(0.70), float(0)) #Streetlamps - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5109.9), float(80.0), float(-2289.9), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5125.9), float(80.0), float(-2289.9), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5115.0), float(80.0), float(-2346.6), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5120.8), float(80.0), float(-2346.6), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5127.3), float(80.0), float(-2219.0), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5111.2), float(80.0), float(-2219.0), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5162.8), float(80.0), float(-2285.9), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5067.3), float(80.0), float(-2294.9), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5068.6), float(80.0), float(-2228.1), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5078.5), float(80.0), float(-2360.5), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5157.5), float(80.0), float(-2360.5), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5109.9), float(80.0), float(-2289.9), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5125.9), float(80.0), float(-2289.9), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5115.0), float(80.0), float(-2346.6), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5120.8), float(80.0), float(-2346.6), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5127.3), float(80.0), float(-2219.0), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5111.2), float(80.0), float(-2219.0), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5162.8), float(80.0), float(-2285.9), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5067.3), float(80.0), float(-2294.9), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5068.6), float(80.0), float(-2228.1), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5078.5), float(80.0), float(-2360.5), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5157.5), float(80.0), float(-2360.5), float(0), float(0), float(0), float(0)) #Dark Temple Interior - stcSvc.spawnObject('object/static/structure/content/shared_exar_kun_torch_01.iff', 'kaas', long(468319), float(0.0), float(-1.3), float(20.8), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/content/shared_exar_kun_torch_01.iff', long(0), 'kaas', long(468319), float(0.0), float(-1.3), float(20.8), float(0), float(0), float(0), float(0)) #Village of the Descendants Area - stcSvc.spawnObject('object/building/general/shared_cave_01.iff', 'kaas', long(0), float(3348.1), float(110), float(2562.1), float(0), float(0)) + stcSvc.spawnObject('object/building/general/shared_cave_01.iff', long(0), 'kaas', long(0), float(3348.1), float(110), float(2562.1), float(0), float(0), float(0), float(0)) #Kaas City Ruins #Tomb of Vitiate #Northwest Cave - stcSvc.spawnObject('object/building/general/shared_cave_01.iff', 'kaas', long(0), float(-6135.3), float(185), float(6575.0), float(0), float(0)) + stcSvc.spawnObject('object/building/general/shared_cave_01.iff', long(0), 'kaas', long(0), float(-6135.3), float(185), float(6575.0), float(0), float(0), float(0), float(0)) #Abandoned Separatist Base - stcSvc.spawnObject('object/building/military/shared_military_base_police_station_rebel_style_01.iff', 'kaas', long(0), float(-3538), float(80), float(6758), float(0), float(0)) + stcSvc.spawnObject('object/building/military/shared_military_base_police_station_rebel_style_01.iff', long(0), 'kaas', long(0), float(-3538), float(80), float(6758), float(0), float(0), float(0), float(0)) #Sith Meditation Chamber - stcSvc.spawnObject('object/building/player/shared_player_house_sith_meditation_room.iff', 'kaas', long(0), float(4766), float(126), float(-7307), float(0), float(0)) + stcSvc.spawnObject('object/building/player/shared_player_house_sith_meditation_room.iff', long(0), 'kaas', long(0), float(4766), float(126), float(-7307), float(0), float(0), float(0), float(0)) #Large Ruin - stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_main_structure.iff', 'kaas', long(0), float(-434), float(77), float(-2252), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_main_structure.iff', long(0), 'kaas', long(0), float(-434), float(77), float(-2252), float(0), float(0), float(0), float(0)) #Central North Ruin - stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_wall_1.iff', 'kaas', long(0), float(-50), float(77), float(6313), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_wall_2.iff', 'kaas', long(0), float(-58), float(77), float(6304), float(0.71), float(0.71)) - stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_wall_1.iff', 'kaas', long(0), float(-58), float(77), float(6321), float(-0.71), float(0.71)) - stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_wall_2.iff', 'kaas', long(0), float(-71), float(77), float(6312), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_temple_pillar.iff', 'kaas', long(0), float(-71.0), float(78), float(6320.8), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_main_structure.iff', 'kaas', long(0), float(-97), float(78), float(6376), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_wall_1.iff', long(0), 'kaas', long(0), float(-50), float(77), float(6313), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_wall_2.iff', long(0), 'kaas', long(0), float(-58), float(77), float(6304), float(0.71), float(0), float(0.71), float(0)) + stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_wall_1.iff', long(0), 'kaas', long(0), float(-58), float(77), float(6321), float(-0.71), float(0), float(0.71), float(0)) + stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_wall_2.iff', long(0), 'kaas', long(0), float(-71), float(77), float(6312), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_temple_pillar.iff', long(0), 'kaas', long(0), float(-71.0), float(78), float(6320.8), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_main_structure.iff', long(0), 'kaas', long(0), float(-97), float(78), float(6376), float(0), float(0), float(0), float(0)) return diff --git a/scripts/static_spawns/rori.py b/scripts/static_spawns/rori.py index e097f64b..bd8380ee 100644 --- a/scripts/static_spawns/rori.py +++ b/scripts/static_spawns/rori.py @@ -6,382 +6,373 @@ def addPlanetSpawns(core, planet): # Restuss Spawns - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_bank_destroyed.iff', 'rori', long(0), float(5180.96), float(80), float(5583.95), float(0), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', 'rori', long(0), float(5159.76), float(80), float(5524.92), float(0), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_destroyed_01.iff', 'rori', long(0), float(5120.55), float(80), float(5590.63), float(0.707), float(0.707)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_scorched_01.iff', 'rori', long(0), float(5097.06), float(80), float(5767.93), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_02.iff', 'rori', long(0), float(5145), float(80), float(5776.85), float(0), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', 'rori', long(0), float(5229.26), float(80), float(5771.02), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_shuttleport_destroyed.iff', 'rori', long(0), float(5212.94), float(80), float(5810.55), float(-0.707), float(0.707)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_01.iff', 'rori', long(0), float(5225.19), float(80), float(5851.56), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', 'rori', long(0), float(5248.13), float(80), float(5813.96), float(0.707), float(0.707)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', 'rori', long(0), float(5258), float(80), float(5788), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_starport_destroyed.iff', 'rori', long(0), float(5364.5), float(80), float(5751.89), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_01.iff', 'rori', long(0), float(5367.18), float(80), float(5890.96), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_cloning_facility_destroyed.iff', 'rori', long(0), float(5426.02), float(80), float(5894.74), float(0.926), float(-0.376)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', 'rori', long(0), float(5393.77), float(80), float(5860.94), float(0.923), float(-0.386)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_destroyed_01.iff', 'rori', long(0), float(5443.93), float(80), float(5837.13), float(0), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_guild_combat_destroyed.iff', 'rori', long(0), float(5446.43), float(80), float(5800.63), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_destroyed_01.iff', 'rori', long(0), float(5492.77), float(80), float(5771.99), float(-0.707), float(0.707)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_01.iff', 'rori', long(0), float(5509.42), float(80), float(5723.96), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_theater_destroyed.iff', 'rori', long(0), float(5466.96), float(80), float(5615.78), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_02.iff', 'rori', long(0), float(5526.34), float(80), float(5568.87), float(-0.707), float(0.707)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_01.iff', 'rori', long(0), float(5462.94), float(80), float(5515.29), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_01.iff', 'rori', long(0), float(5421.43), float(80), float(5609.62), float(0.71), float(-0.704)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', 'rori', long(0), float(5421.78), float(80), float(5642.16), float(0.703), float(0.711)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_02.iff', 'rori', long(0), float(5386.51), float(80), float(5548.48), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_guild_university_destroyed.iff', 'rori', long(0), float(5385.93), float(80), float(5608.18), float(0), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', 'rori', long(0), float(5342.67), float(80), float(5652.28), float(-0.707), float(0.707)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_hospital_destroyed.iff', 'rori', long(0), float(5298.06), float(80), float(5592.06), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_destroyed_01.iff', 'rori', long(0), float(5282.66), float(80), float(5647.94), float(-0.707), float(0.707)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_scorched_01.iff', 'rori', long(0), float(5296.84), float(80), float(5545.69), float(0.707), float(0.707)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_01.iff', 'rori', long(0), float(5250.52), float(80), float(5528.92), float(0.002), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_scorched_02.iff', 'rori', long(0), float(5226.39), float(80), float(5562.31), float(0.707), float(0.707)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_hotel_destroyed.iff', 'rori', long(0), float(5149.98), float(80), float(5653), float(0), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_guild_commerce_destroyed.iff', 'rori', long(0), float(5237.66), float(80), float(5702.14), float(0), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_01.iff', 'rori', long(0), float(5156.02), float(80), float(5719.04), float(0), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_scorched_02.iff', 'rori', long(0), float(5097.81), float(80), float(5728.05), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5077.51), float(80), float(5739.01), float(-0.194), float(0.981)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5077.38), float(80), float(5753.89), float(0.524), float(0.852)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5076.684), float(80), float(5743.6), float(-0.095), float(0.995)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5077.211), float(80), float(5748.28), float(-0.555), float(0.832)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5078.258), float(80), float(5760.22), float(0.424), float(0.906)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5074.203), float(80), float(5760.97), float(0.596), float(0.803)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5078.103), float(80), float(5734.72), float(-0.662), float(0.75)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5075.671), float(80), float(5733.03), float(-0.458), float(0.889)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5180.05), float(80.1), float(5749.9), float(-0.667), float(0.745)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_main.iff', 'rori', long(0), float(5292.61), float(80.1), float(5691.7), float(0.536), float(0.844)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5195.66), float(80), float(5780.23), float(-0.27), float(0.963)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5181.01), float(80), float(5765.36), float(-0.411), float(0.912)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5195.78), float(80), float(5765.29), float(-0.057), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5193.69), float(80), float(5775.52), float(-0.696), float(0.718)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5189.69), float(80), float(5770.34), float(-0.185), float(0.983)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5186.21), float(80), float(5777.83), float(0.213), float(0.977)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5181.04), float(80), float(5782.35), float(-0.155), float(0.988)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5185.41), float(80), float(5766.67), float(0.612), float(0.791)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5194.66), float(80), float(5769.75), float(-0.062), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5185), float(80), float(5771.49), float(-0.216), float(0.976)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5198.94), float(80), float(5764.97), float(-0.107), float(0.994)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5213.23), float(80), float(5765.96), float(0.49), float(0.872)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5200.4), float(80), float(5777.89), float(0.669), float(0.744)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5212.86), float(80), float(5778.53), float(0.01), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5156.26), float(80), float(5790.01), float(0.305), float(0.952)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5171.12), float(80), float(5830.58), float(-0.256), float(0.967)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5155.93), float(80), float(5798.19), float(0.248), float(0.969)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5172.98), float(80), float(5837.56), float(0.415), float(0.91)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5172.3), float(80), float(5818.53), float(0.509), float(0.861)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5172.31), float(80), float(5804.6), float(-0.105), float(0.994)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5166.77), float(80), float(5796.86), float(0.091), float(0.996)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', 'rori', long(0), float(5162.79), float(80), float(5806.88), float(-0.577), float(0.817)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5168.07), float(80), float(5812.14), float(-0.408), float(0.913)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5160.27), float(80), float(5829.17), float(-0.643), float(0.766)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5157.31), float(80), float(5805.73), float(0.208), float(0.978)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5158.65), float(80), float(5821.98), float(0.673), float(0.74)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5168.43), float(80), float(5828.65), float(-0.221), float(0.975)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5156.4), float(80), float(5817.67), float(0.315), float(0.949)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5174.72), float(80), float(5841.5), float(-0.616), float(0.788)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5184.73), float(80), float(5852.15), float(-0.524), float(0.852)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5174.51), float(80), float(5862.33), float(0.657), float(0.754)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5165.46), float(80), float(5848.79), float(0.04), float(0.999)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5162.79), float(80), float(5852.25), float(-0.055), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5175.7), float(80), float(5853.22), float(-0.065), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5172.42), float(80), float(5849.51), float(-0.678), float(0.735)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5169.55), float(80), float(5856.93), float(-0.294), float(0.956)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5190.87), float(80), float(5854.03), float(-0.02), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5259.89), float(80), float(5861.79), float(-0.646), float(0.763)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5277.1), float(80), float(5856.63), float(-0.164), float(0.986)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5298.19), float(80), float(5856.3), float(-0.245), float(0.97)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5266.7), float(80), float(5856.33), float(-0.196), float(0.981)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5307.89), float(80), float(5856.03), float(0.195), float(0.981)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5275.71), float(80), float(5897.61), float(0.062), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5299.24), float(80), float(5897.31), float(-0.569), float(0.822)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5267.24), float(80), float(5865.29), float(0.179), float(0.984)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5308.22), float(80), float(5865.24), float(0.513), float(0.858)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5289.48), float(80), float(5858.34), float(-0.683), float(0.73)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5270.1), float(80), float(5859.39), float(0.33), float(0.944)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', 'rori', long(0), float(5305.93), float(80), float(5863.17), float(-0.049), float(0.999)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5275.84), float(80), float(5871.66), float(-0.306), float(0.952)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5294.33), float(80), float(5884.62), float(0.505), float(0.863)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5294.94), float(80), float(5865.96), float(-0.022), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5285.54), float(80), float(5869.48), float(-0.586), float(0.811)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5282.57), float(80), float(5876.22), float(0.084), float(0.996)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5290.79), float(80), float(5875.07), float(0.238), float(0.971)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5296.08), float(80), float(5873.61), float(0.706), float(0.708)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5285.84), float(80), float(5881.4), float(0.195), float(0.981)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5275.65), float(80), float(5882.23), float(0.602), float(0.799)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5285.73), float(80), float(5899.68), float(0.596), float(0.803)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5280.34), float(80), float(5888.99), float(-0.693), float(0.721)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5281.55), float(80.1), float(5851.38), float(-0.58), float(0.815)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5175.19), float(80.1), float(5819.3), float(0.26), float(0.966)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5298.34), float(80), float(5816.49), float(0.695), float(0.719)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5289.17), float(80), float(5816.49), float(-0.438), float(0.899)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5288.77), float(80), float(5807.39), float(-0.699), float(0.715)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5297.9), float(80), float(5807.32), float(-0.594), float(0.805)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5295.96), float(80), float(5810.31), float(0.166), float(0.986)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5293.87), float(80), float(5814.9), float(-0.523), float(0.852)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5305.14), float(80), float(5830.7), float(-0.695), float(0.719)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5302.09), float(80), float(5826.91), float(-0.486), float(0.874)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5308.07), float(80), float(5828.84), float(-0.467), float(0.884)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5301.85), float(80), float(5830.23), float(0.38), float(0.925)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5343.28), float(80), float(5845.51), float(-0.551), float(0.834)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5345.82), float(80), float(5850.02), float(-0.017), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5312.34), float(80), float(5853.74), float(0.266), float(0.964)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5350.06), float(80), float(5851.27), float(0.46), float(0.888)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5347.26), float(80), float(5846.61), float(0.255), float(0.967)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5353.75), float(80), float(5847.36), float(0.398), float(0.918)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5356.68), float(80), float(5850.61), float(0.292), float(0.957)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5344.38), float(80), float(5854.76), float(0.641), float(0.767)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5313.28), float(80), float(5871.85), float(0.246), float(0.969)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5342.86), float(80), float(5871.45), float(-0.616), float(0.788)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5320.69), float(80), float(5859.19), float(-0.114), float(0.994)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5326.61), float(80), float(5859.34), float(0.61), float(0.792)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5315.46), float(80), float(5867.65), float(-0.039), float(0.999)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5336.34), float(80), float(5860.76), float(0.63), float(0.776)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5315.38), float(80), float(5857.7), float(0.15), float(0.989)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', 'rori', long(0), float(5330.16), float(80), float(5869.99), float(0.641), float(0.767)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5331.98), float(80), float(5865.41), float(-0.604), float(0.797)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5319.4), float(80), float(5865.26), float(-0.131), float(0.991)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5322.76), float(80), float(5852.16), float(0.7), float(0.714)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5335.51), float(80), float(5852.77), float(-0.072), float(0.997)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5355.58), float(80), float(5833.37), float(-0.549), float(0.836)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5371.95), float(80), float(5841.84), float(-0.246), float(0.969)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5362.66), float(80), float(5851.82), float(-0.683), float(0.73)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5372.07), float(80), float(5854.28), float(-0.079), float(0.997)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5367.5), float(80), float(5848.69), float(0.647), float(0.763)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5349.5), float(80), float(5885.33), float(0.439), float(0.899)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5346.38), float(80), float(5877.36), float(0.431), float(0.902)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5382.79), float(80), float(5882.54), float(0.643), float(0.766)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5384.75), float(80), float(5899.56), float(0.37), float(0.929)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5457.56), float(80), float(5861.21), float(0.612), float(0.791)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5456.49), float(80), float(5853.73), float(-0.683), float(0.73)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5450.94), float(80), float(5873.82), float(0.513), float(0.858)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5458.31), float(80), float(5864.73), float(-0.599), float(0.801)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5408.1), float(80), float(5847.98), float(-0.523), float(0.852)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5414.02), float(80), float(5846.78), float(0.073), float(0.997)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5445.83), float(80), float(5718.46), float(0.166), float(0.986)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5478.54), float(80), float(5828.79), float(-0.299), float(0.954)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5500.4), float(80), float(5807.04), float(-0.448), float(0.894)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5492.18), float(80), float(5829.82), float(0.351), float(0.936)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5500.51), float(80), float(5822.23), float(0.452), float(0.892)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5497.91), float(80), float(5826.41), float(0.313), float(0.95)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5480.65), float(80.1), float(5813.16), float(-0.472), float(0.882)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5497.99), float(80), float(5734.71), float(0.584), float(0.812)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5484.98), float(80), float(5736.43), float(0.149), float(0.989)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5484.75), float(80), float(5718.3), float(0.595), float(0.804)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5455.17), float(80), float(5717.56), float(0.069), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5476.86), float(80), float(5730.67), float(-0.014), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5470.95), float(80), float(5730.29), float(0.621), float(0.784)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5482.41), float(80), float(5722.41), float(-0.392), float(0.92)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5461.27), float(80), float(5728.5), float(-0.571), float(0.821)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5482.1), float(80), float(5732.36), float(0.3), float(0.954)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', 'rori', long(0), float(5467.81), float(80), float(5719.51), float(0.611), float(0.792)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5465.81), float(80), float(5724.01), float(0.668), float(0.744)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5478.39), float(80), float(5724.65), float(-0.203), float(0.979)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5474.52), float(80), float(5737.61), float(0.155), float(0.988)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5461.8), float(80), float(5736.51), float(-0.096), float(0.995)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5453.01), float(80), float(5734.19), float(0.503), float(0.864)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5452.77), float(80), float(5714.75), float(0.041), float(0.999)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5454.89), float(80), float(5710.52), float(0.65), float(0.76)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5458.8), float(80), float(5708.08), float(0.517), float(0.856)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', 'rori', long(0), float(5469.63), float(80), float(5712.67), float(0.609), float(0.793)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5482.35), float(80), float(5713.97), float(-0.536), float(0.844)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5475.69), float(80), float(5703.35), float(0.066), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5471.4), float(80), float(5708.07), float(0.311), float(0.95)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5465.94), float(80), float(5702.06), float(0.306), float(0.952)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5454.69), float(80), float(5700.57), float(0.227), float(0.974)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5460.01), float(80), float(5701.99), float(0.144), float(0.99)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5451.6), float(80), float(5696.65), float(0.424), float(0.906)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5461.99), float(80), float(5694.93), float(-0.34), float(0.94)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5474.75), float(80), float(5695.38), float(0.566), float(0.824)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5483.65), float(80), float(5697.24), float(-0.706), float(0.708)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_main.iff', 'rori', long(0), float(5443.98), float(80.1), float(5678.05), float(0.648), float(0.762)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5523.95), float(80), float(5700.95), float(-0.114), float(0.994)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5523.89), float(80), float(5711.99), float(0.463), float(0.886)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5506.73), float(80), float(5696.61), float(-0.222), float(0.975)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5506.65), float(80), float(5671.8), float(-0.542), float(0.841)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5528.42), float(80), float(5670.98), float(0.383), float(0.924)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5528.32), float(80), float(5696.23), float(0.656), float(0.755)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5511.8), float(80), float(5678.09), float(-0.502), float(0.865)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5511.78), float(80), float(5688.71), float(0.438), float(0.899)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5522.8), float(80), float(5690.86), float(0.256), float(0.967)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5523.08), float(80), float(5678.49), float(0.645), float(0.764)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5516.3), float(80), float(5660.46), float(0.356), float(0.934)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5525.47), float(80), float(5660.47), float(-0.637), float(0.771)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5523.09), float(80), float(5654.28), float(0.626), float(0.78)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5521.01), float(80), float(5658.87), float(-0.089), float(0.996)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5515.9), float(80), float(5651.36), float(-0.148), float(0.989)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5525.04), float(80), float(5651.29), float(-0.642), float(0.767)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5521.94), float(80), float(5643.51), float(-0.606), float(0.795)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5520.89), float(80), float(5610.39), float(-0.624), float(0.782)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5523.2), float(80), float(5612.25), float(0.314), float(0.95)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5522.31), float(80), float(5616.48), float(0.072), float(0.997)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5521.17), float(80), float(5621.01), float(0.147), float(0.989)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5521.36), float(80), float(5625.72), float(0.12), float(0.993)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5521.14), float(80), float(5631.32), float(0.51), float(0.86)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5521.57), float(80), float(5637.7), float(-0.04), float(0.999)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5517.48), float(80), float(5638.16), float(-0.226), float(0.974)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5497.4), float(80), float(5525.48), float(-0.683), float(0.73)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5502.11), float(80), float(5528.12), float(-0.605), float(0.796)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5516.9), float(80), float(5534.36), float(0.031), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5516.7), float(80), float(5527.19), float(-0.385), float(0.923)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5519.44), float(80.003), float(5514.45), float(0.579), float(0.815)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5502.58), float(80), float(5515.86), float(0.375), float(0.927)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5511.45), float(80), float(5518.44), float(0.151), float(0.988)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5504.83), float(80), float(5521.1), float(-0.624), float(0.781)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5515.49), float(80), float(5523.41), float(0.169), float(0.986)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5419.37), float(80), float(5536.26), float(0.136), float(0.991)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5315.31), float(80), float(5528.79), float(-0.01), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5317.1), float(80), float(5526.43), float(-0.456), float(0.89)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5321.35), float(80), float(5527.2), float(-0.297), float(0.955)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5325.91), float(80), float(5528.21), float(0.058), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5330.62), float(80), float(5527.87), float(0.05), float(0.999)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5336.22), float(80), float(5527.93), float(-0.172), float(0.985)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5343.17), float(80), float(5531.4), float(-0.308), float(0.951)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5353.71), float(80), float(5540.9), float(0.12), float(0.993)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5305.62), float(80), float(5520.66), float(-0.426), float(0.905)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5285.75), float(80), float(5518.15), float(0.27), float(0.963)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5300.28), float(80), float(5518.6), float(0.22), float(0.975)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5294.6), float(80), float(5564.51), float(0.006), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5284.84), float(80), float(5531.77), float(-0.503), float(0.864)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5245.96), float(80), float(5591.48), float(0.679), float(0.734)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5251.18), float(80), float(5599.9), float(0.511), float(0.86)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5242.77), float(80), float(5602.57), float(0.674), float(0.739)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5242.46), float(80), float(5582.51), float(0.284), float(0.959)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5253.15), float(80), float(5580.89), float(-0.11), float(0.994)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5229.35), float(80.1), float(5596.48), float(-0.061), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5220.69), float(80), float(5575.19), float(-0.613), float(0.79)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5196.84), float(80), float(5617.9), float(0.509), float(0.861)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', 'rori', long(0), float(5213.44), float(80), float(5615.23), float(-0.458), float(0.889)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5208.07), float(80), float(5617.47), float(0.116), float(0.993)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5202.23), float(80), float(5618.89), float(0.027), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5214.6), float(80), float(5608.22), float(-0.266), float(0.964)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5215.14), float(80), float(5601.33), float(0.208), float(0.978)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', 'rori', long(0), float(5215.65), float(80), float(5596.33), float(0.451), float(0.893)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5215.39), float(80), float(5590.41), float(-0.081), float(0.997)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5214.94), float(80), float(5580.15), float(0.258), float(0.966)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5214.81), float(80), float(5574.33), float(0.14), float(0.99)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5214.49), float(80), float(5564.43), float(-0.543), float(0.84)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5213.63), float(80), float(5568.46), float(0.013), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5209.98), float(80), float(5649.83), float(-0.032), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5209.88), float(80), float(5675.08), float(-0.329), float(0.944)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5204.36), float(80), float(5669.71), float(0.452), float(0.892)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5204.64), float(80), float(5657.35), float(-0.335), float(0.942)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5193.35), float(80), float(5656.95), float(-0.128), float(0.992)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5193.34), float(80), float(5667.56), float(-0.686), float(0.728)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5188.29), float(80), float(5675.47), float(0.124), float(0.992)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5188.21), float(80), float(5650.66), float(0.038), float(0.999)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5222.93), float(80), float(5647.28), float(-0.105), float(0.994)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5232.42), float(80), float(5637.62), float(-0.559), float(0.829)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5243.73), float(80), float(5637.3), float(0.576), float(0.818)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5253.27), float(80), float(5646.9), float(-0.571), float(0.821)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5253.52), float(80), float(5658.46), float(-0.453), float(0.891)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5249.86), float(80), float(5678.38), float(0.025), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5222.49), float(80), float(5658.71), float(0.69), float(0.724)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5226.38), float(80), float(5678.84), float(0.706), float(0.708)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5237.82), float(80), float(5637.11), float(0.283), float(0.959)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5223.14), float(80), float(5651.67), float(-0.186), float(0.983)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5252.53), float(80), float(5651.24), float(-0.065), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5226.79), float(80), float(5671.61), float(0.066), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5226.23), float(80), float(5664.81), float(0.529), float(0.848)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5245.53), float(80), float(5673.65), float(-0.226), float(0.974)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5249.54), float(80), float(5662.58), float(-0.124), float(0.992)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5244.63), float(80), float(5665.11), float(0.459), float(0.888)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5228.5), float(80), float(5657.26), float(0.344), float(0.939)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5247.24), float(80), float(5657.42), float(-0.604), float(0.797)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5227.94), float(80), float(5646.67), float(-0.225), float(0.974)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5233.04), float(80), float(5650.28), float(0.061), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5247.83), float(80), float(5646.19), float(-0.434), float(0.901)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5243.25), float(80), float(5642.85), float(-0.651), float(0.759)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5245.48), float(80), float(5652.77), float(-0.695), float(0.719)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5175.59), float(80), float(5678.05), float(0.701), float(0.713)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5174.61), float(80), float(5684.21), float(-0.041), float(0.999)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5166.48), float(80), float(5683.62), float(-0.163), float(0.987)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5133), float(80), float(5680.82), float(-0.66), float(0.751)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5110.22), float(80), float(5701.89), float(0.454), float(0.891)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5097.56), float(80), float(5698.42), float(-0.532), float(0.846)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5102.24), float(80), float(5702.75), float(-0.696), float(0.718)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5108.28), float(80), float(5710.77), float(-0.509), float(0.86)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5091.555), float(80), float(5709.31), float(-0.572), float(0.82)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', 'rori', long(0), float(5092.972), float(80), float(5696.61), float(-0.471), float(0.882)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5109.16), float(80), float(5678.72), float(0.69), float(0.724)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5105.21), float(80), float(5681.78), float(0.174), float(0.985)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5103.74), float(80), float(5687.08), float(0.19), float(0.982)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5103.62), float(80), float(5693.01), float(0.17), float(0.985)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5110.78), float(80), float(5689.13), float(0.279), float(0.96)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5097.66), float(80), float(5685.82), float(-0.431), float(0.902)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5095.256), float(80), float(5681.89), float(0.38), float(0.925)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5091.049), float(80), float(5679.73), float(-0.537), float(0.844)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5116.68), float(80), float(5711.43), float(-0.031), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5119.3), float(80), float(5726.44), float(0.491), float(0.871)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5113.46), float(80), float(5662.63), float(0.698), float(0.716)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5108.9), float(80), float(5666.54), float(0.569), float(0.822)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5116.03), float(80), float(5646.49), float(0.448), float(0.894)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5097.14), float(80), float(5651.59), float(-0.546), float(0.838)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5084.339), float(80), float(5675.99), float(0.014), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5084.871), float(80), float(5660.02), float(0.563), float(0.826)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5083.932), float(80), float(5669.38), float(0.322), float(0.947)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5084.565), float(80), float(5680.82), float(-0.456), float(0.89)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5084.168), float(80), float(5685.02), float(-0.218), float(0.976)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5084.497), float(80), float(5690.6), float(-0.301), float(0.954)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5084.01), float(80), float(5688.24), float(0.684), float(0.73)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5084.504), float(80), float(5696.37), float(-0.237), float(0.972)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5084.77), float(80), float(5702.69), float(-0.519), float(0.855)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5084.853), float(80), float(5717.58), float(-0.69), float(0.723)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5211.81), float(80), float(5537.59), float(0.054), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5179.29), float(80), float(5537.94), float(0.337), float(0.942)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5211.7), float(80), float(5522.95), float(-0.558), float(0.83)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5178.98), float(80), float(5523.22), float(0.427), float(0.904)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5202.65), float(80), float(5539.89), float(-0.361), float(0.933)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5189.33), float(80), float(5539.79), float(0.643), float(0.766)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5210.43), float(80), float(5525.79), float(-0.184), float(0.983)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5206.08), float(80), float(5528.77), float(0.166), float(0.986)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5210.43), float(80), float(5534.08), float(-0.445), float(0.896)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5200.69), float(80), float(5529.35), float(0.462), float(0.887)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5196.33), float(80), float(5536.56), float(-0.072), float(0.997)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5213.67), float(80), float(5528.99), float(-0.378), float(0.926)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5197.47), float(80), float(5524.56), float(-0.586), float(0.81)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5180.38), float(80), float(5526.05), float(-0.154), float(0.988)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5179.32), float(80), float(5533.6), float(0.483), float(0.876)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5185.84), float(80), float(5522.57), float(-0.316), float(0.949)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5190.74), float(80), float(5529.2), float(-0.445), float(0.896)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5227.9), float(160), float(5601.05), float(0.008), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5134.58), float(80), float(5539.41), float(-0.432), float(0.902)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5134.78), float(80), float(5542.81), float(-0.642), float(0.767)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5129.98), float(80), float(5546.21), float(0.579), float(0.816)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5126.34), float(80), float(5555.94), float(0.649), float(0.761)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5124.72), float(80), float(5550.28), float(-0.35), float(0.937)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5137.69), float(80), float(5532.49), float(0.348), float(0.937)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5140.88), float(80), float(5531.23), float(0.47), float(0.883)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5138.23), float(80), float(5530.47), float(-0.025), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5125.21), float(80), float(5552.98), float(0.594), float(0.804)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5160.23), float(80), float(5548.55), float(-0.454), float(0.891)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5160.11), float(80), float(5553.68), float(0.65), float(0.76)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5150.09), float(80), float(5563.9), float(-0.504), float(0.864)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5145.57), float(80), float(5581.59), float(0.238), float(0.971)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5141.08), float(80), float(5595.36), float(-0.065), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5149.82), float(80), float(5583.24), float(0.102), float(0.995)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5145.91), float(80), float(5599.09), float(0.078), float(0.997)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5147.95), float(80), float(5607.33), float(-0.563), float(0.827)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5147.09), float(80), float(5589.4), float(-0.413), float(0.911)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5145.86), float(80), float(5572.89), float(-0.566), float(0.825)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5147.54), float(80), float(5557.53), float(0.398), float(0.918)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5149.54), float(80), float(5551.34), float(-0.115), float(0.993)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5165.2), float(80), float(5550.01), float(0.24), float(0.971)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5139.4), float(160), float(5599.26), float(0.349), float(0.937)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5124.02), float(80), float(5682.59), float(0.057), float(0.998)) - #stcSvc.spawnObject('object/building/military/shared_outpost_cloning_facility.iff', 'rori', long(0), float(5232.54), float(79.914), float(6176.29), float(0.703), float(0.711)) - #stcSvc.spawnObject('object/building/naboo/shared_rori_restuss_starport.iff', 'rori', long(0), float(5281.13), float(80), float(6171.442), float(1), float(-0.001)) - #stcSvc.spawnObject('object/building/military/shared_military_base_shed_imperial_style_cantina_s01.iff', 'rori', long(0), float(5284.15), float(80), float(6236.408), float(1), float(-0.001)) - #stcSvc.spawnObject('object/building/military/shared_military_base_shed_imperial_style_hospital_01.iff', 'rori', long(0), float(5327.94), float(80), float(6204.451), float(0.877), float(-0.48)) - #stcSvc.spawnObject('object/building/military/shared_military_rebel_tactical_center.iff', 'rori', long(0), float(4719.25), float(80), float(5870.46), float(0.707), float(0.707)) - #stcSvc.spawnObject('object/building/restuss/shared_restuss_faction_cantina.iff', 'rori', long(0), float(4827.85), float(80), float(5874.45), float(0.703), float(0.711)) - #stcSvc.spawnObject('object/building/military/shared_military_rebel_tactical_center.iff', 'rori', long(0), float(4778.08), float(80), float(5905.97), float(1), float(0)) - #stcSvc.spawnObject('object/building/military/shared_military_base_shed_rebel_style_01.iff', 'rori', long(0), float(4831.285), float(80), float(5810.192), float(-0.41), float(0.912)) - #stcSvc.spawnObject('object/building/military/shared_military_rebel_detachment_hq.iff', 'rori', long(0), float(4777.64), float(80), float(5776.2), float(0), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5254.85), float(160), float(5553.39), float(-0.551), float(0.834)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5365.02), float(160), float(5577.16), float(-0.574), float(0.819)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5143.04), float(160), float(5552.77), float(-0.259), float(0.966)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5404.76), float(160), float(5575.26), float(-0.574), float(0.819)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5194), float(160), float(5533), float(0), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_bank_destroyed.iff', long(0), 'rori', long(0), float(5180.96), float(80), float(5583.95), float(0), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', long(0), 'rori', long(0), float(5159.76), float(80), float(5524.92), float(0), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_destroyed_01.iff', long(0), 'rori', long(0), float(5120.55), float(80), float(5590.63), float(0.707), float(0.707)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_scorched_01.iff', long(0), 'rori', long(0), float(5097.06), float(80), float(5767.93), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_02.iff', long(0), 'rori', long(0), float(5145), float(80), float(5776.85), float(0), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', long(0), 'rori', long(0), float(5229.26), float(80), float(5771.02), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_shuttleport_destroyed.iff', long(0), 'rori', long(0), float(5212.94), float(80), float(5810.55), float(-0.707), float(0.707)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_01.iff', long(0), 'rori', long(0), float(5225.19), float(80), float(5851.56), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', long(0), 'rori', long(0), float(5248.13), float(80), float(5813.96), float(0.707), float(0.707)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', long(0), 'rori', long(0), float(5258), float(80), float(5788), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_starport_destroyed.iff', long(0), 'rori', long(0), float(5364.5), float(80), float(5751.89), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_01.iff', long(0), 'rori', long(0), float(5367.18), float(80), float(5890.96), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_cloning_facility_destroyed.iff', long(0), 'rori', long(0), float(5426.02), float(80), float(5894.74), float(0.926), float(-0.376)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', long(0), 'rori', long(0), float(5393.77), float(80), float(5860.94), float(0.923), float(-0.386)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_destroyed_01.iff', long(0), 'rori', long(0), float(5443.93), float(80), float(5837.13), float(0), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_guild_combat_destroyed.iff', long(0), 'rori', long(0), float(5446.43), float(80), float(5800.63), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_destroyed_01.iff', long(0), 'rori', long(0), float(5492.77), float(80), float(5771.99), float(-0.707), float(0.707)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_01.iff', long(0), 'rori', long(0), float(5509.42), float(80), float(5723.96), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_theater_destroyed.iff', long(0), 'rori', long(0), float(5466.96), float(80), float(5615.78), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_02.iff', long(0), 'rori', long(0), float(5526.34), float(80), float(5568.87), float(-0.707), float(0.707)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_01.iff', long(0), 'rori', long(0), float(5462.94), float(80), float(5515.29), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_01.iff', long(0), 'rori', long(0), float(5421.43), float(80), float(5609.62), float(0.71), float(-0.704)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', long(0), 'rori', long(0), float(5421.78), float(80), float(5642.16), float(0.703), float(0.711)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_02.iff', long(0), 'rori', long(0), float(5386.51), float(80), float(5548.48), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_guild_university_destroyed.iff', long(0), 'rori', long(0), float(5385.93), float(80), float(5608.18), float(0), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', long(0), 'rori', long(0), float(5342.67), float(80), float(5652.28), float(-0.707), float(0.707)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_hospital_destroyed.iff', long(0), 'rori', long(0), float(5298.06), float(80), float(5592.06), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_destroyed_01.iff', long(0), 'rori', long(0), float(5282.66), float(80), float(5647.94), float(-0.707), float(0.707)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_scorched_01.iff', long(0), 'rori', long(0), float(5296.84), float(80), float(5545.69), float(0.707), float(0.707)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_01.iff', long(0), 'rori', long(0), float(5250.52), float(80), float(5528.92), float(0.002), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_scorched_02.iff', long(0), 'rori', long(0), float(5226.39), float(80), float(5562.31), float(0.707), float(0.707)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_hotel_destroyed.iff', long(0), 'rori', long(0), float(5149.98), float(80), float(5653), float(0), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_guild_commerce_destroyed.iff', long(0), 'rori', long(0), float(5237.66), float(80), float(5702.14), float(0), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_01.iff', long(0), 'rori', long(0), float(5156.02), float(80), float(5719.04), float(0), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_scorched_02.iff', long(0), 'rori', long(0), float(5097.81), float(80), float(5728.05), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5077.51), float(80), float(5739.01), float(-0.194), float(0.981)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5077.38), float(80), float(5753.89), float(0.524), float(0.852)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5076.684), float(80), float(5743.6), float(-0.095), float(0.995)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5077.211), float(80), float(5748.28), float(-0.555), float(0.832)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5078.258), float(80), float(5760.22), float(0.424), float(0.906)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5074.203), float(80), float(5760.97), float(0.596), float(0.803)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5078.103), float(80), float(5734.72), float(-0.662), float(0.75)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5075.671), float(80), float(5733.03), float(-0.458), float(0.889)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5180.05), float(80.1), float(5749.9), float(-0.667), float(0.745)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_main.iff', long(0), 'rori', long(0), float(5292.61), float(80.1), float(5691.7), float(0.536), float(0.844)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5195.66), float(80), float(5780.23), float(-0.27), float(0.963)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5181.01), float(80), float(5765.36), float(-0.411), float(0.912)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5195.78), float(80), float(5765.29), float(-0.057), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5193.69), float(80), float(5775.52), float(-0.696), float(0.718)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5189.69), float(80), float(5770.34), float(-0.185), float(0.983)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5186.21), float(80), float(5777.83), float(0.213), float(0.977)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5181.04), float(80), float(5782.35), float(-0.155), float(0.988)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5185.41), float(80), float(5766.67), float(0.612), float(0.791)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5194.66), float(80), float(5769.75), float(-0.062), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5185), float(80), float(5771.49), float(-0.216), float(0.976)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5198.94), float(80), float(5764.97), float(-0.107), float(0.994)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5213.23), float(80), float(5765.96), float(0.49), float(0.872)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5200.4), float(80), float(5777.89), float(0.669), float(0.744)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5212.86), float(80), float(5778.53), float(0.01), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5156.26), float(80), float(5790.01), float(0.305), float(0.952)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5171.12), float(80), float(5830.58), float(-0.256), float(0.967)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5155.93), float(80), float(5798.19), float(0.248), float(0.969)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5172.98), float(80), float(5837.56), float(0.415), float(0.91)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5172.3), float(80), float(5818.53), float(0.509), float(0.861)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5172.31), float(80), float(5804.6), float(-0.105), float(0.994)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5166.77), float(80), float(5796.86), float(0.091), float(0.996)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', long(0), 'rori', long(0), float(5162.79), float(80), float(5806.88), float(-0.577), float(0.817)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5168.07), float(80), float(5812.14), float(-0.408), float(0.913)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5160.27), float(80), float(5829.17), float(-0.643), float(0.766)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5157.31), float(80), float(5805.73), float(0.208), float(0.978)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5158.65), float(80), float(5821.98), float(0.673), float(0.74)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5168.43), float(80), float(5828.65), float(-0.221), float(0.975)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5156.4), float(80), float(5817.67), float(0.315), float(0.949)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5174.72), float(80), float(5841.5), float(-0.616), float(0.788)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5184.73), float(80), float(5852.15), float(-0.524), float(0.852)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5174.51), float(80), float(5862.33), float(0.657), float(0.754)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5165.46), float(80), float(5848.79), float(0.04), float(0.999)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5162.79), float(80), float(5852.25), float(-0.055), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5175.7), float(80), float(5853.22), float(-0.065), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5172.42), float(80), float(5849.51), float(-0.678), float(0.735)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5169.55), float(80), float(5856.93), float(-0.294), float(0.956)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5190.87), float(80), float(5854.03), float(-0.02), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5259.89), float(80), float(5861.79), float(-0.646), float(0.763)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5277.1), float(80), float(5856.63), float(-0.164), float(0.986)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5298.19), float(80), float(5856.3), float(-0.245), float(0.97)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5266.7), float(80), float(5856.33), float(-0.196), float(0.981)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5307.89), float(80), float(5856.03), float(0.195), float(0.981)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5275.71), float(80), float(5897.61), float(0.062), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5299.24), float(80), float(5897.31), float(-0.569), float(0.822)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5267.24), float(80), float(5865.29), float(0.179), float(0.984)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5308.22), float(80), float(5865.24), float(0.513), float(0.858)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5289.48), float(80), float(5858.34), float(-0.683), float(0.73)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5270.1), float(80), float(5859.39), float(0.33), float(0.944)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', long(0), 'rori', long(0), float(5305.93), float(80), float(5863.17), float(-0.049), float(0.999)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5275.84), float(80), float(5871.66), float(-0.306), float(0.952)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5294.33), float(80), float(5884.62), float(0.505), float(0.863)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5294.94), float(80), float(5865.96), float(-0.022), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5285.54), float(80), float(5869.48), float(-0.586), float(0.811)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5282.57), float(80), float(5876.22), float(0.084), float(0.996)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5290.79), float(80), float(5875.07), float(0.238), float(0.971)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5296.08), float(80), float(5873.61), float(0.706), float(0.708)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5285.84), float(80), float(5881.4), float(0.195), float(0.981)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5275.65), float(80), float(5882.23), float(0.602), float(0.799)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5285.73), float(80), float(5899.68), float(0.596), float(0.803)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5280.34), float(80), float(5888.99), float(-0.693), float(0.721)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5281.55), float(80.1), float(5851.38), float(-0.58), float(0.815)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5175.19), float(80.1), float(5819.3), float(0.26), float(0.966)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5298.34), float(80), float(5816.49), float(0.695), float(0.719)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5289.17), float(80), float(5816.49), float(-0.438), float(0.899)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5288.77), float(80), float(5807.39), float(-0.699), float(0.715)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5297.9), float(80), float(5807.32), float(-0.594), float(0.805)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5295.96), float(80), float(5810.31), float(0.166), float(0.986)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5293.87), float(80), float(5814.9), float(-0.523), float(0.852)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5305.14), float(80), float(5830.7), float(-0.695), float(0.719)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5302.09), float(80), float(5826.91), float(-0.486), float(0.874)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5308.07), float(80), float(5828.84), float(-0.467), float(0.884)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5301.85), float(80), float(5830.23), float(0.38), float(0.925)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5343.28), float(80), float(5845.51), float(-0.551), float(0.834)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5345.82), float(80), float(5850.02), float(-0.017), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5312.34), float(80), float(5853.74), float(0.266), float(0.964)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5350.06), float(80), float(5851.27), float(0.46), float(0.888)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5347.26), float(80), float(5846.61), float(0.255), float(0.967)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5353.75), float(80), float(5847.36), float(0.398), float(0.918)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5356.68), float(80), float(5850.61), float(0.292), float(0.957)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5344.38), float(80), float(5854.76), float(0.641), float(0.767)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5313.28), float(80), float(5871.85), float(0.246), float(0.969)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5342.86), float(80), float(5871.45), float(-0.616), float(0.788)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5320.69), float(80), float(5859.19), float(-0.114), float(0.994)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5326.61), float(80), float(5859.34), float(0.61), float(0.792)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5315.46), float(80), float(5867.65), float(-0.039), float(0.999)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5336.34), float(80), float(5860.76), float(0.63), float(0.776)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5315.38), float(80), float(5857.7), float(0.15), float(0.989)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', long(0), 'rori', long(0), float(5330.16), float(80), float(5869.99), float(0.641), float(0.767)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5331.98), float(80), float(5865.41), float(-0.604), float(0.797)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5319.4), float(80), float(5865.26), float(-0.131), float(0.991)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5322.76), float(80), float(5852.16), float(0.7), float(0.714)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5335.51), float(80), float(5852.77), float(-0.072), float(0.997)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5355.58), float(80), float(5833.37), float(-0.549), float(0.836)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5371.95), float(80), float(5841.84), float(-0.246), float(0.969)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5362.66), float(80), float(5851.82), float(-0.683), float(0.73)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5372.07), float(80), float(5854.28), float(-0.079), float(0.997)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5367.5), float(80), float(5848.69), float(0.647), float(0.763)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5349.5), float(80), float(5885.33), float(0.439), float(0.899)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5346.38), float(80), float(5877.36), float(0.431), float(0.902)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5382.79), float(80), float(5882.54), float(0.643), float(0.766)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5384.75), float(80), float(5899.56), float(0.37), float(0.929)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5457.56), float(80), float(5861.21), float(0.612), float(0.791)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5456.49), float(80), float(5853.73), float(-0.683), float(0.73)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5450.94), float(80), float(5873.82), float(0.513), float(0.858)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5458.31), float(80), float(5864.73), float(-0.599), float(0.801)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5408.1), float(80), float(5847.98), float(-0.523), float(0.852)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5414.02), float(80), float(5846.78), float(0.073), float(0.997)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5445.83), float(80), float(5718.46), float(0.166), float(0.986)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5478.54), float(80), float(5828.79), float(-0.299), float(0.954)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5500.4), float(80), float(5807.04), float(-0.448), float(0.894)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5492.18), float(80), float(5829.82), float(0.351), float(0.936)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5500.51), float(80), float(5822.23), float(0.452), float(0.892)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5497.91), float(80), float(5826.41), float(0.313), float(0.95)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5480.65), float(80.1), float(5813.16), float(-0.472), float(0.882)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5497.99), float(80), float(5734.71), float(0.584), float(0.812)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5484.98), float(80), float(5736.43), float(0.149), float(0.989)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5484.75), float(80), float(5718.3), float(0.595), float(0.804)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5455.17), float(80), float(5717.56), float(0.069), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5476.86), float(80), float(5730.67), float(-0.014), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5470.95), float(80), float(5730.29), float(0.621), float(0.784)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5482.41), float(80), float(5722.41), float(-0.392), float(0.92)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5461.27), float(80), float(5728.5), float(-0.571), float(0.821)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5482.1), float(80), float(5732.36), float(0.3), float(0.954)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', long(0), 'rori', long(0), float(5467.81), float(80), float(5719.51), float(0.611), float(0.792)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5465.81), float(80), float(5724.01), float(0.668), float(0.744)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5478.39), float(80), float(5724.65), float(-0.203), float(0.979)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5474.52), float(80), float(5737.61), float(0.155), float(0.988)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5461.8), float(80), float(5736.51), float(-0.096), float(0.995)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5453.01), float(80), float(5734.19), float(0.503), float(0.864)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5452.77), float(80), float(5714.75), float(0.041), float(0.999)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5454.89), float(80), float(5710.52), float(0.65), float(0.76)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5458.8), float(80), float(5708.08), float(0.517), float(0.856)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', long(0), 'rori', long(0), float(5469.63), float(80), float(5712.67), float(0.609), float(0.793)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5482.35), float(80), float(5713.97), float(-0.536), float(0.844)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5475.69), float(80), float(5703.35), float(0.066), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5471.4), float(80), float(5708.07), float(0.311), float(0.95)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5465.94), float(80), float(5702.06), float(0.306), float(0.952)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5454.69), float(80), float(5700.57), float(0.227), float(0.974)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5460.01), float(80), float(5701.99), float(0.144), float(0.99)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5451.6), float(80), float(5696.65), float(0.424), float(0.906)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5461.99), float(80), float(5694.93), float(-0.34), float(0.94)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5474.75), float(80), float(5695.38), float(0.566), float(0.824)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5483.65), float(80), float(5697.24), float(-0.706), float(0.708)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_main.iff', long(0), 'rori', long(0), float(5443.98), float(80.1), float(5678.05), float(0.648), float(0.762)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5523.95), float(80), float(5700.95), float(-0.114), float(0.994)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5523.89), float(80), float(5711.99), float(0.463), float(0.886)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5506.73), float(80), float(5696.61), float(-0.222), float(0.975)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5506.65), float(80), float(5671.8), float(-0.542), float(0.841)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5528.42), float(80), float(5670.98), float(0.383), float(0.924)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5528.32), float(80), float(5696.23), float(0.656), float(0.755)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5511.8), float(80), float(5678.09), float(-0.502), float(0.865)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5511.78), float(80), float(5688.71), float(0.438), float(0.899)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5522.8), float(80), float(5690.86), float(0.256), float(0.967)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5523.08), float(80), float(5678.49), float(0.645), float(0.764)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5516.3), float(80), float(5660.46), float(0.356), float(0.934)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5525.47), float(80), float(5660.47), float(-0.637), float(0.771)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5523.09), float(80), float(5654.28), float(0.626), float(0.78)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5521.01), float(80), float(5658.87), float(-0.089), float(0.996)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5515.9), float(80), float(5651.36), float(-0.148), float(0.989)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5525.04), float(80), float(5651.29), float(-0.642), float(0.767)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5521.94), float(80), float(5643.51), float(-0.606), float(0.795)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5520.89), float(80), float(5610.39), float(-0.624), float(0.782)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5523.2), float(80), float(5612.25), float(0.314), float(0.95)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5522.31), float(80), float(5616.48), float(0.072), float(0.997)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5521.17), float(80), float(5621.01), float(0.147), float(0.989)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5521.36), float(80), float(5625.72), float(0.12), float(0.993)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5521.14), float(80), float(5631.32), float(0.51), float(0.86)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5521.57), float(80), float(5637.7), float(-0.04), float(0.999)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5517.48), float(80), float(5638.16), float(-0.226), float(0.974)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5497.4), float(80), float(5525.48), float(-0.683), float(0.73)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5502.11), float(80), float(5528.12), float(-0.605), float(0.796)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5516.9), float(80), float(5534.36), float(0.031), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5516.7), float(80), float(5527.19), float(-0.385), float(0.923)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5519.44), float(80.003), float(5514.45), float(0.579), float(0.815)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5502.58), float(80), float(5515.86), float(0.375), float(0.927)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5511.45), float(80), float(5518.44), float(0.151), float(0.988)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5504.83), float(80), float(5521.1), float(-0.624), float(0.781)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5515.49), float(80), float(5523.41), float(0.169), float(0.986)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5419.37), float(80), float(5536.26), float(0.136), float(0.991)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5315.31), float(80), float(5528.79), float(-0.01), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5317.1), float(80), float(5526.43), float(-0.456), float(0.89)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5321.35), float(80), float(5527.2), float(-0.297), float(0.955)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5325.91), float(80), float(5528.21), float(0.058), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5330.62), float(80), float(5527.87), float(0.05), float(0.999)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5336.22), float(80), float(5527.93), float(-0.172), float(0.985)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5343.17), float(80), float(5531.4), float(-0.308), float(0.951)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5353.71), float(80), float(5540.9), float(0.12), float(0.993)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5305.62), float(80), float(5520.66), float(-0.426), float(0.905)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5285.75), float(80), float(5518.15), float(0.27), float(0.963)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5300.28), float(80), float(5518.6), float(0.22), float(0.975)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5294.6), float(80), float(5564.51), float(0.006), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5284.84), float(80), float(5531.77), float(-0.503), float(0.864)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5245.96), float(80), float(5591.48), float(0.679), float(0.734)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5251.18), float(80), float(5599.9), float(0.511), float(0.86)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5242.77), float(80), float(5602.57), float(0.674), float(0.739)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5242.46), float(80), float(5582.51), float(0.284), float(0.959)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5253.15), float(80), float(5580.89), float(-0.11), float(0.994)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5229.35), float(80.1), float(5596.48), float(-0.061), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5220.69), float(80), float(5575.19), float(-0.613), float(0.79)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5196.84), float(80), float(5617.9), float(0.509), float(0.861)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', long(0), 'rori', long(0), float(5213.44), float(80), float(5615.23), float(-0.458), float(0.889)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5208.07), float(80), float(5617.47), float(0.116), float(0.993)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5202.23), float(80), float(5618.89), float(0.027), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5214.6), float(80), float(5608.22), float(-0.266), float(0.964)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5215.14), float(80), float(5601.33), float(0.208), float(0.978)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', long(0), 'rori', long(0), float(5215.65), float(80), float(5596.33), float(0.451), float(0.893)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5215.39), float(80), float(5590.41), float(-0.081), float(0.997)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5214.94), float(80), float(5580.15), float(0.258), float(0.966)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5214.81), float(80), float(5574.33), float(0.14), float(0.99)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5214.49), float(80), float(5564.43), float(-0.543), float(0.84)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5213.63), float(80), float(5568.46), float(0.013), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5209.98), float(80), float(5649.83), float(-0.032), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5209.88), float(80), float(5675.08), float(-0.329), float(0.944)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5204.36), float(80), float(5669.71), float(0.452), float(0.892)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5204.64), float(80), float(5657.35), float(-0.335), float(0.942)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5193.35), float(80), float(5656.95), float(-0.128), float(0.992)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5193.34), float(80), float(5667.56), float(-0.686), float(0.728)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5188.29), float(80), float(5675.47), float(0.124), float(0.992)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5188.21), float(80), float(5650.66), float(0.038), float(0.999)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5222.93), float(80), float(5647.28), float(-0.105), float(0.994)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5232.42), float(80), float(5637.62), float(-0.559), float(0.829)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5243.73), float(80), float(5637.3), float(0.576), float(0.818)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5253.27), float(80), float(5646.9), float(-0.571), float(0.821)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5253.52), float(80), float(5658.46), float(-0.453), float(0.891)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5249.86), float(80), float(5678.38), float(0.025), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5222.49), float(80), float(5658.71), float(0.69), float(0.724)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5226.38), float(80), float(5678.84), float(0.706), float(0.708)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5237.82), float(80), float(5637.11), float(0.283), float(0.959)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5223.14), float(80), float(5651.67), float(-0.186), float(0.983)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5252.53), float(80), float(5651.24), float(-0.065), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5226.79), float(80), float(5671.61), float(0.066), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5226.23), float(80), float(5664.81), float(0.529), float(0.848)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5245.53), float(80), float(5673.65), float(-0.226), float(0.974)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5249.54), float(80), float(5662.58), float(-0.124), float(0.992)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5244.63), float(80), float(5665.11), float(0.459), float(0.888)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5228.5), float(80), float(5657.26), float(0.344), float(0.939)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5247.24), float(80), float(5657.42), float(-0.604), float(0.797)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5227.94), float(80), float(5646.67), float(-0.225), float(0.974)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5233.04), float(80), float(5650.28), float(0.061), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5247.83), float(80), float(5646.19), float(-0.434), float(0.901)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5243.25), float(80), float(5642.85), float(-0.651), float(0.759)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5245.48), float(80), float(5652.77), float(-0.695), float(0.719)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5175.59), float(80), float(5678.05), float(0.701), float(0.713)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5174.61), float(80), float(5684.21), float(-0.041), float(0.999)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5166.48), float(80), float(5683.62), float(-0.163), float(0.987)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5133), float(80), float(5680.82), float(-0.66), float(0.751)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5110.22), float(80), float(5701.89), float(0.454), float(0.891)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5097.56), float(80), float(5698.42), float(-0.532), float(0.846)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5102.24), float(80), float(5702.75), float(-0.696), float(0.718)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5108.28), float(80), float(5710.77), float(-0.509), float(0.86)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5091.555), float(80), float(5709.31), float(-0.572), float(0.82)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', long(0), 'rori', long(0), float(5092.972), float(80), float(5696.61), float(-0.471), float(0.882)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5109.16), float(80), float(5678.72), float(0.69), float(0.724)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5105.21), float(80), float(5681.78), float(0.174), float(0.985)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5103.74), float(80), float(5687.08), float(0.19), float(0.982)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5103.62), float(80), float(5693.01), float(0.17), float(0.985)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5110.78), float(80), float(5689.13), float(0.279), float(0.96)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5097.66), float(80), float(5685.82), float(-0.431), float(0.902)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5095.256), float(80), float(5681.89), float(0.38), float(0.925)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5091.049), float(80), float(5679.73), float(-0.537), float(0.844)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5116.68), float(80), float(5711.43), float(-0.031), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5119.3), float(80), float(5726.44), float(0.491), float(0.871)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5113.46), float(80), float(5662.63), float(0.698), float(0.716)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5108.9), float(80), float(5666.54), float(0.569), float(0.822)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5116.03), float(80), float(5646.49), float(0.448), float(0.894)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5097.14), float(80), float(5651.59), float(-0.546), float(0.838)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5084.339), float(80), float(5675.99), float(0.014), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5084.871), float(80), float(5660.02), float(0.563), float(0.826)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5083.932), float(80), float(5669.38), float(0.322), float(0.947)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5084.565), float(80), float(5680.82), float(-0.456), float(0.89)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5084.168), float(80), float(5685.02), float(-0.218), float(0.976)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5084.497), float(80), float(5690.6), float(-0.301), float(0.954)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5084.01), float(80), float(5688.24), float(0.684), float(0.73)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5084.504), float(80), float(5696.37), float(-0.237), float(0.972)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5084.77), float(80), float(5702.69), float(-0.519), float(0.855)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5084.853), float(80), float(5717.58), float(-0.69), float(0.723)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5211.81), float(80), float(5537.59), float(0.054), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5179.29), float(80), float(5537.94), float(0.337), float(0.942)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5211.7), float(80), float(5522.95), float(-0.558), float(0.83)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5178.98), float(80), float(5523.22), float(0.427), float(0.904)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5202.65), float(80), float(5539.89), float(-0.361), float(0.933)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5189.33), float(80), float(5539.79), float(0.643), float(0.766)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5210.43), float(80), float(5525.79), float(-0.184), float(0.983)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5206.08), float(80), float(5528.77), float(0.166), float(0.986)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5210.43), float(80), float(5534.08), float(-0.445), float(0.896)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5200.69), float(80), float(5529.35), float(0.462), float(0.887)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5196.33), float(80), float(5536.56), float(-0.072), float(0.997)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5213.67), float(80), float(5528.99), float(-0.378), float(0.926)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5197.47), float(80), float(5524.56), float(-0.586), float(0.81)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5180.38), float(80), float(5526.05), float(-0.154), float(0.988)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5179.32), float(80), float(5533.6), float(0.483), float(0.876)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5185.84), float(80), float(5522.57), float(-0.316), float(0.949)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5190.74), float(80), float(5529.2), float(-0.445), float(0.896)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5227.9), float(160), float(5601.05), float(0.008), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5134.58), float(80), float(5539.41), float(-0.432), float(0.902)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5134.78), float(80), float(5542.81), float(-0.642), float(0.767)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5129.98), float(80), float(5546.21), float(0.579), float(0.816)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5126.34), float(80), float(5555.94), float(0.649), float(0.761)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5124.72), float(80), float(5550.28), float(-0.35), float(0.937)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5137.69), float(80), float(5532.49), float(0.348), float(0.937)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5140.88), float(80), float(5531.23), float(0.47), float(0.883)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5138.23), float(80), float(5530.47), float(-0.025), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5125.21), float(80), float(5552.98), float(0.594), float(0.804)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5160.23), float(80), float(5548.55), float(-0.454), float(0.891)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5160.11), float(80), float(5553.68), float(0.65), float(0.76)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5150.09), float(80), float(5563.9), float(-0.504), float(0.864)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5145.57), float(80), float(5581.59), float(0.238), float(0.971)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5141.08), float(80), float(5595.36), float(-0.065), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5149.82), float(80), float(5583.24), float(0.102), float(0.995)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5145.91), float(80), float(5599.09), float(0.078), float(0.997)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5147.95), float(80), float(5607.33), float(-0.563), float(0.827)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5147.09), float(80), float(5589.4), float(-0.413), float(0.911)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5145.86), float(80), float(5572.89), float(-0.566), float(0.825)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5147.54), float(80), float(5557.53), float(0.398), float(0.918)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5149.54), float(80), float(5551.34), float(-0.115), float(0.993)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5165.2), float(80), float(5550.01), float(0.24), float(0.971)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5139.4), float(160), float(5599.26), float(0.349), float(0.937)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5124.02), float(80), float(5682.59), float(0.057), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5254.85), float(160), float(5553.39), float(-0.551), float(0.834)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5365.02), float(160), float(5577.16), float(-0.574), float(0.819)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5143.04), float(160), float(5552.77), float(-0.259), float(0.966)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5404.76), float(160), float(5575.26), float(-0.574), float(0.819)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5194), float(160), float(5533), float(0), float(1)) return \ No newline at end of file diff --git a/scripts/static_spawns/tatooine.py b/scripts/static_spawns/tatooine.py index 1d7b383b..314661d0 100644 --- a/scripts/static_spawns/tatooine.py +++ b/scripts/static_spawns/tatooine.py @@ -8,7 +8,7 @@ def addPlanetSpawns(core, planet): # Objects - 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)) + stcSvc.spawnObject('object/tangible/terminal/shared_terminal_character_builder.iff', long(0), 'tatooine', long(0), float(3525), float(4), float(-4801), float(0.70), float(0), float(0.71), float(0)) # Buildings @@ -18,10 +18,12 @@ def addPlanetSpawns(core, planet): # NPCs - stcSvc.spawnObject('object/mobile/shared_respec_seller_f_1.iff', 'tatooine', long(0), float(3533.14), float(5), float(-4788.86), float(-0.3327), float(0.9288)) + respecEisley = stcSvc.spawnObject('object/mobile/shared_respec_seller_f_1.iff', long(0), 'tatooine', long(0), float(3533.14), float(5), float(-4788.86), float(-0.3327), float(0.9288)) + respecEisley.setOptionsBitmask(264) + respecEisley.setCustomName('a Profession Counselor') - stcSvc.spawnObject('object/mobile/shared_junk_dealer_m_01.iff', 'tatooine', long(0), float(3525), float(4), float(-4804), float(0.70), float(0.71)) - + junkDealer1 = stcSvc.spawnObject('object/mobile/shared_junk_dealer_m_01.iff', long(0), 'tatooine', long(0), float(3525), float(4), float(-4804), float(0.70), float(0.71)) + junkDealer1.setOptionsBitmask(264) #stcSvc.spawnObject('object/mobile/shared_3po_protocol_droid_red.iff', 'tatooine', long(26582), float(-14.3), float(2.0), float(47.4), float(0.70), float(0.71)) return diff --git a/src/services/StaticService.java b/src/services/StaticService.java index 380ec762..5732ad26 100644 --- a/src/services/StaticService.java +++ b/src/services/StaticService.java @@ -69,7 +69,11 @@ public class StaticService implements INetworkDispatch { return spawnObject(template, planetName, cellId, x, y, z, qW, 0, qY, 0); } - public SWGObject spawnObject(String template, String planetName, long cellId, float x, float y, float z, float qW, float qX, float qY, float qZ) { + public SWGObject spawnObject(String template, long objectId, String planetName, long cellId, float x, float y, float z, float qY, float qW) { + return spawnObject(template, objectId, planetName, cellId, x, y, z, qW, 0, qY, 0); + } + + public SWGObject spawnObject(String template, long objectId, String planetName, long cellId, float x, float y, float z, float qW, float qX, float qY, float qZ) { Planet planet = core.terrainService.getPlanetByName(planetName); if (planet == null) { @@ -85,7 +89,7 @@ public class StaticService implements INetworkDispatch { cellNumber = ((BuildingObject) container.getContainer()).getCellNumberByObjectId(cellId); } - long objectId = core.objectService.getDOId(planetName, template, 0, cellId, cellNumber, x, y, z); + //long objectId = core.objectService.getDOId(planetName, template, 0, cellId, cellNumber, x, y, z); TODO: Make this work right! SWGObject object; From 8fa9be6030469f2d9c703e6ff23c33ad2335e7a1 Mon Sep 17 00:00:00 2001 From: Treeku Date: Tue, 29 Apr 2014 18:33:00 +0100 Subject: [PATCH 31/52] Revert "Temp Fix to Static Spawns" This reverts commit bfa32b533f46b845fc1e2f1ecf030b01c693cea8. --- scripts/static_spawns/kaas.py | 87 ++-- scripts/static_spawns/rori.py | 745 +++++++++++++++--------------- scripts/static_spawns/tatooine.py | 10 +- src/services/StaticService.java | 8 +- 4 files changed, 424 insertions(+), 426 deletions(-) diff --git a/scripts/static_spawns/kaas.py b/scripts/static_spawns/kaas.py index e462f01a..b576e2da 100644 --- a/scripts/static_spawns/kaas.py +++ b/scripts/static_spawns/kaas.py @@ -4,11 +4,6 @@ import sys # Do not make ANY changes to this script without direct approval from Levarris! -# Example - #building = stcSvc.spawnObject('object/building/myThatchedHut.iff', 'tatooine', long(0), float(3525), float(4), float(-4804), float(0.70), float(0.71)) - #stcSvc.spawnObject('object/mobile/shared_my_npc.iff', 'tatooine', building.getCellByCellNumber(7), float(3525), float(4), float(-4804), float(0.70), float(0.71)) - - from resources.datatables import Options from resources.datatables import StateStatus @@ -19,75 +14,75 @@ def addPlanetSpawns(core, planet): objSvc = core.objectService #Dark Temple Area #Structures - dtMain = stcSvc.spawnObject('object/building/military/shared_military_base_police_station_imperial_lok_otto.iff', long(0), 'kaas', long(0), float(-5117.8), float(80.0), float(-2314.1), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/building/player/shared_player_house_corellia_medium_style_01.iff', long(0), 'kaas', long(0), float(-5078.6), float(80.0), float(-2302.5), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/building/general/shared_bunker_imperial_weapons_research_facility_01.iff', long(0), 'kaas', long(0), float(-5159.5), float(80.0), float(-2298.7), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', long(0), 'kaas', long(0), float(-5163.9), float(79.0), float(-2369.6), float(0.71), float(0), float(0.71), float(0)) - stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', long(0), 'kaas', long(0), float(-5163.9), float(79.0), float(-2351.6), float(0.71), float(0), float(0.71), float(0)) - stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', long(0), 'kaas', long(0), float(-5072.1), float(79.0), float(-2369.6), float(-0.71), float(0), float(0.71), float(0)) - stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', long(0), 'kaas', long(0), float(-5072.1), float(79.0), float(-2351.6), float(-0.71), float(0), float(0.71), float(0)) + stcSvc.spawnObject('object/building/military/shared_military_base_police_station_imperial_lok_otto.iff', 'kaas', long(0), float(-5117.8), float(80.0), float(-2314.1), float(0), float(0)) + stcSvc.spawnObject('object/building/player/shared_player_house_corellia_medium_style_01.iff', 'kaas', long(0), float(-5078.6), float(80.0), float(-2302.5), float(0), float(0)) + stcSvc.spawnObject('object/building/general/shared_bunker_imperial_weapons_research_facility_01.iff', 'kaas', long(0), float(-5159.5), float(80.0), float(-2298.7), float(0), float(0)) + stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', 'kaas', long(0), float(-5163.9), float(79.0), float(-2369.6), float(0.71), float(0.71)) + stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', 'kaas', long(0), float(-5163.9), float(79.0), float(-2351.6), float(0.71), float(0.71)) + stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', 'kaas', long(0), float(-5072.1), float(79.0), float(-2369.6), float(-0.71), float(0.71)) + stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', 'kaas', long(0), float(-5072.1), float(79.0), float(-2351.6), float(-0.71), float(0.71)) stcSvc.spawnObject('object/building/military/shared_outpost_cloning_facility_s02.iff', long(0), 'kaas', long(0), float(-5072.1), float(80.0), float(-2279.5), float(0.71), float(0), float(-0.71), float(0)) #Terminals - stcSvc.spawnObject('object/tangible/terminal/shared_terminal_bank.iff', long(0), 'kaas', long(0), float(-5080.8), float(80.0), float(-2275.7), float(-0.71), float(0), float(0.71), float(0)) - stcSvc.spawnObject('object/tangible/terminal/shared_terminal_mission.iff', long(0), 'kaas', long(0), float(-5108.7), float(80.0), float(-2289.2), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/tangible/terminal/shared_terminal_mission.iff', long(0), 'kaas', long(0), float(-5127.3), float(80.0), float(-2289.2), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/tangible/terminal/shared_terminal_bank.iff', 'kaas', long(0), float(-5080.8), float(80.0), float(-2275.7), float(-0.71), float(0.71)) + stcSvc.spawnObject('object/tangible/terminal/shared_terminal_mission.iff', 'kaas', long(0), float(-5108.7), float(80.0), float(-2289.2), float(0), float(0)) + stcSvc.spawnObject('object/tangible/terminal/shared_terminal_mission.iff', 'kaas', long(0), float(-5127.3), float(80.0), float(-2289.2), float(0), float(0)) - #Exterior Decor - stcSvc.spawnObject('object/static/vehicle/shared_static_lambda_shuttle.iff', long(0), 'kaas', long(0), float(-5078.1), float(80.0), float(-2256.0), float(-0.70), float(0), float(0.70), float(0)) - stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_crystal_centerpiece.iff', long(0), 'kaas', long(0), float(-5121.5), float(80.0), float(-2360.5), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/tatooine/shared_antenna_tatt_style_1.iff', long(0), 'kaas', long(0), float(-5146.7), float(80.0), float(-2301.7), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/static/installation/shared_mockup_power_generator_fusion_style_1.iff', long(0), 'kaas', long(0), float(-5146.7), float(80.0), float(-2301.7), float(0.71), float(0), float(0.71), float(0)) - stcSvc.spawnObject('object/static/installation/shared_mockup_power_generator_photo_bio_style_1.iff', long(0), 'kaas', long(0), float(-5146.9), float(80.0), float(-2294.5), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/static/vehicle/shared_static_tie_bomber.iff', long(0), 'kaas', long(0), float(-5158.5), float(80.5), float(-2232.4), float(0.70), float(0), float(0.70), float(0)) - stcSvc.spawnObject('object/static/vehicle/shared_static_tie_fighter.iff', long(0), 'kaas', long(0), float(-5158.5), float(85.0), float(-2257.4), float(0.70), float(0), float(0.70), float(0)) + #Decor + stcSvc.spawnObject('object/static/vehicle/shared_static_lambda_shuttle.iff', 'kaas', long(0), float(-5078.1), float(80.0), float(-2256.0), float(-0.70), float(0.70)) + stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_crystal_centerpiece.iff', 'kaas', long(0), float(-5121.5), float(80.0), float(-2360.5), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/tatooine/shared_antenna_tatt_style_1.iff', 'kaas', long(0), float(-5146.7), float(80.0), float(-2301.7), float(0), float(0)) + stcSvc.spawnObject('object/static/installation/shared_mockup_power_generator_fusion_style_1.iff', 'kaas', long(0), float(-5146.7), float(80.0), float(-2301.7), float(0.71), float(0.71)) + stcSvc.spawnObject('object/static/installation/shared_mockup_power_generator_photo_bio_style_1.iff', 'kaas', long(0), float(-5146.9), float(80.0), float(-2294.5), float(0), float(0)) + stcSvc.spawnObject('object/static/vehicle/shared_static_tie_bomber.iff', 'kaas', long(0), float(-5158.5), float(80.5), float(-2232.4), float(0.70), float(0.70)) + stcSvc.spawnObject('object/static/vehicle/shared_static_tie_fighter.iff', 'kaas', long(0), float(-5158.5), float(85.0), float(-2257.4), float(0.70), float(0.70)) #Streetlamps - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5109.9), float(80.0), float(-2289.9), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5125.9), float(80.0), float(-2289.9), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5115.0), float(80.0), float(-2346.6), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5120.8), float(80.0), float(-2346.6), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5127.3), float(80.0), float(-2219.0), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5111.2), float(80.0), float(-2219.0), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5162.8), float(80.0), float(-2285.9), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5067.3), float(80.0), float(-2294.9), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5068.6), float(80.0), float(-2228.1), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5078.5), float(80.0), float(-2360.5), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', long(0), 'kaas', long(0), float(-5157.5), float(80.0), float(-2360.5), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5109.9), float(80.0), float(-2289.9), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5125.9), float(80.0), float(-2289.9), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5115.0), float(80.0), float(-2346.6), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5120.8), float(80.0), float(-2346.6), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5127.3), float(80.0), float(-2219.0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5111.2), float(80.0), float(-2219.0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5162.8), float(80.0), float(-2285.9), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5067.3), float(80.0), float(-2294.9), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5068.6), float(80.0), float(-2228.1), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5078.5), float(80.0), float(-2360.5), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/general/shared_streetlamp_large_blue_style_01_on.iff', 'kaas', long(0), float(-5157.5), float(80.0), float(-2360.5), float(0), float(0)) #Dark Temple Interior - stcSvc.spawnObject('object/static/structure/content/shared_exar_kun_torch_01.iff', long(0), 'kaas', long(468319), float(0.0), float(-1.3), float(20.8), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/content/shared_exar_kun_torch_01.iff', 'kaas', long(468319), float(0.0), float(-1.3), float(20.8), float(0), float(0)) #Village of the Descendants Area - stcSvc.spawnObject('object/building/general/shared_cave_01.iff', long(0), 'kaas', long(0), float(3348.1), float(110), float(2562.1), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/building/general/shared_cave_01.iff', 'kaas', long(0), float(3348.1), float(110), float(2562.1), float(0), float(0)) #Kaas City Ruins #Tomb of Vitiate #Northwest Cave - stcSvc.spawnObject('object/building/general/shared_cave_01.iff', long(0), 'kaas', long(0), float(-6135.3), float(185), float(6575.0), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/building/general/shared_cave_01.iff', 'kaas', long(0), float(-6135.3), float(185), float(6575.0), float(0), float(0)) #Abandoned Separatist Base - stcSvc.spawnObject('object/building/military/shared_military_base_police_station_rebel_style_01.iff', long(0), 'kaas', long(0), float(-3538), float(80), float(6758), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/building/military/shared_military_base_police_station_rebel_style_01.iff', 'kaas', long(0), float(-3538), float(80), float(6758), float(0), float(0)) #Sith Meditation Chamber - stcSvc.spawnObject('object/building/player/shared_player_house_sith_meditation_room.iff', long(0), 'kaas', long(0), float(4766), float(126), float(-7307), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/building/player/shared_player_house_sith_meditation_room.iff', 'kaas', long(0), float(4766), float(126), float(-7307), float(0), float(0)) #Large Ruin - stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_main_structure.iff', long(0), 'kaas', long(0), float(-434), float(77), float(-2252), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_main_structure.iff', 'kaas', long(0), float(-434), float(77), float(-2252), float(0), float(0)) #Central North Ruin - stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_wall_1.iff', long(0), 'kaas', long(0), float(-50), float(77), float(6313), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_wall_2.iff', long(0), 'kaas', long(0), float(-58), float(77), float(6304), float(0.71), float(0), float(0.71), float(0)) - stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_wall_1.iff', long(0), 'kaas', long(0), float(-58), float(77), float(6321), float(-0.71), float(0), float(0.71), float(0)) - stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_wall_2.iff', long(0), 'kaas', long(0), float(-71), float(77), float(6312), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_temple_pillar.iff', long(0), 'kaas', long(0), float(-71.0), float(78), float(6320.8), float(0), float(0), float(0), float(0)) - stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_main_structure.iff', long(0), 'kaas', long(0), float(-97), float(78), float(6376), float(0), float(0), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_wall_1.iff', 'kaas', long(0), float(-50), float(77), float(6313), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_wall_2.iff', 'kaas', long(0), float(-58), float(77), float(6304), float(0.71), float(0.71)) + stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_wall_1.iff', 'kaas', long(0), float(-58), float(77), float(6321), float(-0.71), float(0.71)) + stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_wall_2.iff', 'kaas', long(0), float(-71), float(77), float(6312), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_temple_pillar.iff', 'kaas', long(0), float(-71.0), float(78), float(6320.8), float(0), float(0)) + stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_main_structure.iff', 'kaas', long(0), float(-97), float(78), float(6376), float(0), float(0)) return diff --git a/scripts/static_spawns/rori.py b/scripts/static_spawns/rori.py index bd8380ee..e097f64b 100644 --- a/scripts/static_spawns/rori.py +++ b/scripts/static_spawns/rori.py @@ -6,373 +6,382 @@ def addPlanetSpawns(core, planet): # Restuss Spawns - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_bank_destroyed.iff', long(0), 'rori', long(0), float(5180.96), float(80), float(5583.95), float(0), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', long(0), 'rori', long(0), float(5159.76), float(80), float(5524.92), float(0), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_destroyed_01.iff', long(0), 'rori', long(0), float(5120.55), float(80), float(5590.63), float(0.707), float(0.707)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_scorched_01.iff', long(0), 'rori', long(0), float(5097.06), float(80), float(5767.93), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_02.iff', long(0), 'rori', long(0), float(5145), float(80), float(5776.85), float(0), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', long(0), 'rori', long(0), float(5229.26), float(80), float(5771.02), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_shuttleport_destroyed.iff', long(0), 'rori', long(0), float(5212.94), float(80), float(5810.55), float(-0.707), float(0.707)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_01.iff', long(0), 'rori', long(0), float(5225.19), float(80), float(5851.56), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', long(0), 'rori', long(0), float(5248.13), float(80), float(5813.96), float(0.707), float(0.707)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', long(0), 'rori', long(0), float(5258), float(80), float(5788), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_starport_destroyed.iff', long(0), 'rori', long(0), float(5364.5), float(80), float(5751.89), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_01.iff', long(0), 'rori', long(0), float(5367.18), float(80), float(5890.96), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_cloning_facility_destroyed.iff', long(0), 'rori', long(0), float(5426.02), float(80), float(5894.74), float(0.926), float(-0.376)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', long(0), 'rori', long(0), float(5393.77), float(80), float(5860.94), float(0.923), float(-0.386)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_destroyed_01.iff', long(0), 'rori', long(0), float(5443.93), float(80), float(5837.13), float(0), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_guild_combat_destroyed.iff', long(0), 'rori', long(0), float(5446.43), float(80), float(5800.63), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_destroyed_01.iff', long(0), 'rori', long(0), float(5492.77), float(80), float(5771.99), float(-0.707), float(0.707)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_01.iff', long(0), 'rori', long(0), float(5509.42), float(80), float(5723.96), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_theater_destroyed.iff', long(0), 'rori', long(0), float(5466.96), float(80), float(5615.78), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_02.iff', long(0), 'rori', long(0), float(5526.34), float(80), float(5568.87), float(-0.707), float(0.707)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_01.iff', long(0), 'rori', long(0), float(5462.94), float(80), float(5515.29), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_01.iff', long(0), 'rori', long(0), float(5421.43), float(80), float(5609.62), float(0.71), float(-0.704)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', long(0), 'rori', long(0), float(5421.78), float(80), float(5642.16), float(0.703), float(0.711)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_02.iff', long(0), 'rori', long(0), float(5386.51), float(80), float(5548.48), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_guild_university_destroyed.iff', long(0), 'rori', long(0), float(5385.93), float(80), float(5608.18), float(0), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', long(0), 'rori', long(0), float(5342.67), float(80), float(5652.28), float(-0.707), float(0.707)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_hospital_destroyed.iff', long(0), 'rori', long(0), float(5298.06), float(80), float(5592.06), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_destroyed_01.iff', long(0), 'rori', long(0), float(5282.66), float(80), float(5647.94), float(-0.707), float(0.707)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_scorched_01.iff', long(0), 'rori', long(0), float(5296.84), float(80), float(5545.69), float(0.707), float(0.707)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_01.iff', long(0), 'rori', long(0), float(5250.52), float(80), float(5528.92), float(0.002), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_scorched_02.iff', long(0), 'rori', long(0), float(5226.39), float(80), float(5562.31), float(0.707), float(0.707)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_hotel_destroyed.iff', long(0), 'rori', long(0), float(5149.98), float(80), float(5653), float(0), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_guild_commerce_destroyed.iff', long(0), 'rori', long(0), float(5237.66), float(80), float(5702.14), float(0), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_01.iff', long(0), 'rori', long(0), float(5156.02), float(80), float(5719.04), float(0), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_scorched_02.iff', long(0), 'rori', long(0), float(5097.81), float(80), float(5728.05), float(1), float(-0.001)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5077.51), float(80), float(5739.01), float(-0.194), float(0.981)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5077.38), float(80), float(5753.89), float(0.524), float(0.852)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5076.684), float(80), float(5743.6), float(-0.095), float(0.995)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5077.211), float(80), float(5748.28), float(-0.555), float(0.832)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5078.258), float(80), float(5760.22), float(0.424), float(0.906)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5074.203), float(80), float(5760.97), float(0.596), float(0.803)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5078.103), float(80), float(5734.72), float(-0.662), float(0.75)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5075.671), float(80), float(5733.03), float(-0.458), float(0.889)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5180.05), float(80.1), float(5749.9), float(-0.667), float(0.745)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_main.iff', long(0), 'rori', long(0), float(5292.61), float(80.1), float(5691.7), float(0.536), float(0.844)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5195.66), float(80), float(5780.23), float(-0.27), float(0.963)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5181.01), float(80), float(5765.36), float(-0.411), float(0.912)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5195.78), float(80), float(5765.29), float(-0.057), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5193.69), float(80), float(5775.52), float(-0.696), float(0.718)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5189.69), float(80), float(5770.34), float(-0.185), float(0.983)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5186.21), float(80), float(5777.83), float(0.213), float(0.977)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5181.04), float(80), float(5782.35), float(-0.155), float(0.988)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5185.41), float(80), float(5766.67), float(0.612), float(0.791)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5194.66), float(80), float(5769.75), float(-0.062), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5185), float(80), float(5771.49), float(-0.216), float(0.976)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5198.94), float(80), float(5764.97), float(-0.107), float(0.994)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5213.23), float(80), float(5765.96), float(0.49), float(0.872)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5200.4), float(80), float(5777.89), float(0.669), float(0.744)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5212.86), float(80), float(5778.53), float(0.01), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5156.26), float(80), float(5790.01), float(0.305), float(0.952)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5171.12), float(80), float(5830.58), float(-0.256), float(0.967)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5155.93), float(80), float(5798.19), float(0.248), float(0.969)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5172.98), float(80), float(5837.56), float(0.415), float(0.91)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5172.3), float(80), float(5818.53), float(0.509), float(0.861)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5172.31), float(80), float(5804.6), float(-0.105), float(0.994)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5166.77), float(80), float(5796.86), float(0.091), float(0.996)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', long(0), 'rori', long(0), float(5162.79), float(80), float(5806.88), float(-0.577), float(0.817)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5168.07), float(80), float(5812.14), float(-0.408), float(0.913)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5160.27), float(80), float(5829.17), float(-0.643), float(0.766)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5157.31), float(80), float(5805.73), float(0.208), float(0.978)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5158.65), float(80), float(5821.98), float(0.673), float(0.74)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5168.43), float(80), float(5828.65), float(-0.221), float(0.975)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5156.4), float(80), float(5817.67), float(0.315), float(0.949)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5174.72), float(80), float(5841.5), float(-0.616), float(0.788)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5184.73), float(80), float(5852.15), float(-0.524), float(0.852)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5174.51), float(80), float(5862.33), float(0.657), float(0.754)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5165.46), float(80), float(5848.79), float(0.04), float(0.999)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5162.79), float(80), float(5852.25), float(-0.055), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5175.7), float(80), float(5853.22), float(-0.065), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5172.42), float(80), float(5849.51), float(-0.678), float(0.735)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5169.55), float(80), float(5856.93), float(-0.294), float(0.956)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5190.87), float(80), float(5854.03), float(-0.02), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5259.89), float(80), float(5861.79), float(-0.646), float(0.763)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5277.1), float(80), float(5856.63), float(-0.164), float(0.986)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5298.19), float(80), float(5856.3), float(-0.245), float(0.97)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5266.7), float(80), float(5856.33), float(-0.196), float(0.981)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5307.89), float(80), float(5856.03), float(0.195), float(0.981)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5275.71), float(80), float(5897.61), float(0.062), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5299.24), float(80), float(5897.31), float(-0.569), float(0.822)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5267.24), float(80), float(5865.29), float(0.179), float(0.984)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5308.22), float(80), float(5865.24), float(0.513), float(0.858)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5289.48), float(80), float(5858.34), float(-0.683), float(0.73)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5270.1), float(80), float(5859.39), float(0.33), float(0.944)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', long(0), 'rori', long(0), float(5305.93), float(80), float(5863.17), float(-0.049), float(0.999)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5275.84), float(80), float(5871.66), float(-0.306), float(0.952)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5294.33), float(80), float(5884.62), float(0.505), float(0.863)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5294.94), float(80), float(5865.96), float(-0.022), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5285.54), float(80), float(5869.48), float(-0.586), float(0.811)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5282.57), float(80), float(5876.22), float(0.084), float(0.996)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5290.79), float(80), float(5875.07), float(0.238), float(0.971)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5296.08), float(80), float(5873.61), float(0.706), float(0.708)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5285.84), float(80), float(5881.4), float(0.195), float(0.981)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5275.65), float(80), float(5882.23), float(0.602), float(0.799)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5285.73), float(80), float(5899.68), float(0.596), float(0.803)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5280.34), float(80), float(5888.99), float(-0.693), float(0.721)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5281.55), float(80.1), float(5851.38), float(-0.58), float(0.815)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5175.19), float(80.1), float(5819.3), float(0.26), float(0.966)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5298.34), float(80), float(5816.49), float(0.695), float(0.719)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5289.17), float(80), float(5816.49), float(-0.438), float(0.899)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5288.77), float(80), float(5807.39), float(-0.699), float(0.715)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5297.9), float(80), float(5807.32), float(-0.594), float(0.805)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5295.96), float(80), float(5810.31), float(0.166), float(0.986)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5293.87), float(80), float(5814.9), float(-0.523), float(0.852)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5305.14), float(80), float(5830.7), float(-0.695), float(0.719)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5302.09), float(80), float(5826.91), float(-0.486), float(0.874)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5308.07), float(80), float(5828.84), float(-0.467), float(0.884)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5301.85), float(80), float(5830.23), float(0.38), float(0.925)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5343.28), float(80), float(5845.51), float(-0.551), float(0.834)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5345.82), float(80), float(5850.02), float(-0.017), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5312.34), float(80), float(5853.74), float(0.266), float(0.964)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5350.06), float(80), float(5851.27), float(0.46), float(0.888)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5347.26), float(80), float(5846.61), float(0.255), float(0.967)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5353.75), float(80), float(5847.36), float(0.398), float(0.918)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5356.68), float(80), float(5850.61), float(0.292), float(0.957)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5344.38), float(80), float(5854.76), float(0.641), float(0.767)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5313.28), float(80), float(5871.85), float(0.246), float(0.969)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5342.86), float(80), float(5871.45), float(-0.616), float(0.788)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5320.69), float(80), float(5859.19), float(-0.114), float(0.994)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5326.61), float(80), float(5859.34), float(0.61), float(0.792)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5315.46), float(80), float(5867.65), float(-0.039), float(0.999)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5336.34), float(80), float(5860.76), float(0.63), float(0.776)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5315.38), float(80), float(5857.7), float(0.15), float(0.989)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', long(0), 'rori', long(0), float(5330.16), float(80), float(5869.99), float(0.641), float(0.767)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5331.98), float(80), float(5865.41), float(-0.604), float(0.797)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5319.4), float(80), float(5865.26), float(-0.131), float(0.991)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5322.76), float(80), float(5852.16), float(0.7), float(0.714)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5335.51), float(80), float(5852.77), float(-0.072), float(0.997)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5355.58), float(80), float(5833.37), float(-0.549), float(0.836)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5371.95), float(80), float(5841.84), float(-0.246), float(0.969)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5362.66), float(80), float(5851.82), float(-0.683), float(0.73)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5372.07), float(80), float(5854.28), float(-0.079), float(0.997)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5367.5), float(80), float(5848.69), float(0.647), float(0.763)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5349.5), float(80), float(5885.33), float(0.439), float(0.899)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5346.38), float(80), float(5877.36), float(0.431), float(0.902)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5382.79), float(80), float(5882.54), float(0.643), float(0.766)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5384.75), float(80), float(5899.56), float(0.37), float(0.929)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5457.56), float(80), float(5861.21), float(0.612), float(0.791)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5456.49), float(80), float(5853.73), float(-0.683), float(0.73)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5450.94), float(80), float(5873.82), float(0.513), float(0.858)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5458.31), float(80), float(5864.73), float(-0.599), float(0.801)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5408.1), float(80), float(5847.98), float(-0.523), float(0.852)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5414.02), float(80), float(5846.78), float(0.073), float(0.997)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5445.83), float(80), float(5718.46), float(0.166), float(0.986)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5478.54), float(80), float(5828.79), float(-0.299), float(0.954)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5500.4), float(80), float(5807.04), float(-0.448), float(0.894)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5492.18), float(80), float(5829.82), float(0.351), float(0.936)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5500.51), float(80), float(5822.23), float(0.452), float(0.892)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5497.91), float(80), float(5826.41), float(0.313), float(0.95)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5480.65), float(80.1), float(5813.16), float(-0.472), float(0.882)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5497.99), float(80), float(5734.71), float(0.584), float(0.812)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5484.98), float(80), float(5736.43), float(0.149), float(0.989)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5484.75), float(80), float(5718.3), float(0.595), float(0.804)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5455.17), float(80), float(5717.56), float(0.069), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5476.86), float(80), float(5730.67), float(-0.014), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5470.95), float(80), float(5730.29), float(0.621), float(0.784)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5482.41), float(80), float(5722.41), float(-0.392), float(0.92)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5461.27), float(80), float(5728.5), float(-0.571), float(0.821)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5482.1), float(80), float(5732.36), float(0.3), float(0.954)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', long(0), 'rori', long(0), float(5467.81), float(80), float(5719.51), float(0.611), float(0.792)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5465.81), float(80), float(5724.01), float(0.668), float(0.744)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5478.39), float(80), float(5724.65), float(-0.203), float(0.979)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5474.52), float(80), float(5737.61), float(0.155), float(0.988)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5461.8), float(80), float(5736.51), float(-0.096), float(0.995)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5453.01), float(80), float(5734.19), float(0.503), float(0.864)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5452.77), float(80), float(5714.75), float(0.041), float(0.999)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5454.89), float(80), float(5710.52), float(0.65), float(0.76)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5458.8), float(80), float(5708.08), float(0.517), float(0.856)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', long(0), 'rori', long(0), float(5469.63), float(80), float(5712.67), float(0.609), float(0.793)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5482.35), float(80), float(5713.97), float(-0.536), float(0.844)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5475.69), float(80), float(5703.35), float(0.066), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5471.4), float(80), float(5708.07), float(0.311), float(0.95)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5465.94), float(80), float(5702.06), float(0.306), float(0.952)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5454.69), float(80), float(5700.57), float(0.227), float(0.974)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5460.01), float(80), float(5701.99), float(0.144), float(0.99)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5451.6), float(80), float(5696.65), float(0.424), float(0.906)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5461.99), float(80), float(5694.93), float(-0.34), float(0.94)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5474.75), float(80), float(5695.38), float(0.566), float(0.824)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5483.65), float(80), float(5697.24), float(-0.706), float(0.708)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_main.iff', long(0), 'rori', long(0), float(5443.98), float(80.1), float(5678.05), float(0.648), float(0.762)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5523.95), float(80), float(5700.95), float(-0.114), float(0.994)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5523.89), float(80), float(5711.99), float(0.463), float(0.886)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5506.73), float(80), float(5696.61), float(-0.222), float(0.975)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5506.65), float(80), float(5671.8), float(-0.542), float(0.841)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5528.42), float(80), float(5670.98), float(0.383), float(0.924)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5528.32), float(80), float(5696.23), float(0.656), float(0.755)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5511.8), float(80), float(5678.09), float(-0.502), float(0.865)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5511.78), float(80), float(5688.71), float(0.438), float(0.899)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5522.8), float(80), float(5690.86), float(0.256), float(0.967)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5523.08), float(80), float(5678.49), float(0.645), float(0.764)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5516.3), float(80), float(5660.46), float(0.356), float(0.934)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5525.47), float(80), float(5660.47), float(-0.637), float(0.771)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5523.09), float(80), float(5654.28), float(0.626), float(0.78)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5521.01), float(80), float(5658.87), float(-0.089), float(0.996)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5515.9), float(80), float(5651.36), float(-0.148), float(0.989)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5525.04), float(80), float(5651.29), float(-0.642), float(0.767)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5521.94), float(80), float(5643.51), float(-0.606), float(0.795)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5520.89), float(80), float(5610.39), float(-0.624), float(0.782)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5523.2), float(80), float(5612.25), float(0.314), float(0.95)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5522.31), float(80), float(5616.48), float(0.072), float(0.997)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5521.17), float(80), float(5621.01), float(0.147), float(0.989)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5521.36), float(80), float(5625.72), float(0.12), float(0.993)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5521.14), float(80), float(5631.32), float(0.51), float(0.86)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5521.57), float(80), float(5637.7), float(-0.04), float(0.999)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5517.48), float(80), float(5638.16), float(-0.226), float(0.974)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5497.4), float(80), float(5525.48), float(-0.683), float(0.73)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5502.11), float(80), float(5528.12), float(-0.605), float(0.796)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5516.9), float(80), float(5534.36), float(0.031), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5516.7), float(80), float(5527.19), float(-0.385), float(0.923)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5519.44), float(80.003), float(5514.45), float(0.579), float(0.815)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5502.58), float(80), float(5515.86), float(0.375), float(0.927)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5511.45), float(80), float(5518.44), float(0.151), float(0.988)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5504.83), float(80), float(5521.1), float(-0.624), float(0.781)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5515.49), float(80), float(5523.41), float(0.169), float(0.986)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5419.37), float(80), float(5536.26), float(0.136), float(0.991)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5315.31), float(80), float(5528.79), float(-0.01), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5317.1), float(80), float(5526.43), float(-0.456), float(0.89)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5321.35), float(80), float(5527.2), float(-0.297), float(0.955)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5325.91), float(80), float(5528.21), float(0.058), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5330.62), float(80), float(5527.87), float(0.05), float(0.999)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5336.22), float(80), float(5527.93), float(-0.172), float(0.985)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5343.17), float(80), float(5531.4), float(-0.308), float(0.951)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5353.71), float(80), float(5540.9), float(0.12), float(0.993)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5305.62), float(80), float(5520.66), float(-0.426), float(0.905)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5285.75), float(80), float(5518.15), float(0.27), float(0.963)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5300.28), float(80), float(5518.6), float(0.22), float(0.975)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5294.6), float(80), float(5564.51), float(0.006), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5284.84), float(80), float(5531.77), float(-0.503), float(0.864)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5245.96), float(80), float(5591.48), float(0.679), float(0.734)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5251.18), float(80), float(5599.9), float(0.511), float(0.86)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5242.77), float(80), float(5602.57), float(0.674), float(0.739)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5242.46), float(80), float(5582.51), float(0.284), float(0.959)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5253.15), float(80), float(5580.89), float(-0.11), float(0.994)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5229.35), float(80.1), float(5596.48), float(-0.061), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5220.69), float(80), float(5575.19), float(-0.613), float(0.79)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5196.84), float(80), float(5617.9), float(0.509), float(0.861)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', long(0), 'rori', long(0), float(5213.44), float(80), float(5615.23), float(-0.458), float(0.889)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5208.07), float(80), float(5617.47), float(0.116), float(0.993)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5202.23), float(80), float(5618.89), float(0.027), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5214.6), float(80), float(5608.22), float(-0.266), float(0.964)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5215.14), float(80), float(5601.33), float(0.208), float(0.978)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', long(0), 'rori', long(0), float(5215.65), float(80), float(5596.33), float(0.451), float(0.893)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5215.39), float(80), float(5590.41), float(-0.081), float(0.997)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5214.94), float(80), float(5580.15), float(0.258), float(0.966)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5214.81), float(80), float(5574.33), float(0.14), float(0.99)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5214.49), float(80), float(5564.43), float(-0.543), float(0.84)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5213.63), float(80), float(5568.46), float(0.013), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5209.98), float(80), float(5649.83), float(-0.032), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5209.88), float(80), float(5675.08), float(-0.329), float(0.944)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5204.36), float(80), float(5669.71), float(0.452), float(0.892)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5204.64), float(80), float(5657.35), float(-0.335), float(0.942)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5193.35), float(80), float(5656.95), float(-0.128), float(0.992)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5193.34), float(80), float(5667.56), float(-0.686), float(0.728)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5188.29), float(80), float(5675.47), float(0.124), float(0.992)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5188.21), float(80), float(5650.66), float(0.038), float(0.999)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5222.93), float(80), float(5647.28), float(-0.105), float(0.994)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5232.42), float(80), float(5637.62), float(-0.559), float(0.829)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5243.73), float(80), float(5637.3), float(0.576), float(0.818)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5253.27), float(80), float(5646.9), float(-0.571), float(0.821)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5253.52), float(80), float(5658.46), float(-0.453), float(0.891)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5249.86), float(80), float(5678.38), float(0.025), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5222.49), float(80), float(5658.71), float(0.69), float(0.724)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5226.38), float(80), float(5678.84), float(0.706), float(0.708)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5237.82), float(80), float(5637.11), float(0.283), float(0.959)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5223.14), float(80), float(5651.67), float(-0.186), float(0.983)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5252.53), float(80), float(5651.24), float(-0.065), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5226.79), float(80), float(5671.61), float(0.066), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5226.23), float(80), float(5664.81), float(0.529), float(0.848)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5245.53), float(80), float(5673.65), float(-0.226), float(0.974)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5249.54), float(80), float(5662.58), float(-0.124), float(0.992)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5244.63), float(80), float(5665.11), float(0.459), float(0.888)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5228.5), float(80), float(5657.26), float(0.344), float(0.939)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5247.24), float(80), float(5657.42), float(-0.604), float(0.797)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5227.94), float(80), float(5646.67), float(-0.225), float(0.974)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5233.04), float(80), float(5650.28), float(0.061), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5247.83), float(80), float(5646.19), float(-0.434), float(0.901)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5243.25), float(80), float(5642.85), float(-0.651), float(0.759)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5245.48), float(80), float(5652.77), float(-0.695), float(0.719)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5175.59), float(80), float(5678.05), float(0.701), float(0.713)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5174.61), float(80), float(5684.21), float(-0.041), float(0.999)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5166.48), float(80), float(5683.62), float(-0.163), float(0.987)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5133), float(80), float(5680.82), float(-0.66), float(0.751)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5110.22), float(80), float(5701.89), float(0.454), float(0.891)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5097.56), float(80), float(5698.42), float(-0.532), float(0.846)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5102.24), float(80), float(5702.75), float(-0.696), float(0.718)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5108.28), float(80), float(5710.77), float(-0.509), float(0.86)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5091.555), float(80), float(5709.31), float(-0.572), float(0.82)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', long(0), 'rori', long(0), float(5092.972), float(80), float(5696.61), float(-0.471), float(0.882)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5109.16), float(80), float(5678.72), float(0.69), float(0.724)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5105.21), float(80), float(5681.78), float(0.174), float(0.985)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5103.74), float(80), float(5687.08), float(0.19), float(0.982)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5103.62), float(80), float(5693.01), float(0.17), float(0.985)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5110.78), float(80), float(5689.13), float(0.279), float(0.96)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5097.66), float(80), float(5685.82), float(-0.431), float(0.902)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5095.256), float(80), float(5681.89), float(0.38), float(0.925)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5091.049), float(80), float(5679.73), float(-0.537), float(0.844)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5116.68), float(80), float(5711.43), float(-0.031), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5119.3), float(80), float(5726.44), float(0.491), float(0.871)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5113.46), float(80), float(5662.63), float(0.698), float(0.716)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5108.9), float(80), float(5666.54), float(0.569), float(0.822)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5116.03), float(80), float(5646.49), float(0.448), float(0.894)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5097.14), float(80), float(5651.59), float(-0.546), float(0.838)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5084.339), float(80), float(5675.99), float(0.014), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5084.871), float(80), float(5660.02), float(0.563), float(0.826)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5083.932), float(80), float(5669.38), float(0.322), float(0.947)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5084.565), float(80), float(5680.82), float(-0.456), float(0.89)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5084.168), float(80), float(5685.02), float(-0.218), float(0.976)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', long(0), 'rori', long(0), float(5084.497), float(80), float(5690.6), float(-0.301), float(0.954)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', long(0), 'rori', long(0), float(5084.01), float(80), float(5688.24), float(0.684), float(0.73)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5084.504), float(80), float(5696.37), float(-0.237), float(0.972)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5084.77), float(80), float(5702.69), float(-0.519), float(0.855)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5084.853), float(80), float(5717.58), float(-0.69), float(0.723)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5211.81), float(80), float(5537.59), float(0.054), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5179.29), float(80), float(5537.94), float(0.337), float(0.942)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5211.7), float(80), float(5522.95), float(-0.558), float(0.83)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5178.98), float(80), float(5523.22), float(0.427), float(0.904)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5202.65), float(80), float(5539.89), float(-0.361), float(0.933)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', long(0), 'rori', long(0), float(5189.33), float(80), float(5539.79), float(0.643), float(0.766)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5210.43), float(80), float(5525.79), float(-0.184), float(0.983)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5206.08), float(80), float(5528.77), float(0.166), float(0.986)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5210.43), float(80), float(5534.08), float(-0.445), float(0.896)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5200.69), float(80), float(5529.35), float(0.462), float(0.887)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5196.33), float(80), float(5536.56), float(-0.072), float(0.997)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', long(0), 'rori', long(0), float(5213.67), float(80), float(5528.99), float(-0.378), float(0.926)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5197.47), float(80), float(5524.56), float(-0.586), float(0.81)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', long(0), 'rori', long(0), float(5180.38), float(80), float(5526.05), float(-0.154), float(0.988)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5179.32), float(80), float(5533.6), float(0.483), float(0.876)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', long(0), 'rori', long(0), float(5185.84), float(80), float(5522.57), float(-0.316), float(0.949)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5190.74), float(80), float(5529.2), float(-0.445), float(0.896)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5227.9), float(160), float(5601.05), float(0.008), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5134.58), float(80), float(5539.41), float(-0.432), float(0.902)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5134.78), float(80), float(5542.81), float(-0.642), float(0.767)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', long(0), 'rori', long(0), float(5129.98), float(80), float(5546.21), float(0.579), float(0.816)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5126.34), float(80), float(5555.94), float(0.649), float(0.761)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5124.72), float(80), float(5550.28), float(-0.35), float(0.937)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', long(0), 'rori', long(0), float(5137.69), float(80), float(5532.49), float(0.348), float(0.937)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', long(0), 'rori', long(0), float(5140.88), float(80), float(5531.23), float(0.47), float(0.883)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5138.23), float(80), float(5530.47), float(-0.025), float(1)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5125.21), float(80), float(5552.98), float(0.594), float(0.804)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5160.23), float(80), float(5548.55), float(-0.454), float(0.891)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5160.11), float(80), float(5553.68), float(0.65), float(0.76)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5150.09), float(80), float(5563.9), float(-0.504), float(0.864)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5145.57), float(80), float(5581.59), float(0.238), float(0.971)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', long(0), 'rori', long(0), float(5141.08), float(80), float(5595.36), float(-0.065), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5149.82), float(80), float(5583.24), float(0.102), float(0.995)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', long(0), 'rori', long(0), float(5145.91), float(80), float(5599.09), float(0.078), float(0.997)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5147.95), float(80), float(5607.33), float(-0.563), float(0.827)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5147.09), float(80), float(5589.4), float(-0.413), float(0.911)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5145.86), float(80), float(5572.89), float(-0.566), float(0.825)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5147.54), float(80), float(5557.53), float(0.398), float(0.918)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', long(0), 'rori', long(0), float(5149.54), float(80), float(5551.34), float(-0.115), float(0.993)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', long(0), 'rori', long(0), float(5165.2), float(80), float(5550.01), float(0.24), float(0.971)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5139.4), float(160), float(5599.26), float(0.349), float(0.937)) - stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', long(0), 'rori', long(0), float(5124.02), float(80), float(5682.59), float(0.057), float(0.998)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5254.85), float(160), float(5553.39), float(-0.551), float(0.834)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5365.02), float(160), float(5577.16), float(-0.574), float(0.819)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5143.04), float(160), float(5552.77), float(-0.259), float(0.966)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5404.76), float(160), float(5575.26), float(-0.574), float(0.819)) - stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', long(0), 'rori', long(0), float(5194), float(160), float(5533), float(0), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_bank_destroyed.iff', 'rori', long(0), float(5180.96), float(80), float(5583.95), float(0), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', 'rori', long(0), float(5159.76), float(80), float(5524.92), float(0), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_destroyed_01.iff', 'rori', long(0), float(5120.55), float(80), float(5590.63), float(0.707), float(0.707)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_scorched_01.iff', 'rori', long(0), float(5097.06), float(80), float(5767.93), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_02.iff', 'rori', long(0), float(5145), float(80), float(5776.85), float(0), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', 'rori', long(0), float(5229.26), float(80), float(5771.02), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_shuttleport_destroyed.iff', 'rori', long(0), float(5212.94), float(80), float(5810.55), float(-0.707), float(0.707)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_01.iff', 'rori', long(0), float(5225.19), float(80), float(5851.56), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', 'rori', long(0), float(5248.13), float(80), float(5813.96), float(0.707), float(0.707)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', 'rori', long(0), float(5258), float(80), float(5788), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_starport_destroyed.iff', 'rori', long(0), float(5364.5), float(80), float(5751.89), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_01.iff', 'rori', long(0), float(5367.18), float(80), float(5890.96), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_cloning_facility_destroyed.iff', 'rori', long(0), float(5426.02), float(80), float(5894.74), float(0.926), float(-0.376)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', 'rori', long(0), float(5393.77), float(80), float(5860.94), float(0.923), float(-0.386)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_destroyed_01.iff', 'rori', long(0), float(5443.93), float(80), float(5837.13), float(0), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_guild_combat_destroyed.iff', 'rori', long(0), float(5446.43), float(80), float(5800.63), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_destroyed_01.iff', 'rori', long(0), float(5492.77), float(80), float(5771.99), float(-0.707), float(0.707)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_01.iff', 'rori', long(0), float(5509.42), float(80), float(5723.96), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_theater_destroyed.iff', 'rori', long(0), float(5466.96), float(80), float(5615.78), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_02.iff', 'rori', long(0), float(5526.34), float(80), float(5568.87), float(-0.707), float(0.707)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_01.iff', 'rori', long(0), float(5462.94), float(80), float(5515.29), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_01.iff', 'rori', long(0), float(5421.43), float(80), float(5609.62), float(0.71), float(-0.704)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', 'rori', long(0), float(5421.78), float(80), float(5642.16), float(0.703), float(0.711)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_02.iff', 'rori', long(0), float(5386.51), float(80), float(5548.48), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_guild_university_destroyed.iff', 'rori', long(0), float(5385.93), float(80), float(5608.18), float(0), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_destroyed_02.iff', 'rori', long(0), float(5342.67), float(80), float(5652.28), float(-0.707), float(0.707)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_hospital_destroyed.iff', 'rori', long(0), float(5298.06), float(80), float(5592.06), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_destroyed_01.iff', 'rori', long(0), float(5282.66), float(80), float(5647.94), float(-0.707), float(0.707)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_scorched_01.iff', 'rori', long(0), float(5296.84), float(80), float(5545.69), float(0.707), float(0.707)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_01.iff', 'rori', long(0), float(5250.52), float(80), float(5528.92), float(0.002), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_scorched_02.iff', 'rori', long(0), float(5226.39), float(80), float(5562.31), float(0.707), float(0.707)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_hotel_destroyed.iff', 'rori', long(0), float(5149.98), float(80), float(5653), float(0), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_guild_commerce_destroyed.iff', 'rori', long(0), float(5237.66), float(80), float(5702.14), float(0), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_64x32_scorched_01.iff', 'rori', long(0), float(5156.02), float(80), float(5719.04), float(0), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_block_building_32x16_scorched_02.iff', 'rori', long(0), float(5097.81), float(80), float(5728.05), float(1), float(-0.001)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5077.51), float(80), float(5739.01), float(-0.194), float(0.981)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5077.38), float(80), float(5753.89), float(0.524), float(0.852)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5076.684), float(80), float(5743.6), float(-0.095), float(0.995)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5077.211), float(80), float(5748.28), float(-0.555), float(0.832)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5078.258), float(80), float(5760.22), float(0.424), float(0.906)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5074.203), float(80), float(5760.97), float(0.596), float(0.803)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5078.103), float(80), float(5734.72), float(-0.662), float(0.75)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5075.671), float(80), float(5733.03), float(-0.458), float(0.889)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5180.05), float(80.1), float(5749.9), float(-0.667), float(0.745)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_main.iff', 'rori', long(0), float(5292.61), float(80.1), float(5691.7), float(0.536), float(0.844)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5195.66), float(80), float(5780.23), float(-0.27), float(0.963)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5181.01), float(80), float(5765.36), float(-0.411), float(0.912)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5195.78), float(80), float(5765.29), float(-0.057), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5193.69), float(80), float(5775.52), float(-0.696), float(0.718)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5189.69), float(80), float(5770.34), float(-0.185), float(0.983)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5186.21), float(80), float(5777.83), float(0.213), float(0.977)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5181.04), float(80), float(5782.35), float(-0.155), float(0.988)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5185.41), float(80), float(5766.67), float(0.612), float(0.791)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5194.66), float(80), float(5769.75), float(-0.062), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5185), float(80), float(5771.49), float(-0.216), float(0.976)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5198.94), float(80), float(5764.97), float(-0.107), float(0.994)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5213.23), float(80), float(5765.96), float(0.49), float(0.872)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5200.4), float(80), float(5777.89), float(0.669), float(0.744)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5212.86), float(80), float(5778.53), float(0.01), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5156.26), float(80), float(5790.01), float(0.305), float(0.952)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5171.12), float(80), float(5830.58), float(-0.256), float(0.967)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5155.93), float(80), float(5798.19), float(0.248), float(0.969)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5172.98), float(80), float(5837.56), float(0.415), float(0.91)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5172.3), float(80), float(5818.53), float(0.509), float(0.861)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5172.31), float(80), float(5804.6), float(-0.105), float(0.994)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5166.77), float(80), float(5796.86), float(0.091), float(0.996)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', 'rori', long(0), float(5162.79), float(80), float(5806.88), float(-0.577), float(0.817)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5168.07), float(80), float(5812.14), float(-0.408), float(0.913)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5160.27), float(80), float(5829.17), float(-0.643), float(0.766)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5157.31), float(80), float(5805.73), float(0.208), float(0.978)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5158.65), float(80), float(5821.98), float(0.673), float(0.74)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5168.43), float(80), float(5828.65), float(-0.221), float(0.975)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5156.4), float(80), float(5817.67), float(0.315), float(0.949)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5174.72), float(80), float(5841.5), float(-0.616), float(0.788)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5184.73), float(80), float(5852.15), float(-0.524), float(0.852)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5174.51), float(80), float(5862.33), float(0.657), float(0.754)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5165.46), float(80), float(5848.79), float(0.04), float(0.999)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5162.79), float(80), float(5852.25), float(-0.055), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5175.7), float(80), float(5853.22), float(-0.065), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5172.42), float(80), float(5849.51), float(-0.678), float(0.735)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5169.55), float(80), float(5856.93), float(-0.294), float(0.956)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5190.87), float(80), float(5854.03), float(-0.02), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5259.89), float(80), float(5861.79), float(-0.646), float(0.763)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5277.1), float(80), float(5856.63), float(-0.164), float(0.986)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5298.19), float(80), float(5856.3), float(-0.245), float(0.97)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5266.7), float(80), float(5856.33), float(-0.196), float(0.981)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5307.89), float(80), float(5856.03), float(0.195), float(0.981)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5275.71), float(80), float(5897.61), float(0.062), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5299.24), float(80), float(5897.31), float(-0.569), float(0.822)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5267.24), float(80), float(5865.29), float(0.179), float(0.984)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5308.22), float(80), float(5865.24), float(0.513), float(0.858)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5289.48), float(80), float(5858.34), float(-0.683), float(0.73)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5270.1), float(80), float(5859.39), float(0.33), float(0.944)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', 'rori', long(0), float(5305.93), float(80), float(5863.17), float(-0.049), float(0.999)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5275.84), float(80), float(5871.66), float(-0.306), float(0.952)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5294.33), float(80), float(5884.62), float(0.505), float(0.863)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5294.94), float(80), float(5865.96), float(-0.022), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5285.54), float(80), float(5869.48), float(-0.586), float(0.811)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5282.57), float(80), float(5876.22), float(0.084), float(0.996)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5290.79), float(80), float(5875.07), float(0.238), float(0.971)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5296.08), float(80), float(5873.61), float(0.706), float(0.708)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5285.84), float(80), float(5881.4), float(0.195), float(0.981)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5275.65), float(80), float(5882.23), float(0.602), float(0.799)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5285.73), float(80), float(5899.68), float(0.596), float(0.803)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5280.34), float(80), float(5888.99), float(-0.693), float(0.721)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5281.55), float(80.1), float(5851.38), float(-0.58), float(0.815)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5175.19), float(80.1), float(5819.3), float(0.26), float(0.966)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5298.34), float(80), float(5816.49), float(0.695), float(0.719)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5289.17), float(80), float(5816.49), float(-0.438), float(0.899)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5288.77), float(80), float(5807.39), float(-0.699), float(0.715)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5297.9), float(80), float(5807.32), float(-0.594), float(0.805)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5295.96), float(80), float(5810.31), float(0.166), float(0.986)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5293.87), float(80), float(5814.9), float(-0.523), float(0.852)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5305.14), float(80), float(5830.7), float(-0.695), float(0.719)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5302.09), float(80), float(5826.91), float(-0.486), float(0.874)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5308.07), float(80), float(5828.84), float(-0.467), float(0.884)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5301.85), float(80), float(5830.23), float(0.38), float(0.925)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5343.28), float(80), float(5845.51), float(-0.551), float(0.834)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5345.82), float(80), float(5850.02), float(-0.017), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5312.34), float(80), float(5853.74), float(0.266), float(0.964)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5350.06), float(80), float(5851.27), float(0.46), float(0.888)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5347.26), float(80), float(5846.61), float(0.255), float(0.967)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5353.75), float(80), float(5847.36), float(0.398), float(0.918)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5356.68), float(80), float(5850.61), float(0.292), float(0.957)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5344.38), float(80), float(5854.76), float(0.641), float(0.767)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5313.28), float(80), float(5871.85), float(0.246), float(0.969)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5342.86), float(80), float(5871.45), float(-0.616), float(0.788)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5320.69), float(80), float(5859.19), float(-0.114), float(0.994)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5326.61), float(80), float(5859.34), float(0.61), float(0.792)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5315.46), float(80), float(5867.65), float(-0.039), float(0.999)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5336.34), float(80), float(5860.76), float(0.63), float(0.776)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5315.38), float(80), float(5857.7), float(0.15), float(0.989)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', 'rori', long(0), float(5330.16), float(80), float(5869.99), float(0.641), float(0.767)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5331.98), float(80), float(5865.41), float(-0.604), float(0.797)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5319.4), float(80), float(5865.26), float(-0.131), float(0.991)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5322.76), float(80), float(5852.16), float(0.7), float(0.714)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5335.51), float(80), float(5852.77), float(-0.072), float(0.997)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5355.58), float(80), float(5833.37), float(-0.549), float(0.836)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5371.95), float(80), float(5841.84), float(-0.246), float(0.969)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5362.66), float(80), float(5851.82), float(-0.683), float(0.73)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5372.07), float(80), float(5854.28), float(-0.079), float(0.997)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5367.5), float(80), float(5848.69), float(0.647), float(0.763)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5349.5), float(80), float(5885.33), float(0.439), float(0.899)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5346.38), float(80), float(5877.36), float(0.431), float(0.902)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5382.79), float(80), float(5882.54), float(0.643), float(0.766)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5384.75), float(80), float(5899.56), float(0.37), float(0.929)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5457.56), float(80), float(5861.21), float(0.612), float(0.791)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5456.49), float(80), float(5853.73), float(-0.683), float(0.73)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5450.94), float(80), float(5873.82), float(0.513), float(0.858)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5458.31), float(80), float(5864.73), float(-0.599), float(0.801)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5408.1), float(80), float(5847.98), float(-0.523), float(0.852)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5414.02), float(80), float(5846.78), float(0.073), float(0.997)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5445.83), float(80), float(5718.46), float(0.166), float(0.986)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5478.54), float(80), float(5828.79), float(-0.299), float(0.954)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5500.4), float(80), float(5807.04), float(-0.448), float(0.894)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5492.18), float(80), float(5829.82), float(0.351), float(0.936)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5500.51), float(80), float(5822.23), float(0.452), float(0.892)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5497.91), float(80), float(5826.41), float(0.313), float(0.95)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5480.65), float(80.1), float(5813.16), float(-0.472), float(0.882)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5497.99), float(80), float(5734.71), float(0.584), float(0.812)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5484.98), float(80), float(5736.43), float(0.149), float(0.989)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5484.75), float(80), float(5718.3), float(0.595), float(0.804)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5455.17), float(80), float(5717.56), float(0.069), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5476.86), float(80), float(5730.67), float(-0.014), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5470.95), float(80), float(5730.29), float(0.621), float(0.784)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5482.41), float(80), float(5722.41), float(-0.392), float(0.92)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5461.27), float(80), float(5728.5), float(-0.571), float(0.821)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5482.1), float(80), float(5732.36), float(0.3), float(0.954)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', 'rori', long(0), float(5467.81), float(80), float(5719.51), float(0.611), float(0.792)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5465.81), float(80), float(5724.01), float(0.668), float(0.744)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5478.39), float(80), float(5724.65), float(-0.203), float(0.979)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5474.52), float(80), float(5737.61), float(0.155), float(0.988)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5461.8), float(80), float(5736.51), float(-0.096), float(0.995)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5453.01), float(80), float(5734.19), float(0.503), float(0.864)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5452.77), float(80), float(5714.75), float(0.041), float(0.999)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5454.89), float(80), float(5710.52), float(0.65), float(0.76)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5458.8), float(80), float(5708.08), float(0.517), float(0.856)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', 'rori', long(0), float(5469.63), float(80), float(5712.67), float(0.609), float(0.793)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5482.35), float(80), float(5713.97), float(-0.536), float(0.844)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5475.69), float(80), float(5703.35), float(0.066), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5471.4), float(80), float(5708.07), float(0.311), float(0.95)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5465.94), float(80), float(5702.06), float(0.306), float(0.952)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5454.69), float(80), float(5700.57), float(0.227), float(0.974)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5460.01), float(80), float(5701.99), float(0.144), float(0.99)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5451.6), float(80), float(5696.65), float(0.424), float(0.906)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5461.99), float(80), float(5694.93), float(-0.34), float(0.94)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5474.75), float(80), float(5695.38), float(0.566), float(0.824)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5483.65), float(80), float(5697.24), float(-0.706), float(0.708)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_main.iff', 'rori', long(0), float(5443.98), float(80.1), float(5678.05), float(0.648), float(0.762)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5523.95), float(80), float(5700.95), float(-0.114), float(0.994)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5523.89), float(80), float(5711.99), float(0.463), float(0.886)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5506.73), float(80), float(5696.61), float(-0.222), float(0.975)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5506.65), float(80), float(5671.8), float(-0.542), float(0.841)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5528.42), float(80), float(5670.98), float(0.383), float(0.924)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5528.32), float(80), float(5696.23), float(0.656), float(0.755)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5511.8), float(80), float(5678.09), float(-0.502), float(0.865)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5511.78), float(80), float(5688.71), float(0.438), float(0.899)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5522.8), float(80), float(5690.86), float(0.256), float(0.967)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5523.08), float(80), float(5678.49), float(0.645), float(0.764)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5516.3), float(80), float(5660.46), float(0.356), float(0.934)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5525.47), float(80), float(5660.47), float(-0.637), float(0.771)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5523.09), float(80), float(5654.28), float(0.626), float(0.78)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5521.01), float(80), float(5658.87), float(-0.089), float(0.996)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5515.9), float(80), float(5651.36), float(-0.148), float(0.989)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5525.04), float(80), float(5651.29), float(-0.642), float(0.767)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5521.94), float(80), float(5643.51), float(-0.606), float(0.795)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5520.89), float(80), float(5610.39), float(-0.624), float(0.782)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5523.2), float(80), float(5612.25), float(0.314), float(0.95)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5522.31), float(80), float(5616.48), float(0.072), float(0.997)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5521.17), float(80), float(5621.01), float(0.147), float(0.989)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5521.36), float(80), float(5625.72), float(0.12), float(0.993)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5521.14), float(80), float(5631.32), float(0.51), float(0.86)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5521.57), float(80), float(5637.7), float(-0.04), float(0.999)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5517.48), float(80), float(5638.16), float(-0.226), float(0.974)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5497.4), float(80), float(5525.48), float(-0.683), float(0.73)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5502.11), float(80), float(5528.12), float(-0.605), float(0.796)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5516.9), float(80), float(5534.36), float(0.031), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5516.7), float(80), float(5527.19), float(-0.385), float(0.923)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5519.44), float(80.003), float(5514.45), float(0.579), float(0.815)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5502.58), float(80), float(5515.86), float(0.375), float(0.927)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5511.45), float(80), float(5518.44), float(0.151), float(0.988)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5504.83), float(80), float(5521.1), float(-0.624), float(0.781)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5515.49), float(80), float(5523.41), float(0.169), float(0.986)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5419.37), float(80), float(5536.26), float(0.136), float(0.991)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5315.31), float(80), float(5528.79), float(-0.01), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5317.1), float(80), float(5526.43), float(-0.456), float(0.89)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5321.35), float(80), float(5527.2), float(-0.297), float(0.955)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5325.91), float(80), float(5528.21), float(0.058), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5330.62), float(80), float(5527.87), float(0.05), float(0.999)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5336.22), float(80), float(5527.93), float(-0.172), float(0.985)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5343.17), float(80), float(5531.4), float(-0.308), float(0.951)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5353.71), float(80), float(5540.9), float(0.12), float(0.993)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5305.62), float(80), float(5520.66), float(-0.426), float(0.905)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5285.75), float(80), float(5518.15), float(0.27), float(0.963)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5300.28), float(80), float(5518.6), float(0.22), float(0.975)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5294.6), float(80), float(5564.51), float(0.006), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5284.84), float(80), float(5531.77), float(-0.503), float(0.864)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5245.96), float(80), float(5591.48), float(0.679), float(0.734)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5251.18), float(80), float(5599.9), float(0.511), float(0.86)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5242.77), float(80), float(5602.57), float(0.674), float(0.739)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5242.46), float(80), float(5582.51), float(0.284), float(0.959)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5253.15), float(80), float(5580.89), float(-0.11), float(0.994)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5229.35), float(80.1), float(5596.48), float(-0.061), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5220.69), float(80), float(5575.19), float(-0.613), float(0.79)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5196.84), float(80), float(5617.9), float(0.509), float(0.861)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', 'rori', long(0), float(5213.44), float(80), float(5615.23), float(-0.458), float(0.889)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5208.07), float(80), float(5617.47), float(0.116), float(0.993)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5202.23), float(80), float(5618.89), float(0.027), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5214.6), float(80), float(5608.22), float(-0.266), float(0.964)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5215.14), float(80), float(5601.33), float(0.208), float(0.978)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', 'rori', long(0), float(5215.65), float(80), float(5596.33), float(0.451), float(0.893)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5215.39), float(80), float(5590.41), float(-0.081), float(0.997)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5214.94), float(80), float(5580.15), float(0.258), float(0.966)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5214.81), float(80), float(5574.33), float(0.14), float(0.99)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5214.49), float(80), float(5564.43), float(-0.543), float(0.84)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5213.63), float(80), float(5568.46), float(0.013), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5209.98), float(80), float(5649.83), float(-0.032), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5209.88), float(80), float(5675.08), float(-0.329), float(0.944)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5204.36), float(80), float(5669.71), float(0.452), float(0.892)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5204.64), float(80), float(5657.35), float(-0.335), float(0.942)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5193.35), float(80), float(5656.95), float(-0.128), float(0.992)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5193.34), float(80), float(5667.56), float(-0.686), float(0.728)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5188.29), float(80), float(5675.47), float(0.124), float(0.992)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5188.21), float(80), float(5650.66), float(0.038), float(0.999)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5222.93), float(80), float(5647.28), float(-0.105), float(0.994)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5232.42), float(80), float(5637.62), float(-0.559), float(0.829)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5243.73), float(80), float(5637.3), float(0.576), float(0.818)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5253.27), float(80), float(5646.9), float(-0.571), float(0.821)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5253.52), float(80), float(5658.46), float(-0.453), float(0.891)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5249.86), float(80), float(5678.38), float(0.025), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5222.49), float(80), float(5658.71), float(0.69), float(0.724)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5226.38), float(80), float(5678.84), float(0.706), float(0.708)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5237.82), float(80), float(5637.11), float(0.283), float(0.959)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5223.14), float(80), float(5651.67), float(-0.186), float(0.983)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5252.53), float(80), float(5651.24), float(-0.065), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5226.79), float(80), float(5671.61), float(0.066), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5226.23), float(80), float(5664.81), float(0.529), float(0.848)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5245.53), float(80), float(5673.65), float(-0.226), float(0.974)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5249.54), float(80), float(5662.58), float(-0.124), float(0.992)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5244.63), float(80), float(5665.11), float(0.459), float(0.888)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5228.5), float(80), float(5657.26), float(0.344), float(0.939)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5247.24), float(80), float(5657.42), float(-0.604), float(0.797)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5227.94), float(80), float(5646.67), float(-0.225), float(0.974)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5233.04), float(80), float(5650.28), float(0.061), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5247.83), float(80), float(5646.19), float(-0.434), float(0.901)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5243.25), float(80), float(5642.85), float(-0.651), float(0.759)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5245.48), float(80), float(5652.77), float(-0.695), float(0.719)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5175.59), float(80), float(5678.05), float(0.701), float(0.713)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5174.61), float(80), float(5684.21), float(-0.041), float(0.999)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5166.48), float(80), float(5683.62), float(-0.163), float(0.987)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5133), float(80), float(5680.82), float(-0.66), float(0.751)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5110.22), float(80), float(5701.89), float(0.454), float(0.891)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5097.56), float(80), float(5698.42), float(-0.532), float(0.846)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5102.24), float(80), float(5702.75), float(-0.696), float(0.718)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5108.28), float(80), float(5710.77), float(-0.509), float(0.86)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5091.555), float(80), float(5709.31), float(-0.572), float(0.82)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_12.iff', 'rori', long(0), float(5092.972), float(80), float(5696.61), float(-0.471), float(0.882)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5109.16), float(80), float(5678.72), float(0.69), float(0.724)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5105.21), float(80), float(5681.78), float(0.174), float(0.985)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5103.74), float(80), float(5687.08), float(0.19), float(0.982)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5103.62), float(80), float(5693.01), float(0.17), float(0.985)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5110.78), float(80), float(5689.13), float(0.279), float(0.96)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5097.66), float(80), float(5685.82), float(-0.431), float(0.902)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5095.256), float(80), float(5681.89), float(0.38), float(0.925)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5091.049), float(80), float(5679.73), float(-0.537), float(0.844)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5116.68), float(80), float(5711.43), float(-0.031), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5119.3), float(80), float(5726.44), float(0.491), float(0.871)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5113.46), float(80), float(5662.63), float(0.698), float(0.716)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5108.9), float(80), float(5666.54), float(0.569), float(0.822)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5116.03), float(80), float(5646.49), float(0.448), float(0.894)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5097.14), float(80), float(5651.59), float(-0.546), float(0.838)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5084.339), float(80), float(5675.99), float(0.014), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5084.871), float(80), float(5660.02), float(0.563), float(0.826)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5083.932), float(80), float(5669.38), float(0.322), float(0.947)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5084.565), float(80), float(5680.82), float(-0.456), float(0.89)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5084.168), float(80), float(5685.02), float(-0.218), float(0.976)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_07.iff', 'rori', long(0), float(5084.497), float(80), float(5690.6), float(-0.301), float(0.954)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_04.iff', 'rori', long(0), float(5084.01), float(80), float(5688.24), float(0.684), float(0.73)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5084.504), float(80), float(5696.37), float(-0.237), float(0.972)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5084.77), float(80), float(5702.69), float(-0.519), float(0.855)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5084.853), float(80), float(5717.58), float(-0.69), float(0.723)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5211.81), float(80), float(5537.59), float(0.054), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5179.29), float(80), float(5537.94), float(0.337), float(0.942)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5211.7), float(80), float(5522.95), float(-0.558), float(0.83)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5178.98), float(80), float(5523.22), float(0.427), float(0.904)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5202.65), float(80), float(5539.89), float(-0.361), float(0.933)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_14.iff', 'rori', long(0), float(5189.33), float(80), float(5539.79), float(0.643), float(0.766)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5210.43), float(80), float(5525.79), float(-0.184), float(0.983)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5206.08), float(80), float(5528.77), float(0.166), float(0.986)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5210.43), float(80), float(5534.08), float(-0.445), float(0.896)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5200.69), float(80), float(5529.35), float(0.462), float(0.887)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5196.33), float(80), float(5536.56), float(-0.072), float(0.997)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_09.iff', 'rori', long(0), float(5213.67), float(80), float(5528.99), float(-0.378), float(0.926)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5197.47), float(80), float(5524.56), float(-0.586), float(0.81)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_08.iff', 'rori', long(0), float(5180.38), float(80), float(5526.05), float(-0.154), float(0.988)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5179.32), float(80), float(5533.6), float(0.483), float(0.876)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_05.iff', 'rori', long(0), float(5185.84), float(80), float(5522.57), float(-0.316), float(0.949)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5190.74), float(80), float(5529.2), float(-0.445), float(0.896)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5227.9), float(160), float(5601.05), float(0.008), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5134.58), float(80), float(5539.41), float(-0.432), float(0.902)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5134.78), float(80), float(5542.81), float(-0.642), float(0.767)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_02.iff', 'rori', long(0), float(5129.98), float(80), float(5546.21), float(0.579), float(0.816)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5126.34), float(80), float(5555.94), float(0.649), float(0.761)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5124.72), float(80), float(5550.28), float(-0.35), float(0.937)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_03.iff', 'rori', long(0), float(5137.69), float(80), float(5532.49), float(0.348), float(0.937)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_06.iff', 'rori', long(0), float(5140.88), float(80), float(5531.23), float(0.47), float(0.883)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5138.23), float(80), float(5530.47), float(-0.025), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5125.21), float(80), float(5552.98), float(0.594), float(0.804)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5160.23), float(80), float(5548.55), float(-0.454), float(0.891)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5160.11), float(80), float(5553.68), float(0.65), float(0.76)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5150.09), float(80), float(5563.9), float(-0.504), float(0.864)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5145.57), float(80), float(5581.59), float(0.238), float(0.971)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_15.iff', 'rori', long(0), float(5141.08), float(80), float(5595.36), float(-0.065), float(0.998)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5149.82), float(80), float(5583.24), float(0.102), float(0.995)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_01.iff', 'rori', long(0), float(5145.91), float(80), float(5599.09), float(0.078), float(0.997)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5147.95), float(80), float(5607.33), float(-0.563), float(0.827)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5147.09), float(80), float(5589.4), float(-0.413), float(0.911)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5145.86), float(80), float(5572.89), float(-0.566), float(0.825)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5147.54), float(80), float(5557.53), float(0.398), float(0.918)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_11.iff', 'rori', long(0), float(5149.54), float(80), float(5551.34), float(-0.115), float(0.993)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_10.iff', 'rori', long(0), float(5165.2), float(80), float(5550.01), float(0.24), float(0.971)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5139.4), float(160), float(5599.26), float(0.349), float(0.937)) + stcSvc.spawnObject('object/static/worldbuilding/structures/shared_mun_nboo_building_chunk_destoyed_13.iff', 'rori', long(0), float(5124.02), float(80), float(5682.59), float(0.057), float(0.998)) + #stcSvc.spawnObject('object/building/military/shared_outpost_cloning_facility.iff', 'rori', long(0), float(5232.54), float(79.914), float(6176.29), float(0.703), float(0.711)) + #stcSvc.spawnObject('object/building/naboo/shared_rori_restuss_starport.iff', 'rori', long(0), float(5281.13), float(80), float(6171.442), float(1), float(-0.001)) + #stcSvc.spawnObject('object/building/military/shared_military_base_shed_imperial_style_cantina_s01.iff', 'rori', long(0), float(5284.15), float(80), float(6236.408), float(1), float(-0.001)) + #stcSvc.spawnObject('object/building/military/shared_military_base_shed_imperial_style_hospital_01.iff', 'rori', long(0), float(5327.94), float(80), float(6204.451), float(0.877), float(-0.48)) + #stcSvc.spawnObject('object/building/military/shared_military_rebel_tactical_center.iff', 'rori', long(0), float(4719.25), float(80), float(5870.46), float(0.707), float(0.707)) + #stcSvc.spawnObject('object/building/restuss/shared_restuss_faction_cantina.iff', 'rori', long(0), float(4827.85), float(80), float(5874.45), float(0.703), float(0.711)) + #stcSvc.spawnObject('object/building/military/shared_military_rebel_tactical_center.iff', 'rori', long(0), float(4778.08), float(80), float(5905.97), float(1), float(0)) + #stcSvc.spawnObject('object/building/military/shared_military_base_shed_rebel_style_01.iff', 'rori', long(0), float(4831.285), float(80), float(5810.192), float(-0.41), float(0.912)) + #stcSvc.spawnObject('object/building/military/shared_military_rebel_detachment_hq.iff', 'rori', long(0), float(4777.64), float(80), float(5776.2), float(0), float(1)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5254.85), float(160), float(5553.39), float(-0.551), float(0.834)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5365.02), float(160), float(5577.16), float(-0.574), float(0.819)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5143.04), float(160), float(5552.77), float(-0.259), float(0.966)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5404.76), float(160), float(5575.26), float(-0.574), float(0.819)) + stcSvc.spawnObject('object/static/worldbuilding/decal/shared_mun_decal_blast_lg.iff', 'rori', long(0), float(5194), float(160), float(5533), float(0), float(1)) return \ No newline at end of file diff --git a/scripts/static_spawns/tatooine.py b/scripts/static_spawns/tatooine.py index 314661d0..1d7b383b 100644 --- a/scripts/static_spawns/tatooine.py +++ b/scripts/static_spawns/tatooine.py @@ -8,7 +8,7 @@ def addPlanetSpawns(core, planet): # Objects - stcSvc.spawnObject('object/tangible/terminal/shared_terminal_character_builder.iff', long(0), 'tatooine', long(0), float(3525), float(4), float(-4801), float(0.70), float(0), float(0.71), float(0)) + 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)) # Buildings @@ -18,12 +18,10 @@ def addPlanetSpawns(core, planet): # NPCs - respecEisley = stcSvc.spawnObject('object/mobile/shared_respec_seller_f_1.iff', long(0), 'tatooine', long(0), float(3533.14), float(5), float(-4788.86), float(-0.3327), float(0.9288)) - respecEisley.setOptionsBitmask(264) - respecEisley.setCustomName('a Profession Counselor') + stcSvc.spawnObject('object/mobile/shared_respec_seller_f_1.iff', 'tatooine', long(0), float(3533.14), float(5), float(-4788.86), float(-0.3327), float(0.9288)) - junkDealer1 = stcSvc.spawnObject('object/mobile/shared_junk_dealer_m_01.iff', long(0), 'tatooine', long(0), float(3525), float(4), float(-4804), float(0.70), float(0.71)) - junkDealer1.setOptionsBitmask(264) + stcSvc.spawnObject('object/mobile/shared_junk_dealer_m_01.iff', 'tatooine', long(0), float(3525), float(4), float(-4804), float(0.70), float(0.71)) + #stcSvc.spawnObject('object/mobile/shared_3po_protocol_droid_red.iff', 'tatooine', long(26582), float(-14.3), float(2.0), float(47.4), float(0.70), float(0.71)) return diff --git a/src/services/StaticService.java b/src/services/StaticService.java index 5732ad26..380ec762 100644 --- a/src/services/StaticService.java +++ b/src/services/StaticService.java @@ -69,11 +69,7 @@ public class StaticService implements INetworkDispatch { return spawnObject(template, planetName, cellId, x, y, z, qW, 0, qY, 0); } - public SWGObject spawnObject(String template, long objectId, String planetName, long cellId, float x, float y, float z, float qY, float qW) { - return spawnObject(template, objectId, planetName, cellId, x, y, z, qW, 0, qY, 0); - } - - public SWGObject spawnObject(String template, long objectId, String planetName, long cellId, float x, float y, float z, float qW, float qX, float qY, float qZ) { + public SWGObject spawnObject(String template, String planetName, long cellId, float x, float y, float z, float qW, float qX, float qY, float qZ) { Planet planet = core.terrainService.getPlanetByName(planetName); if (planet == null) { @@ -89,7 +85,7 @@ public class StaticService implements INetworkDispatch { cellNumber = ((BuildingObject) container.getContainer()).getCellNumberByObjectId(cellId); } - //long objectId = core.objectService.getDOId(planetName, template, 0, cellId, cellNumber, x, y, z); TODO: Make this work right! + long objectId = core.objectService.getDOId(planetName, template, 0, cellId, cellNumber, x, y, z); SWGObject object; From 2de5cbe3623d1d5ae20ce26a4e7473d052f83b44 Mon Sep 17 00:00:00 2001 From: Treeku Date: Tue, 29 Apr 2014 19:41:05 +0100 Subject: [PATCH 32/52] Static object and doid fixes --- scripts/object/mobile/respec_seller_f_1.py | 2 ++ src/services/StaticService.java | 13 ++++------- src/services/object/ObjectService.java | 26 +++++++++++++--------- 3 files changed, 21 insertions(+), 20 deletions(-) diff --git a/scripts/object/mobile/respec_seller_f_1.py b/scripts/object/mobile/respec_seller_f_1.py index 4facad13..1af596e0 100644 --- a/scripts/object/mobile/respec_seller_f_1.py +++ b/scripts/object/mobile/respec_seller_f_1.py @@ -5,4 +5,6 @@ def setup(core, object): object.setAttachment('radial_filename', 'object/conversation') object.setAttachment('conversationFile', 'respec') object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('respec_seller') return \ No newline at end of file diff --git a/src/services/StaticService.java b/src/services/StaticService.java index 380ec762..ebd37de8 100644 --- a/src/services/StaticService.java +++ b/src/services/StaticService.java @@ -77,24 +77,19 @@ public class StaticService implements INetworkDispatch { return null; } + long buildingId = 0; int cellNumber = 0; SWGObject container = core.objectService.getObject(cellId); if (container != null && container.getContainer() != null && container.getContainer() instanceof BuildingObject) { + buildingId = container.getContainer().getObjectId(); cellNumber = ((BuildingObject) container.getContainer()).getCellNumberByObjectId(cellId); } - long objectId = core.objectService.getDOId(planetName, template, 0, cellId, cellNumber, x, y, z); + long objectId = core.objectService.getDOId(planetName, template, 0, buildingId, cellNumber, x, y, z); - SWGObject object; - - // Temp fix while objects with custom ids don't appear to spawn despite there being no errors... - if (template.contains("character_builder")) { - object = core.objectService.createObject(template, 0, planet, new Point3D(x, y, z), new Quaternion(qW, qX, qY, qZ)); - } else { - object = core.objectService.createObject(template, objectId, planet, new Point3D(x, y, z), new Quaternion(qW, qX, qY, qZ)); - } + SWGObject object = core.objectService.createObject(template, objectId, planet, new Point3D(x, y, z), new Quaternion(qW, qX, qY, qZ), null, true, true); if (object == null) { System.err.println("Static object is null with id " + objectId + " and template " + template + "."); diff --git a/src/services/object/ObjectService.java b/src/services/object/ObjectService.java index 46f9fea9..3aba2e5f 100644 --- a/src/services/object/ObjectService.java +++ b/src/services/object/ObjectService.java @@ -221,7 +221,9 @@ public class ObjectService implements INetworkDispatch { } catch (InstantiationException | IllegalAccessException e) { e.printStackTrace(); } + boolean isSnapshot = false; + if(objectID == 0) objectID = generateObjectID(); else @@ -336,17 +338,10 @@ public class ObjectService implements INetworkDispatch { object.setAttachment("customServerTemplate", customServerTemplate); object.setisInSnapshot(isSnapshot); + if(!core.getObjectIdODB().contains(objectID, Long.class, ObjectId.class)) { core.getObjectIdODB().put(new ObjectId(objectID), Long.class, ObjectId.class); } - if(loadServerTemplate) - loadServerTemplate(object); - else { - final SWGObject pointer = object; - loadServerTemplateTasks.add(() -> loadServerTemplate(pointer)); - } - - objectList.put(objectID, object); // Set Options - easier to set them across the board here // because we'll be spawning them despite most of them being unscripted. @@ -382,6 +377,15 @@ public class ObjectService implements INetworkDispatch { } } + if(loadServerTemplate) + loadServerTemplate(object); + else { + final SWGObject pointer = object; + loadServerTemplateTasks.add(() -> loadServerTemplate(pointer)); + } + + objectList.put(objectID, object); + return object; } @@ -633,11 +637,11 @@ public class ObjectService implements INetworkDispatch { } - public long getDOId(String planet, String template, int type, long cellId, int cellNumber, float x1, float y, float z1) { - SWGObject container = getObject(cellId); + public long getDOId(String planet, String template, int type, long containerId, int cellNumber, float x1, float y, float z1) { + SWGObject container = getObject(containerId); float x = ((container == null) ? x1 : container.getPosition().x + x1); float z = ((container == null) ? z1 : container.getPosition().z + z1); - String key = "" + CRC.StringtoCRC(planet) + CRC.StringtoCRC(template) + type + cellId + cellNumber + x + y + z; + String key = "" + CRC.StringtoCRC(planet) + CRC.StringtoCRC(template) + type + containerId + cellNumber + x + y + z; long objectId = 0; From 6530fb8cbd65cb384869c1f5d7f7a2b84f394c70 Mon Sep 17 00:00:00 2001 From: Treeku Date: Tue, 29 Apr 2014 21:01:47 +0100 Subject: [PATCH 33/52] Minor static object change --- src/services/StaticService.java | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/services/StaticService.java b/src/services/StaticService.java index ebd37de8..732bc657 100644 --- a/src/services/StaticService.java +++ b/src/services/StaticService.java @@ -69,6 +69,10 @@ public class StaticService implements INetworkDispatch { return spawnObject(template, planetName, cellId, x, y, z, qW, 0, qY, 0); } + public SWGObject spawnObject(String template, String planetName, SWGObject cell, float x, float y, float z, float qW, float qX, float qY, float qZ) { + return spawnObject(template, planetName, ((cell == null) ? 0L : cell.getObjectID()), x, y, z, qW, qX, qY, qZ); + } + public SWGObject spawnObject(String template, String planetName, long cellId, float x, float y, float z, float qW, float qX, float qY, float qZ) { Planet planet = core.terrainService.getPlanetByName(planetName); @@ -80,11 +84,11 @@ public class StaticService implements INetworkDispatch { long buildingId = 0; int cellNumber = 0; - SWGObject container = core.objectService.getObject(cellId); + SWGObject cell = core.objectService.getObject(cellId); - if (container != null && container.getContainer() != null && container.getContainer() instanceof BuildingObject) { - buildingId = container.getContainer().getObjectId(); - cellNumber = ((BuildingObject) container.getContainer()).getCellNumberByObjectId(cellId); + if (cell != null && cell.getContainer() != null && cell.getContainer() instanceof BuildingObject) { + buildingId = cell.getContainer().getObjectId(); + cellNumber = ((BuildingObject) cell.getContainer()).getCellNumberByObjectId(cellId); } long objectId = core.objectService.getDOId(planetName, template, 0, buildingId, cellNumber, x, y, z); @@ -109,14 +113,12 @@ public class StaticService implements INetworkDispatch { System.err.println("StaticService: Quadtree insert failed for: " + template); } } else { - SWGObject parent = core.objectService.getObject(cellId); - - if (parent == null) { + if (cell == null) { System.err.println("StaticService: Cell not found"); return object; } - parent.add(object); + cell.add(object); } return object; From f343c9814fd2eab26bc104b556248ab9b8e442ec Mon Sep 17 00:00:00 2001 From: Treeku Date: Tue, 29 Apr 2014 21:20:37 +0100 Subject: [PATCH 34/52] Fixed collection messages --- src/services/collections/CollectionService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/collections/CollectionService.java b/src/services/collections/CollectionService.java index 4342ff12..448bf29b 100644 --- a/src/services/collections/CollectionService.java +++ b/src/services/collections/CollectionService.java @@ -142,7 +142,7 @@ public class CollectionService implements INetworkDispatch { int bits = 0; boolean noScriptOnModify = false; boolean clearOnComplete = false; - boolean noMessage = true; + boolean noMessage = false; boolean grantIfPreReqMet = true; boolean buddyCollection = false; int numAltTitles = 0; @@ -311,7 +311,7 @@ public class CollectionService implements INetworkDispatch { player.setCollections(collections.toByteArray()); if (!hidden && !noMessage) { - creature.sendSystemMessage(OutOfBand.ProsePackage("@collection_n:" + collection), DisplayType.Broadcast); + creature.sendSystemMessage(OutOfBand.ProsePackage("@collection_n:" + collection, "TU", slotName, "TO", collectionName), DisplayType.Broadcast); } if (!music.equals("")) { From 77515ecae462de07bbbdee911dc96430b68eb062 Mon Sep 17 00:00:00 2001 From: Treeku Date: Tue, 29 Apr 2014 22:36:28 +0100 Subject: [PATCH 35/52] Added all collection messages --- .../collections/CollectionService.java | 27 ++++++++++++++----- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/src/services/collections/CollectionService.java b/src/services/collections/CollectionService.java index 448bf29b..d0b43268 100644 --- a/src/services/collections/CollectionService.java +++ b/src/services/collections/CollectionService.java @@ -308,13 +308,21 @@ public class CollectionService implements INetworkDispatch { collections.set(beginSlotId); } - player.setCollections(collections.toByteArray()); - - if (!hidden && !noMessage) { - creature.sendSystemMessage(OutOfBand.ProsePackage("@collection_n:" + collection, "TU", slotName, "TO", collectionName), DisplayType.Broadcast); + if (hidden && !(getCollection(creature, collectionName) > 0)) { + creature.sendSystemMessage(OutOfBand.ProsePackage("@collection:player_hidden_slot_added", "TO", collectionName), DisplayType.Broadcast); } - if (!music.equals("")) { + player.setCollections(collections.toByteArray()); + + if (!noMessage) { + if (!bookName.equals("crafting_book")) { + creature.sendSystemMessage(OutOfBand.ProsePackage("@collection:player_slot_added", "TU", slotName, "TO", collectionName), DisplayType.Broadcast); + } else { + creature.sendSystemMessage(OutOfBand.ProsePackage("@collection:player_slot_increment", "TU", slotName, "TO", collectionName), DisplayType.Broadcast); + } + } + + if (!music.equals("") && !music.equalsIgnoreCase("none")) { creature.playMusic(music); } @@ -346,7 +354,9 @@ public class CollectionService implements INetworkDispatch { } } - if (!isComplete(creature, collectionName)) { + if (isComplete(creature, collectionName)) { + creature.sendSystemMessage(OutOfBand.ProsePackage("@collection:player_collection_complete", "TO", collectionName), DisplayType.Broadcast); + if (!noReward) { if (FileUtilities.doesFileExist("scripts/collections/" + collectionName + ".py")) { PyObject method = core.scriptService.getMethod("scripts/collections/", collectionName, "complete"); @@ -364,6 +374,7 @@ public class CollectionService implements INetworkDispatch { if (trackServerFirst) { if (core.guildService.getGuildObject().addServerFirst(collectionName, new ServerFirst(creature.getCustomName(), creature.getObjectId(), collectionName, System.currentTimeMillis()))) { addCollection(creature, "bdg_server_first_01"); + creature.sendSystemMessage(OutOfBand.ProsePackage("@collection:player_server_first", "TT", core.getGalaxyName(), "TO", collectionName), DisplayType.Broadcast); } } @@ -735,6 +746,10 @@ public class CollectionService implements INetworkDispatch { player.getTitleList().remove(slotName); } + if (collection.equals(collectionName)) { + creature.sendSystemMessage(OutOfBand.ProsePackage("@collection:player_collection_reset", "TO", collectionName), DisplayType.Broadcast); + } + continue; } } From ea9a1fdd821230b4d5da904d1c60258f31d7f931 Mon Sep 17 00:00:00 2001 From: Waverunner Date: Tue, 29 Apr 2014 17:49:03 -0400 Subject: [PATCH 36/52] Added setting of player bounties Mission for bounties still needs to be ironed out so you won't see them in the bounty mission terminal, however you can now set bounties for players. --- scripts/commands/pvp.py | 3 +- scripts/commands/setgodmode.py | 5 +- .../tangible/terminal/terminal_mission.py | 2 +- .../terminal/terminal_mission_bounty.py | 1 + src/resources/common/BountyListItem.java | 11 +-- src/services/ConnectionService.java | 2 + src/services/PlayerService.java | 17 +++-- src/services/combat/CombatService.java | 7 +- src/services/mission/MissionService.java | 67 ++++++++++++++----- src/services/object/ObjectService.java | 4 ++ 10 files changed, 85 insertions(+), 34 deletions(-) diff --git a/scripts/commands/pvp.py b/scripts/commands/pvp.py index 8fbdc155..1260a24c 100644 --- a/scripts/commands/pvp.py +++ b/scripts/commands/pvp.py @@ -17,7 +17,8 @@ def run(core, actor, target, commandString): if commandString != '' and commandString != faction: if commandString == 'rebel' or commandString == 'imperial' or commandString == 'neutral': - actor.sendSystemMessage('@faction_recruiter:sui_resig_complete_in_5', 0) + if faction != 'neutral': + actor.sendSystemMessage('@faction_recruiter:sui_resig_complete_in_5', 0) if actor.getFactionStatus() == FactionStatus.SpecialForces: actor.setPvpStatus(PvpStatus.GoingCovert, True) diff --git a/scripts/commands/setgodmode.py b/scripts/commands/setgodmode.py index 65b10b3f..63019d92 100644 --- a/scripts/commands/setgodmode.py +++ b/scripts/commands/setgodmode.py @@ -114,7 +114,10 @@ def run(core, actor, target, commandString): playerObject.setGodLevel(0) elif command == 'setBounty' and arg1: - core.missionService.createNewBounty(actor, int(arg1)) + if not core.missionService.addToExistingBounty(actor, int(arg1)): + core.missionService.createNewBounty(actor, int(arg1)) + + actor.sendSystemMessage('Your bounty has been set to an additional ' + str(arg1) + ' credits.', 0) return return diff --git a/scripts/object/tangible/terminal/terminal_mission.py b/scripts/object/tangible/terminal/terminal_mission.py index dd9fc3e1..10fe46c8 100644 --- a/scripts/object/tangible/terminal/terminal_mission.py +++ b/scripts/object/tangible/terminal/terminal_mission.py @@ -1,7 +1,7 @@ import sys def setup(core, object): - core.mapService.addLocation(object.getPlanet(), 'Mission Terminal', object.getPosition().x, object.getPosition().z, 41, 44, 0) + core.mapService.addLocation(object.getPlanet(), '@map_loc_cat_n:terminal_mission', object.getPosition().x, object.getPosition().z, 41, 44, 0) object.setAttachment("terminalType", 1) return \ No newline at end of file diff --git a/scripts/object/tangible/terminal/terminal_mission_bounty.py b/scripts/object/tangible/terminal/terminal_mission_bounty.py index 4103f954..f97abb2a 100644 --- a/scripts/object/tangible/terminal/terminal_mission_bounty.py +++ b/scripts/object/tangible/terminal/terminal_mission_bounty.py @@ -2,4 +2,5 @@ import sys def setup(core, object): object.setAttachment("terminalType", 2) + core.mapService.addLocation(object.getPlanet(), '@map_loc_cat_n:terminal_mission_bounty', object.getPosition().x, object.getPosition().z, 41, 78, 0) return \ No newline at end of file diff --git a/src/resources/common/BountyListItem.java b/src/resources/common/BountyListItem.java index 5581483c..696d24df 100644 --- a/src/resources/common/BountyListItem.java +++ b/src/resources/common/BountyListItem.java @@ -29,6 +29,7 @@ import com.sleepycat.persist.model.PrimaryKey; @Entity public class BountyListItem { + @PrimaryKey private long objectId; private int creditReward; @@ -84,7 +85,7 @@ public class BountyListItem { } public void addBounty(int amountToAdd) { - this.creditReward =+ amountToAdd; + this.creditReward += amountToAdd; } public List getAssignedHunters() { @@ -95,11 +96,11 @@ public class BountyListItem { this.assignedHunters = assignedHunters; } - public boolean addBountyHunter(long objectId) { - return assignedHunters.add(objectId); + public void addBountyHunter(long objectId) { + assignedHunters.add(objectId); } - public boolean removeBountyHunter(long objectId) { - return assignedHunters.remove(objectId); + public void removeBountyHunter(long objectId) { + assignedHunters.remove(objectId); } } diff --git a/src/services/ConnectionService.java b/src/services/ConnectionService.java index ff79d72c..c27423cd 100644 --- a/src/services/ConnectionService.java +++ b/src/services/ConnectionService.java @@ -270,6 +270,8 @@ public class ConnectionService implements INetworkDispatch { } }*/ + core.missionService.getBountyList().remove(core.getBountiesODB().get(object.getObjectId(), Long.class, BountyListItem.class)); + ghost.toggleFlag(PlayerFlags.LD); object.setPerformanceListenee(null); diff --git a/src/services/PlayerService.java b/src/services/PlayerService.java index 4011ef36..62f6e14a 100644 --- a/src/services/PlayerService.java +++ b/src/services/PlayerService.java @@ -1255,18 +1255,21 @@ public class PlayerService implements INetworkDispatch { } public void sendSetBountyWindow(final CreatureObject victim, final CreatureObject attacker) { - final SUIWindow bountyWindow = core.suiService.createInputBox(InputBoxType.INPUT_BOX_OK_CANCEL, "@bounty_hunter:setbounty_title", "@bounty_hunter:setbounty_prompt1 " + attacker.getCustomName() + "?" + "\n@bounty_hunter:setbounty_prompt2 " + victim.getBankCredits() + victim.getCashCredits(), + SUIWindow bountyWindow = core.suiService.createInputBox(InputBoxType.INPUT_BOX_OK_CANCEL, "@bounty_hunter:setbounty_title", "@bounty_hunter:setbounty_prompt1 " + attacker.getCustomName() + "?" + "\n@bounty_hunter:setbounty_prompt2 " + victim.getBankCredits(), victim, null, (float) 10, new SUICallback() { @Override public void process(SWGObject owner, int eventType, Vector returnList) { if (eventType == 0 && returnList.get(0) != null) { - if (core.missionService.getBountyListItem(attacker.getObjectId()) != null) { - BountyListItem currentBounty = core.missionService.getBountyListItem(attacker.getObjectId()); - currentBounty.addBounty(Integer.parseInt(returnList.get(0))); - } else { - core.missionService.createNewBounty(attacker, Integer.parseInt(returnList.get(0))); - } + int bounty = Integer.parseInt(returnList.get(0)); + + if (bounty > victim.getBankCredits()) + return; + + if (!core.missionService.addToExistingBounty(attacker, bounty)) + core.missionService.createNewBounty(attacker, bounty); + + victim.setBankCredits(victim.getBankCredits() - bounty); } } diff --git a/src/services/combat/CombatService.java b/src/services/combat/CombatService.java index 1fa2fe93..301bf037 100644 --- a/src/services/combat/CombatService.java +++ b/src/services/combat/CombatService.java @@ -988,11 +988,12 @@ public class CombatService implements INetworkDispatch { target.setSpeedMultiplierBase(0); target.setTurnRadius(0); - if(target.getDuelList().contains(attacker)) handleEndDuel(target, attacker, false); + if(!target.getDuelList().contains(attacker) && attacker.getSlottedObject("ghost") != null) + core.playerService.sendSetBountyWindow(target, attacker); + else + handleEndDuel(target, attacker, false); core.playerService.sendCloningWindow(target, attacker.getSlottedObject("ghost") != null); - //if (attacker.getSlottedObject("ghost") != null) - //core.playerService.sendSetBountyWindow(target, attacker); } public boolean areInDuel(CreatureObject creature1, CreatureObject creature2) { diff --git a/src/services/mission/MissionService.java b/src/services/mission/MissionService.java index d463893a..f701ad2e 100644 --- a/src/services/mission/MissionService.java +++ b/src/services/mission/MissionService.java @@ -37,6 +37,7 @@ import org.apache.mina.core.buffer.IoBuffer; import org.apache.mina.core.session.IoSession; import com.sleepycat.je.Transaction; +import com.sleepycat.persist.EntityCursor; import protocol.swg.ObjControllerMessage; import protocol.swg.objectControllerObjects.MissionAbort; @@ -83,6 +84,8 @@ public class MissionService implements INetworkDispatch { loadMissionEntryCounts(); bountiesODB = core.getBountiesODB(); + + cleanupBounties(); // delete any characters from the bounties odb if they no longer exist. } @Override @@ -239,7 +242,7 @@ public class MissionService implements INetworkDispatch { missionStrings++; } } - System.out.println("Loaded " + missionStrings + " mission entry counts."); + //System.out.println("Loaded " + missionStrings + " mission entry counts."); } @@ -282,7 +285,8 @@ public class MissionService implements INetworkDispatch { randomDeliveryMission(player, mission); else if (type == TerminalType.BOUNTY) - randomBountyMission(player, mission); + //randomBountyMission(player, mission); + return; else if (type == TerminalType.ARTISAN) return; @@ -519,34 +523,65 @@ public class MissionService implements INetworkDispatch { BountyListItem bounty = new BountyListItem(bountyTarget.getObjectId(), reward, core.playerService.getFormalProfessionName(player.getProfession()), bountyTarget.getFaction(), bountyTarget.getCustomName()); + Transaction txn = bountiesODB.getEnvironment().beginTransaction(null, null); + bountiesODB.put(bounty, Long.class, BountyListItem.class, txn); + txn.commitSync(); + bountyList.add(bounty); - - //Transaction txn = bountiesODB.getEnvironment().beginTransaction(null, null); - //bountiesODB.put(bounty, Long.class, BountyListItem.class, txn); - //txn.commitSync(); - - //System.out.println("Put in bounty for " + bounty.getName() + " with amount " + reward); - + + //System.out.println("Created bounty of " + reward + " to " + bounty.getName()); return bounty; } public boolean addToExistingBounty(CreatureObject bountyTarget, int amountToAdd) { - PlayerObject player = (PlayerObject) bountyTarget.getSlottedObject("ghost"); - if (player == null) - return false; - + BountyListItem bounty = getBountyListItem(bountyTarget.getObjectId()); if (bounty == null) return false; - //Transaction txn = bountiesODB.getEnvironment().beginTransaction(null, null); - //bountiesODB.get(bounty, Long.class, BountyListItem.class); - //txn.commitSync(); + bounty.addBounty(amountToAdd); + + Transaction txn = bountiesODB.getEnvironment().beginTransaction(null, null); + bountiesODB.put(bounty, Long.class, BountyListItem.class, txn); + txn.commitSync(); + //System.out.println("Added bounty of " + amountToAdd + " to " + bounty.getName()); return true; } + public boolean removeBounty(CreatureObject bountyTarget, boolean listRemove) { + Transaction txn = bountiesODB.getEnvironment().beginTransaction(null, null); + + if (listRemove) + bountyList.remove(bountiesODB.get(bountyTarget.getObjectId(), Long.class, BountyListItem.class)); + + bountiesODB.delete(bountyTarget.getObjectId(), Long.class, BountyListItem.class, txn); + txn.commitSync(); + return true; + } + + public boolean removeBounty(CreatureObject bountyTarget) { + return removeBounty(bountyTarget, true); + } + + private void cleanupBounties() { + AtomicInteger bountyCount = new AtomicInteger(); + Transaction txn = bountiesODB.getEnvironment().beginTransaction(null, null); + EntityCursor bountyCursor = bountiesODB.getEntityStore().getPrimaryIndex(Long.class, BountyListItem.class).entities(txn, null); + bountyCursor.forEach(bounty -> { + if (!core.characterService.playerExists(bounty.getObjectId())) { + bountyCursor.delete(); + bountyCount.getAndIncrement(); + } + }); + bountyCursor.close(); + txn.commitSync(); + + if (bountyCount.get() != 0) + System.out.println("Removed " + bountyCount.get() + " bounties."); + } + @Override public void shutdown() { } diff --git a/src/services/object/ObjectService.java b/src/services/object/ObjectService.java index 3aba2e5f..0923192d 100644 --- a/src/services/object/ObjectService.java +++ b/src/services/object/ObjectService.java @@ -913,6 +913,10 @@ public class ObjectService implements INetworkDispatch { if(!core.getConfig().getString("MOTD").equals("")) creature.sendSystemMessage(core.getConfig().getString("MOTD"), (byte) 2); + BountyListItem bounty = core.getBountiesODB().get(creature.getObjectId(), Long.class, BountyListItem.class); + if (bounty != null) + core.missionService.getBountyList().add(bounty); + core.playerService.postZoneIn(creature); } From fac4c7fe3b0ff8ca0debff4e1f1e35a1e8741be3 Mon Sep 17 00:00:00 2001 From: Treeku Date: Tue, 29 Apr 2014 23:04:53 +0100 Subject: [PATCH 37/52] Moved Loot objs out of baseline dir --- src/resources/common/Forager.java | 2 +- src/resources/{objects => }/loot/LootDrop.java | 2 +- src/resources/{objects => }/loot/LootGroup.java | 2 +- src/resources/{objects => }/loot/LootPool.java | 2 +- src/resources/{objects => }/loot/LootRollSession.java | 2 +- src/resources/objects/tangible/TangibleObject.java | 2 +- src/services/LootService.java | 5 +++-- src/services/sui/SUIService.java | 2 +- 8 files changed, 10 insertions(+), 9 deletions(-) rename src/resources/{objects => }/loot/LootDrop.java (98%) rename src/resources/{objects => }/loot/LootGroup.java (98%) rename src/resources/{objects => }/loot/LootPool.java (97%) rename src/resources/{objects => }/loot/LootRollSession.java (99%) diff --git a/src/resources/common/Forager.java b/src/resources/common/Forager.java index e0445f29..6e27a207 100644 --- a/src/resources/common/Forager.java +++ b/src/resources/common/Forager.java @@ -32,10 +32,10 @@ import engine.resources.scene.Point3D; import engine.resources.scene.Quaternion; import main.NGECore; import resources.datatables.Options; +import resources.loot.LootGroup; import resources.objects.cell.CellObject; import resources.objects.creature.CreatureObject; import resources.objects.group.GroupObject; -import resources.objects.loot.LootGroup; import resources.objects.tangible.TangibleObject; import services.ai.AIActor; diff --git a/src/resources/objects/loot/LootDrop.java b/src/resources/loot/LootDrop.java similarity index 98% rename from src/resources/objects/loot/LootDrop.java rename to src/resources/loot/LootDrop.java index 371c1727..efd455ba 100644 --- a/src/resources/objects/loot/LootDrop.java +++ b/src/resources/loot/LootDrop.java @@ -19,7 +19,7 @@ * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. ******************************************************************************/ -package resources.objects.loot; +package resources.loot; import java.util.ArrayList; import java.util.List; diff --git a/src/resources/objects/loot/LootGroup.java b/src/resources/loot/LootGroup.java similarity index 98% rename from src/resources/objects/loot/LootGroup.java rename to src/resources/loot/LootGroup.java index 1c626c05..8666014d 100644 --- a/src/resources/objects/loot/LootGroup.java +++ b/src/resources/loot/LootGroup.java @@ -19,7 +19,7 @@ * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. ******************************************************************************/ -package resources.objects.loot; +package resources.loot; import com.sleepycat.persist.model.Persistent; diff --git a/src/resources/objects/loot/LootPool.java b/src/resources/loot/LootPool.java similarity index 97% rename from src/resources/objects/loot/LootPool.java rename to src/resources/loot/LootPool.java index 2e74cf8b..83576a16 100644 --- a/src/resources/objects/loot/LootPool.java +++ b/src/resources/loot/LootPool.java @@ -19,7 +19,7 @@ * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. ******************************************************************************/ -package resources.objects.loot; +package resources.loot; /** * @author Charon diff --git a/src/resources/objects/loot/LootRollSession.java b/src/resources/loot/LootRollSession.java similarity index 99% rename from src/resources/objects/loot/LootRollSession.java rename to src/resources/loot/LootRollSession.java index 884346ba..e79951fe 100644 --- a/src/resources/objects/loot/LootRollSession.java +++ b/src/resources/loot/LootRollSession.java @@ -19,7 +19,7 @@ * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. ******************************************************************************/ -package resources.objects.loot; +package resources.loot; import java.util.ArrayList; import java.util.List; diff --git a/src/resources/objects/tangible/TangibleObject.java b/src/resources/objects/tangible/TangibleObject.java index d11c3644..a06dfcaf 100644 --- a/src/resources/objects/tangible/TangibleObject.java +++ b/src/resources/objects/tangible/TangibleObject.java @@ -40,8 +40,8 @@ import protocol.swg.objectControllerObjects.ShowFlyText; import resources.common.OutOfBand; import resources.common.RGB; import resources.datatables.Options; +import resources.loot.LootGroup; import resources.objects.creature.CreatureObject; -import resources.objects.loot.LootGroup; import resources.visitors.IDManagerVisitor; import com.sleepycat.persist.model.NotPersistent; diff --git a/src/services/LootService.java b/src/services/LootService.java index 1105e13c..97d45a46 100644 --- a/src/services/LootService.java +++ b/src/services/LootService.java @@ -35,11 +35,12 @@ import java.util.List; import java.util.Map; import java.util.Random; import java.util.Vector; + import protocol.swg.PlayClientEffectObjectTransformMessage; +import resources.loot.LootGroup; +import resources.loot.LootRollSession; import resources.objects.creature.CreatureObject; import resources.objects.group.GroupObject; -import resources.objects.loot.LootGroup; -import resources.objects.loot.LootRollSession; import resources.objects.tangible.TangibleObject; import resources.objects.weapon.WeaponObject; import main.NGECore; diff --git a/src/services/sui/SUIService.java b/src/services/sui/SUIService.java index 546fc3d2..309577cc 100644 --- a/src/services/sui/SUIService.java +++ b/src/services/sui/SUIService.java @@ -46,9 +46,9 @@ import resources.common.FileUtilities; import resources.common.ObjControllerOpcodes; import resources.common.Opcodes; import resources.common.RadialOptions; +import resources.loot.LootRollSession; import resources.objects.creature.CreatureObject; import resources.objects.harvester.HarvesterObject; -import resources.objects.loot.LootRollSession; import services.sui.SUIWindow.SUICallback; import services.sui.SUIWindow.Trigger; import engine.clients.Client; From 1663091d95bb7262e4b5f81dd2d6f90356fce0fa Mon Sep 17 00:00:00 2001 From: Treeku Date: Wed, 30 Apr 2014 01:01:13 +0100 Subject: [PATCH 38/52] Static buildings also spawn cells --- src/services/StaticService.java | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/services/StaticService.java b/src/services/StaticService.java index 732bc657..f85a3282 100644 --- a/src/services/StaticService.java +++ b/src/services/StaticService.java @@ -26,9 +26,12 @@ import java.util.List; import java.util.Map; import resources.objects.building.BuildingObject; +import resources.objects.cell.CellObject; import resources.objects.creature.CreatureObject; import resources.objects.tangible.TangibleObject; import main.NGECore; +import engine.clientdata.ClientFileManager; +import engine.clientdata.visitors.PortalVisitor; import engine.resources.objects.SWGObject; import engine.resources.scene.Planet; import engine.resources.scene.Point3D; @@ -108,6 +111,27 @@ public class StaticService implements INetworkDispatch { ((CreatureObject) object).setStaticNPC(true); } + if (object instanceof BuildingObject) { + BuildingObject building = (BuildingObject) object; + + if (building.getCells().size() == 0) { + String portalLayoutFilename = (String) building.getTemplateData().getAttribute("portalLayoutFilename"); + + try { + PortalVisitor portal = ClientFileManager.loadFile(portalLayoutFilename, PortalVisitor.class); + + for (int i = 1; i <= portal.cellCount; i++) { + long cellObjectId = core.objectService.getDOId(planetName, "object/cell/shared_cell.iff", 0, object.getObjectID(), i, x, y, z); + CellObject childCell = (CellObject) core.objectService.createObject("object/cell/shared_cell.iff", cellObjectId, core.terrainService.getPlanetByName(planetName), new Point3D(0, 0, 0), new Quaternion(1, 0, 0, 0), null, true, true); + childCell.setCellNumber(i); + building.add(childCell); + } + } catch (InstantiationException | IllegalAccessException e) { + e.printStackTrace(); + } + } + } + if (cellId == 0) { if (!core.simulationService.add(object, (float) x, (float) z, true)) { System.err.println("StaticService: Quadtree insert failed for: " + template); From 6d88bcb90a1c004ac8c58481d20b2374e9fc3f35 Mon Sep 17 00:00:00 2001 From: Treeku Date: Wed, 30 Apr 2014 10:44:42 +0100 Subject: [PATCH 39/52] Static building criteria fixes --- src/services/StaticService.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/services/StaticService.java b/src/services/StaticService.java index f85a3282..41401fea 100644 --- a/src/services/StaticService.java +++ b/src/services/StaticService.java @@ -114,8 +114,10 @@ public class StaticService implements INetworkDispatch { if (object instanceof BuildingObject) { BuildingObject building = (BuildingObject) object; - if (building.getCells().size() == 0) { - String portalLayoutFilename = (String) building.getTemplateData().getAttribute("portalLayoutFilename"); + Map attributes = building.getTemplateData().getAttributes(); + + if (building.getCells().size() == 0 && attributes.containsKey("portalLayoutFilename") && ((String) attributes.get("portalLayoutFilename")).length() > 0) { + String portalLayoutFilename = (String) attributes.get("portalLayoutFilename"); try { PortalVisitor portal = ClientFileManager.loadFile(portalLayoutFilename, PortalVisitor.class); From ee5be99699be7f9d1349c264b593ff9f9cb53b2f Mon Sep 17 00:00:00 2001 From: CharonInferar Date: Wed, 30 Apr 2014 18:44:30 +0200 Subject: [PATCH 40/52] Disabled automatic shuttleport placement in sandbox city --- src/services/playercities/PlayerCityService.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/services/playercities/PlayerCityService.java b/src/services/playercities/PlayerCityService.java index e3de95be..329ceede 100644 --- a/src/services/playercities/PlayerCityService.java +++ b/src/services/playercities/PlayerCityService.java @@ -236,11 +236,11 @@ public class PlayerCityService implements INetworkDispatch { positionY = core.terrainService.getHeight(founder.getPlanetId(), positionX, positionZ); //StructureObject shuttlePort = (StructureObject) core.objectService.createObject(structureTemplate, 0, founder.getPlanet(), new Point3D(positionX, positionY, positionZ), founder.getOrientation()); - BuildingObject shuttlePort = (BuildingObject) core.objectService.createObject(structureTemplate, 0, founder.getPlanet(), new Point3D(positionX, positionY, positionZ), founder.getOrientation()); + //BuildingObject shuttlePort = (BuildingObject) core.objectService.createObject(structureTemplate, 0, founder.getPlanet(), new Point3D(positionX, positionY, positionZ), founder.getOrientation()); //shuttlePort.setAttachment("cellsSorted", new Boolean(true)); //"bigSpawnRange" - core.simulationService.add(shuttlePort, shuttlePort.getPosition().x, shuttlePort.getPosition().z, true); + //core.simulationService.add(shuttlePort, shuttlePort.getPosition().x, shuttlePort.getPosition().z, true); // sign = core.objectService.createChildObject((SWGObject)shuttlePort, "object/tangible/sign/player/shared_house_address.iff", -7.39F, 2.36F, 2, -1, 0, -1); // shuttlePort.setAttachment("structureSign", sign); @@ -248,11 +248,11 @@ public class PlayerCityService implements INetworkDispatch { admins = new Vector<>(); admins.add(founder.getObjectID()); - shuttlePort.setAttachment("structureOwner", founder.getObjectID()); - shuttlePort.setAttachment("structureAdmins", admins); - shuttlePort.setDeedTemplate("object/tangible/deed/city_deed/shared_cityhall_tatooine_deed.iff"); - shuttlePort.setBMR(12); - shuttlePort.setConditionDamage(100); +// shuttlePort.setAttachment("structureOwner", founder.getObjectID()); +// shuttlePort.setAttachment("structureAdmins", admins); +// shuttlePort.setDeedTemplate("object/tangible/deed/city_deed/shared_cityhall_tatooine_deed.iff"); +// shuttlePort.setBMR(12); +// shuttlePort.setConditionDamage(100); sandboxCityBuilt = true; } From 2a23dd8076adff03bf64e97ad305e87c043c2f14 Mon Sep 17 00:00:00 2001 From: CharonInferar Date: Wed, 30 Apr 2014 19:45:12 +0200 Subject: [PATCH 41/52] merge conflict resolve --- odb/bounties/placeholder.txt | 0 scripts/conversation/reb_recruiter.py | 585 ++++++++++++++++++ scripts/mobiles/canon/scout_trooper.py | 31 + scripts/mobiles/canon/swamp_trooper.py | 31 + .../lairs/tatooine_rill_lair_neutral_small.py | 5 + .../tatooine_worrt_lair_neutral_small.py | 5 + .../tatooine/adolescent_krayt_dragon.py | 30 + scripts/mobiles/tatooine/armodragon.py | 30 + scripts/mobiles/tatooine/bantha_low.py | 30 + scripts/mobiles/tatooine/bantha_matriarch.py | 30 + scripts/mobiles/tatooine/blight_boar.py | 30 + scripts/mobiles/tatooine/bocatt.py | 30 + .../mobiles/tatooine/bonecracker_bantha.py | 30 + scripts/mobiles/tatooine/bull_bantha.py | 30 + scripts/mobiles/tatooine/bull_ronto.py | 30 + scripts/mobiles/tatooine/cannibal_dewback.py | 30 + .../mobiles/tatooine/canyon_krayt_dragon.py | 30 + scripts/mobiles/tatooine/carion_kreetle.py | 30 + scripts/mobiles/tatooine/cave_beetle.py | 30 + scripts/mobiles/tatooine/city_rockmite.py | 30 + .../mobiles/tatooine/city_sewer_swamprat.py | 30 + scripts/mobiles/tatooine/cupa.py | 30 + scripts/mobiles/tatooine/death_kreetle.py | 30 + scripts/mobiles/tatooine/desert_eopie.py | 30 + scripts/mobiles/tatooine/desert_kreetle.py | 30 + scripts/mobiles/tatooine/desert_razorback.py | 30 + scripts/mobiles/tatooine/desert_squill.py | 30 + scripts/mobiles/tatooine/dimu_bantha.py | 30 + scripts/mobiles/tatooine/diseased_bocatt.py | 30 + scripts/mobiles/tatooine/domestic_eopie.py | 30 + scripts/mobiles/tatooine/dragonet.py | 30 + scripts/mobiles/tatooine/drooling_nuna.py | 30 + scripts/mobiles/tatooine/dune_bantha.py | 30 + scripts/mobiles/tatooine/dune_beetle.py | 30 + scripts/mobiles/tatooine/dune_lizard.py | 30 + scripts/mobiles/tatooine/dwarf_bantha.py | 30 + scripts/mobiles/tatooine/dwarf_eopie.py | 30 + scripts/mobiles/tatooine/dwarf_nuna.py | 30 + scripts/mobiles/tatooine/elder_zucca_boar.py | 30 + .../tatooine/elite_dewback_cannibal.py | 30 + scripts/mobiles/tatooine/elite_dragonet.py | 30 + scripts/mobiles/tatooine/elite_dune_lizard.py | 30 + .../tatooine/elite_giant_sand_beetle.py | 30 + .../mobiles/tatooine/elite_mutant_womprat.py | 30 + scripts/mobiles/tatooine/elite_ronto.py | 30 + scripts/mobiles/tatooine/elite_scyk.py | 30 + scripts/mobiles/tatooine/elite_sevorrt.py | 30 + .../tatooine/enraged_mountain_dewback.py | 30 + scripts/mobiles/tatooine/enraged_squill.py | 30 + scripts/mobiles/tatooine/eoni.py | 30 + scripts/mobiles/tatooine/eopie.py | 30 + scripts/mobiles/tatooine/eopie_herdmaster.py | 30 + .../tatooine/female_mountain_squill.py | 30 + scripts/mobiles/tatooine/feral_bantha.py | 30 + scripts/mobiles/tatooine/furios_ronto.py | 30 + .../tatooine/giant_canyon_krayt_dragon.py | 30 + scripts/mobiles/tatooine/giant_sand_beetle.py | 30 + scripts/mobiles/tatooine/giant_worrt.py | 30 + scripts/mobiles/tatooine/gorg.py | 30 + scripts/mobiles/tatooine/gorg_glutton.py | 30 + .../mobiles/tatooine/grand_krayt_dragon.py | 30 + scripts/mobiles/tatooine/great_squill.py | 30 + .../tatooine/greater_desert_womprat.py | 30 + scripts/mobiles/tatooine/grizzled_dewback.py | 30 + scripts/mobiles/tatooine/harmony_worrt.py | 30 + scripts/mobiles/tatooine/jundland_eopie.py | 30 + .../tatooine/juvenile_canyon_krayt_dragon.py | 30 + scripts/mobiles/tatooine/kreetle_swarmling.py | 30 + scripts/mobiles/tatooine/large_cave_beetle.py | 30 + .../mobiles/tatooine/large_rock_beetle1.py | 30 + .../mobiles/tatooine/large_rock_beetle2.py | 30 + .../mobiles/tatooine/large_rock_beetle3.py | 30 + scripts/mobiles/tatooine/large_sand_beetle.py | 30 + scripts/mobiles/tatooine/lesser_bocatt.py | 30 + .../mobiles/tatooine/lesser_desert_womprat.py | 30 + scripts/mobiles/tatooine/lesser_dewback.py | 30 + scripts/mobiles/tatooine/malignant_squill.py | 30 + scripts/mobiles/tatooine/minor_worrt.py | 30 + scripts/mobiles/tatooine/mound_mite.py | 30 + scripts/mobiles/tatooine/mountain_dewback.py | 30 + scripts/mobiles/tatooine/mountain_squill.py | 30 + .../tatooine/mountain_squill_guardian.py | 30 + .../tatooine/mountain_squill_hunter.py | 30 + scripts/mobiles/tatooine/mountain_worrt.py | 30 + scripts/mobiles/tatooine/mutant_womprat.py | 30 + scripts/mobiles/tatooine/overkreetle.py | 30 + .../tatooine/parry_stormtrooper_dewback.py | 30 + scripts/mobiles/tatooine/plaque_rat.py | 30 + scripts/mobiles/tatooine/razorback_felspur.py | 30 + scripts/mobiles/tatooine/razorclaw.py | 30 + scripts/mobiles/tatooine/rill.py | 30 + scripts/mobiles/tatooine/rock_beetle.py | 30 + scripts/mobiles/tatooine/rock_beetle1.py | 30 + scripts/mobiles/tatooine/rock_beetle_cave.py | 30 + scripts/mobiles/tatooine/rockmite.py | 30 + scripts/mobiles/tatooine/ronto.py | 30 + scripts/mobiles/tatooine/runted_rill.py | 30 + scripts/mobiles/tatooine/sand_beetle.py | 30 + scripts/mobiles/tatooine/sandreaver.py | 30 + scripts/mobiles/tatooine/savage_zucca_boar.py | 30 + scripts/mobiles/tatooine/scyk.py | 30 + scripts/mobiles/tatooine/sevorrt.py | 30 + scripts/mobiles/tatooine/sewer_worrt.py | 30 + scripts/mobiles/tatooine/sickly_womprat.py | 30 + scripts/mobiles/tatooine/slum_rat.py | 30 + scripts/mobiles/tatooine/snarlfang.py | 30 + scripts/mobiles/tatooine/squill.py | 30 + .../mobiles/tatooine/stormtrooper_dewback.py | 30 + .../mobiles/tatooine/sunstained_dunelizard.py | 30 + .../tatooine/swarming_lesser_dewback.py | 30 + scripts/mobiles/tatooine/tame_rill.py | 30 + scripts/mobiles/tatooine/tame_womprat.py | 30 + scripts/mobiles/tatooine/tame_worrt.py | 30 + scripts/mobiles/tatooine/tatooine_mynock.py | 30 + scripts/mobiles/tatooine/tempest_rill.py | 30 + scripts/mobiles/tatooine/tormented_bocatt.py | 30 + scripts/mobiles/tatooine/tusken_bantha.py | 30 + scripts/mobiles/tatooine/twisted_dewback.py | 30 + scripts/mobiles/tatooine/twisted_rill.py | 30 + scripts/mobiles/tatooine/twisted_womprat.py | 30 + .../mobiles/tatooine/variegated_womprat.py | 30 + scripts/mobiles/tatooine/vicious_rill.py | 30 + scripts/mobiles/tatooine/volatile_scyk.py | 30 + scripts/mobiles/tatooine/wasteland_cupa.py | 30 + .../mobiles/tatooine/wild_bladeback_boar.py | 30 + scripts/mobiles/tatooine/wild_dune_boar.py | 30 + scripts/mobiles/tatooine/wonderous_cupa.py | 30 + scripts/mobiles/tatooine/worrt.py | 30 + scripts/mobiles/tatooine/worrt_gutbuster.py | 30 + .../mobiles/tatooine/young_mountain_squill.py | 30 + scripts/mobiles/tatooine/zucca_boar.py | 30 + src/resources/buffs/Buff.java | 486 +++++++++++++++ src/resources/buffs/BuffItem.java | 74 +++ src/resources/buffs/DamageOverTime.java | 116 ++++ src/resources/common/BountyListItem.java | 106 ++++ src/resources/loot/LootDrop.java | 51 ++ src/resources/loot/LootGroup.java | 64 ++ src/resources/loot/LootPool.java | 33 + src/resources/loot/LootRollSession.java | 163 +++++ .../objectives/BountyMissionObjective.java | 80 +++ src/resources/skills/SkillMod.java | 109 ++++ 141 files changed, 5689 insertions(+) create mode 100644 odb/bounties/placeholder.txt create mode 100644 scripts/conversation/reb_recruiter.py create mode 100644 scripts/mobiles/canon/scout_trooper.py create mode 100644 scripts/mobiles/canon/swamp_trooper.py create mode 100644 scripts/mobiles/lairs/tatooine_rill_lair_neutral_small.py create mode 100644 scripts/mobiles/lairs/tatooine_worrt_lair_neutral_small.py create mode 100644 scripts/mobiles/tatooine/adolescent_krayt_dragon.py create mode 100644 scripts/mobiles/tatooine/armodragon.py create mode 100644 scripts/mobiles/tatooine/bantha_low.py create mode 100644 scripts/mobiles/tatooine/bantha_matriarch.py create mode 100644 scripts/mobiles/tatooine/blight_boar.py create mode 100644 scripts/mobiles/tatooine/bocatt.py create mode 100644 scripts/mobiles/tatooine/bonecracker_bantha.py create mode 100644 scripts/mobiles/tatooine/bull_bantha.py create mode 100644 scripts/mobiles/tatooine/bull_ronto.py create mode 100644 scripts/mobiles/tatooine/cannibal_dewback.py create mode 100644 scripts/mobiles/tatooine/canyon_krayt_dragon.py create mode 100644 scripts/mobiles/tatooine/carion_kreetle.py create mode 100644 scripts/mobiles/tatooine/cave_beetle.py create mode 100644 scripts/mobiles/tatooine/city_rockmite.py create mode 100644 scripts/mobiles/tatooine/city_sewer_swamprat.py create mode 100644 scripts/mobiles/tatooine/cupa.py create mode 100644 scripts/mobiles/tatooine/death_kreetle.py create mode 100644 scripts/mobiles/tatooine/desert_eopie.py create mode 100644 scripts/mobiles/tatooine/desert_kreetle.py create mode 100644 scripts/mobiles/tatooine/desert_razorback.py create mode 100644 scripts/mobiles/tatooine/desert_squill.py create mode 100644 scripts/mobiles/tatooine/dimu_bantha.py create mode 100644 scripts/mobiles/tatooine/diseased_bocatt.py create mode 100644 scripts/mobiles/tatooine/domestic_eopie.py create mode 100644 scripts/mobiles/tatooine/dragonet.py create mode 100644 scripts/mobiles/tatooine/drooling_nuna.py create mode 100644 scripts/mobiles/tatooine/dune_bantha.py create mode 100644 scripts/mobiles/tatooine/dune_beetle.py create mode 100644 scripts/mobiles/tatooine/dune_lizard.py create mode 100644 scripts/mobiles/tatooine/dwarf_bantha.py create mode 100644 scripts/mobiles/tatooine/dwarf_eopie.py create mode 100644 scripts/mobiles/tatooine/dwarf_nuna.py create mode 100644 scripts/mobiles/tatooine/elder_zucca_boar.py create mode 100644 scripts/mobiles/tatooine/elite_dewback_cannibal.py create mode 100644 scripts/mobiles/tatooine/elite_dragonet.py create mode 100644 scripts/mobiles/tatooine/elite_dune_lizard.py create mode 100644 scripts/mobiles/tatooine/elite_giant_sand_beetle.py create mode 100644 scripts/mobiles/tatooine/elite_mutant_womprat.py create mode 100644 scripts/mobiles/tatooine/elite_ronto.py create mode 100644 scripts/mobiles/tatooine/elite_scyk.py create mode 100644 scripts/mobiles/tatooine/elite_sevorrt.py create mode 100644 scripts/mobiles/tatooine/enraged_mountain_dewback.py create mode 100644 scripts/mobiles/tatooine/enraged_squill.py create mode 100644 scripts/mobiles/tatooine/eoni.py create mode 100644 scripts/mobiles/tatooine/eopie.py create mode 100644 scripts/mobiles/tatooine/eopie_herdmaster.py create mode 100644 scripts/mobiles/tatooine/female_mountain_squill.py create mode 100644 scripts/mobiles/tatooine/feral_bantha.py create mode 100644 scripts/mobiles/tatooine/furios_ronto.py create mode 100644 scripts/mobiles/tatooine/giant_canyon_krayt_dragon.py create mode 100644 scripts/mobiles/tatooine/giant_sand_beetle.py create mode 100644 scripts/mobiles/tatooine/giant_worrt.py create mode 100644 scripts/mobiles/tatooine/gorg.py create mode 100644 scripts/mobiles/tatooine/gorg_glutton.py create mode 100644 scripts/mobiles/tatooine/grand_krayt_dragon.py create mode 100644 scripts/mobiles/tatooine/great_squill.py create mode 100644 scripts/mobiles/tatooine/greater_desert_womprat.py create mode 100644 scripts/mobiles/tatooine/grizzled_dewback.py create mode 100644 scripts/mobiles/tatooine/harmony_worrt.py create mode 100644 scripts/mobiles/tatooine/jundland_eopie.py create mode 100644 scripts/mobiles/tatooine/juvenile_canyon_krayt_dragon.py create mode 100644 scripts/mobiles/tatooine/kreetle_swarmling.py create mode 100644 scripts/mobiles/tatooine/large_cave_beetle.py create mode 100644 scripts/mobiles/tatooine/large_rock_beetle1.py create mode 100644 scripts/mobiles/tatooine/large_rock_beetle2.py create mode 100644 scripts/mobiles/tatooine/large_rock_beetle3.py create mode 100644 scripts/mobiles/tatooine/large_sand_beetle.py create mode 100644 scripts/mobiles/tatooine/lesser_bocatt.py create mode 100644 scripts/mobiles/tatooine/lesser_desert_womprat.py create mode 100644 scripts/mobiles/tatooine/lesser_dewback.py create mode 100644 scripts/mobiles/tatooine/malignant_squill.py create mode 100644 scripts/mobiles/tatooine/minor_worrt.py create mode 100644 scripts/mobiles/tatooine/mound_mite.py create mode 100644 scripts/mobiles/tatooine/mountain_dewback.py create mode 100644 scripts/mobiles/tatooine/mountain_squill.py create mode 100644 scripts/mobiles/tatooine/mountain_squill_guardian.py create mode 100644 scripts/mobiles/tatooine/mountain_squill_hunter.py create mode 100644 scripts/mobiles/tatooine/mountain_worrt.py create mode 100644 scripts/mobiles/tatooine/mutant_womprat.py create mode 100644 scripts/mobiles/tatooine/overkreetle.py create mode 100644 scripts/mobiles/tatooine/parry_stormtrooper_dewback.py create mode 100644 scripts/mobiles/tatooine/plaque_rat.py create mode 100644 scripts/mobiles/tatooine/razorback_felspur.py create mode 100644 scripts/mobiles/tatooine/razorclaw.py create mode 100644 scripts/mobiles/tatooine/rill.py create mode 100644 scripts/mobiles/tatooine/rock_beetle.py create mode 100644 scripts/mobiles/tatooine/rock_beetle1.py create mode 100644 scripts/mobiles/tatooine/rock_beetle_cave.py create mode 100644 scripts/mobiles/tatooine/rockmite.py create mode 100644 scripts/mobiles/tatooine/ronto.py create mode 100644 scripts/mobiles/tatooine/runted_rill.py create mode 100644 scripts/mobiles/tatooine/sand_beetle.py create mode 100644 scripts/mobiles/tatooine/sandreaver.py create mode 100644 scripts/mobiles/tatooine/savage_zucca_boar.py create mode 100644 scripts/mobiles/tatooine/scyk.py create mode 100644 scripts/mobiles/tatooine/sevorrt.py create mode 100644 scripts/mobiles/tatooine/sewer_worrt.py create mode 100644 scripts/mobiles/tatooine/sickly_womprat.py create mode 100644 scripts/mobiles/tatooine/slum_rat.py create mode 100644 scripts/mobiles/tatooine/snarlfang.py create mode 100644 scripts/mobiles/tatooine/squill.py create mode 100644 scripts/mobiles/tatooine/stormtrooper_dewback.py create mode 100644 scripts/mobiles/tatooine/sunstained_dunelizard.py create mode 100644 scripts/mobiles/tatooine/swarming_lesser_dewback.py create mode 100644 scripts/mobiles/tatooine/tame_rill.py create mode 100644 scripts/mobiles/tatooine/tame_womprat.py create mode 100644 scripts/mobiles/tatooine/tame_worrt.py create mode 100644 scripts/mobiles/tatooine/tatooine_mynock.py create mode 100644 scripts/mobiles/tatooine/tempest_rill.py create mode 100644 scripts/mobiles/tatooine/tormented_bocatt.py create mode 100644 scripts/mobiles/tatooine/tusken_bantha.py create mode 100644 scripts/mobiles/tatooine/twisted_dewback.py create mode 100644 scripts/mobiles/tatooine/twisted_rill.py create mode 100644 scripts/mobiles/tatooine/twisted_womprat.py create mode 100644 scripts/mobiles/tatooine/variegated_womprat.py create mode 100644 scripts/mobiles/tatooine/vicious_rill.py create mode 100644 scripts/mobiles/tatooine/volatile_scyk.py create mode 100644 scripts/mobiles/tatooine/wasteland_cupa.py create mode 100644 scripts/mobiles/tatooine/wild_bladeback_boar.py create mode 100644 scripts/mobiles/tatooine/wild_dune_boar.py create mode 100644 scripts/mobiles/tatooine/wonderous_cupa.py create mode 100644 scripts/mobiles/tatooine/worrt.py create mode 100644 scripts/mobiles/tatooine/worrt_gutbuster.py create mode 100644 scripts/mobiles/tatooine/young_mountain_squill.py create mode 100644 scripts/mobiles/tatooine/zucca_boar.py create mode 100644 src/resources/buffs/Buff.java create mode 100644 src/resources/buffs/BuffItem.java create mode 100644 src/resources/buffs/DamageOverTime.java create mode 100644 src/resources/common/BountyListItem.java create mode 100644 src/resources/loot/LootDrop.java create mode 100644 src/resources/loot/LootGroup.java create mode 100644 src/resources/loot/LootPool.java create mode 100644 src/resources/loot/LootRollSession.java create mode 100644 src/resources/objectives/BountyMissionObjective.java create mode 100644 src/resources/skills/SkillMod.java diff --git a/odb/bounties/placeholder.txt b/odb/bounties/placeholder.txt new file mode 100644 index 00000000..e69de29b diff --git a/scripts/conversation/reb_recruiter.py b/scripts/conversation/reb_recruiter.py new file mode 100644 index 00000000..9c8b803d --- /dev/null +++ b/scripts/conversation/reb_recruiter.py @@ -0,0 +1,585 @@ +from resources.common import ConversationOption +from resources.common import OutOfBand +from resources.common import ProsePackage +from resources.common import RadialOptions +from resources.datatables import PvpStatus +from resources.datatables import FactionStatus + +from services.sui import SUIWindow +from services.sui.SUIWindow import Trigger + +from java.util import Vector +import sys + + +impRecruiterRef = 0 + + +def startConversation(core, actor, npc): + global coreRef + global impRecruiterRef + coreRef = core + impRecruiterRef = npc + convSvc = core.conversationService + faction = actor.getFaction() + factionStatus = actor.getFactionStatus() + + if actor.getPvpStatus(PvpStatus.GoingOvert) or actor.getPvpStatus(PvpStatus.GoingCovert): + core.conversationService.sendStopConversation(actor, npc, 'conversation/faction_recruiter_rebel', 's_364') + return + elif actor.getFaction() != 'rebel' and actor.getFaction() != 'imperial': + prose = ProsePackage('conversation/faction_recruiter_rebel', 's_334') + outOfBand = OutOfBand() + outOfBand.addProsePackage(prose) + convSvc.sendConversationMessage(actor, npc, outOfBand) + prose2 = ProsePackage('conversation/faction_recruiter_rebel', 's_348') + outOfBand2 = OutOfBand() + outOfBand2.addProsePackage(prose2) + prose3 = ProsePackage('conversation/faction_recruiter_rebel', 's_83') + outOfBand3 = OutOfBand() + outOfBand3.addProsePackage(prose3) + option1 = ConversationOption(outOfBand2, 0) + option2 = ConversationOption(outOfBand3, 1) + + + options = Vector() + options.add(option1) + options.add(option2) + + convSvc.sendConversationOptions(actor, npc, options, handleFirstScreen) + return + elif actor.getFaction() == 'rebel' and actor.getFactionStatus() == FactionStatus.OnLeave: + prose = ProsePackage('conversation/faction_recruiter_rebel', 's_216') + outOfBand = OutOfBand() + outOfBand.addProsePackage(prose) + convSvc.sendConversationMessage(actor, npc, outOfBand) + prose2 = ProsePackage('conversation/faction_recruiter_rebel', 's_49') + outOfBand2 = OutOfBand() + outOfBand2.addProsePackage(prose2) + prose3 = ProsePackage('conversation/faction_recruiter_rebel', 's_330') + outOfBand3 = OutOfBand() + outOfBand3.addProsePackage(prose3) + prose4 = ProsePackage('conversation/faction_recruiter_rebel', 's_248') + outOfBand4 = OutOfBand() + outOfBand4.addProsePackage(prose4) + option1 = ConversationOption(outOfBand2, 0) + option2 = ConversationOption(outOfBand3, 1) + option3 = ConversationOption(outOfBand4, 1) + + + options = Vector() + options.add(option1) + options.add(option2) + options.add(option3) + + convSvc.sendConversationOptions(actor, npc, options, handleFirstScreen) + return + elif actor.getFaction() == 'rebel' and actor.getFactionStatus() == FactionStatus.Combatant: + prose = ProsePackage('conversation/faction_recruiter_rebel', 's_216') + outOfBand = OutOfBand() + outOfBand.addProsePackage(prose) + convSvc.sendConversationMessage(actor, npc, outOfBand) + prose2 = ProsePackage('conversation/faction_recruiter_rebel', 's_49') + outOfBand2 = OutOfBand() + outOfBand2.addProsePackage(prose2) + prose4 = ProsePackage('conversation/faction_recruiter_rebel', 's_330') + outOfBand4 = OutOfBand() + outOfBand4.addProsePackage(prose4) + prose5 = ProsePackage('conversation/faction_recruiter_rebel', 's_248') + outOfBand5 = OutOfBand() + outOfBand5.addProsePackage(prose5) + option1 = ConversationOption(outOfBand2, 0) + option2 = ConversationOption(outOfBand4, 1) + option4 = ConversationOption(outOfBand5, 1) + + options = Vector() + options.add(option1) + options.add(option2) + options.add(option4) + convSvc.sendConversationOptions(actor, npc, options, handleFirstScreen) + + return + elif actor.getFactionStatus() == FactionStatus.SpecialForces: + prose = ProsePackage('conversation/faction_recruiter_rebel', 's_216') + outOfBand = OutOfBand() + outOfBand.addProsePackage(prose) + convSvc.sendConversationMessage(actor, npc, outOfBand) + prose2 = ProsePackage('conversation/faction_recruiter_rebel', 's_49') + outOfBand2 = OutOfBand() + outOfBand2.addProsePackage(prose2) + prose4 = ProsePackage('conversation/faction_recruiter_rebel', 's_330') + outOfBand4 = OutOfBand() + outOfBand4.addProsePackage(prose4) + prose5 = ProsePackage('conversation/faction_recruiter_rebel', 's_248') + outOfBand5 = OutOfBand() + outOfBand5.addProsePackage(prose5) + option1 = ConversationOption(outOfBand2, 0) + option2 = ConversationOption(outOfBand4, 1) + option4 = ConversationOption(outOfBand5, 1) + + options = Vector() + options.add(option1) + options.add(option2) + options.add(option4) + convSvc.sendConversationOptions(actor, npc, options, handleFirstScreen) + + return + elif actor.getFaction() == 'imperial': + npc.setCurrentAnimation('all_b_emt_backhand') + core.conversationService.sendStopConversation(actor, npc, 'conversation/faction_recruiter_rebel', 's_230') + return + return + +def handleFirstScreen(core, actor, npc, selection): + + convSvc = core.conversationService + if actor.getFaction() != 'rebel' and actor.getFaction() != 'imperial': + if selection == 0: + prose = ProsePackage('conversation/faction_recruiter_rebel', 's_352') + outOfBand = OutOfBand() + outOfBand.addProsePackage(prose) + convSvc.sendConversationMessage(actor, npc, outOfBand) + prose2 = ProsePackage('conversation/faction_recruiter_rebel', 's_354') + outOfBand2 = OutOfBand() + outOfBand2.addProsePackage(prose2) + prose3 = ProsePackage('conversation/faction_recruiter_rebel', 's_360') + outOfBand3 = OutOfBand() + outOfBand3.addProsePackage(prose3) + option1 = ConversationOption(outOfBand2, 0) + option2 = ConversationOption(outOfBand3, 1) + + + options = Vector() + options.add(option1) + options.add(option2) + + convSvc.sendConversationOptions(actor, npc, options, handleSecondScreen) + return + + + if selection == 1: + return + + if selection == 2: + core.conversationService.sendStopConversation(actor, npc, 'conversation/faction_recruiter_rebel', 's_362') + return + return + elif actor.getFaction() == 'rebel' and actor.getFactionStatus() == FactionStatus.OnLeave: + if selection == 0: + prose = ProsePackage('conversation/faction_recruiter_rebel', 's_50') + outOfBand = OutOfBand() + outOfBand.addProsePackage(prose) + convSvc.sendConversationMessage(actor, npc, outOfBand) + prose2 = ProsePackage('conversation/faction_recruiter_rebel', 's_95') + outOfBand2 = OutOfBand() + outOfBand2.addProsePackage(prose2) + prose3 = ProsePackage('conversation/faction_recruiter_rebel', 's_93') + outOfBand3 = OutOfBand() + outOfBand3.addProsePackage(prose3) + prose4 = ProsePackage('conversation/faction_recruiter_rebel', 's_74') + outOfBand4 = OutOfBand() + outOfBand4.addProsePackage(prose4) + prose5 = ProsePackage('conversation/faction_recruiter_rebel', 's_360') + outOfBand5 = OutOfBand() + outOfBand5.addProsePackage(prose5) + option1 = ConversationOption(outOfBand2, 0) + option2 = ConversationOption(outOfBand3, 1) + option3 = ConversationOption(outOfBand4, 1) + option4 = ConversationOption(outOfBand5, 1) + + + options = Vector() + options.add(option1) + options.add(option2) + options.add(option3) + options.add(option4) + + convSvc.sendConversationOptions(actor, npc, options, handleSecondScreen) + return + + if selection == 1: + percent = core.guildService.getGuildObject().getCurrentServerGCWTotalPercentMap().get(actor.getPlanet().getName()).getPercent().intValue() + convSvc.sendConversationMessage(actor, npc, OutOfBand.ProsePackage("@conversation/faction_recruiter_imperial:s_332", percent, "TO", str(100 - percent))) + return + + if selection == 2: + return + return + elif actor.getFaction() == 'rebel' and actor.getFactionStatus() == FactionStatus.Combatant: + if selection == 0: + prose = ProsePackage('conversation/faction_recruiter_rebel', 's_50') + outOfBand = OutOfBand() + outOfBand.addProsePackage(prose) + convSvc.sendConversationMessage(actor, npc, outOfBand) + prose2 = ProsePackage('conversation/faction_recruiter_rebel', 's_86') + outOfBand2 = OutOfBand() + outOfBand2.addProsePackage(prose2) + prose3 = ProsePackage('conversation/faction_recruiter_rebel', 's_93') + outOfBand3 = OutOfBand() + outOfBand3.addProsePackage(prose3) + prose4 = ProsePackage('conversation/faction_recruiter_rebel', 's_74') + outOfBand4 = OutOfBand() + outOfBand4.addProsePackage(prose4) + prose5 = ProsePackage('conversation/faction_recruiter_rebel', 's_360') + outOfBand5 = OutOfBand() + outOfBand5.addProsePackage(prose5) + option1 = ConversationOption(outOfBand2, 0) + option2 = ConversationOption(outOfBand3, 1) + option3 = ConversationOption(outOfBand4, 1) + option4 = ConversationOption(outOfBand5, 1) + + + options = Vector() + options.add(option1) + options.add(option2) + options.add(option3) + options.add(option4) + + convSvc.sendConversationOptions(actor, npc, options, handleSecondScreen) + return + + if selection == 1: + percent = core.guildService.getGuildObject().getCurrentServerGCWTotalPercentMap().get(actor.getPlanet().getName()).getPercent().intValue() + convSvc.sendConversationMessage(actor, npc, OutOfBand.ProsePackage("@conversation/faction_recruiter_rebel:s_332", percent, "TO", str(100 - percent))) + return + + if selection == 2: + prose = ProsePackage('conversation/faction_recruiter_rebel', 's_76') + outOfBand = OutOfBand() + outOfBand.addProsePackage(prose) + convSvc.sendConversationMessage(actor, npc, outOfBand) + prose2 = ProsePackage('conversation/faction_recruiter_rebel', 's_78') + outOfBand2 = OutOfBand() + outOfBand2.addProsePackage(prose2) + prose3 = ProsePackage('conversation/faction_recruiter_rebel', 's_360') + outOfBand3 = OutOfBand() + outOfBand3.addProsePackage(prose3) + option1 = ConversationOption(outOfBand2, 0) + option2 = ConversationOption(outOfBand3, 1) + + + options = Vector() + options.add(option1) + options.add(option2) + + convSvc.sendConversationOptions(actor, npc, options, handleSecondScreen) + return + return + elif actor.getFaction() == 'rebel' and actor.getFactionStatus() == FactionStatus.SpecialForces: + if selection == 0: + prose = ProsePackage('conversation/faction_recruiter_rebel', 's_50') + outOfBand = OutOfBand() + outOfBand.addProsePackage(prose) + convSvc.sendConversationMessage(actor, npc, outOfBand) + prose2 = ProsePackage('conversation/faction_recruiter_rebel', 's_90') + outOfBand2 = OutOfBand() + outOfBand2.addProsePackage(prose2) + prose3 = ProsePackage('conversation/faction_recruiter_rebel', 's_95') + outOfBand3 = OutOfBand() + outOfBand3.addProsePackage(prose3) + prose4 = ProsePackage('conversation/faction_recruiter_rebel', 's_78') + outOfBand4 = OutOfBand() + outOfBand4.addProsePackage(prose4) + prose5 = ProsePackage('conversation/faction_recruiter_rebel', 's_360') + outOfBand5 = OutOfBand() + outOfBand5.addProsePackage(prose5) + option1 = ConversationOption(outOfBand2, 0) + option2 = ConversationOption(outOfBand3, 1) + option3 = ConversationOption(outOfBand4, 1) + option4 = ConversationOption(outOfBand5, 1) + + + options = Vector() + options.add(option1) + options.add(option2) + options.add(option3) + options.add(option4) + + convSvc.sendConversationOptions(actor, npc, options, handleSecondScreen) + return + + if selection == 1: + percent = core.guildService.getGuildObject().getCurrentServerGCWTotalPercentMap().get(actor.getPlanet().getName()).getPercent().intValue() + convSvc.sendConversationMessage(actor, npc, OutOfBand.ProsePackage("@conversation/faction_recruiter_rebel:s_332", percent, "TO", str(100 - percent))) + return + + if selection == 2: + + return + return + + +def handleSecondScreen(core, actor, npc, selection): + convSvc = core.conversationService + + + if actor.getFaction() != 'rebel' and actor.getFaction() != 'imperial': + if selection == 0: + actor.setFaction('imperial') + actor.setFactionStatus(FactionStatus.OnLeave) + + prose = ProsePackage('conversation/faction_recruiter_rebel', 's_99') + outOfBand = OutOfBand() + outOfBand.addProsePackage(prose) + convSvc.sendConversationMessage(actor, npc, outOfBand) + prose2 = ProsePackage('conversation/faction_recruiter_rebel', 's_358') + outOfBand2 = OutOfBand() + outOfBand2.addProsePackage(prose2) + option1 = ConversationOption(outOfBand2, 0) + + + options = Vector() + options.add(option1) + + + core.conversationService.sendStopConversation(actor, npc, 'conversation/faction_recruiter_rebel', 's_356') + return + if selection ==1: + core.conversationService.sendStopConversation(actor, npc, 'conversation/faction_recruiter_rebel', 's_362') + return + return + elif actor.getFaction() == 'rebel' and actor.getFactionStatus() == FactionStatus.OnLeave: + if selection == 0: + actor.setFactionStatus(FactionStatus.Combatant) + core.conversationService.sendStopConversation(actor, npc, 'conversation/faction_recruiter_rebel', 's_224') + return + + if selection == 1: + prose = ProsePackage('conversation/faction_recruiter_rebel', 's_64') + outOfBand = OutOfBand() + outOfBand.addProsePackage(prose) + convSvc.sendConversationMessage(actor, npc, outOfBand) + prose2 = ProsePackage('conversation/faction_recruiter_rebel', 's_66') + outOfBand2 = OutOfBand() + outOfBand2.addProsePackage(prose2) + prose3 = ProsePackage('conversation/faction_recruiter_rebel', 's_226') + outOfBand3 = OutOfBand() + outOfBand3.addProsePackage(prose3) + option1 = ConversationOption(outOfBand2, 0) + option2 = ConversationOption(outOfBand3, 1) + + + + options = Vector() + options.add(option1) + options.add(option2) + + + convSvc.sendConversationOptions(actor, npc, options, handleFourthScreen) + return + if selection == 2: + prose = ProsePackage('conversation/faction_recruiter_rebel', 's_76') + outOfBand = OutOfBand() + outOfBand.addProsePackage(prose) + convSvc.sendConversationMessage(actor, npc, outOfBand) + prose2 = ProsePackage('conversation/faction_recruiter_rebel', 's_78') + outOfBand2 = OutOfBand() + outOfBand2.addProsePackage(prose2) + prose3 = ProsePackage('conversation/faction_recruiter_rebel', 's_360') + outOfBand3 = OutOfBand() + outOfBand3.addProsePackage(prose3) + option1 = ConversationOption(outOfBand2, 0) + option2 = ConversationOption(outOfBand3, 1) + + + + options = Vector() + options.add(option1) + options.add(option2) + + + convSvc.sendConversationOptions(actor, npc, options, handleThirdScreen) + return + if selection == 3: + core.conversationService.sendStopConversation(actor, npc, 'conversation/faction_recruiter_rebel', 's_97') + return + return + elif actor.getFaction() == 'rebel' and actor.getFactionStatus() == FactionStatus.Combatant: + if selection == 0: + prose = ProsePackage('conversation/faction_recruiter_rebel', 's_88') + outOfBand = OutOfBand() + outOfBand.addProsePackage(prose) + convSvc.sendConversationMessage(actor, npc, outOfBand) + prose2 = ProsePackage('conversation/faction_recruiter_rebel', 's_90') + outOfBand2 = OutOfBand() + outOfBand2.addProsePackage(prose2) + prose3 = ProsePackage('conversation/faction_recruiter_rebel', 's_94') + outOfBand3 = OutOfBand() + outOfBand3.addProsePackage(prose3) + option1 = ConversationOption(outOfBand2, 0) + option2 = ConversationOption(outOfBand3, 1) + + + + options = Vector() + options.add(option1) + options.add(option2) + + + convSvc.sendConversationOptions(actor, npc, options, handleFithScreen) + return + + if selection == 1: + prose = ProsePackage('conversation/faction_recruiter_rebel', 's_64') + outOfBand = OutOfBand() + outOfBand.addProsePackage(prose) + convSvc.sendConversationMessage(actor, npc, outOfBand) + prose2 = ProsePackage('conversation/faction_recruiter_rebel', 's_66') + outOfBand2 = OutOfBand() + outOfBand2.addProsePackage(prose2) + prose3 = ProsePackage('conversation/faction_recruiter_rebel', 's_226') + outOfBand3 = OutOfBand() + outOfBand3.addProsePackage(prose3) + option1 = ConversationOption(outOfBand2, 0) + option2 = ConversationOption(outOfBand3, 1) + + + + options = Vector() + options.add(option1) + options.add(option2) + + + convSvc.sendConversationOptions(actor, npc, options, handleFourthScreen) + return + if selection == 2: + prose = ProsePackage('conversation/faction_recruiter_rebel', 's_76') + outOfBand = OutOfBand() + outOfBand.addProsePackage(prose) + convSvc.sendConversationMessage(actor, npc, outOfBand) + prose2 = ProsePackage('conversation/faction_recruiter_rebel', 's_78') + outOfBand2 = OutOfBand() + outOfBand2.addProsePackage(prose2) + prose3 = ProsePackage('conversation/faction_recruiter_rebel', 's_360') + outOfBand3 = OutOfBand() + outOfBand3.addProsePackage(prose3) + option1 = ConversationOption(outOfBand2, 0) + option2 = ConversationOption(outOfBand3, 1) + + + + options = Vector() + options.add(option1) + options.add(option2) + + + convSvc.sendConversationOptions(actor, npc, options, handleThirdScreen) + return + if selection == 3: + return + return + elif actor.getFaction() == 'rebel' and actor.getFactionStatus() == FactionStatus.SpecialForces: + if selection == 0: + prose = ProsePackage('conversation/faction_recruiter_rebel', 's_88') + outOfBand = OutOfBand() + outOfBand.addProsePackage(prose) + convSvc.sendConversationMessage(actor, npc, outOfBand) + prose2 = ProsePackage('conversation/faction_recruiter_rebel', 's_90') + outOfBand2 = OutOfBand() + outOfBand2.addProsePackage(prose2) + prose3 = ProsePackage('conversation/faction_recruiter_rebel', 's_94') + outOfBand3 = OutOfBand() + outOfBand3.addProsePackage(prose3) + option1 = ConversationOption(outOfBand2, 0) + option2 = ConversationOption(outOfBand3, 1) + + + + options = Vector() + options.add(option1) + options.add(option2) + + + convSvc.sendConversationOptions(actor, npc, options, handleFithScreen) + return + + if selection == 1: + prose = ProsePackage('conversation/faction_recruiter_rebel', 's_54') + outOfBand = OutOfBand() + outOfBand.addProsePackage(prose) + convSvc.sendConversationMessage(actor, npc, outOfBand) + prose2 = ProsePackage('conversation/faction_recruiter_rebel', 's_56') + outOfBand2 = OutOfBand() + outOfBand2.addProsePackage(prose2) + prose3 = ProsePackage('conversation/faction_recruiter_rebel', 's_360') + outOfBand3 = OutOfBand() + outOfBand3.addProsePackage(prose3) + option1 = ConversationOption(outOfBand2, 0) + option2 = ConversationOption(outOfBand3, 1) + + + + options = Vector() + options.add(option1) + options.add(option2) + + + convSvc.sendConversationOptions(actor, npc, options, handleSixthScreen) + return + if selection == 2: + prose = ProsePackage('conversation/faction_recruiter_rebel', 's_76') + outOfBand = OutOfBand() + outOfBand.addProsePackage(prose) + convSvc.sendConversationMessage(actor, npc, outOfBand) + prose2 = ProsePackage('conversation/faction_recruiter_rebel', 's_74') + outOfBand2 = OutOfBand() + outOfBand2.addProsePackage(prose2) + prose3 = ProsePackage('conversation/faction_recruiter_rebel', 's_360') + outOfBand3 = OutOfBand() + outOfBand3.addProsePackage(prose3) + option1 = ConversationOption(outOfBand2, 0) + option2 = ConversationOption(outOfBand3, 1) + + + + options = Vector() + options.add(option1) + options.add(option2) + + + convSvc.sendConversationOptions(actor, npc, options, handleThirdScreen) + return + if selection == 3: + return + return + +def handleThirdScreen(core, actor, npc, selection): + if selection == 0: + core.conversationService.sendStopConversation(actor, npc, 'conversation/faction_recruiter_rebel', 's_58') + actor.setFaction('neutral') + return + + if selection == 1: + core.conversationService.sendStopConversation(actor, npc, 'conversation/faction_recruiter_rebel', 's_80') + return + return + +def handleFourthScreen(core, actor, npc, selection): + if selection == 0: + actor.setFactionStatus(FactionStatus.SpecialForces) + core.conversationService.sendStopConversation(actor, npc, 'conversation/faction_recruiter_rebel', 's_224') + return + if selection == 1: + core.conversationService.sendStopConversation(actor, npc, 'conversation/faction_recruiter_rebel', 's_72') + return + return + +def handleFithScreen(core, actor, npc, selection): + if selection == 0: + actor.setFactionStatus(FactionStatus.OnLeave); + core.conversationService.sendStopConversation(actor, npc, 'conversation/faction_recruiter_rebel', 's_58') + return + +def handleSixthScreen(core, actor, npc, selection): + if selection == 0: + actor.setFactionStatus(FactionStatus.Combatant) + core.conversationService.sendStopConversation(actor, npc, 'conversation/faction_recruiter_rebel', 's_92') + return + if selection == 1: + core.conversationService.sendStopConversation(actor, npc, 'conversation/faction_recruiter_rebel', 's_57') + return + return + +def endConversation(core, actor, npc): + core.conversationService.sendStopConversation(actor, npc, 'conversation/faction_recruiter_imperial', 's_304') + return \ No newline at end of file diff --git a/scripts/mobiles/canon/scout_trooper.py b/scripts/mobiles/canon/scout_trooper.py new file mode 100644 index 00000000..2b446944 --- /dev/null +++ b/scripts/mobiles/canon/scout_trooper.py @@ -0,0 +1,31 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('scout_trooper') + mobileTemplate.setLevel(90) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(24) + mobileTemplate.setAttackSpeed(0.4) + mobileTemplate.setWeaponType(1) + + templates = Vector() + templates.add('object/mobile/shared_dressed_scout_trooper_m.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/ranged/pistol/shared_pistol_scout_blaster.iff', 0, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + + attacks = Vector() + mobileTemplate.setDefaultAttack('rangedShot') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('scout_trooper', mobileTemplate) + diff --git a/scripts/mobiles/canon/swamp_trooper.py b/scripts/mobiles/canon/swamp_trooper.py new file mode 100644 index 00000000..4ade7e9a --- /dev/null +++ b/scripts/mobiles/canon/swamp_trooper.py @@ -0,0 +1,31 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('swamp_trooper') + mobileTemplate.setLevel(33) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(24) + mobileTemplate.setAttackSpeed(0.4) + mobileTemplate.setWeaponType(0) + + templates = Vector() + templates.add('object/mobile/shared_dressed_swamp_trooper_m.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/ranged/pistol/shared_pistol_scout_blaster.iff', 0, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + + attacks = Vector() + mobileTemplate.setDefaultAttack('rangedShot') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('swamp_trooper', mobileTemplate) + diff --git a/scripts/mobiles/lairs/tatooine_rill_lair_neutral_small.py b/scripts/mobiles/lairs/tatooine_rill_lair_neutral_small.py new file mode 100644 index 00000000..5eed8400 --- /dev/null +++ b/scripts/mobiles/lairs/tatooine_rill_lair_neutral_small.py @@ -0,0 +1,5 @@ +import sys + +def addTemplate(core): + core.spawnService.addLairTemplate('tatooine_rill_lair_neutral_small', 'rill', 15, 'object/tangible/lair/base/shared_poi_all_lair_brambles_small.iff') + return \ No newline at end of file diff --git a/scripts/mobiles/lairs/tatooine_worrt_lair_neutral_small.py b/scripts/mobiles/lairs/tatooine_worrt_lair_neutral_small.py new file mode 100644 index 00000000..87905581 --- /dev/null +++ b/scripts/mobiles/lairs/tatooine_worrt_lair_neutral_small.py @@ -0,0 +1,5 @@ +import sys + +def addTemplate(core): + core.spawnService.addLairTemplate('tatooine_worrt_lair_neutral_small', 'worrt', 15, 'object/tangible/lair/base/shared_poi_all_lair_brambles_small.iff') + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/adolescent_krayt_dragon.py b/scripts/mobiles/tatooine/adolescent_krayt_dragon.py new file mode 100644 index 00000000..c1c3fb85 --- /dev/null +++ b/scripts/mobiles/tatooine/adolescent_krayt_dragon.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('krayt_dragon_adolescent') + mobileTemplate.setLevel(84) + mobileTemplate.setDifficulty(2) + mobileTemplate.setAttackRange(12) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_krayt_dragon.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('adolescent_krayt_dragon', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/armodragon.py b/scripts/mobiles/tatooine/armodragon.py new file mode 100644 index 00000000..494e4228 --- /dev/null +++ b/scripts/mobiles/tatooine/armodragon.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dragonet_armodragon') + mobileTemplate.setLevel(25) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(15) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dragonet.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureRangedAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('armodragon', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/bantha_low.py b/scripts/mobiles/tatooine/bantha_low.py new file mode 100644 index 00000000..0238608e --- /dev/null +++ b/scripts/mobiles/tatooine/bantha_low.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('bantha') + mobileTemplate.setLevel(8) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bantha_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('bantha_low', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/bantha_matriarch.py b/scripts/mobiles/tatooine/bantha_matriarch.py new file mode 100644 index 00000000..a0b5b7c5 --- /dev/null +++ b/scripts/mobiles/tatooine/bantha_matriarch.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('bantha matriarch') + mobileTemplate.setLevel(15) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_matriarch_bantha.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('bantha_matriarch', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/blight_boar.py b/scripts/mobiles/tatooine/blight_boar.py new file mode 100644 index 00000000..b25a7441 --- /dev/null +++ b/scripts/mobiles/tatooine/blight_boar.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('zucca_boar_blight') + mobileTemplate.setLevel(9) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_zucca_boar.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('blight_boar', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/bocatt.py b/scripts/mobiles/tatooine/bocatt.py new file mode 100644 index 00000000..3cbf9cc1 --- /dev/null +++ b/scripts/mobiles/tatooine/bocatt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('bocatt') + mobileTemplate.setLevel(17) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(15) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bocatt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureRangedAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('bocatt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/bonecracker_bantha.py b/scripts/mobiles/tatooine/bonecracker_bantha.py new file mode 100644 index 00000000..42341f23 --- /dev/null +++ b/scripts/mobiles/tatooine/bonecracker_bantha.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('bantha_bonecracker') + mobileTemplate.setLevel(21) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bantha_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('bonecracker_bantha', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/bull_bantha.py b/scripts/mobiles/tatooine/bull_bantha.py new file mode 100644 index 00000000..c4626e21 --- /dev/null +++ b/scripts/mobiles/tatooine/bull_bantha.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('bull_bantha') + mobileTemplate.setLevel(15) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bantha_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('bull_bantha', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/bull_ronto.py b/scripts/mobiles/tatooine/bull_ronto.py new file mode 100644 index 00000000..d75ca648 --- /dev/null +++ b/scripts/mobiles/tatooine/bull_ronto.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('ronto_male') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_ronto.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('bullronto', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/cannibal_dewback.py b/scripts/mobiles/tatooine/cannibal_dewback.py new file mode 100644 index 00000000..941c0ebf --- /dev/null +++ b/scripts/mobiles/tatooine/cannibal_dewback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dewback_cannibal') + mobileTemplate.setLevel(13) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dewback.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('cannibal_dewback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/canyon_krayt_dragon.py b/scripts/mobiles/tatooine/canyon_krayt_dragon.py new file mode 100644 index 00000000..7eb53cc6 --- /dev/null +++ b/scripts/mobiles/tatooine/canyon_krayt_dragon.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('canyon_krayt_dragon') + mobileTemplate.setLevel(85) + mobileTemplate.setDifficulty(2) + mobileTemplate.setAttackRange(12) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_canyon_krayt_dragon.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('canyon_krayt_dragon', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/carion_kreetle.py b/scripts/mobiles/tatooine/carion_kreetle.py new file mode 100644 index 00000000..f1a1bf01 --- /dev/null +++ b/scripts/mobiles/tatooine/carion_kreetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('fragile_kreetle') + mobileTemplate.setLevel(2) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_kreetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('carrion_kreetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/cave_beetle.py b/scripts/mobiles/tatooine/cave_beetle.py new file mode 100644 index 00000000..2a98b7bc --- /dev/null +++ b/scripts/mobiles/tatooine/cave_beetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('cave_beetle') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(15) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureRangedAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('cave_beetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/city_rockmite.py b/scripts/mobiles/tatooine/city_rockmite.py new file mode 100644 index 00000000..b31914f3 --- /dev/null +++ b/scripts/mobiles/tatooine/city_rockmite.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('city_rockmite') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_mite.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('city_rockmite', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/city_sewer_swamprat.py b/scripts/mobiles/tatooine/city_sewer_swamprat.py new file mode 100644 index 00000000..ecb72a17 --- /dev/null +++ b/scripts/mobiles/tatooine/city_sewer_swamprat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('city_sewer_swamprat') + mobileTemplate.setLevel(3) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('city_sewer_swamprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/cupa.py b/scripts/mobiles/tatooine/cupa.py new file mode 100644 index 00000000..b44cff3a --- /dev/null +++ b/scripts/mobiles/tatooine/cupa.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('cu_pa') + mobileTemplate.setLevel(3) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_cu_pa.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('cu_pa', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/death_kreetle.py b/scripts/mobiles/tatooine/death_kreetle.py new file mode 100644 index 00000000..5e39d8ae --- /dev/null +++ b/scripts/mobiles/tatooine/death_kreetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('kreetle_death') + mobileTemplate.setLevel(7) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_kreetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('death_kreetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/desert_eopie.py b/scripts/mobiles/tatooine/desert_eopie.py new file mode 100644 index 00000000..be18b6bb --- /dev/null +++ b/scripts/mobiles/tatooine/desert_eopie.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('desert_eopie') + mobileTemplate.setLevel(16) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_eopie.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('desert_eopie', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/desert_kreetle.py b/scripts/mobiles/tatooine/desert_kreetle.py new file mode 100644 index 00000000..bddbbf1a --- /dev/null +++ b/scripts/mobiles/tatooine/desert_kreetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('orphan_kreetle') + mobileTemplate.setLevel(3) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_kreetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('desert_kreetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/desert_razorback.py b/scripts/mobiles/tatooine/desert_razorback.py new file mode 100644 index 00000000..6e07cd81 --- /dev/null +++ b/scripts/mobiles/tatooine/desert_razorback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('desert_razorback') + mobileTemplate.setLevel(23) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_zucca_boar.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('desert_razorback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/desert_squill.py b/scripts/mobiles/tatooine/desert_squill.py new file mode 100644 index 00000000..2ab4b5ca --- /dev/null +++ b/scripts/mobiles/tatooine/desert_squill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('desert_squill') + mobileTemplate.setLevel(14) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('desert_squill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/dimu_bantha.py b/scripts/mobiles/tatooine/dimu_bantha.py new file mode 100644 index 00000000..5280c721 --- /dev/null +++ b/scripts/mobiles/tatooine/dimu_bantha.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dim_u_bantha') + mobileTemplate.setLevel(3) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bantha_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('dim-u_bantha', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/diseased_bocatt.py b/scripts/mobiles/tatooine/diseased_bocatt.py new file mode 100644 index 00000000..96bb977e --- /dev/null +++ b/scripts/mobiles/tatooine/diseased_bocatt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('bocatt_diseased') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bocatt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('diseased_bocatt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/domestic_eopie.py b/scripts/mobiles/tatooine/domestic_eopie.py new file mode 100644 index 00000000..33e8077b --- /dev/null +++ b/scripts/mobiles/tatooine/domestic_eopie.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('domestic_eopie') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_eopie.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('domestic_eopie', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/dragonet.py b/scripts/mobiles/tatooine/dragonet.py new file mode 100644 index 00000000..5d8cb006 --- /dev/null +++ b/scripts/mobiles/tatooine/dragonet.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dragonet') + mobileTemplate.setLevel(24) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(15) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dune_lizard.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureRangedAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('dragonet', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/drooling_nuna.py b/scripts/mobiles/tatooine/drooling_nuna.py new file mode 100644 index 00000000..b729515c --- /dev/null +++ b/scripts/mobiles/tatooine/drooling_nuna.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dwarf_nuna_drooling') + mobileTemplate.setLevel(2) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_nuna.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('drooling_nuna', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/dune_bantha.py b/scripts/mobiles/tatooine/dune_bantha.py new file mode 100644 index 00000000..cb29c496 --- /dev/null +++ b/scripts/mobiles/tatooine/dune_bantha.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dune_bantha') + mobileTemplate.setLevel(20) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bantha_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('dune_bantha', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/dune_beetle.py b/scripts/mobiles/tatooine/dune_beetle.py new file mode 100644 index 00000000..9cc34df7 --- /dev/null +++ b/scripts/mobiles/tatooine/dune_beetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dune_beetle') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_giant_sand_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('dune_beetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/dune_lizard.py b/scripts/mobiles/tatooine/dune_lizard.py new file mode 100644 index 00000000..ec826be0 --- /dev/null +++ b/scripts/mobiles/tatooine/dune_lizard.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dune_lizard') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dune_lizard.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('dune_lizard', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/dwarf_bantha.py b/scripts/mobiles/tatooine/dwarf_bantha.py new file mode 100644 index 00000000..6c8449ca --- /dev/null +++ b/scripts/mobiles/tatooine/dwarf_bantha.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dwarf_bantha') + mobileTemplate.setLevel(10) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dwarf_bantha.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('dwarf_bantha', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/dwarf_eopie.py b/scripts/mobiles/tatooine/dwarf_eopie.py new file mode 100644 index 00000000..cb9a80cc --- /dev/null +++ b/scripts/mobiles/tatooine/dwarf_eopie.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dwarf_eopie') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dwarf_eopie.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('dwarf_eopie', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/dwarf_nuna.py b/scripts/mobiles/tatooine/dwarf_nuna.py new file mode 100644 index 00000000..423fb7d9 --- /dev/null +++ b/scripts/mobiles/tatooine/dwarf_nuna.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dwarf_nuna') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dwarf_nuna.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('dwarf_nuna', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/elder_zucca_boar.py b/scripts/mobiles/tatooine/elder_zucca_boar.py new file mode 100644 index 00000000..11e040e2 --- /dev/null +++ b/scripts/mobiles/tatooine/elder_zucca_boar.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('zucca_boar_elder') + mobileTemplate.setLevel(8) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_zucca_boar.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('elder_zucca_boar', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/elite_dewback_cannibal.py b/scripts/mobiles/tatooine/elite_dewback_cannibal.py new file mode 100644 index 00000000..910ba869 --- /dev/null +++ b/scripts/mobiles/tatooine/elite_dewback_cannibal.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite_dewback_canibal') + mobileTemplate.setLevel(13) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dewback.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('elite_dewback_cannibal', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/elite_dragonet.py b/scripts/mobiles/tatooine/elite_dragonet.py new file mode 100644 index 00000000..481b2d64 --- /dev/null +++ b/scripts/mobiles/tatooine/elite_dragonet.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite_dragonet') + mobileTemplate.setLevel(24) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(15) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dragonet.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_large_toxicgreen.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureRangedAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('elite_dragonet', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/elite_dune_lizard.py b/scripts/mobiles/tatooine/elite_dune_lizard.py new file mode 100644 index 00000000..a0adf4e8 --- /dev/null +++ b/scripts/mobiles/tatooine/elite_dune_lizard.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite_dune_lizard') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(15) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dune_lizard.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_large_toxicgreen.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureRangedAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('elite_dune_lizard', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/elite_giant_sand_beetle.py b/scripts/mobiles/tatooine/elite_giant_sand_beetle.py new file mode 100644 index 00000000..c21a083c --- /dev/null +++ b/scripts/mobiles/tatooine/elite_giant_sand_beetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite_giant_sand_beetle') + mobileTemplate.setLevel(25) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_giant_sand_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('elite_giant_sand_beetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/elite_mutant_womprat.py b/scripts/mobiles/tatooine/elite_mutant_womprat.py new file mode 100644 index 00000000..de786778 --- /dev/null +++ b/scripts/mobiles/tatooine/elite_mutant_womprat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite_mutant_womprat') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('womprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/elite_ronto.py b/scripts/mobiles/tatooine/elite_ronto.py new file mode 100644 index 00000000..a5d22cef --- /dev/null +++ b/scripts/mobiles/tatooine/elite_ronto.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite_ronto_ronto') + mobileTemplate.setLevel(17) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_ronto.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('elite_ronto', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/elite_scyk.py b/scripts/mobiles/tatooine/elite_scyk.py new file mode 100644 index 00000000..54ad052c --- /dev/null +++ b/scripts/mobiles/tatooine/elite_scyk.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite_scyk') + mobileTemplate.setLevel(11) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_scyk.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('elite_scyk', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/elite_sevorrt.py b/scripts/mobiles/tatooine/elite_sevorrt.py new file mode 100644 index 00000000..190a9e26 --- /dev/null +++ b/scripts/mobiles/tatooine/elite_sevorrt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite_sevorrt') + mobileTemplate.setLevel(8) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_sevorrt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('elite_sevorrt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/enraged_mountain_dewback.py b/scripts/mobiles/tatooine/enraged_mountain_dewback.py new file mode 100644 index 00000000..dfebff92 --- /dev/null +++ b/scripts/mobiles/tatooine/enraged_mountain_dewback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite_mountain_dewback') + mobileTemplate.setLevel(22) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dewback.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('enraged_mountain_dewback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/enraged_squill.py b/scripts/mobiles/tatooine/enraged_squill.py new file mode 100644 index 00000000..3fd86349 --- /dev/null +++ b/scripts/mobiles/tatooine/enraged_squill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite_squill') + mobileTemplate.setLevel(12) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('enraged_squill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/eoni.py b/scripts/mobiles/tatooine/eoni.py new file mode 100644 index 00000000..0dd12e09 --- /dev/null +++ b/scripts/mobiles/tatooine/eoni.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite_jundland_eopie') + mobileTemplate.setLevel(21) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_eopie.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('eoni', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/eopie.py b/scripts/mobiles/tatooine/eopie.py new file mode 100644 index 00000000..8e1f5ae7 --- /dev/null +++ b/scripts/mobiles/tatooine/eopie.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('eopie') + mobileTemplate.setLevel(4) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_eopie.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('eopie', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/eopie_herdmaster.py b/scripts/mobiles/tatooine/eopie_herdmaster.py new file mode 100644 index 00000000..f8abe532 --- /dev/null +++ b/scripts/mobiles/tatooine/eopie_herdmaster.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('eopie_herdmaster') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_eopie.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('eopie_herdmaster', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/female_mountain_squill.py b/scripts/mobiles/tatooine/female_mountain_squill.py new file mode 100644 index 00000000..e2da21e4 --- /dev/null +++ b/scripts/mobiles/tatooine/female_mountain_squill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('female_mountain_squill') + mobileTemplate.setLevel(17) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('female_mountain_squill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/feral_bantha.py b/scripts/mobiles/tatooine/feral_bantha.py new file mode 100644 index 00000000..fcbbbebc --- /dev/null +++ b/scripts/mobiles/tatooine/feral_bantha.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('feral_bantha') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(15) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bantha_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('feral_bantha', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/furios_ronto.py b/scripts/mobiles/tatooine/furios_ronto.py new file mode 100644 index 00000000..c8c4fe74 --- /dev/null +++ b/scripts/mobiles/tatooine/furios_ronto.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('ronto_furious') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_ronto.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('furious_ronto', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/giant_canyon_krayt_dragon.py b/scripts/mobiles/tatooine/giant_canyon_krayt_dragon.py new file mode 100644 index 00000000..2d86f3cd --- /dev/null +++ b/scripts/mobiles/tatooine/giant_canyon_krayt_dragon.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('giant_canyon_krayt_dragon') + mobileTemplate.setLevel(87) + mobileTemplate.setDifficulty(2) + mobileTemplate.setAttackRange(12) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_krayt_dragon.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('giant_canyon_krayt_dragon', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/giant_sand_beetle.py b/scripts/mobiles/tatooine/giant_sand_beetle.py new file mode 100644 index 00000000..2f9138d5 --- /dev/null +++ b/scripts/mobiles/tatooine/giant_sand_beetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('giant_sand_beetle') + mobileTemplate.setLevel(25) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_giant_sand_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('giant_sand_beetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/giant_worrt.py b/scripts/mobiles/tatooine/giant_worrt.py new file mode 100644 index 00000000..27edbbed --- /dev/null +++ b/scripts/mobiles/tatooine/giant_worrt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('giant_worrt') + mobileTemplate.setLevel(13) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_giant_worrt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('giant_worrt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/gorg.py b/scripts/mobiles/tatooine/gorg.py new file mode 100644 index 00000000..731c5d4a --- /dev/null +++ b/scripts/mobiles/tatooine/gorg.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('gorg') + mobileTemplate.setLevel(2) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_gorg.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('gorg', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/gorg_glutton.py b/scripts/mobiles/tatooine/gorg_glutton.py new file mode 100644 index 00000000..7eaddd81 --- /dev/null +++ b/scripts/mobiles/tatooine/gorg_glutton.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('gorg_glutton') + mobileTemplate.setLevel(2) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_gorg.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('gorg_glutton', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/grand_krayt_dragon.py b/scripts/mobiles/tatooine/grand_krayt_dragon.py new file mode 100644 index 00000000..d149306b --- /dev/null +++ b/scripts/mobiles/tatooine/grand_krayt_dragon.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('krayt_dragon_grand') + mobileTemplate.setLevel(88) + mobileTemplate.setDifficulty(2) + mobileTemplate.setAttackRange(12) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_krayt_dragon.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('grand_krayt_dragon', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/great_squill.py b/scripts/mobiles/tatooine/great_squill.py new file mode 100644 index 00000000..ec27d549 --- /dev/null +++ b/scripts/mobiles/tatooine/great_squill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('squill_great') + mobileTemplate.setLevel(13) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('great_squill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/greater_desert_womprat.py b/scripts/mobiles/tatooine/greater_desert_womprat.py new file mode 100644 index 00000000..cbf1c39a --- /dev/null +++ b/scripts/mobiles/tatooine/greater_desert_womprat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('greater_desert_womprat') + mobileTemplate.setLevel(12) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(15) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_greater_desert_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureRangedAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('greater_desert_womprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/grizzled_dewback.py b/scripts/mobiles/tatooine/grizzled_dewback.py new file mode 100644 index 00000000..416f9a58 --- /dev/null +++ b/scripts/mobiles/tatooine/grizzled_dewback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('grizzled_dewback') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dewback.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('grizzled_dewback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/harmony_worrt.py b/scripts/mobiles/tatooine/harmony_worrt.py new file mode 100644 index 00000000..07f24218 --- /dev/null +++ b/scripts/mobiles/tatooine/harmony_worrt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('harmony_worrt') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_worrt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('harmony_worrt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/jundland_eopie.py b/scripts/mobiles/tatooine/jundland_eopie.py new file mode 100644 index 00000000..ee6cf43c --- /dev/null +++ b/scripts/mobiles/tatooine/jundland_eopie.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('jundland_eopie') + mobileTemplate.setLevel(21) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_eopie.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('jundland_eopie', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/juvenile_canyon_krayt_dragon.py b/scripts/mobiles/tatooine/juvenile_canyon_krayt_dragon.py new file mode 100644 index 00000000..d06ec11d --- /dev/null +++ b/scripts/mobiles/tatooine/juvenile_canyon_krayt_dragon.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('juvenile_canyon_krayt') + mobileTemplate.setLevel(82) + mobileTemplate.setDifficulty(2) + mobileTemplate.setAttackRange(12) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_juvenile_canyon_krayt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('juvenile_canyon_krayt_dragon', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/kreetle_swarmling.py b/scripts/mobiles/tatooine/kreetle_swarmling.py new file mode 100644 index 00000000..9f998e07 --- /dev/null +++ b/scripts/mobiles/tatooine/kreetle_swarmling.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('kreetle_swarming') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_kreetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('kreetle_swarmling', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/large_cave_beetle.py b/scripts/mobiles/tatooine/large_cave_beetle.py new file mode 100644 index 00000000..ccfc9a8d --- /dev/null +++ b/scripts/mobiles/tatooine/large_cave_beetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('large_cave_beetle') + mobileTemplate.setLevel(21) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(15) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureRangedAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('large_cave_beetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/large_rock_beetle1.py b/scripts/mobiles/tatooine/large_rock_beetle1.py new file mode 100644 index 00000000..39078fb6 --- /dev/null +++ b/scripts/mobiles/tatooine/large_rock_beetle1.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('large_rock_beetle') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(15) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureRangedAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('large_rock_beetle_1', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/large_rock_beetle2.py b/scripts/mobiles/tatooine/large_rock_beetle2.py new file mode 100644 index 00000000..dfadc654 --- /dev/null +++ b/scripts/mobiles/tatooine/large_rock_beetle2.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('large_rock_beetle') + mobileTemplate.setLevel(19) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('large_rock_beetle_2', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/large_rock_beetle3.py b/scripts/mobiles/tatooine/large_rock_beetle3.py new file mode 100644 index 00000000..1cca8d4e --- /dev/null +++ b/scripts/mobiles/tatooine/large_rock_beetle3.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('large_rock_beetle') + mobileTemplate.setLevel(19) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('large_rock_beetle_3', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/large_sand_beetle.py b/scripts/mobiles/tatooine/large_sand_beetle.py new file mode 100644 index 00000000..2bfc2cb9 --- /dev/null +++ b/scripts/mobiles/tatooine/large_sand_beetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('large_sand_beetle') + mobileTemplate.setLevel(24) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_giant_sand_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('large_sand_beetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/lesser_bocatt.py b/scripts/mobiles/tatooine/lesser_bocatt.py new file mode 100644 index 00000000..d768a79b --- /dev/null +++ b/scripts/mobiles/tatooine/lesser_bocatt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('lesser_bocatt') + mobileTemplate.setLevel(14) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bocatt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('lesser_bocatt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/lesser_desert_womprat.py b/scripts/mobiles/tatooine/lesser_desert_womprat.py new file mode 100644 index 00000000..66ff6a9f --- /dev/null +++ b/scripts/mobiles/tatooine/lesser_desert_womprat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('lesser_desert_womprat') + mobileTemplate.setLevel(4) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_lesser_desert_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('lesser_deser_womprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/lesser_dewback.py b/scripts/mobiles/tatooine/lesser_dewback.py new file mode 100644 index 00000000..d6a49360 --- /dev/null +++ b/scripts/mobiles/tatooine/lesser_dewback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('lesser_dewback') + mobileTemplate.setLevel(4) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dewback.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('lesser_dewback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/malignant_squill.py b/scripts/mobiles/tatooine/malignant_squill.py new file mode 100644 index 00000000..2b96c627 --- /dev/null +++ b/scripts/mobiles/tatooine/malignant_squill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('malignant_squill') + mobileTemplate.setLevel(50) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('malignant_squill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/minor_worrt.py b/scripts/mobiles/tatooine/minor_worrt.py new file mode 100644 index 00000000..5ffa7afe --- /dev/null +++ b/scripts/mobiles/tatooine/minor_worrt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('minor_worrt') + mobileTemplate.setLevel(3) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_minor_worrt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('minor_worrt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/mound_mite.py b/scripts/mobiles/tatooine/mound_mite.py new file mode 100644 index 00000000..c62a5715 --- /dev/null +++ b/scripts/mobiles/tatooine/mound_mite.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('mound_mite') + mobileTemplate.setLevel(4) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_mound_mite.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('mound_mite', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/mountain_dewback.py b/scripts/mobiles/tatooine/mountain_dewback.py new file mode 100644 index 00000000..6b73306f --- /dev/null +++ b/scripts/mobiles/tatooine/mountain_dewback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('mountain_dewback') + mobileTemplate.setLevel(22) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_mountain_dewback.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('mountain_dewback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/mountain_squill.py b/scripts/mobiles/tatooine/mountain_squill.py new file mode 100644 index 00000000..052d4e62 --- /dev/null +++ b/scripts/mobiles/tatooine/mountain_squill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('mountain_squill') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_mountain_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('mountain_squill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/mountain_squill_guardian.py b/scripts/mobiles/tatooine/mountain_squill_guardian.py new file mode 100644 index 00000000..5b402840 --- /dev/null +++ b/scripts/mobiles/tatooine/mountain_squill_guardian.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('mountain_squill_guardian') + mobileTemplate.setLevel(19) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_mountain_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('mountain_squill_guardian', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/mountain_squill_hunter.py b/scripts/mobiles/tatooine/mountain_squill_hunter.py new file mode 100644 index 00000000..5393c868 --- /dev/null +++ b/scripts/mobiles/tatooine/mountain_squill_hunter.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('mountain_squill_hunter') + mobileTemplate.setLevel(19) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_mountain_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('mountain_squill_hunter', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/mountain_worrt.py b/scripts/mobiles/tatooine/mountain_worrt.py new file mode 100644 index 00000000..1790dd65 --- /dev/null +++ b/scripts/mobiles/tatooine/mountain_worrt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('mountain_worrt') + mobileTemplate.setLevel(19) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(15) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_worrt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureRangedAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('mountain_worrt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/mutant_womprat.py b/scripts/mobiles/tatooine/mutant_womprat.py new file mode 100644 index 00000000..831182ac --- /dev/null +++ b/scripts/mobiles/tatooine/mutant_womprat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('mutant_womprat') + mobileTemplate.setLevel(12) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('womprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/overkreetle.py b/scripts/mobiles/tatooine/overkreetle.py new file mode 100644 index 00000000..7f6bb056 --- /dev/null +++ b/scripts/mobiles/tatooine/overkreetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('kreetle_over') + mobileTemplate.setLevel(11) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_kreetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('overkreetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/parry_stormtrooper_dewback.py b/scripts/mobiles/tatooine/parry_stormtrooper_dewback.py new file mode 100644 index 00000000..9c961a1f --- /dev/null +++ b/scripts/mobiles/tatooine/parry_stormtrooper_dewback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('parry_stormtrooper_dewback') + mobileTemplate.setLevel(17) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dewback_armored.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('parry_stormtrooper_dewback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/plaque_rat.py b/scripts/mobiles/tatooine/plaque_rat.py new file mode 100644 index 00000000..53a5a8e1 --- /dev/null +++ b/scripts/mobiles/tatooine/plaque_rat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('womprat_plague') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('plaque_womprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/razorback_felspur.py b/scripts/mobiles/tatooine/razorback_felspur.py new file mode 100644 index 00000000..ca591441 --- /dev/null +++ b/scripts/mobiles/tatooine/razorback_felspur.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('desert_razorback_felspur') + mobileTemplate.setLevel(24) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_zucca_boar.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('razorback_felspur', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/razorclaw.py b/scripts/mobiles/tatooine/razorclaw.py new file mode 100644 index 00000000..2434283f --- /dev/null +++ b/scripts/mobiles/tatooine/razorclaw.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite_desert_razorback') + mobileTemplate.setLevel(23) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_zucca_boar.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('razorclaw', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/rill.py b/scripts/mobiles/tatooine/rill.py new file mode 100644 index 00000000..9e82c0c2 --- /dev/null +++ b/scripts/mobiles/tatooine/rill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('rill') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('rill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/rock_beetle.py b/scripts/mobiles/tatooine/rock_beetle.py new file mode 100644 index 00000000..e5241063 --- /dev/null +++ b/scripts/mobiles/tatooine/rock_beetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('rock_beetle') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(15) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureRangedAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('rock_beetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/rock_beetle1.py b/scripts/mobiles/tatooine/rock_beetle1.py new file mode 100644 index 00000000..6145a123 --- /dev/null +++ b/scripts/mobiles/tatooine/rock_beetle1.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('rock_beetle') + mobileTemplate.setLevel(19) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(15) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureRangedAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('rock_beetle_1', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/rock_beetle_cave.py b/scripts/mobiles/tatooine/rock_beetle_cave.py new file mode 100644 index 00000000..afa926ac --- /dev/null +++ b/scripts/mobiles/tatooine/rock_beetle_cave.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('rock_beetle_cave') + mobileTemplate.setLevel(19) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(15) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureRangedAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('rock_beetle_cave', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/rockmite.py b/scripts/mobiles/tatooine/rockmite.py new file mode 100644 index 00000000..bd6f39e5 --- /dev/null +++ b/scripts/mobiles/tatooine/rockmite.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('rockmite') + mobileTemplate.setLevel(8) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rock_mite.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('rockmite', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/ronto.py b/scripts/mobiles/tatooine/ronto.py new file mode 100644 index 00000000..68e02924 --- /dev/null +++ b/scripts/mobiles/tatooine/ronto.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('ronto') + mobileTemplate.setLevel(17) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_ronto.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('ronto', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/runted_rill.py b/scripts/mobiles/tatooine/runted_rill.py new file mode 100644 index 00000000..dd84444f --- /dev/null +++ b/scripts/mobiles/tatooine/runted_rill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('runted_rill') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('runted_rill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/sand_beetle.py b/scripts/mobiles/tatooine/sand_beetle.py new file mode 100644 index 00000000..072fa787 --- /dev/null +++ b/scripts/mobiles/tatooine/sand_beetle.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('sand_beetle') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(1) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_giant_sand_beetle.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('sand_beetle', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/sandreaver.py b/scripts/mobiles/tatooine/sandreaver.py new file mode 100644 index 00000000..86af2d0b --- /dev/null +++ b/scripts/mobiles/tatooine/sandreaver.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dewback_sandreaver') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dewback.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('sandreaver', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/savage_zucca_boar.py b/scripts/mobiles/tatooine/savage_zucca_boar.py new file mode 100644 index 00000000..646cc819 --- /dev/null +++ b/scripts/mobiles/tatooine/savage_zucca_boar.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite_zucca_boar') + mobileTemplate.setLevel(8) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_zucca_boar.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('savage_zucca_boar', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/scyk.py b/scripts/mobiles/tatooine/scyk.py new file mode 100644 index 00000000..f3c09a86 --- /dev/null +++ b/scripts/mobiles/tatooine/scyk.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('scyk') + mobileTemplate.setLevel(11) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_scyk.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('scyk', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/sevorrt.py b/scripts/mobiles/tatooine/sevorrt.py new file mode 100644 index 00000000..3bcd9926 --- /dev/null +++ b/scripts/mobiles/tatooine/sevorrt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('sevorrt') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_sevorrt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('sevorrt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/sewer_worrt.py b/scripts/mobiles/tatooine/sewer_worrt.py new file mode 100644 index 00000000..ac614b18 --- /dev/null +++ b/scripts/mobiles/tatooine/sewer_worrt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('sewer_worrt') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_worrt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('sewer_worrt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/sickly_womprat.py b/scripts/mobiles/tatooine/sickly_womprat.py new file mode 100644 index 00000000..3961ece7 --- /dev/null +++ b/scripts/mobiles/tatooine/sickly_womprat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('sickly_womprat') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('sickly_womprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/slum_rat.py b/scripts/mobiles/tatooine/slum_rat.py new file mode 100644 index 00000000..90eeb0cf --- /dev/null +++ b/scripts/mobiles/tatooine/slum_rat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('womprat_city') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('slum_rat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/snarlfang.py b/scripts/mobiles/tatooine/snarlfang.py new file mode 100644 index 00000000..95aa8910 --- /dev/null +++ b/scripts/mobiles/tatooine/snarlfang.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('elite_bocatt') + mobileTemplate.setLevel(17) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(15) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bocatt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureRangedAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('snarlfang', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/squill.py b/scripts/mobiles/tatooine/squill.py new file mode 100644 index 00000000..61abb0a3 --- /dev/null +++ b/scripts/mobiles/tatooine/squill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('squill') + mobileTemplate.setLevel(12) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('squill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/stormtrooper_dewback.py b/scripts/mobiles/tatooine/stormtrooper_dewback.py new file mode 100644 index 00000000..b6dcea7f --- /dev/null +++ b/scripts/mobiles/tatooine/stormtrooper_dewback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('stormtrooper_dewback') + mobileTemplate.setLevel(14) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dewback_armored.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('stormtrooper_dewback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/sunstained_dunelizard.py b/scripts/mobiles/tatooine/sunstained_dunelizard.py new file mode 100644 index 00000000..03737a37 --- /dev/null +++ b/scripts/mobiles/tatooine/sunstained_dunelizard.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('dune_lizard_sunstained') + mobileTemplate.setLevel(19) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dune_lizard.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('sunstained_dune_lizard', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/swarming_lesser_dewback.py b/scripts/mobiles/tatooine/swarming_lesser_dewback.py new file mode 100644 index 00000000..88fae935 --- /dev/null +++ b/scripts/mobiles/tatooine/swarming_lesser_dewback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('swarming_lesser_dewback') + mobileTemplate.setLevel(13) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_swarming_lesser_dewback.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('swarming_lesser_dewback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/tame_rill.py b/scripts/mobiles/tatooine/tame_rill.py new file mode 100644 index 00000000..4ec78cae --- /dev/null +++ b/scripts/mobiles/tatooine/tame_rill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('tame_rill') + mobileTemplate.setLevel(1) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('tame_rill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/tame_womprat.py b/scripts/mobiles/tatooine/tame_womprat.py new file mode 100644 index 00000000..bbc970a1 --- /dev/null +++ b/scripts/mobiles/tatooine/tame_womprat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('tame_womprat') + mobileTemplate.setLevel(2) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('tame_womprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/tame_worrt.py b/scripts/mobiles/tatooine/tame_worrt.py new file mode 100644 index 00000000..75bda089 --- /dev/null +++ b/scripts/mobiles/tatooine/tame_worrt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('tame_worrt') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_worrt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('tame_worrt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/tatooine_mynock.py b/scripts/mobiles/tatooine/tatooine_mynock.py new file mode 100644 index 00000000..64b3e4f1 --- /dev/null +++ b/scripts/mobiles/tatooine/tatooine_mynock.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('tatooine_mynock') + mobileTemplate.setLevel(2) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_mynock.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('tatooine_mynock', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/tempest_rill.py b/scripts/mobiles/tatooine/tempest_rill.py new file mode 100644 index 00000000..d5df155c --- /dev/null +++ b/scripts/mobiles/tatooine/tempest_rill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('rill_tempest') + mobileTemplate.setLevel(8) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('tempest_rill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/tormented_bocatt.py b/scripts/mobiles/tatooine/tormented_bocatt.py new file mode 100644 index 00000000..ed5c4ecd --- /dev/null +++ b/scripts/mobiles/tatooine/tormented_bocatt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('bocatt_tormented') + mobileTemplate.setLevel(18) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(15) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bocatt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/ranged/creature/shared_creature_spit_small_toxicgreen.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureRangedAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('tormented_bocatt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/tusken_bantha.py b/scripts/mobiles/tatooine/tusken_bantha.py new file mode 100644 index 00000000..13943979 --- /dev/null +++ b/scripts/mobiles/tatooine/tusken_bantha.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('feeder_tusken_bantha') + mobileTemplate.setLevel(30) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_bantha_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('tusken_bantha', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/twisted_dewback.py b/scripts/mobiles/tatooine/twisted_dewback.py new file mode 100644 index 00000000..f88b8020 --- /dev/null +++ b/scripts/mobiles/tatooine/twisted_dewback.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('twisted_dewback') + mobileTemplate.setLevel(11) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_dewback.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('twisted_dewback', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/twisted_rill.py b/scripts/mobiles/tatooine/twisted_rill.py new file mode 100644 index 00000000..977dd020 --- /dev/null +++ b/scripts/mobiles/tatooine/twisted_rill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('twisted_rill') + mobileTemplate.setLevel(11) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('twisted_rill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/twisted_womprat.py b/scripts/mobiles/tatooine/twisted_womprat.py new file mode 100644 index 00000000..851ffcda --- /dev/null +++ b/scripts/mobiles/tatooine/twisted_womprat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('twisted_womprat') + mobileTemplate.setLevel(11) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('twisted_womprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/variegated_womprat.py b/scripts/mobiles/tatooine/variegated_womprat.py new file mode 100644 index 00000000..72cc6401 --- /dev/null +++ b/scripts/mobiles/tatooine/variegated_womprat.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('variegated_womprat') + mobileTemplate.setLevel(12) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_variegated_womp_rat.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('variegated_womprat', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/vicious_rill.py b/scripts/mobiles/tatooine/vicious_rill.py new file mode 100644 index 00000000..19262365 --- /dev/null +++ b/scripts/mobiles/tatooine/vicious_rill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('vicious_rill') + mobileTemplate.setLevel(3) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_rill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('vicious_rill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/volatile_scyk.py b/scripts/mobiles/tatooine/volatile_scyk.py new file mode 100644 index 00000000..0262572f --- /dev/null +++ b/scripts/mobiles/tatooine/volatile_scyk.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('scyk_volatile') + mobileTemplate.setLevel(12) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_scyk.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('volatile_scyk', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/wasteland_cupa.py b/scripts/mobiles/tatooine/wasteland_cupa.py new file mode 100644 index 00000000..e7bcd8b2 --- /dev/null +++ b/scripts/mobiles/tatooine/wasteland_cupa.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('wasteland_cu_pa') + mobileTemplate.setLevel(20) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_cu_pa.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('wasteland_cu_pa', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/wild_bladeback_boar.py b/scripts/mobiles/tatooine/wild_bladeback_boar.py new file mode 100644 index 00000000..6568f78f --- /dev/null +++ b/scripts/mobiles/tatooine/wild_bladeback_boar.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('quest_hero_of_tatooine_ferocious_beast') + mobileTemplate.setLevel(40) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_zucca_boar.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('wild_bladeback_boar', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/wild_dune_boar.py b/scripts/mobiles/tatooine/wild_dune_boar.py new file mode 100644 index 00000000..61a673ae --- /dev/null +++ b/scripts/mobiles/tatooine/wild_dune_boar.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('wild_dune_boar') + mobileTemplate.setLevel(50) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_zucca_boar.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('wild_dune_boar', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/wonderous_cupa.py b/scripts/mobiles/tatooine/wonderous_cupa.py new file mode 100644 index 00000000..377aea78 --- /dev/null +++ b/scripts/mobiles/tatooine/wonderous_cupa.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('cu_pa_wonderous') + mobileTemplate.setLevel(12) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_cu_pa.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('wonderous_cu_pa', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/worrt.py b/scripts/mobiles/tatooine/worrt.py new file mode 100644 index 00000000..9adb3b10 --- /dev/null +++ b/scripts/mobiles/tatooine/worrt.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('worrt') + mobileTemplate.setLevel(5) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_worrt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('worrt', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/worrt_gutbuster.py b/scripts/mobiles/tatooine/worrt_gutbuster.py new file mode 100644 index 00000000..83f03334 --- /dev/null +++ b/scripts/mobiles/tatooine/worrt_gutbuster.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('worrt_gutbuster') + mobileTemplate.setLevel(13) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_worrt.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('worrt_gutbuster', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/young_mountain_squill.py b/scripts/mobiles/tatooine/young_mountain_squill.py new file mode 100644 index 00000000..934f5c31 --- /dev/null +++ b/scripts/mobiles/tatooine/young_mountain_squill.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('young_mountain_squill') + mobileTemplate.setLevel(16) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_squill.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('young_mountain_squill', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/tatooine/zucca_boar.py b/scripts/mobiles/tatooine/zucca_boar.py new file mode 100644 index 00000000..8b278a9c --- /dev/null +++ b/scripts/mobiles/tatooine/zucca_boar.py @@ -0,0 +1,30 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('zucca_boar') + mobileTemplate.setLevel(8) + mobileTemplate.setDifficulty(0) + mobileTemplate.setAttackRange(5) + mobileTemplate.setWeaponType(6) + mobileTemplate.setAttackSpeed(1.0) + + templates = Vector() + templates.add('object/mobile/shared_zucca_boar.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', 6, 1.0) + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('zucca_boar', mobileTemplate) + return \ No newline at end of file diff --git a/src/resources/buffs/Buff.java b/src/resources/buffs/Buff.java new file mode 100644 index 00000000..52b9613e --- /dev/null +++ b/src/resources/buffs/Buff.java @@ -0,0 +1,486 @@ +/******************************************************************************* + * Copyright (c) 2013 + * + * This File is part of NGECore2. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. + * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. + ******************************************************************************/ +package resources.buffs; + +import java.nio.ByteOrder; +import java.util.concurrent.Executors; +import java.util.concurrent.ScheduledFuture; +import java.util.concurrent.TimeUnit; + +import main.NGECore; + +import org.apache.mina.core.buffer.IoBuffer; +import org.apache.mina.core.buffer.SimpleBufferAllocator; + +import resources.objects.IDelta; +import resources.objects.creature.CreatureObject; + +import com.sleepycat.persist.model.NotPersistent; +import com.sleepycat.persist.model.Persistent; + +import engine.resources.common.CRC; + +@Persistent(version=10) +public class Buff implements IDelta { + + @NotPersistent + private SimpleBufferAllocator bufferPool = new SimpleBufferAllocator(); + private String group1, group2; + private int priority; + private float duration; + private String buffName; + private long ownerId; + private String effect1Name, effect2Name, effect3Name, effect4Name, effect5Name; + private float effect1Value, effect2Value, effect3Value, effect4Value, effect5Value; + private String callback; + private String particleEffect; + private boolean isDebuff; + private boolean removeOnDeath; + private boolean isRemovableByPlayer; + private int maxStacks; + private boolean isPersistent; + private boolean removeOnRespec; + private boolean aiRemoveOnEndCombat; + private boolean decayOnPvPDeath; + private long startTime; + private int totalPlayTime; + private byte decayCounter = 0; + @NotPersistent + private ScheduledFuture removalTask; + private int stacks = 1; + private long groupBufferId; + private int buffCRC; + + public Buff(Buff baseBuff, long ownerId) { + this.buffName = baseBuff.getBuffName(); + this.buffCRC = baseBuff.getBuffCRC(); + this.group1 = baseBuff.getGroup1(); + this.group2 = baseBuff.getGroup2(); + this.priority = baseBuff.getPriority(); + this.duration = baseBuff.getDuration(); + this.effect1Name = baseBuff.getEffect1Name(); + this.effect1Value = baseBuff.getEffect1Value(); + this.effect2Name = baseBuff.getEffect2Name(); + this.effect2Value = baseBuff.getEffect2Value(); + this.effect3Name = baseBuff.getEffect3Name(); + this.effect3Value = baseBuff.getEffect3Value(); + this.effect4Name = baseBuff.getEffect4Name(); + this.effect4Value = baseBuff.getEffect4Value(); + this.effect5Name = baseBuff.getEffect5Name(); + this.effect5Value = baseBuff.getEffect5Value(); + this.callback = baseBuff.getCallback(); + this.particleEffect = baseBuff.getParticleEffect(); + this.isDebuff = baseBuff.isDebuff(); + this.removeOnDeath = baseBuff.isRemoveOnDeath(); + this.isRemovableByPlayer = baseBuff.isRemovableByPlayer(); + this.maxStacks = baseBuff.getMaxStacks(); + this.isPersistent = baseBuff.isPersistent(); + this.removeOnRespec = baseBuff.isRemoveOnRespec(); + this.aiRemoveOnEndCombat = baseBuff.isAiRemoveOnEndCombat(); + this.decayOnPvPDeath = baseBuff.isDecayOnPvPDeath(); + } + + /*public Buff(String buffName, long ownerId) { + + this.buffName = buffName; + this.ownerId = ownerId; + this.buffCRC = CRC.StringtoCRC(buffName); + + DatatableVisitor visitor; + + try { + + visitor = ClientFileManager.loadFile("datatables/buff/buff.iff", DatatableVisitor.class); + for(int i = 0; i < visitor.getRowCount(); i++) { + + if(visitor.getObject(i, 0) != null) + if(((String) visitor.getObject(i, 0)).equalsIgnoreCase(buffName)) { + + group1 = (String) visitor.getObject(i, 1); + group2 = (String) visitor.getObject(i, 2); + priority = (int) visitor.getObject(i, 4); + duration = (Float) visitor.getObject(i, 6); + effect1Name = (String) visitor.getObject(i, 7); + effect1Value = (Float) visitor.getObject(i, 8); + effect2Name = (String) visitor.getObject(i, 9); + effect2Value = (Float) visitor.getObject(i, 10); + effect3Name = (String) visitor.getObject(i, 11); + effect3Value = (Float) visitor.getObject(i, 12); + effect4Name = (String) visitor.getObject(i, 13); + effect4Value = (Float) visitor.getObject(i, 14); + effect5Name = (String) visitor.getObject(i, 15); + effect5Value = (Float) visitor.getObject(i, 16); + callback = (String) visitor.getObject(i, 18); + particleEffect = (String) visitor.getObject(i, 19); + isDebuff = (Boolean) visitor.getObject(i, 22); + removeOnDeath = (Integer) visitor.getObject(i, 25) != 0; + isRemovableByPlayer = (Integer) visitor.getObject(i, 26) != 0; + maxStacks = (Integer) visitor.getObject(i, 28); + isPersistent = (Integer) visitor.getObject(i, 29) != 0; + removeOnRespec = (Integer) visitor.getObject(i, 31) != 0; + aiRemoveOnEndCombat = (Integer) visitor.getObject(i, 32) != 0; + decayOnPvPDeath = (Integer) visitor.getObject(i, 33) != 0; + + } + + } + + } catch (InstantiationException | IllegalAccessException e) { + e.printStackTrace(); + } + }*/ + + public Buff() { } + + @Override + public byte[] getBytes() { + + IoBuffer buffer = bufferPool.allocate(28, false).order(ByteOrder.LITTLE_ENDIAN); + + buffer.putInt(CRC.StringtoCRC(buffName.toLowerCase())); + if(duration > 0) { + buffer.putInt((int) (totalPlayTime + getRemainingDuration())); + buffer.putInt(0); + buffer.putInt((int) duration); + } else { + buffer.putInt(-1); + buffer.putInt(0); + buffer.putInt(0); + } + buffer.putLong(ownerId); + buffer.putInt(stacks); // stacks + + buffer.flip(); + + return buffer.array(); + + } + + public String getGroup1() { + return group1; + } + + public void setGroup1(String group1) { + this.group1 = group1; + } + + public int getPriority() { + return priority; + } + + public void setPriority(int priority) { + this.priority = priority; + } + + public float getDuration() { + return duration; + } + + public void setDuration(float duration) { + this.duration = duration; + } + + public String getBuffName() { + return buffName; + } + + public void setBuffName(String buffName) { + this.buffName = buffName; + } + + public long getOwnerId() { + return ownerId; + } + + public void setOwnerId(long ownerId) { + this.ownerId = ownerId; + } + + public String getEffect1Name() { + return effect1Name; + } + + public void setEffect1Name(String effect1Name) { + this.effect1Name = effect1Name; + } + + public String getEffect2Name() { + return effect2Name; + } + + public void setEffect2Name(String effect2Name) { + this.effect2Name = effect2Name; + } + + public String getEffect3Name() { + return effect3Name; + } + + public void setEffect3Name(String effect3Name) { + this.effect3Name = effect3Name; + } + + public String getEffect4Name() { + return effect4Name; + } + + public void setEffect4Name(String effect4Name) { + this.effect4Name = effect4Name; + } + + public String getEffect5Name() { + return effect5Name; + } + + public void setEffect5Name(String effect5Name) { + this.effect5Name = effect5Name; + } + + public float getEffect1Value() { + return effect1Value; + } + + public void setEffect1Value(float effect1Value) { + this.effect1Value = effect1Value; + } + + public float getEffect2Value() { + return effect2Value; + } + + public void setEffect2Value(float effect2Value) { + this.effect2Value = effect2Value; + } + + public float getEffect3Value() { + return effect3Value; + } + + public void setEffect3Value(float effect3Value) { + this.effect3Value = effect3Value; + } + + public float getEffect4Value() { + return effect4Value; + } + + public void setEffect4Value(float effect4Value) { + this.effect4Value = effect4Value; + } + + public float getEffect5Value() { + return effect5Value; + } + + public void setEffect5Value(float effect5Value) { + this.effect5Value = effect5Value; + } + + public String getCallback() { + return callback; + } + + public void setCallback(String callback) { + this.callback = callback; + } + + public String getParticleEffect() { + return particleEffect; + } + + public void setParticleEffect(String particleEffect) { + this.particleEffect = particleEffect; + } + + public boolean isDebuff() { + return isDebuff; + } + + public void setDebuff(boolean isDebuff) { + this.isDebuff = isDebuff; + } + + public boolean isRemoveOnDeath() { + return removeOnDeath; + } + + public void setRemoveOnDeath(boolean removeOnDeath) { + this.removeOnDeath = removeOnDeath; + } + + public boolean isRemovableByPlayer() { + return isRemovableByPlayer; + } + + public void setRemovableByPlayer(boolean isRemovableByPlayer) { + this.isRemovableByPlayer = isRemovableByPlayer; + } + + public int getMaxStacks() { + return maxStacks; + } + + public void setMaxStacks(int maxStacks) { + this.maxStacks = maxStacks; + } + + public boolean isPersistent() { + return isPersistent; + } + + public void setPersistent(boolean isPersistent) { + this.isPersistent = isPersistent; + } + + public boolean isRemoveOnRespec() { + return removeOnRespec; + } + + public void setRemoveOnRespec(boolean removeOnRespec) { + this.removeOnRespec = removeOnRespec; + } + + public boolean isAiRemoveOnEndCombat() { + return aiRemoveOnEndCombat; + } + + public void setAiRemoveOnEndCombat(boolean aiRemoveOnEndCombat) { + this.aiRemoveOnEndCombat = aiRemoveOnEndCombat; + } + + public boolean isDecayOnPvPDeath() { + return decayOnPvPDeath; + } + + public void setDecayOnPvPDeath(boolean decayOnPvPDeath) { + this.decayOnPvPDeath = decayOnPvPDeath; + } + + public void setStartTime() { + this.startTime = System.currentTimeMillis(); + } + + public long getStartTime() { + return startTime; + } + + public int getRemainingDuration() { + + long currentTime = System.currentTimeMillis(); + long timeDiff = (currentTime - startTime) / 1000; + int remaining = (int) (duration - timeDiff); + for(int i = 0; i < decayCounter; i++) { + remaining /= 2; + } + return remaining; + + } + + public int getTotalPlayTime() { + return totalPlayTime; + } + + public void setTotalPlayTime(int totalPlayTime) { + this.totalPlayTime = totalPlayTime; + } + + public byte getDecayCounter() { + return decayCounter; + } + + public void incDecayCounter() { + this.decayCounter++; + } + + public ScheduledFuture getRemovalTask() { + return removalTask; + } + + public void setRemovalTask(ScheduledFuture removalTask) { + this.removalTask = removalTask; + } + + public void updateRemovalTask() { + + if(removalTask == null) + return; + + removalTask.cancel(true); + + final NGECore core = NGECore.getInstance(); + final CreatureObject owner = (CreatureObject) core.objectService.getObject(getOwnerId()); + + if(owner == null) + return; + + ScheduledFuture task = Executors.newScheduledThreadPool(1).schedule(new Runnable() { + + @Override + public void run() { + + core.buffService.removeBuffFromCreature(owner, Buff.this); + + } + + }, (long) getRemainingDuration(), TimeUnit.SECONDS); + + setRemovalTask(task); + + } + + public int getStacks() { + return stacks; + } + + public void setStacks(int stacks) { + this.stacks = stacks; + } + + public boolean isGroupBuff() { + return effect1Name == null ? false : effect1Name.equals("group"); + } + + public long getGroupBufferId() { + return groupBufferId; + } + + public void setGroupBufferId(long groupBufferId) { + this.groupBufferId = groupBufferId; + } + + public String getGroup2() { + return group2; + } + + public void setGroup2(String group2) { + this.group2 = group2; + } + + public int getBuffCRC() { + return buffCRC; + } + + public void setBuffCRC(int buffCRC) { + this.buffCRC = buffCRC; + } + +} diff --git a/src/resources/buffs/BuffItem.java b/src/resources/buffs/BuffItem.java new file mode 100644 index 00000000..ae302027 --- /dev/null +++ b/src/resources/buffs/BuffItem.java @@ -0,0 +1,74 @@ +/******************************************************************************* + * Copyright (c) 2013 + * + * This File is part of NGECore2. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. + * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. + ******************************************************************************/ +package resources.buffs; + +import com.sleepycat.persist.model.Persistent; + +@Persistent +public class BuffItem { + private int affectAmount; + private int entertainerBonus; + private int invested; + private String skillName; + + public BuffItem() { + + } + + public BuffItem(String skillName, int invested, int entBonus) { + this.skillName = skillName; + this.invested = invested; + this.entertainerBonus = entBonus; + } + + public int getAffectAmount() { + return affectAmount; + } + + public int getEntertainerBonus() { + return entertainerBonus; + } + + public int getInvested() { + return invested; + } + + public String getSkillName() { + return skillName; + } + + public void setAffectAmount(int amount) { + this.affectAmount = amount; + } + + public void setEntertainerBonus(int entertainerBonus) { + this.entertainerBonus = entertainerBonus; + } + + public void setInvested(int invested) { + this.invested = invested; + } + + public void setSkillName(String skillName) { + this.skillName = skillName; + } +} diff --git a/src/resources/buffs/DamageOverTime.java b/src/resources/buffs/DamageOverTime.java new file mode 100644 index 00000000..8a21306a --- /dev/null +++ b/src/resources/buffs/DamageOverTime.java @@ -0,0 +1,116 @@ +/******************************************************************************* + * Copyright (c) 2013 + * + * This File is part of NGECore2. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. + * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. + ******************************************************************************/ +package resources.buffs; + +import java.util.concurrent.ScheduledFuture; + +import com.sleepycat.persist.model.NotPersistent; +import com.sleepycat.persist.model.Persistent; + +@Persistent(version=1) +public class DamageOverTime { + + private Buff buff; + private String type; + private int duration; + private int intensity; + @NotPersistent + private ScheduledFuture task; + private long startTime; + private String commandName; + + public DamageOverTime() { } + + public DamageOverTime(String commandName, Buff buff, String type, int duration, int intensity) { + this.buff = buff; + this.type = type; + this.duration = duration; + this.intensity = intensity; + this.commandName = commandName; + } + + public Buff getBuff() { + return buff; + } + + public void setBuff(Buff buff) { + this.buff = buff; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public int getDuration() { + return duration; + } + + public void setDuration(int duration) { + this.duration = duration; + } + + public int getIntensity() { + return intensity; + } + + public void setIntensity(int intensity) { + this.intensity = intensity; + } + + public ScheduledFuture getTask() { + return task; + } + + public void setTask(ScheduledFuture task) { + this.task = task; + } + + public long getStartTime() { + return startTime; + } + + public void setStartTime(long startTime) { + this.startTime = startTime; + } + + public int getRemainingDuration() { + + long currentTime = System.currentTimeMillis(); + long timeDiff = (currentTime - startTime) / 1000; + return (int) (duration - timeDiff); + + } + + public String getCommandName() { + return commandName; + } + + public void setCommandName(String commandName) { + this.commandName = commandName; + } + + +} diff --git a/src/resources/common/BountyListItem.java b/src/resources/common/BountyListItem.java new file mode 100644 index 00000000..a50272e8 --- /dev/null +++ b/src/resources/common/BountyListItem.java @@ -0,0 +1,106 @@ +/******************************************************************************* + * Copyright (c) 2013 + * + * This File is part of NGECore2. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. + * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. + ******************************************************************************/ +package resources.common; + +import java.util.ArrayList; +import java.util.List; + +import com.sleepycat.persist.model.Entity; +import com.sleepycat.persist.model.PrimaryKey; + +@Entity +public class BountyListItem { + + @PrimaryKey + private long objectId; + private int creditReward; + private String profession; + private String faction; + private String name; + private List assignedHunters; + + public BountyListItem() { } + + public BountyListItem(long objectId, int creditReward, String profession, String faction, String name) { + this.objectId = objectId; + this.creditReward = creditReward; + this.profession = profession; + this.faction = faction; + this.setName(name); + this.setAssignedHunters(new ArrayList(3)); + } + + public long getObjectId() { + return objectId; + } + public void setObjectId(long objectId) { + this.objectId = objectId; + } + public int getCreditReward() { + return creditReward; + } + public void setCreditReward(int creditReward) { + this.creditReward = creditReward; + } + public String getProfession() { + return profession; + } + public void setProfession(String profession) { + this.profession = profession; + } + + public String getFaction() { + return faction; + } + + public void setFaction(String faction) { + this.faction = faction; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public void addBounty(int amountToAdd) { + this.creditReward += amountToAdd; + } + + public List getAssignedHunters() { + return assignedHunters; + } + + public void setAssignedHunters(List assignedHunters) { + this.assignedHunters = assignedHunters; + } + + public void addBountyHunter(long objectId) { + assignedHunters.add(objectId); + } + + public void removeBountyHunter(long objectId) { + assignedHunters.remove(objectId); + } +} diff --git a/src/resources/loot/LootDrop.java b/src/resources/loot/LootDrop.java new file mode 100644 index 00000000..efd455ba --- /dev/null +++ b/src/resources/loot/LootDrop.java @@ -0,0 +1,51 @@ +/******************************************************************************* + * Copyright (c) 2013 + * + * This File is part of NGECore2. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. + * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. + ******************************************************************************/ +package resources.loot; + +import java.util.ArrayList; +import java.util.List; + +public class LootDrop { + + private List elements = new ArrayList(); + private String droppedItemTemplate; + + public LootDrop(){ + + } + + public void addElement(String element){ + elements.add(element); + } + + public List getElements(){ + return elements; + } + + public String getDroppedItemTemplate() { + return droppedItemTemplate; + } + + public void setDroppedItemTemplate(String droppedItemTemplate) { + this.droppedItemTemplate = droppedItemTemplate; + } +} diff --git a/src/resources/loot/LootGroup.java b/src/resources/loot/LootGroup.java new file mode 100644 index 00000000..8666014d --- /dev/null +++ b/src/resources/loot/LootGroup.java @@ -0,0 +1,64 @@ +/******************************************************************************* + * Copyright (c) 2013 + * + * This File is part of NGECore2. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. + * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. + ******************************************************************************/ +package resources.loot; + +import com.sleepycat.persist.model.Persistent; + +/** + * @author Charon + */ + +@Persistent(version=0) +public class LootGroup { + + private String[] lootPoolNames; + private double[] lootPoolChances; + private double lootGroupChance; + + public LootGroup(){ + + } + + public LootGroup(String[] lootPoolNames, double[] lootPoolChances, double lootGroupChance){ + this.lootPoolNames = lootPoolNames; + this.lootPoolChances = lootPoolChances; + this.lootGroupChance = lootGroupChance; + } + + public void addLootData(String[] lootPoolNames, double[] lootPoolChances, double lootGroupChance){ + this.lootPoolNames = lootPoolNames; + this.lootPoolChances = lootPoolChances; + this.lootGroupChance = lootGroupChance; + } + + public String[] getLootPoolNames() { + return lootPoolNames; + } + + public double[] getLootPoolChances() { + return lootPoolChances; + } + + public double getLootGroupChance() { + return lootGroupChance; + } +} diff --git a/src/resources/loot/LootPool.java b/src/resources/loot/LootPool.java new file mode 100644 index 00000000..83576a16 --- /dev/null +++ b/src/resources/loot/LootPool.java @@ -0,0 +1,33 @@ +/******************************************************************************* + * Copyright (c) 2013 + * + * This File is part of NGECore2. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. + * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. + ******************************************************************************/ +package resources.loot; + +/** + * @author Charon + */ + +public class LootPool { + + public LootPool(){ + + } +} diff --git a/src/resources/loot/LootRollSession.java b/src/resources/loot/LootRollSession.java new file mode 100644 index 00000000..e79951fe --- /dev/null +++ b/src/resources/loot/LootRollSession.java @@ -0,0 +1,163 @@ +/******************************************************************************* + * Copyright (c) 2013 + * + * This File is part of NGECore2. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. + * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. + ******************************************************************************/ +package resources.loot; + +import java.util.ArrayList; +import java.util.List; + +import engine.resources.scene.Planet; +import main.NGECore; +import resources.objects.creature.CreatureObject; +import resources.objects.group.GroupObject; +import resources.objects.tangible.TangibleObject; + +/** + * @author Charon + */ + +public class LootRollSession { + + private String SessionID; // leaderName-SystemTime + private boolean sessionValid; + private GroupObject playerGroup; + private CreatureObject requester; + private List droppedItems; + private Planet sessionPlanet; + private List errorMessages; + private int sessionLootMode; + private boolean allowRareLoot; + private boolean increasedRLSChance; + + public LootRollSession(){ + } + + public LootRollSession(CreatureObject requester, TangibleObject lootedObject){ + long requesterGroupId = requester.getGroupId(); + if (requesterGroupId>0){ + this.playerGroup = (GroupObject) NGECore.getInstance().objectService.getObject(requesterGroupId); + this.SessionID = playerGroup.getGroupLeader().getCustomName()+"-"+System.currentTimeMillis(); + + } else { + this.SessionID = requester.getCustomName()+"-"+System.currentTimeMillis(); + } + + if (lootedObject instanceof CreatureObject){ + CreatureObject lootedCreature = (CreatureObject)lootedObject; + // Exclude rare loot depending on creature level + // For groups maybe average CL? + if (requester.getLevel()-lootedCreature.getLevel()<=6){ + this.setAllowRareLoot(true); + } + } + + // Group situation + if (this.getPlayerGroup()!=null){ + if (this.getPlayerGroup().getMemberList().size()>=4) + this.setIncreasedRLSChance(true); + } + + // Possible AFKer check here + + + droppedItems = new ArrayList(); + errorMessages = new ArrayList(); + sessionPlanet = requester.getPlanet(); + this.requester = requester; + allowRareLoot = false; + } + + public List getDroppedItems() { + return droppedItems; + } + + public void addDroppedItem(TangibleObject droppedItem) { + this.droppedItems.add(droppedItem); + } + + public String getSessionID() { + return SessionID; + } + + public void setSessionID(String sessionID) { + SessionID = sessionID; + } + + public void generateSessionID(String sessionID) { + SessionID = sessionID; + } + + public Planet getSessionPlanet() { + return sessionPlanet; + } + + public List getErrorMessages() { + return errorMessages; + } + + public void addErrorMessage(String errorMessage) { + this.errorMessages.add(errorMessage); + } + + public int getSessionLootMode() { + return sessionLootMode; + } + + public void setSessionLootMode(int sessionLootMode) { + this.sessionLootMode = sessionLootMode; + } + + public boolean isAllowRareLoot() { + return allowRareLoot; + } + + public void setAllowRareLoot(boolean allowRareLoot) { + this.allowRareLoot = allowRareLoot; + } + + public GroupObject getPlayerGroup() { + return playerGroup; + } + + public boolean isIncreasedRLSChance() { + return increasedRLSChance; + } + + public void setIncreasedRLSChance(boolean increasedRLSChance) { + this.increasedRLSChance = increasedRLSChance; + } + + public boolean isSessionValid() { + return sessionValid; + } + + public void setSessionValid(boolean sessionValid) { + this.sessionValid = sessionValid; + } + + public CreatureObject getRequester() { + return requester; + } + + public void setRequester(CreatureObject requester) { + this.requester = requester; + } +} diff --git a/src/resources/objectives/BountyMissionObjective.java b/src/resources/objectives/BountyMissionObjective.java new file mode 100644 index 00000000..e17de5cd --- /dev/null +++ b/src/resources/objectives/BountyMissionObjective.java @@ -0,0 +1,80 @@ +/******************************************************************************* + * Copyright (c) 2013 + * + * This File is part of NGECore2. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. + * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. + ******************************************************************************/ +package resources.objectives; + +import java.util.Random; + +import engine.resources.scene.Point3D; +import main.NGECore; +import resources.common.BountyListItem; +import resources.objects.creature.CreatureObject; +import resources.objects.mission.MissionObject; +import services.mission.MissionObjective; + +public class BountyMissionObjective extends MissionObjective { + + private Point3D lastKnownLocation; + private long markObjId; + + public BountyMissionObjective(MissionObject parent) { + super(parent); + } + + @Override + public void activate(NGECore core, CreatureObject player) { + if (isActivated()) + return; + + BountyListItem bountyTarget = core.missionService.getBountyListItem(getMissionObject().getBountyObjId()); + + setMarkObjId(bountyTarget.getObjectId()); + + // TODO: Change this to a comm message. + player.sendSystemMessage("@mission/mission_bounty_informant:target_hard_" + Integer.toString(new Random().nextInt(5)), (byte) 0); + + + } + + @Override + public void complete(NGECore core, CreatureObject player) { + + } + + @Override + public void abort(NGECore core, CreatureObject player) { + + } + + @Override + public void update(NGECore core, CreatureObject player) { + + } + + public Point3D getLastKnownLocation() { return lastKnownLocation; } + + public void setLastKnownLocation(Point3D lastKnownLocation) { this.lastKnownLocation = lastKnownLocation; } + + public long getMarkObjId() { return markObjId; } + + public void setMarkObjId(long markObjId) { this.markObjId = markObjId; } + +} diff --git a/src/resources/skills/SkillMod.java b/src/resources/skills/SkillMod.java new file mode 100644 index 00000000..2bce0b23 --- /dev/null +++ b/src/resources/skills/SkillMod.java @@ -0,0 +1,109 @@ +/******************************************************************************* + * Copyright (c) 2013 + * + * This File is part of NGECore2. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + * + * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. + * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. + ******************************************************************************/ +package resources.skills; + +import org.apache.mina.core.buffer.IoBuffer; + +import resources.objects.Delta; + +import com.sleepycat.persist.model.Persistent; + +@Persistent(version=0) +public class SkillMod extends Delta { + + private int base; + private int modifier; + + public SkillMod(int base, int modifier) { + this.base = base; + this.modifier = modifier; + } + + public SkillMod() { + + } + + public int getBase() { + synchronized(objectMutex) { + return base; + } + } + + public void setBase(int base) { + synchronized(objectMutex) { + this.base = base; + } + } + + public void addBase(int base) { + synchronized(objectMutex) { + this.base += base; + } + } + + public void deductBase(int base) { + synchronized(objectMutex) { + this.base -= base; + } + } + + public int getModifier() { + synchronized(objectMutex) { + return modifier; + } + } + + public void setModifier(int modifier) { + synchronized(objectMutex) { + this.modifier = modifier; + } + } + + public void addModifier(int modifier) { + synchronized(objectMutex) { + this.modifier += modifier; + } + } + + public void deductModifier(int modifier) { + synchronized(objectMutex) { + this.modifier -= modifier; + } + } + + public float getValue(int divisor) { + synchronized(objectMutex) { + return ((divisor < 1) ? ((float) base) : ((float) base / (float) divisor)); + } + } + + @Override + public byte[] getBytes() { + synchronized(objectMutex) { + IoBuffer buffer = createBuffer(8); + buffer.putInt(base); + buffer.putInt(modifier); + return buffer.array(); + } + } + +} From 5c599e341ea91d9cfef939cdf045bc0b9a4a773c Mon Sep 17 00:00:00 2001 From: CharonInferar Date: Wed, 30 Apr 2014 20:00:11 +0200 Subject: [PATCH 42/52] merge conflict From a3d4bb326cad424bcf960bb576baf61a69a062ce Mon Sep 17 00:00:00 2001 From: CharonInferar Date: Wed, 30 Apr 2014 20:30:25 +0200 Subject: [PATCH 43/52] merge conflict --- src/resources/common/BountyListItem.java | 109 ------------------ .../objectives/BountyMissionObjective.java | 83 ------------- src/services/DevService.java | 27 ----- src/services/housing/HousingService.java | 99 +++------------- 4 files changed, 16 insertions(+), 302 deletions(-) diff --git a/src/resources/common/BountyListItem.java b/src/resources/common/BountyListItem.java index ec096333..a50272e8 100644 --- a/src/resources/common/BountyListItem.java +++ b/src/resources/common/BountyListItem.java @@ -1,4 +1,3 @@ -<<<<<<< HEAD /******************************************************************************* * Copyright (c) 2013 * @@ -105,111 +104,3 @@ public class BountyListItem { assignedHunters.remove(objectId); } } -======= -/******************************************************************************* - * Copyright (c) 2013 - * - * This File is part of NGECore2. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . - * - * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. - * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. - ******************************************************************************/ -package resources.common; - -import java.util.ArrayList; -import java.util.List; - -import com.sleepycat.persist.model.Entity; -import com.sleepycat.persist.model.PrimaryKey; - -@Entity -public class BountyListItem { - - @PrimaryKey - private long objectId; - private int creditReward; - private String profession; - private String faction; - private String name; - private List assignedHunters; - - public BountyListItem() { } - - public BountyListItem(long objectId, int creditReward, String profession, String faction, String name) { - this.objectId = objectId; - this.creditReward = creditReward; - this.profession = profession; - this.faction = faction; - this.setName(name); - this.setAssignedHunters(new ArrayList(3)); - } - - public long getObjectId() { - return objectId; - } - public void setObjectId(long objectId) { - this.objectId = objectId; - } - public int getCreditReward() { - return creditReward; - } - public void setCreditReward(int creditReward) { - this.creditReward = creditReward; - } - public String getProfession() { - return profession; - } - public void setProfession(String profession) { - this.profession = profession; - } - - public String getFaction() { - return faction; - } - - public void setFaction(String faction) { - this.faction = faction; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public void addBounty(int amountToAdd) { - this.creditReward += amountToAdd; - } - - public List getAssignedHunters() { - return assignedHunters; - } - - public void setAssignedHunters(List assignedHunters) { - this.assignedHunters = assignedHunters; - } - - public void addBountyHunter(long objectId) { - assignedHunters.add(objectId); - } - - public void removeBountyHunter(long objectId) { - assignedHunters.remove(objectId); - } -} ->>>>>>> origin/master diff --git a/src/resources/objectives/BountyMissionObjective.java b/src/resources/objectives/BountyMissionObjective.java index 51c8382c..e17de5cd 100644 --- a/src/resources/objectives/BountyMissionObjective.java +++ b/src/resources/objectives/BountyMissionObjective.java @@ -1,4 +1,3 @@ -<<<<<<< HEAD /******************************************************************************* * Copyright (c) 2013 * @@ -79,85 +78,3 @@ public class BountyMissionObjective extends MissionObjective { public void setMarkObjId(long markObjId) { this.markObjId = markObjId; } } -======= -/******************************************************************************* - * Copyright (c) 2013 - * - * This File is part of NGECore2. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program. If not, see . - * - * Using NGEngine to work with NGECore2 is making a combined work based on NGEngine. - * Therefore all terms and conditions of the GNU Lesser General Public License cover the combination. - ******************************************************************************/ -package resources.objectives; - -import java.util.Random; - -import engine.resources.scene.Point3D; -import main.NGECore; -import resources.common.BountyListItem; -import resources.objects.creature.CreatureObject; -import resources.objects.mission.MissionObject; -import services.mission.MissionObjective; - -public class BountyMissionObjective extends MissionObjective { - - private Point3D lastKnownLocation; - private long markObjId; - - public BountyMissionObjective(MissionObject parent) { - super(parent); - } - - @Override - public void activate(NGECore core, CreatureObject player) { - if (isActivated()) - return; - - BountyListItem bountyTarget = core.missionService.getBountyListItem(getMissionObject().getBountyObjId()); - - setMarkObjId(bountyTarget.getObjectId()); - - // TODO: Change this to a comm message. - player.sendSystemMessage("@mission/mission_bounty_informant:target_hard_" + Integer.toString(new Random().nextInt(5)), (byte) 0); - - - } - - @Override - public void complete(NGECore core, CreatureObject player) { - - } - - @Override - public void abort(NGECore core, CreatureObject player) { - - } - - @Override - public void update(NGECore core, CreatureObject player) { - - } - - public Point3D getLastKnownLocation() { return lastKnownLocation; } - - public void setLastKnownLocation(Point3D lastKnownLocation) { this.lastKnownLocation = lastKnownLocation; } - - public long getMarkObjId() { return markObjId; } - - public void setMarkObjId(long markObjId) { this.markObjId = markObjId; } - -} ->>>>>>> origin/master diff --git a/src/services/DevService.java b/src/services/DevService.java index 21043777..e2bd4390 100644 --- a/src/services/DevService.java +++ b/src/services/DevService.java @@ -91,7 +91,6 @@ public class DevService implements INetworkDispatch { if(creature.getClient().isGM()) suiOptions.put((long) 120, "House Deeds"); if(creature.getClient().isGM()) suiOptions.put((long) 125, "Crafting Tools"); if(creature.getClient().isGM()) suiOptions.put((long) 130, "Vehicle Deeds"); - if(creature.getClient().isGM()) suiOptions.put((long) 121, "Sandbox City"); break; case 3: // [Items] Weapons @@ -1167,29 +1166,6 @@ public class DevService implements INetworkDispatch { case 120: // SWGObject houseDeed = core.objectService.createObject("object/tangible/deed/player_house_deed/shared_generic_house_small_deed.iff", planet); // inventory.add(houseDeed); -<<<<<<< HEAD - - templateString="object/tangible/deed/player_house_deed/shared_generic_house_small_deed.iff"; - Player_House_Deed deed = (Player_House_Deed)core.objectService.createObject(templateString, planet); - deed.setBMR(15); - deed.setAttributes(); - inventory.add(deed); - - templateString="object/tangible/deed/city_deed/shared_cityhall_tatooine_deed.iff"; - deed = (Player_House_Deed)core.objectService.createObject(templateString, planet); - deed.setBMR(15); - deed.setAttributes(); - inventory.add(deed); - - - return; - - case 121: - NGECore.getInstance().playerCityService.buildSandboxTestCity(player); - - return; - -======= TangibleObject deed = (TangibleObject) core.objectService.createObject("object/tangible/deed/player_house_deed/shared_generic_house_small_deed.iff", planet); deed.setIntAttribute("examine_maintenance_rate", 15); @@ -1200,7 +1176,6 @@ public class DevService implements INetworkDispatch { inventory.add(deed); return; ->>>>>>> origin/master case 125: TangibleObject genericCraftingTool = (TangibleObject) core.objectService.createObject("object/tangible/crafting/station/shared_generic_tool.iff", planet); genericCraftingTool.setCustomName("Generic Crafting Tool"); @@ -1212,8 +1187,6 @@ public class DevService implements INetworkDispatch { inventory.add(swoopDeed); inventory.add(av21deed); return; - - } } }); diff --git a/src/services/housing/HousingService.java b/src/services/housing/HousingService.java index 0f1e9f22..34bdb205 100644 --- a/src/services/housing/HousingService.java +++ b/src/services/housing/HousingService.java @@ -22,7 +22,6 @@ package services.housing; import java.io.IOException; -import java.math.BigInteger; import java.nio.file.FileVisitResult; import java.nio.file.FileVisitor; import java.nio.file.Files; @@ -86,15 +85,8 @@ public class HousingService implements INetworkDispatch { return; } -<<<<<<< HEAD - if(housingTemplates.containsKey(deed.getTemplate())) - { -======= if (housingTemplates.containsKey(deed.getTemplate())) { ->>>>>>> origin/master HouseTemplate houseTemplate = housingTemplates.get(deed.getTemplate()); - System.out.println("DEED FOUND " + houseTemplate.getBuildingTemplate()); - System.out.println("DEED TEMP " + deed.getTemplate()); EnterStructurePlacementModeMessage packet = new EnterStructurePlacementModeMessage(deed, houseTemplate.getBuildingTemplate()); actor.getClient().getSession().write(packet.serialize()); } @@ -103,11 +95,6 @@ public class HousingService implements INetworkDispatch { public void placeStructure(final CreatureObject actor, TangibleObject deed, float positionX, float positionZ, float rotation) { HouseTemplate houseTemplate = housingTemplates.get(deed.getTemplate()); int structureLotCost = houseTemplate.getLotCost(); - - if (deed.getTemplate().contains("cityhall")) - structureLotCost = 0; - - String structureTemplate = houseTemplate.getBuildingTemplate(); if (!houseTemplate.canBePlacedOn(actor.getPlanet().getName())) { @@ -132,69 +119,10 @@ public class HousingService implements INetworkDispatch { float positionY = core.terrainService.getHeight(actor.getPlanetId(), positionX, positionZ) + 2f; - boolean canBuild = true; - - // Check for city founders joining a new city - PlayerCity cityActorIsIn = core.playerCityService.getCityObjectIsIn(actor); - - if (cityActorIsIn != null){ - // Actor is inside the bounds of a city, so zoning must be checked - //actor.setAttachment("Has24HZoningFor",cityActorIsIn.getCityID()); // for testing - //actor.setAttachment("Has24HZoningUntil",System.currentTimeMillis()+1000000); // for testing - - - if (deed.getTemplate().contains("shuttleport")){ - - if (actor.getObjectID()!=cityActorIsIn.getMayorID()) - actor.sendSystemMessage("You must be the mayor of this city to place the structure.", (byte) 0); - - if (cityActorIsIn.getRank()<0){ - actor.sendSystemMessage("@city/city:rank_req", (byte) 0); - return; - } - - } - - if (actor.getAttachment("Has24HZoningFor")==null || actor.getAttachment("Has24HZoningFor")==null) - return; - int cityActorHasZoning = (int)actor.getAttachment("Has24HZoningFor"); - BigInteger zoningUntilBI = (BigInteger) actor.getAttachment("Has24HZoningUntil"); - long zoningUntil = zoningUntilBI.longValue(); - if (cityActorHasZoning==cityActorIsIn.getCityID() && System.currentTimeMillis() Date: Wed, 30 Apr 2014 21:46:25 +0200 Subject: [PATCH 44/52] Added Imperial Recruiter scripts Also added 1 recruiter to mos eisley for testing purpose --- scripts/object/mobile/dressed_imperial_officer_f.py | 8 +++++++- scripts/object/mobile/dressed_imperial_officer_m_2.py | 8 +++++++- scripts/object/mobile/dressed_imperial_officer_m_3.py | 8 +++++++- scripts/object/mobile/dressed_imperial_officer_m_4.py | 8 +++++++- scripts/object/mobile/dressed_imperial_officer_m_5.py | 8 +++++++- scripts/object/mobile/dressed_imperial_officer_m_6.py | 8 +++++++- scripts/static_spawns/tatooine.py | 3 +++ 7 files changed, 45 insertions(+), 6 deletions(-) diff --git a/scripts/object/mobile/dressed_imperial_officer_f.py b/scripts/object/mobile/dressed_imperial_officer_f.py index ccad8904..b9963b3e 100644 --- a/scripts/object/mobile/dressed_imperial_officer_f.py +++ b/scripts/object/mobile/dressed_imperial_officer_f.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): - return \ No newline at end of file + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','imp_recruiter') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('imperial_recruiter') + return diff --git a/scripts/object/mobile/dressed_imperial_officer_m_2.py b/scripts/object/mobile/dressed_imperial_officer_m_2.py index ccad8904..b9963b3e 100644 --- a/scripts/object/mobile/dressed_imperial_officer_m_2.py +++ b/scripts/object/mobile/dressed_imperial_officer_m_2.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): - return \ No newline at end of file + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','imp_recruiter') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('imperial_recruiter') + return diff --git a/scripts/object/mobile/dressed_imperial_officer_m_3.py b/scripts/object/mobile/dressed_imperial_officer_m_3.py index ccad8904..b9963b3e 100644 --- a/scripts/object/mobile/dressed_imperial_officer_m_3.py +++ b/scripts/object/mobile/dressed_imperial_officer_m_3.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): - return \ No newline at end of file + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','imp_recruiter') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('imperial_recruiter') + return diff --git a/scripts/object/mobile/dressed_imperial_officer_m_4.py b/scripts/object/mobile/dressed_imperial_officer_m_4.py index ccad8904..b9963b3e 100644 --- a/scripts/object/mobile/dressed_imperial_officer_m_4.py +++ b/scripts/object/mobile/dressed_imperial_officer_m_4.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): - return \ No newline at end of file + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','imp_recruiter') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('imperial_recruiter') + return diff --git a/scripts/object/mobile/dressed_imperial_officer_m_5.py b/scripts/object/mobile/dressed_imperial_officer_m_5.py index ccad8904..b9963b3e 100644 --- a/scripts/object/mobile/dressed_imperial_officer_m_5.py +++ b/scripts/object/mobile/dressed_imperial_officer_m_5.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): - return \ No newline at end of file + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','imp_recruiter') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('imperial_recruiter') + return diff --git a/scripts/object/mobile/dressed_imperial_officer_m_6.py b/scripts/object/mobile/dressed_imperial_officer_m_6.py index ccad8904..b9963b3e 100644 --- a/scripts/object/mobile/dressed_imperial_officer_m_6.py +++ b/scripts/object/mobile/dressed_imperial_officer_m_6.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): - return \ No newline at end of file + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','imp_recruiter') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('imperial_recruiter') + return diff --git a/scripts/static_spawns/tatooine.py b/scripts/static_spawns/tatooine.py index 1d7b383b..ae130aec 100644 --- a/scripts/static_spawns/tatooine.py +++ b/scripts/static_spawns/tatooine.py @@ -23,6 +23,9 @@ def addPlanetSpawns(core, planet): stcSvc.spawnObject('object/mobile/shared_junk_dealer_m_01.iff', 'tatooine', long(0), float(3525), float(4), float(-4804), float(0.70), float(0.71)) #stcSvc.spawnObject('object/mobile/shared_3po_protocol_droid_red.iff', 'tatooine', long(26582), float(-14.3), float(2.0), float(47.4), float(0.70), float(0.71)) + + impRecruiter = stcSvc.spawnObject('object/mobile/shared_dressed_imperial_officer_f.iff', 'tatooine', long(1280132), float(-6), float(1), float(9.2), float(0.70), float(0.71)) + impRecruiter.setOptionsBitmask(264) return From 717f1951f0d6709789fa9e03b2bc12034893eaae Mon Sep 17 00:00:00 2001 From: CharonInferar Date: Wed, 30 Apr 2014 21:48:07 +0200 Subject: [PATCH 45/52] Reconstruction of classes --- scripts/houses/player_garden_tatooine_sml_01.py | 4 ++-- scripts/houses/player_shuttleport_tatooine.py | 4 ++-- .../tangible/deed/city_deed/garden_tatooine_sml_01_deed.py | 4 ---- .../tangible/deed/city_deed/shuttleport_tatooine_deed.py | 4 ---- src/services/DevService.java | 5 +++++ 5 files changed, 9 insertions(+), 12 deletions(-) diff --git a/scripts/houses/player_garden_tatooine_sml_01.py b/scripts/houses/player_garden_tatooine_sml_01.py index 516ed6a3..ed3b2981 100644 --- a/scripts/houses/player_garden_tatooine_sml_01.py +++ b/scripts/houses/player_garden_tatooine_sml_01.py @@ -2,7 +2,7 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/city_deed/shared_garden_tatooine_sml_01_deed.iff", "object/building/player/city/shared_garden_tatooine_sml_01.iff", 0) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(1, 2, 3)) @@ -11,5 +11,5 @@ def setup(core): houseTemplate.addPlaceablePlanet("lok") houseTemplate.setDefaultItemLimit(0) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/houses/player_shuttleport_tatooine.py b/scripts/houses/player_shuttleport_tatooine.py index 9ff64abc..4d7e480f 100644 --- a/scripts/houses/player_shuttleport_tatooine.py +++ b/scripts/houses/player_shuttleport_tatooine.py @@ -2,11 +2,11 @@ import sys from services.housing import HouseTemplate from engine.resources.scene import Point3D -def setup(core): +def setup(housingTemplates): houseTemplate = HouseTemplate("object/tangible/deed/city_deed/shared_shuttleport_tatooine_deed.iff", "object/building/tatooine/shared_shuttleport_tatooine.iff", 1) houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(3.5),float(-0.3),float(3.5))) houseTemplate.addPlaceablePlanet("tatooine") houseTemplate.setDefaultItemLimit(0) - core.housingService.addHousingTemplate(houseTemplate) + housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate) return \ No newline at end of file diff --git a/scripts/object/tangible/deed/city_deed/garden_tatooine_sml_01_deed.py b/scripts/object/tangible/deed/city_deed/garden_tatooine_sml_01_deed.py index d3678f09..07ab9319 100644 --- a/scripts/object/tangible/deed/city_deed/garden_tatooine_sml_01_deed.py +++ b/scripts/object/tangible/deed/city_deed/garden_tatooine_sml_01_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/shared_construction_structure.iff') - object.setStructureTemplate('object/tangible/deed/city_deed/shared_garden_tatooine_sml_01_deed.iff') - #object.setLotRequirement(5) - object.setBMR(5) return def use(core, actor, object): diff --git a/scripts/object/tangible/deed/city_deed/shuttleport_tatooine_deed.py b/scripts/object/tangible/deed/city_deed/shuttleport_tatooine_deed.py index d676ac12..07ab9319 100644 --- a/scripts/object/tangible/deed/city_deed/shuttleport_tatooine_deed.py +++ b/scripts/object/tangible/deed/city_deed/shuttleport_tatooine_deed.py @@ -2,10 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'deeds/structureDeed') - object.setConstructorTemplate('object/building/player/shared_construction_structure.iff') - object.setStructureTemplate('object/tangible/deed/city_deed/shared_shuttleport_tatooine_deed.iff') - #object.setLotRequirement(5) - object.setBMR(100) return def use(core, actor, object): diff --git a/src/services/DevService.java b/src/services/DevService.java index e2bd4390..270587d7 100644 --- a/src/services/DevService.java +++ b/src/services/DevService.java @@ -91,6 +91,7 @@ public class DevService implements INetworkDispatch { if(creature.getClient().isGM()) suiOptions.put((long) 120, "House Deeds"); if(creature.getClient().isGM()) suiOptions.put((long) 125, "Crafting Tools"); if(creature.getClient().isGM()) suiOptions.put((long) 130, "Vehicle Deeds"); + if(creature.getClient().isGM()) suiOptions.put((long) 121, "Sandbox City"); break; case 3: // [Items] Weapons @@ -1176,6 +1177,10 @@ public class DevService implements INetworkDispatch { inventory.add(deed); return; + + case 121: + NGECore.getInstance().playerCityService.buildSandboxTestCity(player); + case 125: TangibleObject genericCraftingTool = (TangibleObject) core.objectService.createObject("object/tangible/crafting/station/shared_generic_tool.iff", planet); genericCraftingTool.setCustomName("Generic Crafting Tool"); From 6e9be7e610bb1a7b705864ba48a9a4465ef98774 Mon Sep 17 00:00:00 2001 From: Waverunner Date: Wed, 30 Apr 2014 15:54:44 -0400 Subject: [PATCH 46/52] Setting bounties now accounts for all of your available funds --- scripts/commands/setgodmode.py | 7 ++-- src/resources/common/BountyListItem.java | 14 ++++++-- src/services/PlayerService.java | 42 +++++++++++++++++++----- src/services/mission/MissionService.java | 10 ++++-- 4 files changed, 56 insertions(+), 17 deletions(-) diff --git a/scripts/commands/setgodmode.py b/scripts/commands/setgodmode.py index 63019d92..b0e78d52 100644 --- a/scripts/commands/setgodmode.py +++ b/scripts/commands/setgodmode.py @@ -113,11 +113,8 @@ def run(core, actor, target, commandString): actor.removeAbility("admin") playerObject.setGodLevel(0) - elif command == 'setBounty' and arg1: - if not core.missionService.addToExistingBounty(actor, int(arg1)): - core.missionService.createNewBounty(actor, int(arg1)) - - actor.sendSystemMessage('Your bounty has been set to an additional ' + str(arg1) + ' credits.', 0) + elif command == 'setBounty': + core.playerService.sendSetBountyWindow(actor, actor) return return diff --git a/src/resources/common/BountyListItem.java b/src/resources/common/BountyListItem.java index 696d24df..1733c1a7 100644 --- a/src/resources/common/BountyListItem.java +++ b/src/resources/common/BountyListItem.java @@ -27,7 +27,7 @@ import java.util.List; import com.sleepycat.persist.model.Entity; import com.sleepycat.persist.model.PrimaryKey; -@Entity +@Entity(version=1) public class BountyListItem { @PrimaryKey @@ -37,7 +37,8 @@ public class BountyListItem { private String faction; private String name; private List assignedHunters; - + private List bountyPlacers; + public BountyListItem() { } public BountyListItem(long objectId, int creditReward, String profession, String faction, String name) { @@ -47,6 +48,7 @@ public class BountyListItem { this.faction = faction; this.setName(name); this.setAssignedHunters(new ArrayList(3)); + this.setBountyPlacers(new ArrayList()); } public long getObjectId() { @@ -103,4 +105,12 @@ public class BountyListItem { public void removeBountyHunter(long objectId) { assignedHunters.remove(objectId); } + + public List getBountyPlacers() { + return bountyPlacers; + } + + public void setBountyPlacers(List bountyPlacers) { + this.bountyPlacers = bountyPlacers; + } } diff --git a/src/services/PlayerService.java b/src/services/PlayerService.java index 62f6e14a..b37c49a0 100644 --- a/src/services/PlayerService.java +++ b/src/services/PlayerService.java @@ -1255,25 +1255,51 @@ public class PlayerService implements INetworkDispatch { } public void sendSetBountyWindow(final CreatureObject victim, final CreatureObject attacker) { - SUIWindow bountyWindow = core.suiService.createInputBox(InputBoxType.INPUT_BOX_OK_CANCEL, "@bounty_hunter:setbounty_title", "@bounty_hunter:setbounty_prompt1 " + attacker.getCustomName() + "?" + "\n@bounty_hunter:setbounty_prompt2 " + victim.getBankCredits(), - victim, null, (float) 10, new SUICallback() { + SUIWindow bountyWindow = core.suiService.createInputBox(InputBoxType.INPUT_BOX_OK_CANCEL, "@bounty_hunter:setbounty_title", "@bounty_hunter:setbounty_prompt1 " + attacker.getCustomName() + "?" + "\n@bounty_hunter:setbounty_prompt2 " + + String.valueOf(victim.getBankCredits() + victim.getCashCredits()), victim, null, (float) 10, new SUICallback() { @Override public void process(SWGObject owner, int eventType, Vector returnList) { if (eventType == 0 && returnList.get(0) != null) { int bounty = Integer.parseInt(returnList.get(0)); + int totalFunds = victim.getBankCredits() + victim.getCashCredits(); - if (bounty > victim.getBankCredits()) + if (bounty > totalFunds) { + victim.sendSystemMessage("@bounty_hunter:setbounty_too_much", DisplayType.Broadcast); + sendSetBountyWindow(victim, attacker); return; - - if (!core.missionService.addToExistingBounty(attacker, bounty)) - core.missionService.createNewBounty(attacker, bounty); - - victim.setBankCredits(victim.getBankCredits() - bounty); + } + + if (bounty < 20000) { + victim.sendSystemMessage("@bounty_hunter:setbounty_too_little", DisplayType.Broadcast); + sendSetBountyWindow(victim, attacker); + return; + } else if (bounty > 1000000) { + victim.sendSystemMessage("@bounty_hunter:setbounty_cap", DisplayType.Broadcast); + bounty = 1000000; + } + + // Try removing bounty amount from the bank first then cash. Remove amount accordingly if bank/cash is less than placed bounty. + if (bounty > victim.getBankCredits()) { + int difference = bounty - victim.getBankCredits(); + + victim.setCashCredits(victim.getCashCredits() - difference); + victim.setBankCredits(0); + } else if (bounty > victim.getCashCredits()) { + int difference = bounty - victim.getCashCredits(); + + victim.setBankCredits(victim.getBankCredits() - difference); + victim.setCashCredits(0); + } else { victim.setBankCredits(victim.getBankCredits() - bounty); } + + if (!core.missionService.addToExistingBounty(attacker, victim.getObjectId(), bounty)) + core.missionService.createNewBounty(attacker, victim.getObjectId(), bounty); } } }); + bountyWindow.setProperty("txtInput:NumericInteger", "true"); + bountyWindow.setProperty("txtInput:MaxLength", "7"); core.suiService.openSUIWindow(bountyWindow); } diff --git a/src/services/mission/MissionService.java b/src/services/mission/MissionService.java index f701ad2e..ce658a23 100644 --- a/src/services/mission/MissionService.java +++ b/src/services/mission/MissionService.java @@ -513,7 +513,7 @@ public class MissionService implements INetworkDispatch { return null; } - public BountyListItem createNewBounty(CreatureObject bountyTarget, int reward) { + public BountyListItem createNewBounty(CreatureObject bountyTarget, long placer, int reward) { PlayerObject player = (PlayerObject) bountyTarget.getSlottedObject("ghost"); if (player == null) return null; @@ -523,6 +523,9 @@ public class MissionService implements INetworkDispatch { BountyListItem bounty = new BountyListItem(bountyTarget.getObjectId(), reward, core.playerService.getFormalProfessionName(player.getProfession()), bountyTarget.getFaction(), bountyTarget.getCustomName()); + if (placer != 0) + bounty.getBountyPlacers().add(placer); + Transaction txn = bountiesODB.getEnvironment().beginTransaction(null, null); bountiesODB.put(bounty, Long.class, BountyListItem.class, txn); txn.commitSync(); @@ -533,7 +536,7 @@ public class MissionService implements INetworkDispatch { return bounty; } - public boolean addToExistingBounty(CreatureObject bountyTarget, int amountToAdd) { + public boolean addToExistingBounty(CreatureObject bountyTarget, long placer, int amountToAdd) { BountyListItem bounty = getBountyListItem(bountyTarget.getObjectId()); @@ -541,6 +544,9 @@ public class MissionService implements INetworkDispatch { return false; bounty.addBounty(amountToAdd); + + if (placer != 0) + bounty.getBountyPlacers().add(placer); Transaction txn = bountiesODB.getEnvironment().beginTransaction(null, null); bountiesODB.put(bounty, Long.class, BountyListItem.class, txn); From 091d540ae8c93b704fb8abd87f708170ea931550 Mon Sep 17 00:00:00 2001 From: tacef Date: Wed, 30 Apr 2014 22:05:59 +0200 Subject: [PATCH 47/52] Added Rebel Recruiter script Added Rebelrecruiter to mos eisley cantina for testing reasons --- .../mobile/dressed_rebel_recruiter_human_female_01.py | 8 +++++++- scripts/static_spawns/tatooine.py | 4 ++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/object/mobile/dressed_rebel_recruiter_human_female_01.py b/scripts/object/mobile/dressed_rebel_recruiter_human_female_01.py index ccad8904..e0dd64a1 100644 --- a/scripts/object/mobile/dressed_rebel_recruiter_human_female_01.py +++ b/scripts/object/mobile/dressed_rebel_recruiter_human_female_01.py @@ -1,4 +1,10 @@ import sys +from resources.datatables import Options def setup(core, object): - return \ No newline at end of file + object.setAttachment('radial_filename', 'object/conversation'); + object.setAttachment('conversationFile','reb_recruiter') + object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE) + object.setStfFilename('mob/creature_names') + object.setStfName('rebel_recruiter') + return diff --git a/scripts/static_spawns/tatooine.py b/scripts/static_spawns/tatooine.py index ae130aec..1ce34894 100644 --- a/scripts/static_spawns/tatooine.py +++ b/scripts/static_spawns/tatooine.py @@ -27,5 +27,9 @@ def addPlanetSpawns(core, planet): impRecruiter = stcSvc.spawnObject('object/mobile/shared_dressed_imperial_officer_f.iff', 'tatooine', long(1280132), float(-6), float(1), float(9.2), float(0.70), float(0.71)) impRecruiter.setOptionsBitmask(264) + rebRecruiter = stcSvc.spawnObject('object/mobile/shared_dressed_rebel_recruiter_human_female_01.iff', 'tatooine', long(1082887), float(-30.5), float(-0.5), float(6.2), float(0.70), float(0.71)) + rebRecruiter.setOptionsBitmask(264) + + return From 2ce98833ea4ac897264246643f5879b23839f805 Mon Sep 17 00:00:00 2001 From: Waverunner Date: Wed, 30 Apr 2014 19:30:12 -0400 Subject: [PATCH 48/52] Null error fix for Mails --- src/services/chat/Mail.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/services/chat/Mail.java b/src/services/chat/Mail.java index 5709a059..c5aff7d0 100644 --- a/src/services/chat/Mail.java +++ b/src/services/chat/Mail.java @@ -21,7 +21,9 @@ ******************************************************************************/ package services.chat; +import java.util.ArrayList; import java.util.List; + import com.sleepycat.persist.model.Entity; import com.sleepycat.persist.model.PrimaryKey; @@ -36,7 +38,7 @@ public class Mail { private String message; private byte status; private int timeStamp; - private List attachments; + private List attachments = new ArrayList(); public static final byte NEW = 0x4E; public static final byte READ = 0x52; From 29a88981e0899b8251230f09e0ce4c3daf3da42d Mon Sep 17 00:00:00 2001 From: tacef Date: Thu, 1 May 2014 04:27:25 +0200 Subject: [PATCH 49/52] Updated Terminal scripts to use STF Strings --- scripts/object/tangible/terminal/terminal_bank.py | 2 +- scripts/object/tangible/terminal/terminal_bazaar.py | 3 +-- .../object/tangible/terminal/terminal_city_junk_dealer.py | 1 + scripts/object/tangible/terminal/terminal_cloning.py | 1 + .../object/tangible/terminal/terminal_mission_artisan.py | 2 +- .../tangible/terminal/terminal_mission_entertainer.py | 7 +++---- .../object/tangible/terminal/terminal_mission_imperial.py | 3 +-- scripts/object/tangible/terminal/terminal_mission_rebel.py | 3 +-- scripts/object/tangible/terminal/terminal_mission_scout.py | 1 + 9 files changed, 11 insertions(+), 12 deletions(-) diff --git a/scripts/object/tangible/terminal/terminal_bank.py b/scripts/object/tangible/terminal/terminal_bank.py index 64205c68..0a27868e 100644 --- a/scripts/object/tangible/terminal/terminal_bank.py +++ b/scripts/object/tangible/terminal/terminal_bank.py @@ -2,6 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'terminal/bank') - core.mapService.addLocation(object.getPlanet(), 'Bank Terminal', object.getPosition().x, object.getPosition().z, 41, 42, 0) + core.mapService.addLocation(object.getPlanet(), '@map_loc_cat_n:terminal_bank', object.getPosition().x, object.getPosition().z, 2, 42, 0) return \ No newline at end of file diff --git a/scripts/object/tangible/terminal/terminal_bazaar.py b/scripts/object/tangible/terminal/terminal_bazaar.py index e94866f0..967ff912 100644 --- a/scripts/object/tangible/terminal/terminal_bazaar.py +++ b/scripts/object/tangible/terminal/terminal_bazaar.py @@ -1,7 +1,6 @@ import sys def setup(core, object): - - core.mapService.addLocation(object.getPlanet(), 'Bazaar Terminal', object.getPosition().x, object.getPosition().z, 41, 43, 0) + core.mapService.addLocation(object.getPlanet(), '@map_loc_cat_n:terminal_bazaar', object.getPosition().x, object.getPosition().z, 41, 43, 0) return \ No newline at end of file diff --git a/scripts/object/tangible/terminal/terminal_city_junk_dealer.py b/scripts/object/tangible/terminal/terminal_city_junk_dealer.py index ccad8904..f09f88cc 100644 --- a/scripts/object/tangible/terminal/terminal_city_junk_dealer.py +++ b/scripts/object/tangible/terminal/terminal_city_junk_dealer.py @@ -1,4 +1,5 @@ import sys def setup(core, object): + core.mapService.addLocation(object.getPlanet(), '@map_loc_cat_n:junk_dealer', object.getPosition().x, object.getPosition().z, 26, 81, 0) return \ No newline at end of file diff --git a/scripts/object/tangible/terminal/terminal_cloning.py b/scripts/object/tangible/terminal/terminal_cloning.py index dc256f9a..46138012 100644 --- a/scripts/object/tangible/terminal/terminal_cloning.py +++ b/scripts/object/tangible/terminal/terminal_cloning.py @@ -2,5 +2,6 @@ import sys def setup(core, object): object.setAttachment('radial_filename', 'terminal/cloning_terminal') + return \ No newline at end of file diff --git a/scripts/object/tangible/terminal/terminal_mission_artisan.py b/scripts/object/tangible/terminal/terminal_mission_artisan.py index 911010d8..6bface4e 100644 --- a/scripts/object/tangible/terminal/terminal_mission_artisan.py +++ b/scripts/object/tangible/terminal/terminal_mission_artisan.py @@ -2,6 +2,6 @@ import sys def setup(core, object): - core.mapService.addLocation(object.getPlanet(), 'Artisan Mission Terminal', object.getPosition().x, object.getPosition().z, 41, 21, 0) + core.mapService.addLocation(object.getPlanet(), '@map_loc_cat_n:terminal_mission_artisan', object.getPosition().x, object.getPosition().z, 41, 76, 0) return \ No newline at end of file diff --git a/scripts/object/tangible/terminal/terminal_mission_entertainer.py b/scripts/object/tangible/terminal/terminal_mission_entertainer.py index 433b5f91..31bc4a90 100644 --- a/scripts/object/tangible/terminal/terminal_mission_entertainer.py +++ b/scripts/object/tangible/terminal/terminal_mission_entertainer.py @@ -1,7 +1,6 @@ import sys def setup(core, object): - - core.mapService.addLocation(object.getPlanet(), 'Entertainer Mission Terminal', object.getPosition().x, object.getPosition().z, 41, 24, 0) - return - \ No newline at end of file + object.setAttachment("terminalType", 2) + core.mapService.addLocation(object.getPlanet(), '@map_loc_cat_n:terminal_mission_entertainer', object.getPosition().x, object.getPosition().z, 41, 75, 0) + return \ No newline at end of file diff --git a/scripts/object/tangible/terminal/terminal_mission_imperial.py b/scripts/object/tangible/terminal/terminal_mission_imperial.py index 8e4773b5..216f3bfc 100644 --- a/scripts/object/tangible/terminal/terminal_mission_imperial.py +++ b/scripts/object/tangible/terminal/terminal_mission_imperial.py @@ -1,7 +1,6 @@ import sys def setup(core, object): - - core.mapService.addLocation(object.getPlanet(), 'Imperial Mission Terminal', object.getPosition().x, object.getPosition().z, 41, 46, 0) + core.mapService.addLocation(object.getPlanet(), '@map_loc_cat_n:terminal_mission_imperial', object.getPosition().x, object.getPosition().z, 41, 80, 0) return \ No newline at end of file diff --git a/scripts/object/tangible/terminal/terminal_mission_rebel.py b/scripts/object/tangible/terminal/terminal_mission_rebel.py index 0bb50bbe..f435f149 100644 --- a/scripts/object/tangible/terminal/terminal_mission_rebel.py +++ b/scripts/object/tangible/terminal/terminal_mission_rebel.py @@ -1,7 +1,6 @@ import sys def setup(core, object): - - core.mapService.addLocation(object.getPlanet(), 'Rebel Mission Terminal', object.getPosition().x, object.getPosition().z, 41, 45, 0) + core.mapService.addLocation(object.getPlanet(), '@map_loc_cat_n:terminal_mission_rebel', object.getPosition().x, object.getPosition().z, 41, 79, 0) return \ No newline at end of file diff --git a/scripts/object/tangible/terminal/terminal_mission_scout.py b/scripts/object/tangible/terminal/terminal_mission_scout.py index ccad8904..eb7c1e2a 100644 --- a/scripts/object/tangible/terminal/terminal_mission_scout.py +++ b/scripts/object/tangible/terminal/terminal_mission_scout.py @@ -1,4 +1,5 @@ import sys def setup(core, object): + core.mapService.addLocation(object.getPlanet(), '@map_loc_cat_n:terminal_mission_scout', object.getPosition().x, object.getPosition().z, 41, 77, 0) return \ No newline at end of file From 36a947b369f42c4fdf3a5cd405ef40d495bb568b Mon Sep 17 00:00:00 2001 From: Freddiec Date: Wed, 30 Apr 2014 22:20:34 -0500 Subject: [PATCH 50/52] Update landspeeder_tantive4_deed.py --- .../tangible/deed/vehicle_deed/landspeeder_tantive4_deed.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/object/tangible/deed/vehicle_deed/landspeeder_tantive4_deed.py b/scripts/object/tangible/deed/vehicle_deed/landspeeder_tantive4_deed.py index 92a45a9d..f031d37f 100644 --- a/scripts/object/tangible/deed/vehicle_deed/landspeeder_tantive4_deed.py +++ b/scripts/object/tangible/deed/vehicle_deed/landspeeder_tantive4_deed.py @@ -1,7 +1,7 @@ import sys def setup(core, object): - object.setAttachment('radial_filename', 'vehicleDeed') + object.setAttachment('radial_filename', 'deeds/vehicleDeed') return def use(core, actor, object): @@ -21,4 +21,4 @@ def use(core, actor, object): core.simulationService.add(vehicle, vehicle.getPosition().x, vehicle.getPosition().z, True) actor.setAttachment('activeVehicleID', vehicle.getObjectID()) - return \ No newline at end of file + return From f32074094eb1f3c31a0676cabf26a335ec624068 Mon Sep 17 00:00:00 2001 From: Levarrishawk Date: Thu, 1 May 2014 07:38:35 -0400 Subject: [PATCH 51/52] Modified Kaas Script Commented out all POB structures pending a possible relocation to snapshot. --- scripts/static_spawns/kaas.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/scripts/static_spawns/kaas.py b/scripts/static_spawns/kaas.py index b576e2da..f21c8441 100644 --- a/scripts/static_spawns/kaas.py +++ b/scripts/static_spawns/kaas.py @@ -14,14 +14,14 @@ def addPlanetSpawns(core, planet): objSvc = core.objectService #Dark Temple Area #Structures - stcSvc.spawnObject('object/building/military/shared_military_base_police_station_imperial_lok_otto.iff', 'kaas', long(0), float(-5117.8), float(80.0), float(-2314.1), float(0), float(0)) - stcSvc.spawnObject('object/building/player/shared_player_house_corellia_medium_style_01.iff', 'kaas', long(0), float(-5078.6), float(80.0), float(-2302.5), float(0), float(0)) - stcSvc.spawnObject('object/building/general/shared_bunker_imperial_weapons_research_facility_01.iff', 'kaas', long(0), float(-5159.5), float(80.0), float(-2298.7), float(0), float(0)) - stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', 'kaas', long(0), float(-5163.9), float(79.0), float(-2369.6), float(0.71), float(0.71)) - stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', 'kaas', long(0), float(-5163.9), float(79.0), float(-2351.6), float(0.71), float(0.71)) - stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', 'kaas', long(0), float(-5072.1), float(79.0), float(-2369.6), float(-0.71), float(0.71)) - stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', 'kaas', long(0), float(-5072.1), float(79.0), float(-2351.6), float(-0.71), float(0.71)) - stcSvc.spawnObject('object/building/military/shared_outpost_cloning_facility_s02.iff', long(0), 'kaas', long(0), float(-5072.1), float(80.0), float(-2279.5), float(0.71), float(0), float(-0.71), float(0)) + #stcSvc.spawnObject('object/building/military/shared_military_base_police_station_imperial_lok_otto.iff', 'kaas', long(0), float(-5117.8), float(80.0), float(-2314.1), float(0), float(0)) + #stcSvc.spawnObject('object/building/player/shared_player_house_corellia_medium_style_01.iff', 'kaas', long(0), float(-5078.6), float(80.0), float(-2302.5), float(0), float(0)) + #stcSvc.spawnObject('object/building/general/shared_bunker_imperial_weapons_research_facility_01.iff', 'kaas', long(0), float(-5159.5), float(80.0), float(-2298.7), float(0), float(0)) + #stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', 'kaas', long(0), float(-5163.9), float(79.0), float(-2369.6), float(0.71), float(0.71)) + #stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', 'kaas', long(0), float(-5163.9), float(79.0), float(-2351.6), float(0.71), float(0.71)) + #stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', 'kaas', long(0), float(-5072.1), float(79.0), float(-2369.6), float(-0.71), float(0.71)) + #stcSvc.spawnObject('object/building/content/aurilia/shared_aurilia_pyramid_hut.iff', 'kaas', long(0), float(-5072.1), float(79.0), float(-2351.6), float(-0.71), float(0.71)) + #stcSvc.spawnObject('object/building/military/shared_outpost_cloning_facility_s02.iff', 'kaas', long(0), float(-5072.1), float(80.0), float(-2279.5), float(0.71), float(0), float(-0.71), float(0)) #Terminals stcSvc.spawnObject('object/tangible/terminal/shared_terminal_bank.iff', 'kaas', long(0), float(-5080.8), float(80.0), float(-2275.7), float(-0.71), float(0.71)) @@ -58,20 +58,20 @@ def addPlanetSpawns(core, planet): #Village of the Descendants Area - stcSvc.spawnObject('object/building/general/shared_cave_01.iff', 'kaas', long(0), float(3348.1), float(110), float(2562.1), float(0), float(0)) + #stcSvc.spawnObject('object/building/general/shared_cave_01.iff', 'kaas', long(0), float(3348.1), float(110), float(2562.1), float(0), float(0)) #Kaas City Ruins #Tomb of Vitiate #Northwest Cave - stcSvc.spawnObject('object/building/general/shared_cave_01.iff', 'kaas', long(0), float(-6135.3), float(185), float(6575.0), float(0), float(0)) + #stcSvc.spawnObject('object/building/general/shared_cave_01.iff', 'kaas', long(0), float(-6135.3), float(185), float(6575.0), float(0), float(0)) #Abandoned Separatist Base - stcSvc.spawnObject('object/building/military/shared_military_base_police_station_rebel_style_01.iff', 'kaas', long(0), float(-3538), float(80), float(6758), float(0), float(0)) + #stcSvc.spawnObject('object/building/military/shared_military_base_police_station_rebel_style_01.iff', 'kaas', long(0), float(-3538), float(80), float(6758), float(0), float(0)) #Sith Meditation Chamber - stcSvc.spawnObject('object/building/player/shared_player_house_sith_meditation_room.iff', 'kaas', long(0), float(4766), float(126), float(-7307), float(0), float(0)) + #stcSvc.spawnObject('object/building/player/shared_player_house_sith_meditation_room.iff', 'kaas', long(0), float(4766), float(126), float(-7307), float(0), float(0)) #Large Ruin stcSvc.spawnObject('object/static/structure/dantooine/shared_dant_jedi_main_structure.iff', 'kaas', long(0), float(-434), float(77), float(-2252), float(0), float(0)) From 12ca3ae66170fcfe09d848a7eea529041b9af5ad Mon Sep 17 00:00:00 2001 From: Levarrishawk Date: Thu, 1 May 2014 07:42:55 -0400 Subject: [PATCH 52/52] Added Subfolders for Planetary Statics Pending move of all static spawn scripts to these subfolders. --- scripts/static_spawns/corellia/placeholder.txt | 0 scripts/static_spawns/dantooine/placeholder.txt | 0 scripts/static_spawns/dathomir/placeholder.txt | 0 scripts/static_spawns/endor/placeholder.txt | 0 scripts/static_spawns/kaas/placeholder.txt | 0 scripts/static_spawns/kashyyyk_main/placeholder.txt | 0 scripts/static_spawns/lok/placeholder.txt | 0 scripts/static_spawns/mustafar/placeholder.txt | 0 scripts/static_spawns/naboo/placeholder.txt | 0 scripts/static_spawns/rori/placeholder.txt | 0 scripts/static_spawns/talus/placeholder.txt | 0 scripts/static_spawns/tatooine/placeholder.txt | 0 scripts/static_spawns/yavin4/placeholder.txt | 0 13 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 scripts/static_spawns/corellia/placeholder.txt create mode 100644 scripts/static_spawns/dantooine/placeholder.txt create mode 100644 scripts/static_spawns/dathomir/placeholder.txt create mode 100644 scripts/static_spawns/endor/placeholder.txt create mode 100644 scripts/static_spawns/kaas/placeholder.txt create mode 100644 scripts/static_spawns/kashyyyk_main/placeholder.txt create mode 100644 scripts/static_spawns/lok/placeholder.txt create mode 100644 scripts/static_spawns/mustafar/placeholder.txt create mode 100644 scripts/static_spawns/naboo/placeholder.txt create mode 100644 scripts/static_spawns/rori/placeholder.txt create mode 100644 scripts/static_spawns/talus/placeholder.txt create mode 100644 scripts/static_spawns/tatooine/placeholder.txt create mode 100644 scripts/static_spawns/yavin4/placeholder.txt diff --git a/scripts/static_spawns/corellia/placeholder.txt b/scripts/static_spawns/corellia/placeholder.txt new file mode 100644 index 00000000..e69de29b diff --git a/scripts/static_spawns/dantooine/placeholder.txt b/scripts/static_spawns/dantooine/placeholder.txt new file mode 100644 index 00000000..e69de29b diff --git a/scripts/static_spawns/dathomir/placeholder.txt b/scripts/static_spawns/dathomir/placeholder.txt new file mode 100644 index 00000000..e69de29b diff --git a/scripts/static_spawns/endor/placeholder.txt b/scripts/static_spawns/endor/placeholder.txt new file mode 100644 index 00000000..e69de29b diff --git a/scripts/static_spawns/kaas/placeholder.txt b/scripts/static_spawns/kaas/placeholder.txt new file mode 100644 index 00000000..e69de29b diff --git a/scripts/static_spawns/kashyyyk_main/placeholder.txt b/scripts/static_spawns/kashyyyk_main/placeholder.txt new file mode 100644 index 00000000..e69de29b diff --git a/scripts/static_spawns/lok/placeholder.txt b/scripts/static_spawns/lok/placeholder.txt new file mode 100644 index 00000000..e69de29b diff --git a/scripts/static_spawns/mustafar/placeholder.txt b/scripts/static_spawns/mustafar/placeholder.txt new file mode 100644 index 00000000..e69de29b diff --git a/scripts/static_spawns/naboo/placeholder.txt b/scripts/static_spawns/naboo/placeholder.txt new file mode 100644 index 00000000..e69de29b diff --git a/scripts/static_spawns/rori/placeholder.txt b/scripts/static_spawns/rori/placeholder.txt new file mode 100644 index 00000000..e69de29b diff --git a/scripts/static_spawns/talus/placeholder.txt b/scripts/static_spawns/talus/placeholder.txt new file mode 100644 index 00000000..e69de29b diff --git a/scripts/static_spawns/tatooine/placeholder.txt b/scripts/static_spawns/tatooine/placeholder.txt new file mode 100644 index 00000000..e69de29b diff --git a/scripts/static_spawns/yavin4/placeholder.txt b/scripts/static_spawns/yavin4/placeholder.txt new file mode 100644 index 00000000..e69de29b