mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-02 03:15:52 -04:00
Added Cloning Droids to Mos Eisley
Fixed Cloning Droid name issue
This commit is contained in:
@@ -6,6 +6,6 @@ def setup(core, object):
|
||||
object.setAttachment('conversationFile','medical_cloning_droid')
|
||||
object.setOptionsBitmask(Options.CONVERSABLE | Options.INVULNERABLE)
|
||||
object.setStfFilename('mob/creature_names')
|
||||
object.setStfName('surgical_droid')
|
||||
object.setStfName('surgical_droid_21b')
|
||||
return
|
||||
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
import sys
|
||||
# Project SWG: Cloners: Static Spawns
|
||||
# (C)2014 ProjectSWG
|
||||
|
||||
|
||||
|
||||
from resources.datatables import Options
|
||||
from resources.datatables import State
|
||||
|
||||
def addPlanetSpawns(core, planet):
|
||||
|
||||
|
||||
stcSvc = core.staticService
|
||||
objSvc = core.objectService
|
||||
|
||||
# TODO Check all NPCs for personalized scripting, change format.
|
||||
cloner1 = core.objectService.getObject(long(1106500))
|
||||
|
||||
stcSvc.spawnObject('object/mobile/shared_21b_surgical_droid.iff', 'tatooine', cloner1.getCellByCellNumber(2), float(-3.2), float(0.1), float(0.6), float(0), float(0), float(0), float(0))
|
||||
|
||||
|
||||
cloner2 = core.objectService.getObject(long(9655494))
|
||||
|
||||
stcSvc.spawnObject('object/mobile/shared_21b_surgical_droid.iff', 'tatooine', cloner2.getCellByCellNumber(2), float(-0.4), float(0.2), float(-2.5), float(0), float(0), float(0), float(0))
|
||||
|
||||
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user