Merge pull request #22 from ProjectSWGCore/master

Fork update
This commit is contained in:
tacef
2014-07-05 17:37:26 +02:00
356 changed files with 10348 additions and 885 deletions
+2
View File
@@ -62,3 +62,5 @@ Now your changes will be reviewed by other developers and once the changes are a
For more information please visit the wiki: https://github.com/ProjectSWGCore/NGECore2/wiki
Documentation can be found here: http://projectswgcore.github.io/NGECore2/doc/
Please prefix all commits with Added, Changed, Removed or Fixed. If you don't have enough room for multiple changes, use the extended description. Try not to bundle multiple changes into one vague line (ie. "Changed various combat things"). Try to make all commit messages understandable by non-programmers.
+1 -1
View File
@@ -1,6 +1,6 @@
LOAD.SNAPSHOT_OBJECTS=1
LOAD.BUILDOUT_OBJECTS=1
#LOAD.BUILDOUT_ONLY_FOR="dantooine"
#LOAD.BUILDOUT_ONLY_FOR="dathomir"
LOAD.RESOURCE.SYSTEM=1
# Misc
@@ -0,0 +1,15 @@
from java.lang import System
import sys
def modify(core, actor, count):
return
def complete(core, actor, collection):
ghost = actor.getSlottedObject('ghost')
actor.sendSystemMessage('@collection_n:inv_holocron_collection_01_finished', 0)
print ('Collection Finished Test')
bb = core.objectService.createObject('object/tangible/wearables/backpack/shared_fannypack_s01.iff', object.getPlanet())
core.playerService.giveItem(actor, bb)
print ('test2')
return
+10
View File
@@ -0,0 +1,10 @@
import sys
def setup(core, actor, target, command):
return
def run(core, actor, target, commandString):
pet = actor.getCalledPet()
pet.addDefender(target);
return
+19 -18
View File
@@ -9,32 +9,33 @@ def setup():
def run(core, actor, target, commandString):
if target == None:
if not target or not target.getClient():
return
thisCity = core.playerCityService.getCityObjectIsIn(actor)
#if !actor.hasSkill('Politician'):
#You must be a Politician to enable city zoning.
#actor.sendSystemMessage('@city/city:zoning_skill', 0)
#return
thisCity = main.NGECore.getInstance().playerCityService.getCityObjectIsIn(actor)
if thisCity == None:
if not thisCity:
#not_in_city_limits
actor.sendSystemMessage('@city/city:not_in_city_limits', 0)
return
if thisCity.getMayorID()!=actor.getObjectID() and not thisCity.isMilitiaMember(actor.getObjectID()):
if thisCity.getMayorID() != actor.getObjectID() and not thisCity.isMilitiaMember(actor.getObjectID()):
#You must be the mayor of the city or a member of the city militia to grant zoning rights.
actor.sendSystemMessage('@city/city:grant_rights_fail', 0)
actor.sendSystemMessage('thisCity.getMayorID() %s' % thisCity.getMayorID(), 0)
actor.sendSystemMessage('actor.getObjectID() %s' % actor.getObjectID(), 0)
return
#You have granted %TO zoning rights for 24 hours.
actor.sendSystemMessage(OutOfBand.ProsePackage("@city/city:rights_granted_self", "TO", target.getCustomName()), 0)
target.setAttachment('Has24HZoningFor',thisCity.getCityID())
target.setAttachment('Has24HZoningUntil',System.currentTimeMillis()+60*60*24)
target.sendSystemMessage(OutOfBand.ProsePackage("@city/city:rights_granted", "TO", thisCity.getCityName()), 0)
if target.getObjectID() == thisCity.getMayorID():
return
return
if thisCity.hasZoningRights(target):
thisCity.removeZoningRights(target)
actor.sendSystemMessage('@city/city:rights_revoked', 0)
target.sendSystemMessage('@city/city:rights_revoked_other', 0)
else:
thisCity.grantZoningRights(target)
#You have granted %TO zoning rights for 24 hours.
actor.sendSystemMessage(OutOfBand.ProsePackage("@city/city:rights_granted_self", "TO", target.getCustomName()), 0)
target.sendSystemMessage(OutOfBand.ProsePackage("@city/city:rights_granted", "TO", thisCity.getCityName()), 0)
return
+4 -2
View File
@@ -1,15 +1,17 @@
import sys
from resources.datatables import Posture
def setup():
return
def run(core, actor, target, commandString):
if actor.getPosture() == 13 or actor.getPosture() == 14:
if actor.getPosture() == Posture.Incapacitated or actor.getPosture() == Posture.Dead:
return
actor.setPosture(1)
actor.setPosture(Posture.Crouched)
actor.setSpeedMultiplierBase(0)
actor.setTurnRadius(0)
return
+47
View File
@@ -3,6 +3,12 @@ from engine.resources.scene import Point3D
from protocol.swg import ObjControllerMessage
from protocol.swg import UnknownAbilityPacket
from engine.resources.objects import SWGObject
from java.awt.datatransfer import StringSelection
from java.awt.datatransfer import Clipboard
from java.awt import Toolkit
from resources.datatables import GcwRank
from services.gcw import GCWService
def setup():
return
@@ -132,10 +138,51 @@ def run(core, actor, target, commandString):
elif command == 'spawnobj':
pos = actor.getPosition()
core.staticService.spawnObject(arg1, actor.getPlanet().getName(), 0, pos.x, pos.y, pos.z, 0, 0)
elif command == 'showpos':
pos = actor.getPosition()
ori = actor.getOrientation()
cellid = 0
planetName = actor.getPlanet().getName()
actor.sendSystemMessage('Position.x : %s' % pos.x, 0)
actor.sendSystemMessage('Position.y : %s' % pos.y, 0)
actor.sendSystemMessage('Position.z : %s' % pos.z, 0)
actor.sendSystemMessage('Orientation.y : %s' % ori.y, 0)
actor.sendSystemMessage('Orientation.w : %s' % ori.w, 0)
if (actor.getContainer()):
cid = actor.getContainer().getObjectID()
cellid = cid
actor.sendSystemMessage('Cell ID : %s' % cid, 0)
str = "<OBJECTNAME> = stcSvc.spawnObject('<MOBILENAME>', '" + planetName + "', long(%s" % cellid + "), float(%.4f" % pos.x + "), float(%.4f" % pos.y + "), float(%.4f" % pos.z + "), float(%.4f" % ori.y + "), float(%.4f" % ori.w + "))"
toolkit = Toolkit.getDefaultToolkit()
clipboard = toolkit.getSystemClipboard()
clipboard.setContents(StringSelection(str), None)
elif command == 'patrolpoint':
pos = actor.getPosition()
str = "patrolpoints.add(Point3D(float(%.2f" % pos.x + "), float(%.2f" % pos.y + "), float(%.2f" % pos.z + ")))"
toolkit = Toolkit.getDefaultToolkit()
clipboard = toolkit.getSystemClipboard()
clipboard.setContents(StringSelection(str), None)
actor.sendSystemMessage('Patrolpoint copied to clipboard', 0)
elif command == 'jesus':
actor.setHealth(actor.getMaxHealth())
actor.setAction(actor.getMaxAction())
actor.setPosture(0)
actor.setSpeedMultiplierBase(1)
actor.setTurnRadius(1)
elif command == 'unknownAbilityPacket' and arg1:
packet = UnknownAbilityPacket(arg1)
actor.getClient().getSession().write(packet.serialize())
actor.sendSystemMessage('Sent UnknownAbilityPacket for ability ' + arg1, 0)
return
elif command == 'rank' and arg1:
playerObject.setCurrentRank(int(arg1))
print (playerObject.getCurrentRank())
return
return
+36 -40
View File
@@ -12,51 +12,47 @@ def run(core, actor, target, commandString):
canEquip = core.equipmentService.canEquip(actor, target)
if target and container and target.getContainer():
oldContainer = target.getContainer()
if container == oldContainer:
print 'Error: New container is same as old container.'
return;
if canEquip[0] is False and container == actor:
actor.sendSystemMessage(canEquip[1], 0)
return
if target and container and target.getContainer():
oldContainer = target.getContainer()
if container == oldContainer:
print 'Error: New container is same as old container.'
return;
replacedObject = None
slotName = None
replacedObjects = []
slotNames = None
if actor == container:
slotNames = container.getSlotNamesForObject(target)
for slotName in slotNames:
object = container.getSlottedObject(slotName)
if not object in replacedObjects and not object == None:
replacedObjects.append(object)
replacedObject = None
slotName = None
replacedObjects = []
slotNames = None
if actor == container:
slotNames = container.getSlotNamesForObject(target)
oldContainer.transferTo(actor, container, target)
if actor == container:
if target.getTemplate().find('/wearables/') or target.getTemplate().find('/weapon/'):
core.equipmentService.equip(actor, target)
for object in replacedObjects:
core.equipmentService.unequip(actor, object)
#path = 'scripts/' + target.getTemplate().rpartition('/')[0] + '/'
#module = target.getTemplate().rpartition('/')[2].replace('shared_', '').replace('.iff', '')
#core.scriptService.callScript(path, 'equip', module, core, actor, target)
if container == actor.getSlottedObject('appearance_inventory'):
actor.addObjectToAppearanceEquipList(target)
for slotName in slotNames:
object = container.getSlottedObject(slotName)
if not object in replacedObjects and not object == None:
replacedObjects.append(object)
if object != None:
actor.transferTo(actor, oldContainer, object)
if target.getTemplate().find('/wearables/') or target.getTemplate().find('/weapon/'):
core.equipmentService.equip(actor, target)
for object in replacedObjects:
actor.removeObjectFromAppearanceEquipList(object)
if oldContainer == actor.getSlottedObject('appearance_inventory'):
actor.removeObjectFromAppearanceEquipList(target)
if actor == oldContainer:
if target.getTemplate().find('/wearables/') or target.getTemplate().find('/weapon/'):
#path = 'scripts/' + target.getTemplate().rpartition('/')[0] + '/'
#module = target.getTemplate().rpartition('/')[2].replace('shared_', '').replace('.iff', '')
#core.scriptService.callScript(path, 'unequip', module, core, actor, target)
core.equipmentService.unequip(actor, target, replacedObject)
core.equipmentService.unequip(actor, object)
oldContainer.transferTo(actor, container, target)
if oldContainer == actor.getSlottedObject('appearance_inventory'):
actor.removeObjectFromAppearanceEquipList(target)
if container == actor.getSlottedObject('appearance_inventory'):
actor.addObjectToAppearanceEquipList(target)
return
+65 -71
View File
@@ -2,102 +2,96 @@ import sys
from engine.resources.scene import Quaternion
def setup():
return
return
def run(core, actor, target, commandString):
parsedMsg = commandString.split(' ', 3)
objService = core.objectService
containerID = long(parsedMsg[1])
container = objService.getObject(containerID)
actorContainer = actor.getContainer()
if container == None: return
if not 'cell' in container.getTemplate() and container.isFull():
actor.sendSystemMessage('@container_error_message:container03', 0)
return
if container.getTemplate().startswith("object/tangible/inventory/shared_lightsaber_inventory") or target.getContainer().getTemplate().startswith("object/tangible/inventory/shared_lightsaber_inventory"):
core.equipmentService.calculateLightsaberAttributes(actor, target, container)
return;
parsedMsg = commandString.split(' ', 3)
objService = core.objectService
containerID = long(parsedMsg[1])
container = objService.getObject(containerID)
actorContainer = actor.getContainer()
if container == None: return
if not 'cell' in container.getTemplate() and container.isFull():
actor.sendSystemMessage('@container_error_message:container03', 0)
return
if target.getTemplate() == 'object/tangible/item/shared_loot_cash.iff':
core.lootService.handleCreditPickUp(actor,target)
if target.getGrandparent().getInventoryItemCount()==1:
core.lootService.setLooted(actor,target.getGrandparent())
core.objectService.destroyObject(target)
return
if container.getTemplate().startswith("object/tangible/inventory/shared_lightsaber_inventory") or target.getContainer().getTemplate().startswith("object/tangible/inventory/shared_lightsaber_inventory"):
core.equipmentService.calculateLightsaberAttributes(actor, target, container)
return;
if target.getTemplate() == 'object/tangible/item/shared_loot_cash.iff':
core.lootService.handleCreditPickUp(actor,target)
if target.getGrandparent().getInventoryItemCount()==1:
core.lootService.setLooted(actor,target.getGrandparent())
core.objectService.destroyObject(target)
return
if target.isLootItem():
target.setLootItem(0)
actor.sendSystemMessage('You looted ' + target.getObjectName().getStfValue() + ' from corpse.', 0)
#actor.sendSystemMessage('container.getInventoryItemCount() %s' % target.getGrandparent().getInventoryItemCount(), 0)
if target.getGrandparent().getInventoryItemCount()==1:
core.lootService.setLooted(actor,target.getGrandparent())
if actorContainer != None and (container.getTemplate() == "object/cell/shared_cell.iff") & core.housingService.getPermissions(actor, actorContainer):
if target.isLootItem():
target.setLootItem(0)
actor.sendSystemMessage('You looted ' + target.getObjectName().getStfValue() + ' from corpse.', 0)
#actor.sendSystemMessage('container.getInventoryItemCount() %s' % target.getGrandparent().getInventoryItemCount(), 0)
if target.getGrandparent().getInventoryItemCount()==1:
core.lootService.setLooted(actor,target.getGrandparent())
if actorContainer != None and (container.getTemplate() == "object/cell/shared_cell.iff") & core.housingService.getPermissions(actor, actorContainer):
target.getContainer().transferTo(actor, container, target)
core.simulationService.teleport(target, actor.getPosition(), Quaternion(1,0,0,0), containerID)
return
elif target.getContainer().getTemplate() == "object/cell/shared_cell.iff" and core.housingService.getPermissions(actor, target.getContainer()):
elif target.getContainer().getTemplate() == "object/cell/shared_cell.iff" and core.housingService.getPermissions(actor, target.getContainer()):
target.getContainer().transferTo(actor, container, target)
return
elif actorContainer != None and container.getTemplate() == "object/cell/shared_cell.iff":
actor.sendSystemMessage("You do not have permission to access that container!", 0)
return
elif actorContainer != None and container.getTemplate() == "object/cell/shared_cell.iff":
actor.sendSystemMessage("You do not have permission to access that container!", 0)
return
canEquip = core.equipmentService.canEquip(actor, target)
canEquip = core.equipmentService.canEquip(actor, target)
if canEquip[0] is False and container == actor:
actor.sendSystemMessage(canEquip[1], 0)
return
if canEquip[0] is False and container == actor:
actor.sendSystemMessage(canEquip[1], 0)
return
if target and container and target.getContainer():
oldContainer = target.getContainer()
if container == oldContainer:
print 'Error: New container is same as old container.'
return;
if target and container and target.getContainer():
oldContainer = target.getContainer()
if container == oldContainer:
print 'Error: New container is same as old container.'
return;
replacedObject = None
slotName = None
replacedObjects = []
replacedObjects = []
slotNames = None
if actor == container:
if actor == container:
slotNames = container.getSlotNamesForObject(target)
for slotName in slotNames:
object = container.getSlottedObject(slotName)
if not object in replacedObjects and not object == None:
replacedObjects.append(object)
oldContainer.transferTo(actor, container, target)
for object in replacedObjects:
core.equipmentService.unequip(actor, object)
if actor == container:
if target.getTemplate().find('/wearables/') or target.getTemplate().find('/weapon/'):
core.equipmentService.equip(actor, target)
#path = 'scripts/' + target.getTemplate().rpartition('/')[0] + '/'
#module = target.getTemplate().rpartition('/')[2].replace('shared_', '').replace('.iff', '')
#core.scriptService.callScript(path, 'equip', module, core, actor, target)
if container == actor.getSlottedObject('appearance_inventory'):
actor.addObjectToAppearanceEquipList(target)
for object in replacedObjects:
actor.removeObjectFromAppearanceEquipList(object)
if object != None:
container.transferTo(actor, container, object)
if target.getTemplate().find('/wearables/') or target.getTemplate().find('/weapon/'):
core.equipmentService.equip(actor, target)
for object in replacedObjects:
core.equipmentService.unequip(actor, object) # Needs to be verified due to the new structure of the script
oldContainer.transferTo(actor, container, target)
if oldContainer == actor.getSlottedObject('appearance_inventory'):
actor.removeObjectFromAppearanceEquipList(target)
if container == actor.getSlottedObject('appearance_inventory'):
actor.addObjectToAppearanceEquipList(target)
if actor == oldContainer:
if target.getTemplate().find('/wearables/') or target.getTemplate().find('/weapon/'):
#path = 'scripts/' + target.getTemplate().rpartition('/')[0] + '/'
#module = target.getTemplate().rpartition('/')[2].replace('shared_', '').replace('.iff', '')
#core.scriptService.callScript(path, 'unequip', module, core, actor, target)
core.equipmentService.unequip(actor, target)
return
return
+17 -21
View File
@@ -14,8 +14,8 @@ def run(core, actor, target, commandString):
if target and container and target.getContainer():
oldContainer = target.getContainer()
if container == oldContainer:
print 'Error: New container is same as old container.'
return;
print 'Error: New container is same as old container.'
return;
canEquip = core.equipmentService.canEquip(actor, target)
@@ -25,32 +25,28 @@ def run(core, actor, target, commandString):
replacedObject = None
slotName = None
replacedObjects = []
replacedObjects = []
slotNames = None
if actor == container:
if actor == container:
slotNames = container.getSlotNamesForObject(target)
for slotName in slotNames:
object = container.getSlottedObject(slotName)
if not object in replacedObjects and not object == None:
replacedObjects.append(object)
oldContainer.transferTo(actor, container, target)
if actor == container:
if target.getTemplate().find('/wearables/') or target.getTemplate().find('/weapon/'):
core.equipmentService.equip(actor, target)
if object != None:
container.transferTo(actor, container, object)
if target.getTemplate().find('/wearables/') or target.getTemplate().find('/weapon/'):
core.equipmentService.equip(actor, target)
for object in replacedObjects:
core.equipmentService.unequip(actor, object)
#path = 'scripts/' + target.getTemplate().rpartition('/')[0] + '/'
#module = target.getTemplate().rpartition('/')[2].replace('shared_', '').replace('.iff', '')
#core.scriptService.callScript(path, 'equip', module, core, actor, target)
if actor == oldContainer:
if target.getTemplate().find('/wearables/') or target.getTemplate().find('/weapon/'):
#path = 'scripts/' + target.getTemplate().rpartition('/')[0] + '/'
#module = target.getTemplate().rpartition('/')[2].replace('shared_', '').replace('.iff', '')
#core.scriptService.callScript(path, 'unequip', module, core, actor, target)
core.equipmentService.unequip(actor, target, replacedObject)
actor.setWeaponId(target.getObjectID())
oldContainer.transferTo(actor, container, target)
return
+7
View File
@@ -0,0 +1,7 @@
import sys
import time
def buildConstructor(core):
time.sleep(10)
return
+2 -7
View File
@@ -129,13 +129,8 @@ def handleFirstScreen(core, actor, npc, selection):
return
if selection == 2:
convSvc.sendConversationMessage(actor, npc, OutOfBand.ProsePackage('@conversation/faction_recruiter_imperial:s_90'))
options = Vector()
options.add(ConversationOption(OutOfBand.ProsePackage('@conversation/faction_recruiter_imperial:s_92'), 0))
options.add(ConversationOption(OutOfBand.ProsePackage('@conversation/faction_recruiter_imperial:s_96'), 1))
convSvc.sendConversationOptions(actor, npc, options, handleSecondScreen)
core.scriptService.callScript("scripts/", "gcw_rewards_imperial", "handleImperialItems1", core, actor);
core.conversationService.sendStopConversation(actor, npc, 'conversation/faction_recruiter_imperial', 's_90')
return
return
elif actor.getFaction() == 'imperial' and actor.getFactionStatus() == FactionStatus.SpecialForces:
+3 -8
View File
@@ -126,13 +126,8 @@ def handleFirstScreen(core, actor, npc, selection):
convSvc.sendConversationMessage(actor, npc, OutOfBand.ProsePackage("@conversation/faction_recruiter_rebel:s_332", percent, "TO", str(100 - percent)))
return
if selection == 2:
convSvc.sendConversationMessage(actor, npc, OutOfBand.ProsePackage('@conversation/faction_recruiter_rebel:s_76'))
options = Vector()
options.add(ConversationOption(OutOfBand.ProsePackage('@conversation/faction_recruiter_rebel:s_78'), 0))
options.add(ConversationOption(OutOfBand.ProsePackage('@conversation/faction_recruiter_rebel:s_360'), 1))
convSvc.sendConversationOptions(actor, npc, options, handleSecondScreen)
core.scriptService.callScript("scripts/", "gcw_rewards_rebel", "handleRebelItems1", core, actor);
core.conversationService.sendStopConversation(actor, npc, 'conversation/faction_recruiter_rebel', 's_75')
return
return
elif actor.getFaction() == 'rebel' and actor.getFactionStatus() == FactionStatus.SpecialForces:
@@ -194,7 +189,7 @@ def handleSecondScreen(core, actor, npc, selection):
options = Vector()
options.add(ConversationOption(outOfBand.ProsePackage('@conversation/faction_recruiter_rebel:s_78'), 0))
options.add(ConversationOption(OutOfBand.ProsePackage('@conversation/faction_recruiter_rebel:s_360'), 1))
options.add(ConversationOption(OutOfBand.ProsePackage('@conversation/faction_recruiter_rebel:s_75'), 1))
convSvc.sendConversationOptions(actor, npc, options, handleThirdScreen)
return
-474
View File
@@ -1,474 +0,0 @@
import sys
def CreateStartingCharacter(core, object):
#testObject = core.objectService.createObject('object/weapon/ranged/rifle/shared_rifle_t21.iff', object.getPlanet())
#testObject.setCustomName('This is a Jython Rifle')
#testObject.setStringAttribute('crafter', 'Light')
#testObject.setDamageType('@obj_attr_n:armor_eff_energy')
#testObject.setElementalType('@obj_attr_n:elemental_cold')
#testObject.setStringAttribute('cat_wpn_damage.damage', '0-0')
#testObject.setMinDamage(425)
#testObject.setMaxDamage(1150)
#testObject.setElementalDamage(50)
#testObject.setIntAttribute('cat_wpn_damage.weapon_dps', testObject.getDamagePerSecond())
#testObject.setIntAttribute('cat_skill_mod_bonus.@stat_n:precision_modified', 35)
#object.addSkillMod('kinetic' , 0)
#object.addSkillMod('energy' , 0)
#object.addSkillMod('heat' , 0)
#object.addSkillMod('cold' , 0)
#object.addSkillMod('acid' , 0)
#object.addSkillMod('electricity' , 0)
#object.addSkillMod('combat_strikethrough_value' , 50)
#object.addSkillMod('display_only_dodge' , 2000)
#object.addSkillMod('display_only_parry' , 1000)
#object.addSkillMod('display_only_strikethrough' , 500)
#object.addSkillMod('display_only_critical' , 2500)
#object.addSkillMod('display_only_evasion' , 1000)
#object.addSkillMod('display_only_glancing_blow' , 750)
#object.addSkillMod('display_only_block' , 2000)
#object.addSkillMod('combat_block_value' , 0)
# #inventory = object.getSlottedObject('inventory')
# #if not inventory:
# # return
# #inventory.add(testObject)
# #testClothing = core.objectService.createObject('object/tangible/wearables/cape/shared_cape_rebel_01.iff', object.getPlanet())
# #testClothing.setCustomName('Test Cape')
# #testCloak = core.objectService.createObject('object/tangible/wearables/robe/shared_robe_jedi_dark_s05.iff', object.getPlanet())
# #testCloak.setCustomName('Test Cloak')
# #inventory.add(testClothing)
# #inventory.add(testCloak)
# #profession = object.getSlottedObject('ghost').getProfession()
# #if profession == 'commando_1a':
# # object.addSkillMod('expertise_devastation_bonus' , 20)
# # testObject2 = core.objectService.createObject('object/weapon/ranged/heavy/shared_heavy_rocket_launcher.iff', object.getPlanet())
# # testObject2.setCustomName('Test Heavy Weapon')
# # testObject2.setStringAttribute('crafter', 'Light')
# # testObject2.setDamageType('@obj_attr_n:armor_eff_kinetic')
# # testObject2.setElementalType('@obj_attr_n:elemental_heat')
# # testObject2.setStringAttribute('cat_wpn_damage.damage', '0-0')
# # testObject2.setMinDamage(550)
# # testObject2.setMaxDamage(1315)
# # testObject2.setElementalDamage(216)
# # testObject2.setIntAttribute('cat_wpn_damage.weapon_dps', testObject2.getDamagePerSecond())
# # inventory.add(testObject2)
#
# addProfessionAbilities(core, object, profession)
# heroism1 = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_s10.iff', object.getPlanet())
# heroism1.setStfFilename('static_item_n')
# heroism1.setStfName('item_necklace_set_hero_01_01')
# heroism1.setDetailFilename('static_item_d')
# heroism1.setDetailName('item_necklace_set_hero_01_01')
# heroism1.setStringAttribute('@set_bonus:piece_bonus_count_2', '@set_bonus:set_bonus_hero_1')
# heroism1.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_hero_2')
# heroism1.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_hero_3')
# heroism1.setIntAttribute('cat_stat_mod_bonus.food_luck_modified' , 30)
# heroism1.setIntAttribute('cat_stat_mod_bonus.food_precision_modified' , 30)
# heroism1.setIntAttribute('cat_stat_mod_bonus.food_strength_modified' , 30)
# inventory = object.getSlottedObject('inventory')
# if not inventory:
# return
# inventory.add(heroism1)
# heroism2 = core.objectService.createObject('object/tangible/wearables/bracelet/shared_bracelet_s03_r.iff', object.getPlanet())
# heroism2.setStfFilename('static_item_n')
# heroism2.setStfName('item_bracelet_r_set_hero_01_01')
# heroism2.setDetailFilename('static_item_d')
# heroism2.setDetailName('item_bracelet_r_set_hero_01_01')
# heroism2.setStringAttribute('@set_bonus:piece_bonus_count_2', '@set_bonus:set_bonus_hero_1')
# heroism2.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_hero_2')
# heroism2.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_hero_3')
# heroism2.setIntAttribute('cat_stat_mod_bonus.food_luck_modified' , 30)
# heroism2.setIntAttribute('cat_stat_mod_bonus.food_precision_modified' , 30)
# heroism2.setIntAttribute('cat_stat_mod_bonus.food_strength_modified' , 30)
# inventory = object.getSlottedObject('inventory')
# if not inventory:
# return
# inventory.add(heroism2)
# heroism3 = core.objectService.createObject('object/tangible/wearables/bracelet/shared_bracelet_s03_l.iff', object.getPlanet())
# heroism3.setStfFilename('static_item_n')
# heroism3.setStfName('item_bracelet_l_set_hero_01_01')
# heroism3.setDetailFilename('static_item_d')
# heroism3.setDetailName('item_bracelet_l_set_hero_01_01')
# heroism3.setStringAttribute('@set_bonus:piece_bonus_count_2', '@set_bonus:set_bonus_hero_1')
# heroism3.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_hero_2')
# heroism3.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_hero_3')
# heroism3.setIntAttribute('cat_stat_mod_bonus.food_luck_modified' , 30)
# heroism3.setIntAttribute('cat_stat_mod_bonus.food_precision_modified' , 30)
# heroism3.setIntAttribute('cat_stat_mod_bonus.food_strength_modified' , 30)
# inventory = object.getSlottedObject('inventory')
# if not inventory:
# return
# inventory.add(heroism3)
# heroism4 = core.objectService.createObject('object/tangible/wearables/ring/shared_ring_s04.iff', object.getPlanet())
# heroism4.setStfFilename('static_item_n')
# heroism4.setStfName('item_ring_set_hero_01_01')
# heroism4.setDetailFilename('static_item_d')
# heroism4.setDetailName('item_ring_set_hero_01_01')
# heroism4.setStringAttribute('@set_bonus:piece_bonus_count_2', '@set_bonus:set_bonus_hero_1')
# heroism4.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_hero_2')
# heroism4.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_hero_3')
# heroism4.setIntAttribute('cat_stat_mod_bonus.food_luck_modified' , 30)
# heroism4.setIntAttribute('cat_stat_mod_bonus.food_precision_modified' , 30)
# heroism4.setIntAttribute('cat_stat_mod_bonus.food_strength_modified' , 30)
# inventory = object.getSlottedObject('inventory')
# if not inventory:
# return
# inventory.add(heroism4)
# heroism5 = core.objectService.createObject('object/tangible/wearables/ring/shared_ring_s02.iff', object.getPlanet())
# heroism5.setStfFilename('static_item_n')
# heroism5.setStfName('item_ring_a_set_hero')
# heroism5.setDetailFilename('static_item_d')
# heroism5.setDetailName('item_ring_a_set_hero')
# heroism5.setStringAttribute('@set_bonus:piece_bonus_count_2', '@set_bonus:set_bonus_hero_1')
# heroism5.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_hero_2')
# heroism5.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_hero_3')
# heroism5.setIntAttribute('cat_stat_mod_bonus.food_luck_modified' , 30)
# heroism5.setIntAttribute('cat_stat_mod_bonus.food_precision_modified' , 30)
# heroism5.setIntAttribute('cat_stat_mod_bonus.food_strength_modified' , 30)
# inventory = object.getSlottedObject('inventory')
# if not inventory:
# return
# inventory.add(heroism5)
return
def addProfessionAbilities(core, object, profession):
# if profession == 'force_sensitive_1a':
# testObject = core.objectService.createObject('object/weapon/melee/2h_sword/crafted_saber/shared_sword_lightsaber_two_handed_gcw_s01_gen5.iff', object.getPlanet())
# testObject.setCustomName('Lightsaber')
# testObject.setStringAttribute('crafter', 'Light')
# testObject.setDamageType('@obj_attr_n:armor_eff_energy')
# testObject.setElementalType('@obj_attr_n:elemental_cold')
# testObject.setStringAttribute('cat_wpn_damage.damage', '0-0')
# testObject.setMinDamage(600)
# testObject.setMaxDamage(1190)
# testObject.setElementalDamage(72)
# testObject.setIntAttribute('cat_wpn_damage.weapon_dps', testObject.getDamagePerSecond())
# inventory = object.getSlottedObject('inventory')
# inventory.add(testObject)
##Case Sensitive
# object.addAbility('fs_sweep_7')
# object.addAbility('fs_drain_7')
# object.addAbility('forceRun')
# object.addAbility('fs_dm_cc_crit_5')
# object.addAbility('fs_maelstrom_5')
# object.addAbility('fs_ae_dm_cc_6')
# object.addAbility('fs_sh_3')
# object.addAbility('fs_dm_cc_6')
# object.addAbility('fs_dm_7')
# object.addAbility('fs_buff_def_1_1')
# object.addAbility('fs_buff_ca_1')
# object.addAbility('saberBlock')
#elif profession == 'medic_1a':
# object.addAbility('me_bacta_bomb_5')
# object.addAbility('me_bacta_grenade_5')
# object.addAbility('me_bacta_ampule_6')
# object.addAbility('me_ae_heal_6')
# object.addAbility('me_dm_8')
# object.addAbility('me_dm_dot_6')
# object.addAbility('me_drag_1')
# object.addAbility('me_rv_pvp_single')
# object.addAbility('me_rv_area')
# object.addAbility('me_rv_pvp_area')
# object.addAbility('me_reckless_stimulation_6')
# object.addAbility('me_sh_1')
# object.addAbility('me_stasis_1')
# object.addAbility('me_stasis_self_1')
# object.addAbility('me_thyroid_rupture_1')
# object.addAbility('me_traumatize_5')
# object.addAbility('me_induce_insanity_1')
#elif profession == 'commando_1a':
# object.addAbility('co_del_ae_cc_2_2')
# object.addAbility('co_del_ae_dm_3')
# object.addAbility('co_del_ae_cc_1_3')
# object.addAbility('co_hw_dot')
# object.addAbility('co_ae_hw_dot')
#elif profession == 'bounty_hunter_1a':
#object.addAbility('bh_shields_1')
#object.addAbility('bh_dm_8')
#object.addAbility('bh_sh_3')
#object.addAbility('bh_armor_sprint_1')
#object.addAbility('bh_prescience')
#object.addAbility('bh_dm_crit_8')
#object.addAbility('crippleShot')
#object.addAbility('bh_fumble_6')
#object.addAbility('bh_intimidate_6')
#object.addAbility('bh_flawless_strike')
# direfate1 = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_s03.iff', object.getPlanet())
# direfate1.setStfFilename('static_item_n')
# direfate1.setStfName('item_necklace_set_bh_utility_b_01_01')
# direfate1.setDetailFilename('static_item_d')
# direfate1.setDetailName('item_necklace_set_bh_utility_b_01_01')
# direfate1.setStringAttribute('@set_bonus:piece_bonus_count_2', '@set_bonus:set_bonus_bh_utility_b_1')
# direfate1.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_bh_utility_b_2')
# direfate1.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_bh_utility_b_3')
# direfate1.setIntAttribute('cat_skill_mod_bonus.@stat_n:bh_dire_root' , 1)
# direfate1.setIntAttribute('cat_skill_mod_bonus.@stat_n:bh_dire_snare' , 1)
# direfate1.setIntAttribute('cat_skill_mod_bonus.@stat_n:fast_attack_line_dm_cc' , 2)
# inventory = object.getSlottedObject('inventory')
# if not inventory:
# return
# inventory.add(direfate1)
# direfate2 = core.objectService.createObject('object/tangible/wearables/bracelet/shared_bracelet_s04_r.iff', object.getPlanet())
# direfate2.setStfFilename('static_item_n')
# direfate2.setStfName('item_bracelet_r_set_bh_utility_b_01_01')
# direfate2.setDetailFilename('static_item_d')
# direfate2.setDetailName('item_bracelet_r_set_bh_utility_b_01_01')
# direfate2.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_bh_utility_b_2')
# direfate2.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_bh_utility_b_3')
# direfate2.setIntAttribute('cat_skill_mod_bonus.@stat_n:bh_dire_root' , 1)
# direfate2.setIntAttribute('cat_skill_mod_bonus.@stat_n:bh_dire_snare' , 1)
# direfate2.setIntAttribute('cat_skill_mod_bonus.@stat_n:fast_attack_line_dm_cc' , 2)
# inventory = object.getSlottedObject('inventory')
# if not inventory:
# return
# inventory.add(direfate2)
# direfate3 = core.objectService.createObject('object/tangible/wearables/bracelet/shared_bracelet_s04_l.iff', object.getPlanet())
# direfate3.setStfFilename('static_item_n')
# direfate3.setStfName('item_bracelet_l_set_bh_utility_b_01_01')
# direfate3.setDetailFilename('static_item_d')
# direfate3.setDetailName('item_bracelet_l_set_bh_utility_b_01_01')
# direfate3.setStringAttribute('@set_bonus:piece_bonus_count_2', '@set_bonus:set_bonus_bh_utility_b_1')
# direfate3.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_bh_utility_b_2')
# direfate3.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_bh_utility_b_3')
# direfate3.setIntAttribute('cat_skill_mod_bonus.@stat_n:bh_dire_root' , 1)
# direfate3.setIntAttribute('cat_skill_mod_bonus.@stat_n:bh_dire_snare' , 1)
# direfate3.setIntAttribute('cat_skill_mod_bonus.@stat_n:fast_attack_line_dm_cc' , 2)
# inventory = object.getSlottedObject('inventory')
# if not inventory:
# return
# inventory.add(direfate3)
# direfate4 = core.objectService.createObject('object/tangible/wearables/ring/shared_ring_s01.iff', object.getPlanet())
# direfate4.setStfFilename('static_item_n')
# direfate4.setStfName('item_ring_set_bh_utility_b_01_01')
# direfate4.setDetailFilename('static_item_d')
# direfate4.setDetailName('item_ring_set_bh_utility_b_01_01')
# direfate4.setStringAttribute('@set_bonus:piece_bonus_count_2', '@set_bonus:set_bonus_bh_utility_b_1')
# direfate4.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_bh_utility_b_2')
# direfate4.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_bh_utility_b_3')
# direfate4.setIntAttribute('cat_skill_mod_bonus.@stat_n:bh_dire_root' , 1)
# direfate4.setIntAttribute('cat_skill_mod_bonus.@stat_n:bh_dire_snare' , 1)
# direfate4.setIntAttribute('cat_skill_mod_bonus.@stat_n:fast_attack_line_dm_cc' , 2)
# inventory = object.getSlottedObject('inventory')
# if not inventory:
# return
# inventory.add(direfate4)
# direfate5 = core.objectService.createObject('object/tangible/wearables/ring/shared_ring_s03.iff', object.getPlanet())
# direfate5.setStfFilename('static_item_n')
# direfate5.setStfName('item_ring_a_set_bh_utility_b')
# direfate5.setDetailFilename('static_item_d')
# direfate5.setDetailName('item_ring_a_set_bh_utility_b')
# direfate5.setStringAttribute('@set_bonus:piece_bonus_count_2', '@set_bonus:set_bonus_bh_utility_b_1')
# direfate5.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_bh_utility_b_2')
# direfate5.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_bh_utility_b_3')
# direfate5.setIntAttribute('cat_skill_mod_bonus.@stat_n:bh_dire_root' , 1)
# direfate5.setIntAttribute('cat_skill_mod_bonus.@stat_n:bh_dire_snare' , 1)
# direfate5.setIntAttribute('cat_skill_mod_bonus.@stat_n:fast_attack_line_dm_cc' , 2)
# inventory = object.getSlottedObject('inventory')
# if not inventory:
# return
# inventory.add(direfate5)
# flawless1 = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_s02.iff', object.getPlanet())
# flawless1.setStfFilename('static_item_n')
# flawless1.setStfName('item_necklace_set_bh_utility_a_01_01')
# flawless1.setDetailFilename('static_item_d')
# flawless1.setDetailName('item_necklace_set_bh_utility_a_01_01')
# flawless1.setStringAttribute('@set_bonus:piece_bonus_count_2', '@set_bonus:set_bonus_bh_utility_a_1')
# flawless1.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_bh_utility_a_2')
# flawless1.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_bh_utility_a_3')
# flawless1.setIntAttribute('cat_stat_mod_bonus.food_luck_modified' , 30)
# flawless1.setIntAttribute('cat_stat_mod_bonus.food_precision_modified' , 50)
# inventory = object.getSlottedObject('inventory')
# if not inventory:
# return
# inventory.add(flawless1)
# flawless2 = core.objectService.createObject('object/tangible/wearables/bracelet/shared_bracelet_s03_r.iff', object.getPlanet())
# flawless2.setStfFilename('static_item_n')
# flawless2.setStfName('item_bracelet_r_set_bh_utility_a_01_01')
# flawless2.setDetailFilename('static_item_d')
# flawless2.setDetailName('item_bracelet_r_set_bh_utility_a_01_01')
# flawless2.setStringAttribute('@set_bonus:piece_bonus_count_2', '@set_bonus:set_bonus_bh_utility_b_1')
# flawless2.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_bh_utility_b_2')
# flawless2.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_bh_utility_b_3')
# flawless2.setIntAttribute('cat_stat_mod_bonus.food_luck_modified' , 30)
# flawless2.setIntAttribute('cat_stat_mod_bonus.food_precision_modified' , 50)
# inventory = object.getSlottedObject('inventory')
# if not inventory:
# return
# inventory.add(flawless2)
# flawless3 = core.objectService.createObject('object/tangible/wearables/bracelet/shared_bracelet_s03_l.iff', object.getPlanet())
# flawless3.setStfFilename('static_item_n')
# flawless3.setStfName('item_bracelet_l_set_bh_utility_a_01_01')
# flawless3.setDetailFilename('static_item_d')
# flawless3.setDetailName('item_bracelet_l_set_bh_utility_a_01_01')
# flawless3.setStringAttribute('@set_bonus:piece_bonus_count_2', '@set_bonus:set_bonus_bh_utility_b_1')
# flawless3.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_bh_utility_b_2')
# flawless3.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_bh_utility_b_3')
# flawless3.setIntAttribute('cat_stat_mod_bonus.food_luck_modified' , 30)
# flawless3.setIntAttribute('cat_stat_mod_bonus.food_precision_modified' , 50)
# inventory = object.getSlottedObject('inventory')
# if not inventory:
# return
# inventory.add(flawless3)
# flawless4 = core.objectService.createObject('object/tangible/wearables/ring/shared_ring_s02.iff', object.getPlanet())
# flawless4.setStfFilename('static_item_n')
# flawless4.setStfName('item_ring_set_bh_utility_a_01_01')
# flawless4.setDetailFilename('static_item_d')
# flawless4.setDetailName('item_ring_set_bh_utility_a_01_01')
# flawless4.setStringAttribute('@set_bonus:piece_bonus_count_2', '@set_bonus:set_bonus_bh_utility_b_1')
# flawless4.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_bh_utility_b_2')
# flawless4.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_bh_utility_b_3')
# flawless4.setIntAttribute('cat_stat_mod_bonus.food_luck_modified' , 30)
# flawless4.setIntAttribute('cat_stat_mod_bonus.food_precision_modified' , 50)
# inventory = object.getSlottedObject('inventory')
# if not inventory:
# return
# inventory.add(flawless4)
# flawless5 = core.objectService.createObject('object/tangible/wearables/ring/shared_ring_s04.iff', object.getPlanet())
# flawless5.setStfFilename('static_item_n')
# flawless5.setStfName('item_ring_a_set_bh_utility_a')
# flawless5.setDetailFilename('static_item_d')
# flawless5.setDetailName('item_ring_a_set_bh_utility_a')
# flawless5.setStringAttribute('@set_bonus:piece_bonus_count_2', '@set_bonus:set_bonus_bh_utility_b_1')
# flawless5.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_bh_utility_b_2')
# flawless5.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_bh_utility_b_3')
# flawless5.setIntAttribute('cat_stat_mod_bonus.food_luck_modified' , 30)
# flawless5.setIntAttribute('cat_stat_mod_bonus.food_precision_modified' , 50)
# inventory = object.getSlottedObject('inventory')
# if not inventory:
# return
# inventory.add(flawless5)
# enforcer1 = core.objectService.createObject('object/tangible/wearables/necklace/shared_necklace_s01.iff', object.getPlanet())
# enforcer1.setStfFilename('static_item_n')
# enforcer1.setStfName('item_necklace_set_bh_dps_01_01')
# enforcer1.setDetailFilename('static_item_d')
# enforcer1.setDetailName('item_necklace_set_bh_dps_01_01')
# enforcer1.setStringAttribute('@set_bonus:piece_bonus_count_2', '@set_bonus:set_bonus_bh_dps_1')
# enforcer1.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_bh_dps_2')
# enforcer1.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_bh_dps_3')
# enforcer1.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_action_line_dm' , 1)
# enforcer1.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_action_line_dm_crit' , 1)
# enforcer1.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_buff_duration_line_bh_return_fire' , 1)
# enforcer1.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_cooldown_line_dm' , 1)
# inventory = object.getSlottedObject('inventory')
# if not inventory:
# return
# inventory.add(enforcer1)
# enforcer2 = core.objectService.createObject('object/tangible/wearables/bracelet/shared_bracelet_s02_r.iff', object.getPlanet())
# enforcer2.setStfFilename('static_item_n')
# enforcer2.setStfName('item_bracelet_r_set_bh_dps_01_01')
# enforcer2.setDetailFilename('static_item_d')
# enforcer2.setDetailName('item_bracelet_r_set_dps_01_01')
# enforcer2.setStringAttribute('@set_bonus:piece_bonus_count_2', '@set_bonus:set_bonus_bh_dps_1')
# enforcer2.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_bh_dps_2')
# enforcer2.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_bh_dps_3')
# enforcer2.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_action_line_dm' , 1)
# enforcer2.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_action_line_dm_crit' , 1)
# enforcer2.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_buff_duration_line_bh_return_fire' , 1)
# enforcer2.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_cooldown_line_dm' , 1)
# inventory = object.getSlottedObject('inventory')
# if not inventory:
# return
# inventory.add(enforcer2)
# enforcer3 = core.objectService.createObject('object/tangible/wearables/bracelet/shared_bracelet_s02_l.iff', object.getPlanet())
# enforcer3.setStfFilename('static_item_n')
# enforcer3.setStfName('item_bracelet_l_set_bh_dps_01_01')
#enforcer3.setDetailFilename('static_item_d')
# enforcer3.setDetailName('item_bracelet_l_set_bh_dps_01_01')
# enforcer3.setStringAttribute('@set_bonus:piece_bonus_count_2', '@set_bonus:set_bonus_bh_dps_1')
# enforcer3.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_bh_dps_2')
# enforcer3.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_bh_dps_3')
#enforcer3.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_action_line_dm' , 1)
# enforcer3.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_action_line_dm_crit' , 1)
# enforcer3.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_buff_duration_line_bh_return_fire' , 1)
# enforcer3.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_cooldown_line_dm' , 1)
#inventory = object.getSlottedObject('inventory')
#if not inventory:
# return
#inventory.add(enforcer3)
#enforcer4 = core.objectService.createObject('object/tangible/wearables/ring/shared_ring_s01.iff', object.getPlanet())
#enforcer4.setStfFilename('static_item_n')
#enforcer4.setStfName('item_ring_set_bh_dps_01_01')
#enforcer4.setDetailFilename('static_item_d')
#enforcer4.setDetailName('item_ring_set_bh_dps_01_01')
#enforcer4.setStringAttribute('@set_bonus:piece_bonus_count_2', '@set_bonus:set_bonus_bh_dps_1')
#enforcer4.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_bh_dps_2')
#enforcer4.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_bh_dps_3')
#enforcer4.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_action_line_dm' , 1)
#enforcer4.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_action_line_dm_crit' , 1)
#enforcer4.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_buff_duration_line_bh_return_fire' , 1)
#enforcer4.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_cooldown_line_dm' , 1)
#inventory = object.getSlottedObject('inventory')
#if not inventory:
# return
#inventory.add(enforcer4)
#enforcer5 = core.objectService.createObject('object/tangible/wearables/ring/shared_ring_s03.iff', object.getPlanet())
#enforcer5.setStfFilename('static_item_n')
#enforcer5.setStfName('item_ring_a_set_bh_dps')
#enforcer5.setDetailFilename('static_item_d')
#enforcer5.setDetailName('item_ring_a_set_bh_dps')
#enforcer5.setStringAttribute('@set_bonus:piece_bonus_count_2', '@set_bonus:set_bonus_bh_dps_1')
#enforcer5.setStringAttribute('@set_bonus:piece_bonus_count_3', '@set_bonus:set_bonus_bh_dps_2')
#enforcer5.setStringAttribute('@set_bonus:piece_bonus_count_5', '@set_bonus:set_bonus_bh_dps_3')
#enforcer5.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_action_line_dm' , 1)
#enforcer5.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_action_line_dm_crit' , 1)
#enforcer5.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_buff_duration_line_bh_return_fire' , 1)
#enforcer5.setIntAttribute('cat_skill_mod_bonus.@stat_n:expertise_cooldown_line_dm' , 1)
#inventory = object.getSlottedObject('inventory')
#if not inventory:
# return
#inventory.add(enforcer5)
#return
#return
return
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_col_glass_shelf_book_01.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [1]
def STFparams():
return ['static_item_n','col_glass_shelf_02_01','static_item_d','col_glass_shelf_02_01']
def AddToCollection():
return 'col_glass_shelf_01'
def CollectionItemName():
return 'col_glass_shelf_chapter1'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_col_glass_shelf_book_01.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [2]
def STFparams():
return ['static_item_n','col_glass_shelf_02_02','static_item_d','col_glass_shelf_02_02']
def AddToCollection():
return 'col_glass_shelf_01'
def CollectionItemName():
return 'col_glass_shelf_chapter2'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_col_glass_shelf_book_01.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [3]
def STFparams():
return ['static_item_n','col_glass_shelf_02_03','static_item_d','col_glass_shelf_02_03']
def AddToCollection():
return 'col_glass_shelf_01'
def CollectionItemName():
return 'col_glass_shelf_chapter3'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_col_glass_shelf_book_01.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [4]
def STFparams():
return ['static_item_n','col_glass_shelf_02_04','static_item_d','col_glass_shelf_02_04']
def AddToCollection():
return 'col_glass_shelf_01'
def CollectionItemName():
return 'col_glass_shelf_chapter4'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_col_glass_shelf_book_01.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [5]
def STFparams():
return ['static_item_n','col_glass_shelf_02_05','static_item_d','col_glass_shelf_02_05']
def AddToCollection():
return 'col_glass_shelf_01'
def CollectionItemName():
return 'col_glass_shelf_chapter5'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_green_sq_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_green_sq_cut_gem_style1_02_02','static_item_d','col_green_sq_cut_gem_style1_02_02']
def AddToCollection():
return 'col_square_green_cut_gem_01'
def CollectionItemName():
return 'square_green_gem_style1_02'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_green_sq_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_green_sq_cut_gem_style1_02_03','static_item_d','col_green_sq_cut_gem_style1_02_03']
def AddToCollection():
return 'col_square_green_cut_gem_01'
def CollectionItemName():
return 'square_green_gem_style1_03'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_green_sq_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_green_sq_cut_gem_style1_02_04','static_item_d','col_green_sq_cut_gem_style1_02_04']
def AddToCollection():
return 'col_square_green_cut_gem_01'
def CollectionItemName():
return 'square_green_gem_style1_04'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_green_sq_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_green_sq_cut_gem_style1_02_05','static_item_d','col_green_sq_cut_gem_style1_02_05']
def AddToCollection():
return 'col_square_green_cut_gem_01'
def CollectionItemName():
return 'square_green_gem_style1_05'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_green_sq_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_green_sq_cut_gem_style1_02_08','static_item_d','col_green_sq_cut_gem_style1_02_08']
def AddToCollection():
return 'col_square_green_cut_gem_01'
def CollectionItemName():
return 'square_green_gem_style1_08'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_green_sq_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_green_sq_cut_gem_style1_02_06','static_item_d','col_green_sq_cut_gem_style1_02_06']
def AddToCollection():
return 'col_square_green_cut_gem_01'
def CollectionItemName():
return 'square_green_gem_style1_06'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_green_sq_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_green_sq_cut_gem_style1_02_09','static_item_d','col_green_sq_cut_gem_style1_02_09']
def AddToCollection():
return 'col_square_green_cut_gem_01'
def CollectionItemName():
return 'square_green_gem_style1_09'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_green_sq_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_green_sq_cut_gem_style1_02_10','static_item_d','col_green_sq_cut_gem_style1_02_10']
def AddToCollection():
return 'col_square_green_cut_gem_01'
def CollectionItemName():
return 'square_green_gem_style1_10'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_green_sq_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_green_sq_cut_gem_style1_02_01','static_item_d','col_green_sq_cut_gem_style1_02_01']
def AddToCollection():
return 'col_square_green_cut_gem_01'
def CollectionItemName():
return 'square_green_gem_style1_01'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_green_sq_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_green_sq_cut_gem_style1_02_07','static_item_d','col_green_sq_cut_gem_style1_02_07']
def AddToCollection():
return 'col_square_green_cut_gem_01'
def CollectionItemName():
return 'square_green_gem_style1_07'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_red_rnd_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_red_rnd_cut_gem_style1_02_02','static_item_d','col_red_rnd_cut_gem_style1_02_02']
def AddToCollection():
return 'col_round_red_cut_gem_01'
def CollectionItemName():
return 'round_red_gem_style1_02'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_red_rnd_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_red_rnd_cut_gem_style1_02_03','static_item_d','col_red_rnd_cut_gem_style1_02_03']
def AddToCollection():
return 'col_round_red_cut_gem_01'
def CollectionItemName():
return 'round_red_gem_style1_03'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_red_rnd_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_red_rnd_cut_gem_style1_02_04','static_item_d','col_red_rnd_cut_gem_style1_02_04']
def AddToCollection():
return 'col_round_red_cut_gem_01'
def CollectionItemName():
return 'round_red_gem_style1_04'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_red_rnd_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_red_rnd_cut_gem_style1_02_05','static_item_d','col_red_rnd_cut_gem_style1_02_05']
def AddToCollection():
return 'col_round_red_cut_gem_01'
def CollectionItemName():
return 'round_red_gem_style1_05'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_red_rnd_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_red_rnd_cut_gem_style1_02_08','static_item_d','col_red_rnd_cut_gem_style1_02_08']
def AddToCollection():
return 'col_round_red_cut_gem_01'
def CollectionItemName():
return 'round_red_gem_style1_08'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_red_rnd_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_red_rnd_cut_gem_style1_02_06','static_item_d','col_red_rnd_cut_gem_style1_02_06']
def AddToCollection():
return 'col_round_red_cut_gem_01'
def CollectionItemName():
return 'round_red_gem_style1_06'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_red_rnd_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_red_rnd_cut_gem_style1_02_09','static_item_d','col_red_rnd_cut_gem_style1_02_09']
def AddToCollection():
return 'col_round_red_cut_gem_01'
def CollectionItemName():
return 'round_red_gem_style1_09'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_red_rnd_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_red_rnd_cut_gem_style1_02_10','static_item_d','col_red_rnd_cut_gem_style1_02_10']
def AddToCollection():
return 'col_round_red_cut_gem_01'
def CollectionItemName():
return 'round_red_gem_style1_10'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_red_rnd_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_red_rnd_cut_gem_style1_02_01','static_item_d','col_red_rnd_cut_gem_style1_02_01']
def AddToCollection():
return 'col_round_red_cut_gem_01'
def CollectionItemName():
return 'round_red_gem_style1_01'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_red_rnd_cut_gem_style1.iff']
def STFparams():
return ['static_item_n','col_red_rnd_cut_gem_style1_02_07','static_item_d','col_red_rnd_cut_gem_style1_02_07']
def AddToCollection():
return 'col_round_red_cut_gem_01'
def CollectionItemName():
return 'round_red_gem_style1_07'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_col_holo_emitter_light_source.iff']
def STFparams():
return ['static_item_n','col_holo_emitter_light_source_02_01','static_item_d','col_holo_emitter_light_source_02_01']
def AddToCollection():
return 'col_holo_emitter_01'
def CollectionItemName():
return 'holo_emitter_part_02'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_col_holo_emitter_receptor.iff']
def STFparams():
return ['static_item_n','col_holo_emitter_receptor_02_01','static_item_d','col_holo_emitter_receptor_02_01']
def AddToCollection():
return 'col_holo_emitter_01'
def CollectionItemName():
return 'holo_emitter_part_03'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_col_holo_emitter_photo_detector.iff']
def STFparams():
return ['static_item_n','col_holo_emitter_photo_detector_02_01','static_item_d','col_holo_emitter_photo_detector_02_01']
def AddToCollection():
return 'col_holo_emitter_01'
def CollectionItemName():
return 'holo_emitter_part_05'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_col_holo_emitter_curcuit.iff']
def STFparams():
return ['static_item_n','col_holo_emitter_circuit_02_01','static_item_d','col_holo_emitter_circuit_02_01']
def AddToCollection():
return 'col_holo_emitter_01'
def CollectionItemName():
return 'holo_emitter_part_04'
def stackable():
return 1
@@ -0,0 +1,19 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_col_holo_emitter_processor.iff']
def STFparams():
return ['static_item_n','col_holo_emitter_processor_02_01','static_item_d','col_holo_emitter_processor_02_01']
def AddToCollection():
return 'col_holo_emitter_01'
def CollectionItemName():
return 'holo_emitter_part_01'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_04.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [1]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_04_01','static_item_d','item_collection_housing_improvement_04_01']
def AddToCollection():
return 'housing_improvement_04'
def CollectionItemName():
return 'housing_improvement_04_01'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_04.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [10]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_04_10','static_item_d','item_collection_housing_improvement_04_10']
def AddToCollection():
return 'housing_improvement_04'
def CollectionItemName():
return 'housing_improvement_04_10'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_04.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [2]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_04_02','static_item_d','item_collection_housing_improvement_04_02']
def AddToCollection():
return 'housing_improvement_04'
def CollectionItemName():
return 'housing_improvement_04_02'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_04.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [3]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_04_03','static_item_d','item_collection_housing_improvement_04_03']
def AddToCollection():
return 'housing_improvement_04'
def CollectionItemName():
return 'housing_improvement_04_03'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_04.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [4]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_04_04','static_item_d','item_collection_housing_improvement_04_04']
def AddToCollection():
return 'housing_improvement_04'
def CollectionItemName():
return 'housing_improvement_04_04'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_04.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [5]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_04_05','static_item_d','item_collection_housing_improvement_04_05']
def AddToCollection():
return 'housing_improvement_04'
def CollectionItemName():
return 'housing_improvement_04_05'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_04.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [6]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_04_06','static_item_d','item_collection_housing_improvement_04_06']
def AddToCollection():
return 'housing_improvement_04'
def CollectionItemName():
return 'housing_improvement_04_06'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_04.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [7]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_04_07','static_item_d','item_collection_housing_improvement_04_07']
def AddToCollection():
return 'housing_improvement_04'
def CollectionItemName():
return 'housing_improvement_04_07'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_04.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [8]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_04_08','static_item_d','item_collection_housing_improvement_04_08']
def AddToCollection():
return 'housing_improvement_04'
def CollectionItemName():
return 'housing_improvement_04_08'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_04.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [9]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_04_09','static_item_d','item_collection_housing_improvement_04_09']
def AddToCollection():
return 'housing_improvement_04'
def CollectionItemName():
return 'housing_improvement_04_09'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_03.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [1]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_03_01','static_item_d','item_collection_housing_improvement_03_01']
def AddToCollection():
return 'housing_improvement_03'
def CollectionItemName():
return 'housing_improvement_03_01'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_03.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [10]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_03_10','static_item_d','item_collection_housing_improvement_03_10']
def AddToCollection():
return 'housing_improvement_03'
def CollectionItemName():
return 'housing_improvement_03_10'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_03.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [2]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_03_02','static_item_d','item_collection_housing_improvement_03_02']
def AddToCollection():
return 'housing_improvement_03'
def CollectionItemName():
return 'housing_improvement_03_02'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_03.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [3]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_03_03','static_item_d','item_collection_housing_improvement_03_03']
def AddToCollection():
return 'housing_improvement_03'
def CollectionItemName():
return 'housing_improvement_03_03'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_03.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [4]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_03_04','static_item_d','item_collection_housing_improvement_03_04']
def AddToCollection():
return 'housing_improvement_03'
def CollectionItemName():
return 'housing_improvement_03_04'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_03.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [5]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_03_05','static_item_d','item_collection_housing_improvement_03_05']
def AddToCollection():
return 'housing_improvement_03'
def CollectionItemName():
return 'housing_improvement_03_05'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_03.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [6]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_03_06','static_item_d','item_collection_housing_improvement_03_06']
def AddToCollection():
return 'housing_improvement_03'
def CollectionItemName():
return 'housing_improvement_03_06'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_03.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [7]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_03_07','static_item_d','item_collection_housing_improvement_03_07']
def AddToCollection():
return 'housing_improvement_03'
def CollectionItemName():
return 'housing_improvement_03_07'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_03.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [8]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_03_08','static_item_d','item_collection_housing_improvement_03_08']
def AddToCollection():
return 'housing_improvement_03'
def CollectionItemName():
return 'housing_improvement_03_08'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_03.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [9]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_03_09','static_item_d','item_collection_housing_improvement_03_09']
def AddToCollection():
return 'housing_improvement_03'
def CollectionItemName():
return 'housing_improvement_03_09'
def stackable():
return 1
@@ -0,0 +1,30 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_01.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [1]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_01_01','static_item_d','item_collection_housing_improvement_01_01']
def AddToCollection():
return 'housing_improvement_01'
def CollectionItemName():
return 'housing_improvement_01_01'
def stackable():
return 1
@@ -0,0 +1,30 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_01.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [10]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_01_10','static_item_d','item_collection_housing_improvement_01_10']
def AddToCollection():
return 'housing_improvement_01'
def CollectionItemName():
return 'housing_improvement_01_10'
def stackable():
return 1
@@ -0,0 +1,30 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_01.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [2]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_01_02','static_item_d','item_collection_housing_improvement_01_02']
def AddToCollection():
return 'housing_improvement_01'
def CollectionItemName():
return 'housing_improvement_01_02'
def stackable():
return 1
@@ -0,0 +1,30 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_01.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [3]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_01_03','static_item_d','item_collection_housing_improvement_01_03']
def AddToCollection():
return 'housing_improvement_01'
def CollectionItemName():
return 'housing_improvement_01_03'
def stackable():
return 1
@@ -0,0 +1,30 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_01.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [4]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_01_04','static_item_d','item_collection_housing_improvement_01_04']
def AddToCollection():
return 'housing_improvement_01'
def CollectionItemName():
return 'housing_improvement_01_04'
def stackable():
return 1
@@ -0,0 +1,30 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_01.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [5]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_01_05','static_item_d','item_collection_housing_improvement_01_05']
def AddToCollection():
return 'housing_improvement_01'
def CollectionItemName():
return 'housing_improvement_01_05'
def stackable():
return 1
@@ -0,0 +1,30 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_01.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [6]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_01_06','static_item_d','item_collection_housing_improvement_01_06']
def AddToCollection():
return 'housing_improvement_01'
def CollectionItemName():
return 'housing_improvement_01_06'
def stackable():
return 1
@@ -0,0 +1,30 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_01.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [7]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_01_07','static_item_d','item_collection_housing_improvement_01_07']
def AddToCollection():
return 'housing_improvement_01'
def CollectionItemName():
return 'housing_improvement_01_07'
def stackable():
return 1
@@ -0,0 +1,30 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_01.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [8]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_01_08','static_item_d','item_collection_housing_improvement_01_08']
def AddToCollection():
return 'housing_improvement_01'
def CollectionItemName():
return 'housing_improvement_01_08'
def stackable():
return 1
@@ -0,0 +1,30 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_01.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [9]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_01_09','static_item_d','item_collection_housing_improvement_01_09']
def AddToCollection():
return 'housing_improvement_01'
def CollectionItemName():
return 'housing_improvement_01_09'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_02.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [1]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_02_01','static_item_d','item_collection_housing_improvement_02_01']
def AddToCollection():
return 'housing_improvement_02'
def CollectionItemName():
return 'housing_improvement_02_01'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_02.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [1]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_02_10','static_item_d','item_collection_housing_improvement_02_10']
def AddToCollection():
return 'housing_improvement_02'
def CollectionItemName():
return 'housing_improvement_02_10'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_02.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [2]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_02_02','static_item_d','item_collection_housing_improvement_02_02']
def AddToCollection():
return 'housing_improvement_02'
def CollectionItemName():
return 'housing_improvement_02_02'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_02.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [3]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_02_03','static_item_d','item_collection_housing_improvement_02_03']
def AddToCollection():
return 'housing_improvement_02'
def CollectionItemName():
return 'housing_improvement_02_03'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_02.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [4]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_02_04','static_item_d','item_collection_housing_improvement_02_04']
def AddToCollection():
return 'housing_improvement_02'
def CollectionItemName():
return 'housing_improvement_02_04'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_02.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [5]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_02_05','static_item_d','item_collection_housing_improvement_02_05']
def AddToCollection():
return 'housing_improvement_02'
def CollectionItemName():
return 'housing_improvement_02_05'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_02.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [6]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_02_06','static_item_d','item_collection_housing_improvement_02_06']
def AddToCollection():
return 'housing_improvement_02'
def CollectionItemName():
return 'housing_improvement_02_06'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_02.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [7]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_02_07','static_item_d','item_collection_housing_improvement_02_07']
def AddToCollection():
return 'housing_improvement_02'
def CollectionItemName():
return 'housing_improvement_02_07'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_02.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [8]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_02_08','static_item_d','item_collection_housing_improvement_02_08']
def AddToCollection():
return 'housing_improvement_02'
def CollectionItemName():
return 'housing_improvement_02_08'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_02.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [9]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_02_09','static_item_d','item_collection_housing_improvement_02_09']
def AddToCollection():
return 'housing_improvement_02'
def CollectionItemName():
return 'housing_improvement_02_01'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_05.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [1]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_05_01','static_item_d','item_collection_housing_improvement_05_01']
def AddToCollection():
return 'housing_improvement_05'
def CollectionItemName():
return 'housing_improvement_05_01'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_05.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [10]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_05_10','static_item_d','item_collection_housing_improvement_05_10']
def AddToCollection():
return 'housing_improvement_05'
def CollectionItemName():
return 'housing_improvement_05_10'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_05.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [2]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_05_02','static_item_d','item_collection_housing_improvement_05_02']
def AddToCollection():
return 'housing_improvement_05'
def CollectionItemName():
return 'housing_improvement_05_02'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_05.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [3]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_05_03','static_item_d','item_collection_housing_improvement_05_03']
def AddToCollection():
return 'housing_improvement_05'
def CollectionItemName():
return 'housing_improvement_05_03'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_05.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [4]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_05_04','static_item_d','item_collection_housing_improvement_05_04']
def AddToCollection():
return 'housing_improvement_05'
def CollectionItemName():
return 'housing_improvement_05_04'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_05.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [5]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_05_05','static_item_d','item_collection_housing_improvement_05_05']
def AddToCollection():
return 'housing_improvement_05'
def CollectionItemName():
return 'housing_improvement_05_05'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_05.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [6]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_05_06','static_item_d','item_collection_housing_improvement_05_06']
def AddToCollection():
return 'housing_improvement_05'
def CollectionItemName():
return 'housing_improvement_05_06'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_05.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [7]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_05_07','static_item_d','item_collection_housing_improvement_05_07']
def AddToCollection():
return 'housing_improvement_05'
def CollectionItemName():
return 'housing_improvement_05_07'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_05.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [8]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_05_08','static_item_d','item_collection_housing_improvement_05_08']
def AddToCollection():
return 'housing_improvement_05'
def CollectionItemName():
return 'housing_improvement_05_08'
def stackable():
return 1
@@ -0,0 +1,29 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_housing_improvement_05.iff']
def lootDescriptor():
return 'customattributes'
def customizationAttributes():
return ['/private/index_color_1']
def customizationValues():
return [9]
def STFparams():
return ['static_item_n','item_collection_housing_improvement_05_09','static_item_d','item_collection_housing_improvement_05_09']
def AddToCollection():
return 'housing_improvement_05'
def CollectionItemName():
return 'housing_improvement_05_09'
def stackable():
return 1
@@ -0,0 +1,20 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_nightsister_earrings.iff']
def STFparams():
return ['static_item_n','col_nightsister_earrings_01','static_item_d','col_nightsister_earrings_01']
def AddToCollection():
return 'col_nightsister_valuables'
def CollectionItemName():
return 'nightsister_earrings_01'
def stackable():
return 1
@@ -0,0 +1,20 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_nightsister_bracelet.iff']
def STFparams():
return ['static_item_n','col_nightsister_bracelet_01','static_item_d','col_nightsister_bracelet_01']
def AddToCollection():
return 'col_nightsister_valuables'
def CollectionItemName():
return 'nightsister_bracelet_01'
def stackable():
return 1
@@ -0,0 +1,20 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_nightsister_broach.iff']
def STFparams():
return ['static_item_n','col_nightsister_broach_01','static_item_d','col_nightsister_broach_01']
def AddToCollection():
return 'col_nightsister_valuables'
def CollectionItemName():
return 'nightsister_broach_01'
def stackable():
return 1
@@ -0,0 +1,20 @@
def itemTemplate():
return ['object/tangible/loot/creature_loot/collections/shared_nightsister_pendant.iff']
def STFparams():
return ['static_item_n','col_nightsister_pendant_01','static_item_d','col_nightsister_pendant_01']
def AddToCollection():
return 'col_nightsister_valuables'
def CollectionItemName():
return 'nightsister_pendant_01'
def stackable():
return 1

Some files were not shown because too many files have changed in this diff Show More