mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-31 01:15:57 -04:00
To save server resources, a mixed spawn area can consist of dynamic groups and lair groups. Also the minimal distance from dynamic group to nearest lair will be kept to prevent lairs and NPCs too close together a bit more.
12 lines
351 B
Python
12 lines
351 B
Python
# Spawn Area file created with PSWG Planetary Spawn Tool
|
|
import sys
|
|
from java.util import Vector
|
|
|
|
def addSpawnArea(core):
|
|
mixedGroups = Vector()
|
|
mixedGroups.add('piket_plains_walker_group')
|
|
mixedGroups.add('mixed_lair_group_1')
|
|
mixedGroups.add('naboo_starter')
|
|
core.spawnService.addMixedSpawnArea(mixedGroups, 0, 2355, 1024, 'dantooine')
|
|
return
|