Dantooine-wide spawns added with Planetary Spawn Tool

Considering the combat level ranges from live, the planet's surface has
been covered with spawn areas for various mobs and NPCs. A small as
possible count of collidables was used to save server resources while
still being able to realize the spawns.
This commit is contained in:
CharonInferar
2014-05-19 15:52:57 +02:00
parent 5da4f05c62
commit 16f82b50a6
151 changed files with 4496 additions and 13 deletions
+8
View File
@@ -256,6 +256,10 @@ public class SpawnService {
lairObject.setMaximumCondition(1000 * level);
LairActor lairActor = new LairActor(lairObject, lairTemplate.getMobileName(), 10, level);
if (lairTemplate.getMobiles()!=null)
lairActor = new LairActor(lairObject, lairTemplate.getMobiles(), 10, level);
lairObject.setAttachment("AI", lairActor);
core.simulationService.add(lairObject, position.x, position.z, true);
@@ -308,6 +312,10 @@ public class SpawnService {
lairTemplates.put(name, new LairTemplate(name, mobile, mobileLimit, lairCRC));
}
public void addLairTemplate(String name, Vector<String> mobiles, int mobileLimit, String lairCRC) {
lairTemplates.put(name, new LairTemplate(name, mobiles, mobileLimit, lairCRC));
}
public void loadLairGroups() {
Path p = Paths.get("scripts/mobiles/lairgroups");
FileVisitor<Path> fv = new SimpleFileVisitor<Path>() {