Rebel rank reward system

This commit is contained in:
Zing
2014-06-28 20:23:39 -07:00
parent 585469571a
commit 9d0bf56efe
25 changed files with 1812 additions and 18 deletions
@@ -1,7 +1,6 @@
import sys
def setup(core, object):
print ('test')
object.setAttachment('CollectionItemName', 'blackfalcon_01')
object.setAttachment('radial_filename', 'item/world_collection')
return
@@ -1,24 +1,40 @@
import sys
def setup(core, object):
object.setAttachment('radial_filename', 'vehicleDeed')
object.setAttachment('radial_filename', 'deeds/vehicleDeed')
return
def use(core, actor, object):
datapad = actor.getSlottedObject('datapad')
pcd = core.objectService.createObject('object/intangible/vehicle/shared_barc_speeder_pcd.iff', actor.getPlanet(), actor.getPosition().x, actor.getPosition().z,actor.getPosition().y)
if object.getStfName() == ('barc_speeder'):
datapad = actor.getSlottedObject('datapad')
pcd = core.objectService.createObject('object/intangible/vehicle/shared_barc_speeder_pcd.iff', actor.getPlanet(), actor.getPosition().x, actor.getPosition().z,actor.getPosition().y)
if datapad and pcd:
if datapad and pcd:
datapad.add(pcd)
core.objectService.destroyObject(object)
datapad.add(pcd)
core.objectService.destroyObject(object)
vehicleId = actor.getAttachment('activeVehicleID')
vehicleId = actor.getAttachment('activeVehicleID')
if vehicleId == None:
vehicle = core.objectService.createObject('object/mobile/vehicle/shared_barc_speeder.iff', actor.getPlanet(), actor.getPosition().x, actor.getPosition().z,actor.getPosition().y)
vehicle.setOwnerId(actor.getObjectID())
core.simulationService.add(vehicle, vehicle.getPosition().x, vehicle.getPosition().z, True)
actor.setAttachment('activeVehicleID', vehicle.getObjectID())
elif object.getStfName() == ('item_deed_barc_rebel_06_01'):
datapad = actor.getSlottedObject('datapad')
pcd = core.objectService.createObject('object/intangible/vehicle/shared_barc_speeder_rebel_pcd.iff', actor.getPlanet(), actor.getPosition().x, actor.getPosition().z,actor.getPosition().y)
if datapad and pcd:
datapad.add(pcd)
core.objectService.destroyObject(object)
vehicleId = actor.getAttachment('activeVehicleID')
if vehicleId == None:
vehicle = core.objectService.createObject('object/mobile/vehicle/shared_barc_speeder_rebel.iff', actor.getPlanet(), actor.getPosition().x, actor.getPosition().z,actor.getPosition().y)
vehicle.setOwnerId(actor.getObjectID())
core.simulationService.add(vehicle, vehicle.getPosition().x, vehicle.getPosition().z, True)
actor.setAttachment('activeVehicleID', vehicle.getObjectID())
return
@@ -1,4 +1,10 @@
import sys
def setup(core, object):
object.setAttachment('radial_filename', 'object/usable')
return
def use(core, actor, object):
if object.getStfName() == ('item_consumable_detect_hidden_02_04'):
core.buffService.addBuffToCreature(actor, 'detectHiddenConsumable100', actor)
return
@@ -1,4 +1,14 @@
import sys
def setup(core, object):
object.setAttachment('radial_filename', 'object/usable')
return
def use(core, actor, object):
if object.getStfName() == ('item_consumable_detect_hidden_02_01'):
core.buffService.addBuffToCreature(actor, 'detectHiddenConsumable20', actor)
elif object.getStfName() == ('item_consumable_detect_hidden_02_02'):
core.buffService.addBuffToCreature(actor, 'detectHiddenConsumable40', actor)
elif object.getStfName() == ('item_consumable_detect_hidden_02_03'):
core.buffService.addBuffToCreature(actor, 'detectHiddenConsumable65', actor)
return
@@ -1,6 +1,10 @@
import sys
def setup(core, object):
object.setStfFilename('static_item_n')
object.setStfName('item_pvp_rebel_painting_03_01')
object.setDetailFilename('static_item_d')
object.setDetailName('item_pvp_rebel_painting_03_01')
return
#No name (Cruiser Escort)
#We Will Never Surrender
@@ -1,4 +1,19 @@
import sys
def setup(core, object):
object.setCustomizationVariable('/private/index_color_1', 44);
object.setCustomizationVariable('/private/index_color_2', 32);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_rebel_black_grey_belt_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_rebel_black_grey_belt_05_01')
object.setIntAttribute('no_trade')
object.setStringAttribute('faction_restriction', 'Rebel')
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
return
@@ -1,4 +1,18 @@
import sys
def setup(core, object):
object.setCustomizationVariable('/private/index_color_1', 5);
object.setCustomizationVariable('/private/index_color_2', 0);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_rebel_black_grey_bicep_l_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_rebel_black_grey_bicep_l_05_01')
object.setStringAttribute('faction_restriction', 'Rebel')
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
return
@@ -1,4 +1,18 @@
import sys
def setup(core, object):
object.setCustomizationVariable('/private/index_color_1', 5);
object.setCustomizationVariable('/private/index_color_2', 0);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_rebel_black_grey_bicep_r_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_rebel_black_grey_bicep_r_05_01')
object.setStringAttribute('faction_restriction', 'Rebel')
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
return
@@ -1,4 +1,18 @@
import sys
def setup(core, object):
object.setCustomizationVariable('/private/index_color_1', 0);
object.setCustomizationVariable('/private/index_color_2', 5);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_rebel_black_grey_boots_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_rebel_black_grey_boots_05_01')
object.setStringAttribute('faction_restriction', 'Rebel')
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
return
@@ -1,4 +1,18 @@
import sys
def setup(core, object):
object.setCustomizationVariable('/private/index_color_1', 5);
object.setCustomizationVariable('/private/index_color_2', 0);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_rebel_black_grey_bracer_l_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_rebel_black_grey_bracer_l_05_01')
object.setStringAttribute('faction_restriction', 'Rebel')
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
return
@@ -1,4 +1,18 @@
import sys
def setup(core, object):
object.setCustomizationVariable('/private/index_color_1', 5);
object.setCustomizationVariable('/private/index_color_2', 0);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_rebel_black_grey_bracer_r_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_rebel_black_grey_bracer_r_05_01')
object.setStringAttribute('faction_restriction', 'Rebel')
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
return
@@ -1,4 +1,18 @@
import sys
def setup(core, object):
object.setCustomizationVariable('/private/index_color_1', 5);
object.setCustomizationVariable('/private/index_color_2', 0);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_rebel_black_grey_chest_plate_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_rebel_black_grey_chest_plate_05_01')
object.setStringAttribute('faction_restriction', 'Rebel')
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
return
@@ -1,4 +1,18 @@
import sys
def setup(core, object):
object.setCustomizationVariable('/private/index_color_1', 5);
object.setCustomizationVariable('/private/index_color_2', 0);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_rebel_black_grey_gloves_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_rebel_black_grey_gloves_05_01')
object.setStringAttribute('faction_restriction', 'Rebel')
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
return
@@ -1,4 +1,18 @@
import sys
def setup(core, object):
object.setCustomizationVariable('/private/index_color_1', 5);
object.setCustomizationVariable('/private/index_color_2', 0);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_rebel_black_grey_helmet_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_rebel_black_grey_helmet_05_01')
object.setStringAttribute('faction_restriction', 'Rebel')
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
return
@@ -1,4 +1,18 @@
import sys
def setup(core, object):
object.setCustomizationVariable('/private/index_color_1', 0);
object.setCustomizationVariable('/private/index_color_2', 5);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_rebel_black_grey_leggings_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_rebel_black_grey_leggings_05_01')
object.setStringAttribute('faction_restriction', 'Rebel')
object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault')
object.setIntAttribute('cat_armor_standard_protection.kinetic', 6608)
object.setIntAttribute('cat_armor_standard_protection.energy', 4608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5608)
object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5608)
return