mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-28 23:15:53 -04:00
53 lines
1.1 KiB
Python
53 lines
1.1 KiB
Python
import sys
|
|
import services.InstanceService.Instance
|
|
|
|
def getTerrain():
|
|
return 'terrain/dungeon1.trn'
|
|
|
|
def getBuilding():
|
|
return 'object/building/heroic/shared_exar_kun_tomb.iff'
|
|
|
|
def getCellId():
|
|
return 1
|
|
|
|
def getSpawnPosition(position):
|
|
position.x = float(-11.918457)
|
|
position.y = float(0.601063)
|
|
position.z = float(-125.692871)
|
|
return
|
|
|
|
def getDuration():
|
|
return 120
|
|
|
|
# NK lockout time was 30 minutes. Most instances were 0 and got reset at 12AM PTC.
|
|
def getLockoutTime():
|
|
return 0
|
|
|
|
def getExitTerrain():
|
|
return 'terrain/yavin4.trn'
|
|
|
|
def getExitPosition(position):
|
|
position.x = float(5097)
|
|
position.y = float(0)
|
|
position.z = float(5537)
|
|
return
|
|
|
|
# Called on instance creation to spawn npcs and objects.
|
|
def setup(core, instance):
|
|
return
|
|
|
|
# Called when there is a new participant added to the instance.
|
|
def add(core, instance, actor):
|
|
return
|
|
|
|
# Called when a participant is removed from the instance.
|
|
def remove(core, instance, actor):
|
|
return
|
|
|
|
# Any operations that need to be carried out regularly
|
|
def run(core, instance):
|
|
return
|
|
|
|
# Called on instance destruction to destroy the instance.
|
|
def destroy(core, instance):
|
|
return |