Merge pull request #980 from ProjectSWGCore/GCWRewards

Factional recruiter rewards
This commit is contained in:
Ziggeh
2014-07-03 03:17:22 +02:00
41 changed files with 2003 additions and 354 deletions
@@ -0,0 +1,15 @@
import sys
def setup(core, object):
object.setAttachment('radial_filename', 'deeds/vehicleDeed')
object.setStfFilename('static_item_n')
object.setStfName('item_deed_barc_imperial_06_01')
object.setDetailFilename('static_item_d')
object.setDetailName('item_deed_barc_imperial_06_01')
object.setIntAttribute('no_trade', 1)
return
def use(core, actor, object):
core.mountService.generateVehicle(actor, object, 'object/mobile/vehicle/shared_barc_speeder_imperial.iff', 'object/intangible/vehicle/shared_barc_speeder_imperial_pcd.iff')
return
@@ -0,0 +1,15 @@
import sys
def setup(core, object):
object.setAttachment('radial_filename', 'deeds/vehicleDeed')
object.setStfFilename('static_item_n')
object.setStfName('item_deed_barc_rebel_06_01')
object.setDetailFilename('static_item_d')
object.setDetailName('item_deed_barc_rebel_06_01')
object.setIntAttribute('no_trade', 1)
return
def use(core, actor, object):
core.mountService.generateVehicle(actor, object, 'object/mobile/vehicle/shared_barc_speeder_rebel.iff', 'object/intangible/vehicle/shared_barc_speeder_rebel_pcd.iff')
return
@@ -0,0 +1,9 @@
import sys
def setup(core, object):
object.setStfFilename('static_item_n')
object.setStfName('item_pvp_lieutenant_comm_link_imperial_reward_04_01')
object.setDetailFilename('static_item_d')
object.setDetailName('item_pvp_lieutenant_comm_link_imperial_reward_04_01')
return
@@ -1,4 +1,5 @@
import sys
def setup(core, object):
object.setIntAttribute('no_trade', 1)
return
@@ -1,10 +1,4 @@
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,14 +1,4 @@
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
@@ -0,0 +1,14 @@
import sys
def setup(core, object):
object.setAttachment('radial_filename', 'object/usable')
object.setStfFilename('static_item_n')
object.setStfName('item_consumable_detect_hidden_02_01')
object.setDetailFilename('static_item_d')
object.setDetailName('item_consumable_detect_hidden_02_01')
object.setIntAttribute('reuse_time', 5)
object.setUses(8)
object.setStringAttribute('proc_name', '@ui_buff:detecthiddenconsumable20')
object.setAttachment('alternateBuffName', 'detectHiddenConsumable20')
return
@@ -0,0 +1,14 @@
import sys
def setup(core, object):
object.setAttachment('radial_filename', 'object/usable')
object.setStfFilename('static_item_n')
object.setStfName('item_consumable_detect_hidden_02_02')
object.setDetailFilename('static_item_d')
object.setDetailName('item_consumable_detect_hidden_02_02')
object.setIntAttribute('reuse_time', 5)
object.setUses(8)
object.setStringAttribute('proc_name', '@ui_buff:detecthiddenconsumable40')
object.setAttachment('alternateBuffName', 'detectHiddenConsumable40')
return
@@ -0,0 +1,14 @@
import sys
def setup(core, object):
object.setAttachment('radial_filename', 'object/usable')
object.setStfFilename('static_item_n')
object.setStfName('item_consumable_detect_hidden_02_03')
object.setDetailFilename('static_item_d')
object.setDetailName('item_consumable_detect_hidden_02_03')
object.setIntAttribute('reuse_time', 5)
object.setUses(8)
object.setStringAttribute('proc_name', '@ui_buff:detecthiddenconsumable65')
object.setAttachment('alternateBuffName', 'detectHiddenConsumable65')
return
@@ -0,0 +1,14 @@
import sys
def setup(core, object):
object.setAttachment('radial_filename', 'object/usable')
object.setStfFilename('static_item_n')
object.setStfName('item_consumable_detect_hidden_02_04')
object.setDetailFilename('static_item_d')
object.setDetailName('item_consumable_detect_hidden_02_04')
object.setIntAttribute('reuse_time', 5)
object.setUses(8)
object.setStringAttribute('proc_name', '@ui_buff:detecthiddenconsumable100')
object.setAttachment('alternateBuffName', 'detectHiddenConsumable100')
return
@@ -1,6 +1,10 @@
import sys
def setup(core, object):
object.setStfFilename('static_item_n')
object.setStfName('item_pvp_imperial_painting_03_01')
object.setDetailFilename('static_item_d')
object.setDetailName('item_pvp_imperial_painting_03_01')
return
#No name (Palpatine and Star Destroyers)
#Might of the Empire
@@ -0,0 +1,19 @@
import sys
def setup(core, object):
object.setCustomizationVariable('/private/index_color_1', 15);
object.setCustomizationVariable('/private/index_color_2', 15);
object.setCustomizationVariable('/private/index_color_3', 2);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_imperial_black_belt_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_imperial_black_belt_05_01')
object.setStringAttribute('faction_restriction', 'Imperial')
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
@@ -0,0 +1,19 @@
import sys
def setup(core, object):
object.setCustomizationVariable('/private/index_color_1', 15);
object.setCustomizationVariable('/private/index_color_2', 15);
object.setCustomizationVariable('/private/index_color_3', 2);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_imperial_black_bicep_l_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_imperial_black_bicep_l_05_01')
object.setStringAttribute('faction_restriction', 'Imperial')
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
@@ -0,0 +1,19 @@
import sys
def setup(core, object):
object.setCustomizationVariable('/private/index_color_1', 15);
object.setCustomizationVariable('/private/index_color_2', 15);
object.setCustomizationVariable('/private/index_color_3', 2);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_imperial_black_bicep_r_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_imperial_black_bicep_r_05_01')
object.setStringAttribute('faction_restriction', 'Imperial')
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
@@ -0,0 +1,19 @@
import sys
def setup(core, object):
object.setCustomizationVariable('/private/index_color_1', 15);
object.setCustomizationVariable('/private/index_color_2', 15);
object.setCustomizationVariable('/private/index_color_3', 2);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_imperial_black_boots_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_imperial_black_boots_05_01')
object.setStringAttribute('faction_restriction', 'Imperial')
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
@@ -0,0 +1,19 @@
import sys
def setup(core, object):
object.setCustomizationVariable('/private/index_color_1', 15);
object.setCustomizationVariable('/private/index_color_2', 15);
object.setCustomizationVariable('/private/index_color_3', 2);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_imperial_black_bracer_l_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_imperial_black_bracer_l_05_01')
object.setStringAttribute('faction_restriction', 'Imperial')
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
@@ -0,0 +1,19 @@
import sys
def setup(core, object):
object.setCustomizationVariable('/private/index_color_1', 15);
object.setCustomizationVariable('/private/index_color_2', 15);
object.setCustomizationVariable('/private/index_color_3', 2);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_imperial_black_bracer_r_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_imperial_black_bracer_r_05_01')
object.setStringAttribute('faction_restriction', 'Imperial')
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
@@ -0,0 +1,19 @@
import sys
def setup(core, object):
object.setCustomizationVariable('/private/index_color_1', 15);
object.setCustomizationVariable('/private/index_color_2', 15);
object.setCustomizationVariable('/private/index_color_3', 2);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_imperial_black_gloves_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_imperial_black_gloves_05_01')
object.setStringAttribute('faction_restriction', 'Imperial')
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
@@ -0,0 +1,19 @@
import sys
def setup(core, object):
object.setCustomizationVariable('/private/index_color_1', 15);
object.setCustomizationVariable('/private/index_color_2', 15);
object.setCustomizationVariable('/private/index_color_3', 2);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_imperial_black_helmet_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_imperial_black_helmet_05_01')
object.setStringAttribute('faction_restriction', 'Imperial')
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
@@ -0,0 +1,19 @@
import sys
def setup(core, object):
object.setCustomizationVariable('/private/index_color_1', 15);
object.setCustomizationVariable('/private/index_color_2', 15);
object.setCustomizationVariable('/private/index_color_3', 2);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_imperial_black_leggings_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_imperial_black_leggings_05_01')
object.setStringAttribute('faction_restriction', 'Imperial')
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', 15);
object.setCustomizationVariable('/private/index_color_2', 15);
object.setStfFilename('static_item_n')
object.setStfName('armor_pvp_spec_ops_imperial_black_chest_plate_orange_pad_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('armor_pvp_spec_ops_imperial_black_chest_plate_orange_pad_05_01')
object.setStringAttribute('faction_restriction', 'Imperial')
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
@@ -0,0 +1,15 @@
import sys
def setup(core, object):
object.setStfFilename('static_item_n')
object.setStfName('item_pvp_imperial_sergeant_major_medal_03_01')
object.setDetailFilename('static_item_d')
object.setDetailName('item_pvp_imperial_sergeant_major_medal_03_01')
object.setIntAttribute('no_trade', 1)
object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 30)
object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 30)
object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 24)
object.setIntAttribute('cat_stat_mod_bonus.@stat_n:strength_modified', 24)
return
@@ -0,0 +1,12 @@
def setup(core, object):
object.setStfFilename('static_item_n')
object.setStfName('item_pvp_imperial_colonel_signet_ring_05_01')
object.setDetailFilename('static_item_d')
object.setDetailName('item_pvp_imperial_colonel_signet_ring_05_01')
object.setIntAttribute('no_trade', 1)
object.setIntAttribute('cat_stat_mod_bonus.@stat_n:strength_modified', 24)
object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 60)
object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 24)
object.setIntAttribute('cat_stat_mod_bonus.@stat_n:agility_modified', 24)
return