mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-13 03:13:26 -04:00
Merge branch 'master' of https://github.com/ProjectSWGCore/NGECore2
This commit is contained in:
@@ -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
|
||||
@@ -1,4 +1,10 @@
|
||||
import sys
|
||||
from resources.datatables import Options
|
||||
|
||||
def setup(core, object):
|
||||
return
|
||||
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
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
import sys
|
||||
from resources.datatables import Options
|
||||
|
||||
def setup(core, object):
|
||||
return
|
||||
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
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
import sys
|
||||
from resources.datatables import Options
|
||||
|
||||
def setup(core, object):
|
||||
return
|
||||
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
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
import sys
|
||||
from resources.datatables import Options
|
||||
|
||||
def setup(core, object):
|
||||
return
|
||||
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
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
import sys
|
||||
from resources.datatables import Options
|
||||
|
||||
def setup(core, object):
|
||||
return
|
||||
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
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
import sys
|
||||
from resources.datatables import Options
|
||||
|
||||
def setup(core, object):
|
||||
return
|
||||
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
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
import sys
|
||||
from resources.datatables import Options
|
||||
|
||||
def setup(core, object):
|
||||
return
|
||||
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
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setAttachment('radial_filename', 'deeds/structureDeed')
|
||||
return
|
||||
|
||||
def use(core, actor, object):
|
||||
return
|
||||
@@ -1,4 +1,8 @@
|
||||
import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setAttachment('radial_filename', 'deeds/structureDeed')
|
||||
return
|
||||
|
||||
def use(core, actor, object):
|
||||
return
|
||||
@@ -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
|
||||
return
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -2,5 +2,6 @@ import sys
|
||||
|
||||
def setup(core, object):
|
||||
object.setAttachment('radial_filename', 'terminal/cloning_terminal')
|
||||
|
||||
return
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user