From 25b37c7c70663d93fe2c58d0657eb4f124a54ce4 Mon Sep 17 00:00:00 2001 From: tacef Date: Sat, 7 Jun 2014 14:09:50 +0200 Subject: [PATCH 01/11] Added some NPC scripts to Dathomir --- .../mobiles/dathomir/ancient_bull_rancor.py | 39 +++++++++++++++ .../dathomir/angry_baz_nitch_avenger.py | 45 ++++++++++++++++++ scripts/mobiles/dathomir/bolma.py | 2 - scripts/mobiles/dathomir/bolma_prime.py | 45 ++++++++++++++++++ .../dathomir/caver_spider_broodling.py | 42 +++++++++++++++++ scripts/mobiles/dathomir/cavern_spider.py | 42 +++++++++++++++++ .../mobiles/dathomir/cavern_spider_hunter.py | 42 +++++++++++++++++ .../mobiles/dathomir/cavern_spider_queen.py | 42 +++++++++++++++++ scripts/mobiles/dathomir/chasmal_spider.py | 42 +++++++++++++++++ scripts/mobiles/dathomir/craggy_bolma.py | 47 +++++++++++++++++++ scripts/mobiles/dathomir/disturbed_bolma.py | 45 ++++++++++++++++++ .../dathomir/domesticated_brackaset.py | 45 ++++++++++++++++++ .../mobiles/dathomir/enraged_bull_rancor.py | 39 +++++++++++++++ scripts/mobiles/dathomir/enraged_rancor.py | 39 +++++++++++++++ .../dathomir/enraged_reptilian_flier.py | 45 ++++++++++++++++++ 15 files changed, 599 insertions(+), 2 deletions(-) create mode 100644 scripts/mobiles/dathomir/ancient_bull_rancor.py create mode 100644 scripts/mobiles/dathomir/angry_baz_nitch_avenger.py create mode 100644 scripts/mobiles/dathomir/bolma_prime.py create mode 100644 scripts/mobiles/dathomir/caver_spider_broodling.py create mode 100644 scripts/mobiles/dathomir/cavern_spider.py create mode 100644 scripts/mobiles/dathomir/cavern_spider_hunter.py create mode 100644 scripts/mobiles/dathomir/cavern_spider_queen.py create mode 100644 scripts/mobiles/dathomir/chasmal_spider.py create mode 100644 scripts/mobiles/dathomir/craggy_bolma.py create mode 100644 scripts/mobiles/dathomir/disturbed_bolma.py create mode 100644 scripts/mobiles/dathomir/domesticated_brackaset.py create mode 100644 scripts/mobiles/dathomir/enraged_bull_rancor.py create mode 100644 scripts/mobiles/dathomir/enraged_rancor.py create mode 100644 scripts/mobiles/dathomir/enraged_reptilian_flier.py diff --git a/scripts/mobiles/dathomir/ancient_bull_rancor.py b/scripts/mobiles/dathomir/ancient_bull_rancor.py new file mode 100644 index 00000000..8463ec53 --- /dev/null +++ b/scripts/mobiles/dathomir/ancient_bull_rancor.py @@ -0,0 +1,39 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('ancient_bull_rancor') + mobileTemplate.setLevel(83) + mobileTemplate.setDifficulty(Difficulty.BOSS) + mobileTemplate.setMinSpawnDistance(4) + mobileTemplate.setMaxSpawnDistance(8) + mobileTemplate.setDeathblow(True) + mobileTemplate.setScale(1.1) + mobileTemplate.setMeatType("Carnivore Meat") + mobileTemplate.setMeatAmount(1100) + mobileTemplate.setHideType("Leathery Hide") + mobileTemplate.setHideAmount(1000) + mobileTemplate.setBoneType("Mammal Bones") + mobileTemplate.setBoneAmount(950) + mobileTemplate.setSocialGroup("rancor") + mobileTemplate.setAssistRange(12) + mobileTemplate.setStalker(False) + mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE + Options.ATTACKABLE) + + templates = Vector() + templates.add('object/mobile/shared_rancor.iff') + mobileTemplate.setTemplates(templates) + + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('ancient_bull_rancor', mobileTemplate) \ No newline at end of file diff --git a/scripts/mobiles/dathomir/angry_baz_nitch_avenger.py b/scripts/mobiles/dathomir/angry_baz_nitch_avenger.py new file mode 100644 index 00000000..526099b1 --- /dev/null +++ b/scripts/mobiles/dathomir/angry_baz_nitch_avenger.py @@ -0,0 +1,45 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('angry_baz_nitch_avenger') + mobileTemplate.setLevel(60) + mobileTemplate.setDifficulty(Difficulty.NORMAL) + + mobileTemplate.setMinSpawnDistance(4) + mobileTemplate.setMaxSpawnDistance(8) + mobileTemplate.setDeathblow(True) + mobileTemplate.setScale(1) + mobileTemplate.setMeatType("Wild Meat") + mobileTemplate.setMeatAmount(5) + mobileTemplate.setHideType("Leathery Hide") + mobileTemplate.setHideAmount(2) + mobileTemplate.setBoneType("Mammal Bones") + mobileTemplate.setBoneAmount(2) + mobileTemplate.setSocialGroup("baz nitch") + mobileTemplate.setAssistRange(12) + mobileTemplate.setStalker(False) + + templates = Vector() + templates.add('object/mobile/shared_baz_nitch_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', WeaponType.UNARMED, 1.0, 6, 'kinetic') + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('baz_nitch', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/dathomir/bolma.py b/scripts/mobiles/dathomir/bolma.py index e3ead32a..85976909 100644 --- a/scripts/mobiles/dathomir/bolma.py +++ b/scripts/mobiles/dathomir/bolma.py @@ -12,8 +12,6 @@ def addTemplate(core): mobileTemplate.setCreatureName('bolma') mobileTemplate.setLevel(55) - mobileTemplate.setMinLevel(55) - mobileTemplate.setMaxLevel(55) mobileTemplate.setDifficulty(Difficulty.NORMAL) mobileTemplate.setMinSpawnDistance(4) diff --git a/scripts/mobiles/dathomir/bolma_prime.py b/scripts/mobiles/dathomir/bolma_prime.py new file mode 100644 index 00000000..2f643a21 --- /dev/null +++ b/scripts/mobiles/dathomir/bolma_prime.py @@ -0,0 +1,45 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('bolma_prime') + mobileTemplate.setLevel(56) + mobileTemplate.setDifficulty(Difficulty.NORMAL) + + mobileTemplate.setMinSpawnDistance(4) + mobileTemplate.setMaxSpawnDistance(8) + mobileTemplate.setDeathblow(False) + mobileTemplate.setScale(1) + mobileTemplate.setMeatType("Wild Meat") + mobileTemplate.setMeatAmount(175) + mobileTemplate.setHideType("Leathery Hide") + mobileTemplate.setHideAmount(160) + mobileTemplate.setBoneType("Mammal Bones") + mobileTemplate.setBoneAmount(150) + mobileTemplate.setSocialGroup("bolma") + mobileTemplate.setAssistRange(12) + mobileTemplate.setStalker(False) + + templates = Vector() + templates.add('object/mobile/shared_bolma_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', WeaponType.UNARMED, 1.0, 6, 'kinetic') + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('bolma_prime', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/dathomir/caver_spider_broodling.py b/scripts/mobiles/dathomir/caver_spider_broodling.py new file mode 100644 index 00000000..a66658d8 --- /dev/null +++ b/scripts/mobiles/dathomir/caver_spider_broodling.py @@ -0,0 +1,42 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('cave_gaping_spider_broodling') + mobileTemplate.setLevel(77) + mobileTemplate.setDifficulty(Difficulty.ELITE) + + mobileTemplate.setMinSpawnDistance(4) + mobileTemplate.setMaxSpawnDistance(8) + mobileTemplate.setDeathblow(True) + mobileTemplate.setScale(1) + mobileTemplate.setMeatType("Insect Meat") + mobileTemplate.setMeatAmount(35) + mobileTemplate.setSocialGroup("spider nightsister") + mobileTemplate.setAssistRange(12) + mobileTemplate.setStalker(True) + mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE + Options.ATTACKABLE) + + templates = Vector() + templates.add('object/mobile/shared_gaping_spider_broodling.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', WeaponType.UNARMED, 1.0, 6, 'kinetic') + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('cavern_spider_broodling', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/dathomir/cavern_spider.py b/scripts/mobiles/dathomir/cavern_spider.py new file mode 100644 index 00000000..797a3c2f --- /dev/null +++ b/scripts/mobiles/dathomir/cavern_spider.py @@ -0,0 +1,42 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('cave_gaping_spider') + mobileTemplate.setLevel(78) + mobileTemplate.setDifficulty(Difficulty.ELITE) + + mobileTemplate.setMinSpawnDistance(4) + mobileTemplate.setMaxSpawnDistance(8) + mobileTemplate.setDeathblow(True) + mobileTemplate.setScale(1) + mobileTemplate.setMeatType("Insect Meat") + mobileTemplate.setMeatAmount(35) + mobileTemplate.setSocialGroup("spider nightsister") + mobileTemplate.setAssistRange(12) + mobileTemplate.setStalker(True) + mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE + Options.ATTACKABLE) + + templates = Vector() + templates.add('object/mobile/shared_gaping_spider.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', WeaponType.UNARMED, 1.0, 6, 'kinetic') + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('cavern_spider', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/dathomir/cavern_spider_hunter.py b/scripts/mobiles/dathomir/cavern_spider_hunter.py new file mode 100644 index 00000000..90a3617b --- /dev/null +++ b/scripts/mobiles/dathomir/cavern_spider_hunter.py @@ -0,0 +1,42 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('cave_gaping_spider_hunter') + mobileTemplate.setLevel(79) + mobileTemplate.setDifficulty(Difficulty.ELITE) + + mobileTemplate.setMinSpawnDistance(4) + mobileTemplate.setMaxSpawnDistance(8) + mobileTemplate.setDeathblow(True) + mobileTemplate.setScale(1) + mobileTemplate.setMeatType("Insect Meat") + mobileTemplate.setMeatAmount(35) + mobileTemplate.setSocialGroup("spider nightsister") + mobileTemplate.setAssistRange(12) + mobileTemplate.setStalker(True) + mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE + Options.ATTACKABLE) + + templates = Vector() + templates.add('object/mobile/shared_gaping_spider.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', WeaponType.UNARMED, 1.0, 6, 'kinetic') + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('cavern_spider_hunter', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/dathomir/cavern_spider_queen.py b/scripts/mobiles/dathomir/cavern_spider_queen.py new file mode 100644 index 00000000..7328deef --- /dev/null +++ b/scripts/mobiles/dathomir/cavern_spider_queen.py @@ -0,0 +1,42 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('cave_gaping_spider_queen') + mobileTemplate.setLevel(81) + mobileTemplate.setDifficulty(Difficulty.ELITE) + + mobileTemplate.setMinSpawnDistance(4) + mobileTemplate.setMaxSpawnDistance(8) + mobileTemplate.setDeathblow(True) + mobileTemplate.setScale(1) + mobileTemplate.setMeatType("Insect Meat") + mobileTemplate.setMeatAmount(35) + mobileTemplate.setSocialGroup("spider nightsister") + mobileTemplate.setAssistRange(12) + mobileTemplate.setStalker(True) + mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE + Options.ATTACKABLE) + + templates = Vector() + templates.add('object/mobile/shared_gaping_spider.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', WeaponType.UNARMED, 1.0, 6, 'kinetic') + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('cavern_spider_queen', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/dathomir/chasmal_spider.py b/scripts/mobiles/dathomir/chasmal_spider.py new file mode 100644 index 00000000..2a67a066 --- /dev/null +++ b/scripts/mobiles/dathomir/chasmal_spider.py @@ -0,0 +1,42 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('gaping_spider_chasmal') + mobileTemplate.setLevel(63) + mobileTemplate.setDifficulty(Difficulty.ELITE) + + mobileTemplate.setMinSpawnDistance(4) + mobileTemplate.setMaxSpawnDistance(8) + mobileTemplate.setDeathblow(False) + mobileTemplate.setScale(1) + mobileTemplate.setMeatType("Insect Meat") + mobileTemplate.setMeatAmount(35) + mobileTemplate.setSocialGroup("gaping") + mobileTemplate.setAssistRange(12) + mobileTemplate.setStalker(False) + mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE + Options.ATTACKABLE) + + templates = Vector() + templates.add('object/mobile/shared_gaping_spider.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', WeaponType.UNARMED, 1.0, 6, 'kinetic') + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('chasmal_spider', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/dathomir/craggy_bolma.py b/scripts/mobiles/dathomir/craggy_bolma.py new file mode 100644 index 00000000..24123805 --- /dev/null +++ b/scripts/mobiles/dathomir/craggy_bolma.py @@ -0,0 +1,47 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('craggy_bolma') + mobileTemplate.setLevel(55) + mobileTemplate.setMinLevel(55) + mobileTemplate.setMaxLevel(55) + mobileTemplate.setDifficulty(Difficulty.NORMAL) + + mobileTemplate.setMinSpawnDistance(4) + mobileTemplate.setMaxSpawnDistance(8) + mobileTemplate.setDeathblow(True) + mobileTemplate.setScale(1) + mobileTemplate.setMeatType("Wild Meat") + mobileTemplate.setMeatAmount(500) + mobileTemplate.setHideType("Leathery Hide") + mobileTemplate.setHideAmount(550) + mobileTemplate.setBoneType("Mammal Bones") + mobileTemplate.setBoneAmount(500) + mobileTemplate.setSocialGroup("bolma") + mobileTemplate.setAssistRange(12) + mobileTemplate.setStalker(False) + + templates = Vector() + templates.add('object/mobile/shared_bolma_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', WeaponType.UNARMED, 1.0, 6, 'kinetic') + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('craggy_bolma', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/dathomir/disturbed_bolma.py b/scripts/mobiles/dathomir/disturbed_bolma.py new file mode 100644 index 00000000..c12df5e2 --- /dev/null +++ b/scripts/mobiles/dathomir/disturbed_bolma.py @@ -0,0 +1,45 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('craggy_bolma') + mobileTemplate.setLevel(55) + mobileTemplate.setMinLevel(55) + mobileTemplate.setMaxLevel(55) + mobileTemplate.setDifficulty(Difficulty.NORMAL) + + mobileTemplate.setMinSpawnDistance(4) + mobileTemplate.setMaxSpawnDistance(8) + mobileTemplate.setDeathblow(False) + mobileTemplate.setScale(1) + mobileTemplate.setHideType("Leathery Hide") + mobileTemplate.setHideAmount(160) + mobileTemplate.setBoneType("Mammal Bones") + mobileTemplate.setBoneAmount(150) + mobileTemplate.setSocialGroup("bolma") + mobileTemplate.setAssistRange(12) + mobileTemplate.setStalker(False) + + templates = Vector() + templates.add('object/mobile/shared_bolma_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', WeaponType.UNARMED, 1.0, 6, 'kinetic') + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('disturbed_bolma', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/dathomir/domesticated_brackaset.py b/scripts/mobiles/dathomir/domesticated_brackaset.py new file mode 100644 index 00000000..f9cb3d15 --- /dev/null +++ b/scripts/mobiles/dathomir/domesticated_brackaset.py @@ -0,0 +1,45 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('domesticated_brackaset') + mobileTemplate.setLevel(60) + mobileTemplate.setDifficulty(Difficulty.NORMAL) + + mobileTemplate.setMinSpawnDistance(4) + mobileTemplate.setMaxSpawnDistance(8) + mobileTemplate.setDeathblow(False) + mobileTemplate.setScale(1) + mobileTemplate.setMeatType("Wild Meat") + mobileTemplate.setMeatAmount(100) + mobileTemplate.setHideType("Leathery Hide") + mobileTemplate.setHideAmount(90) + mobileTemplate.setBoneType("Mammal Bones") + mobileTemplate.setBoneAmount(80) + mobileTemplate.setSocialGroup("brackaset") + mobileTemplate.setAssistRange(0) + mobileTemplate.setStalker(False) + + templates = Vector() + templates.add('object/mobile/shared_brackaset_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', WeaponType.UNARMED, 1.0, 6, 'kinetic') + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('dom_brackaset', mobileTemplate) + return \ No newline at end of file diff --git a/scripts/mobiles/dathomir/enraged_bull_rancor.py b/scripts/mobiles/dathomir/enraged_bull_rancor.py new file mode 100644 index 00000000..ded2e78b --- /dev/null +++ b/scripts/mobiles/dathomir/enraged_bull_rancor.py @@ -0,0 +1,39 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('enraged_bull_rancor') + mobileTemplate.setLevel(85) + mobileTemplate.setDifficulty(Difficulty.ELITE) + mobileTemplate.setMinSpawnDistance(4) + mobileTemplate.setMaxSpawnDistance(8) + mobileTemplate.setDeathblow(True) + mobileTemplate.setScale(1) + mobileTemplate.setMeatType("Carnivore Meat") + mobileTemplate.setMeatAmount(880) + mobileTemplate.setHideType("Leathery Hide") + mobileTemplate.setHideAmount(750) + mobileTemplate.setBoneType("Mammal Bones") + mobileTemplate.setBoneAmount(670) + mobileTemplate.setSocialGroup("rancor") + mobileTemplate.setAssistRange(12) + mobileTemplate.setStalker(False) + mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE + Options.ATTACKABLE) + + templates = Vector() + templates.add('object/mobile/shared_rancor.iff') + mobileTemplate.setTemplates(templates) + + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('enraged_bull_rancor', mobileTemplate) \ No newline at end of file diff --git a/scripts/mobiles/dathomir/enraged_rancor.py b/scripts/mobiles/dathomir/enraged_rancor.py new file mode 100644 index 00000000..e7e14e99 --- /dev/null +++ b/scripts/mobiles/dathomir/enraged_rancor.py @@ -0,0 +1,39 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('enraged_rancor') + mobileTemplate.setLevel(79) + mobileTemplate.setDifficulty(Difficulty.ELITE) + mobileTemplate.setMinSpawnDistance(4) + mobileTemplate.setMaxSpawnDistance(8) + mobileTemplate.setDeathblow(True) + mobileTemplate.setScale(1) + mobileTemplate.setMeatType("Carnivore Meat") + mobileTemplate.setMeatAmount(950) + mobileTemplate.setHideType("Leathery Hide") + mobileTemplate.setHideAmount(878) + mobileTemplate.setBoneType("Mammal Bones") + mobileTemplate.setBoneAmount(778) + mobileTemplate.setSocialGroup("rancor") + mobileTemplate.setAssistRange(12) + mobileTemplate.setStalker(False) + mobileTemplate.setOptionsBitmask(Options.AGGRESSIVE + Options.ATTACKABLE) + + templates = Vector() + templates.add('object/mobile/shared_rancor.iff') + mobileTemplate.setTemplates(templates) + + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('enraged_rancor', mobileTemplate) \ No newline at end of file diff --git a/scripts/mobiles/dathomir/enraged_reptilian_flier.py b/scripts/mobiles/dathomir/enraged_reptilian_flier.py new file mode 100644 index 00000000..c4d75f95 --- /dev/null +++ b/scripts/mobiles/dathomir/enraged_reptilian_flier.py @@ -0,0 +1,45 @@ +import sys +from services.spawn import MobileTemplate +from services.spawn import WeaponTemplate +from resources.datatables import WeaponType +from resources.datatables import Difficulty +from resources.datatables import Options +from java.util import Vector + + +def addTemplate(core): + mobileTemplate = MobileTemplate() + + mobileTemplate.setCreatureName('enraged_reptilian_flier') + mobileTemplate.setLevel(67) + mobileTemplate.setDifficulty(Difficulty.NORMAL) + + mobileTemplate.setMinSpawnDistance(4) + mobileTemplate.setMaxSpawnDistance(8) + mobileTemplate.setDeathblow(False) + mobileTemplate.setScale(1) + mobileTemplate.setMeatType("Avian Meat") + mobileTemplate.setMeatAmount(135) + mobileTemplate.setHideType("Leathery Hide") + mobileTemplate.setHideAmount(90) + mobileTemplate.setBoneType("Avian Bones") + mobileTemplate.setBoneAmount(85) + mobileTemplate.setSocialGroup("reptilian flier") + mobileTemplate.setAssistRange(12) + mobileTemplate.setStalker(False) + + templates = Vector() + templates.add('object/mobile/shared_reptilian_flier_hue.iff') + mobileTemplate.setTemplates(templates) + + weaponTemplates = Vector() + weapontemplate = WeaponTemplate('object/weapon/melee/unarmed/shared_unarmed_default.iff', WeaponType.UNARMED, 1.0, 6, 'kinetic') + weaponTemplates.add(weapontemplate) + mobileTemplate.setWeaponTemplateVector(weaponTemplates) + + attacks = Vector() + mobileTemplate.setDefaultAttack('creatureMeleeAttack') + mobileTemplate.setAttacks(attacks) + + core.spawnService.addMobileTemplate('enraged_reptilian_flier', mobileTemplate) + return \ No newline at end of file From 1a51499c0bc1923a490d5cb533e612c3bb0e4d4e Mon Sep 17 00:00:00 2001 From: Iosnowore Kun Date: Sat, 7 Jun 2014 10:28:22 -0400 Subject: [PATCH 02/11] Scripted All Katarn Armor Sets - Added Neutral Katarn Armor - Added Imperial Katarn Armor - Added Rebel Katarn Armor --- .../armor_clone_trooper_imperial_s01_belt.py | 4 +++- .../armor_clone_trooper_imperial_s01_bicep_l.py | 10 +++++++++- .../armor_clone_trooper_imperial_s01_bicep_r.py | 10 +++++++++- .../armor_clone_trooper_imperial_s01_boots.py | 4 +++- .../armor_clone_trooper_imperial_s01_bracer_l.py | 10 +++++++++- .../armor_clone_trooper_imperial_s01_bracer_r.py | 10 +++++++++- .../armor_clone_trooper_imperial_s01_chest_plate.py | 10 +++++++++- .../armor_clone_trooper_imperial_s01_gloves.py | 4 +++- .../armor_clone_trooper_imperial_s01_helmet.py | 10 +++++++++- .../armor_clone_trooper_imperial_s01_leggings.py | 10 +++++++++- .../armor_clone_trooper_neutral_s01_belt.py | 3 ++- .../armor_clone_trooper_neutral_s01_bicep_l.py | 9 ++++++++- .../armor_clone_trooper_neutral_s01_bicep_r.py | 9 ++++++++- .../armor_clone_trooper_neutral_s01_boots.py | 3 ++- .../armor_clone_trooper_neutral_s01_bracer_l.py | 9 ++++++++- .../armor_clone_trooper_neutral_s01_bracer_r.py | 9 ++++++++- .../armor_clone_trooper_neutral_s01_chest_plate.py | 9 ++++++++- .../armor_clone_trooper_neutral_s01_gloves.py | 3 ++- .../armor_clone_trooper_neutral_s01_helmet.py | 9 ++++++++- .../armor_clone_trooper_neutral_s01_leggings.py | 9 ++++++++- .../armor_clone_trooper_rebel_s01_belt.py | 4 +++- .../armor_clone_trooper_rebel_s01_bicep_l.py | 10 +++++++++- .../armor_clone_trooper_rebel_s01_bicep_r.py | 10 +++++++++- .../armor_clone_trooper_rebel_s01_boots.py | 4 +++- .../armor_clone_trooper_rebel_s01_bracer_l.py | 10 +++++++++- .../armor_clone_trooper_rebel_s01_bracer_r.py | 10 +++++++++- .../armor_clone_trooper_rebel_s01_chest_plate.py | 10 +++++++++- .../armor_clone_trooper_rebel_s01_gloves.py | 4 +++- .../armor_clone_trooper_rebel_s01_helmet.py | 10 +++++++++- .../armor_clone_trooper_rebel_s01_leggings.py | 10 +++++++++- 30 files changed, 206 insertions(+), 30 deletions(-) diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_belt.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_belt.py index ccad8904..fbfbbb13 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_belt.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_belt.py @@ -1,4 +1,6 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Imperial') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_bicep_l.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_bicep_l.py index ccad8904..00a03153 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_bicep_l.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_bicep_l.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Imperial') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_bicep_r.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_bicep_r.py index ccad8904..00a03153 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_bicep_r.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_bicep_r.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Imperial') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_boots.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_boots.py index ccad8904..fbfbbb13 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_boots.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_boots.py @@ -1,4 +1,6 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Imperial') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_bracer_l.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_bracer_l.py index ccad8904..00a03153 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_bracer_l.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_bracer_l.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Imperial') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_bracer_r.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_bracer_r.py index ccad8904..00a03153 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_bracer_r.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_bracer_r.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Imperial') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_chest_plate.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_chest_plate.py index ccad8904..00a03153 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_chest_plate.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_chest_plate.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Imperial') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_gloves.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_gloves.py index ccad8904..fbfbbb13 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_gloves.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_gloves.py @@ -1,4 +1,6 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Imperial') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_helmet.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_helmet.py index ccad8904..00a03153 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_helmet.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_helmet.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Imperial') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_leggings.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_leggings.py index ccad8904..00a03153 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_leggings.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_imperial_s01_leggings.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Imperial') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_belt.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_belt.py index ccad8904..8ff7a08e 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_belt.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_belt.py @@ -1,4 +1,5 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_bicep_l.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_bicep_l.py index ccad8904..80a62698 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_bicep_l.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_bicep_l.py @@ -1,4 +1,11 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_bicep_r.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_bicep_r.py index ccad8904..80a62698 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_bicep_r.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_bicep_r.py @@ -1,4 +1,11 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_boots.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_boots.py index ccad8904..8ff7a08e 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_boots.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_boots.py @@ -1,4 +1,5 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_bracer_l.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_bracer_l.py index ccad8904..80a62698 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_bracer_l.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_bracer_l.py @@ -1,4 +1,11 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_bracer_r.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_bracer_r.py index ccad8904..80a62698 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_bracer_r.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_bracer_r.py @@ -1,4 +1,11 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_chest_plate.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_chest_plate.py index ccad8904..80a62698 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_chest_plate.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_chest_plate.py @@ -1,4 +1,11 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_gloves.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_gloves.py index ccad8904..8ff7a08e 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_gloves.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_gloves.py @@ -1,4 +1,5 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_helmet.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_helmet.py index ccad8904..80a62698 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_helmet.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_helmet.py @@ -1,4 +1,11 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_leggings.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_leggings.py index ccad8904..80a62698 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_leggings.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_neutral_s01_leggings.py @@ -1,4 +1,11 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_belt.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_belt.py index ccad8904..8afc5f7c 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_belt.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_belt.py @@ -1,4 +1,6 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_bicep_l.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_bicep_l.py index ccad8904..b5e288dc 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_bicep_l.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_bicep_l.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_bicep_r.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_bicep_r.py index ccad8904..b5e288dc 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_bicep_r.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_bicep_r.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_boots.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_boots.py index ccad8904..8afc5f7c 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_boots.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_boots.py @@ -1,4 +1,6 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_bracer_l.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_bracer_l.py index ccad8904..b5e288dc 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_bracer_l.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_bracer_l.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_bracer_r.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_bracer_r.py index ccad8904..b5e288dc 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_bracer_r.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_bracer_r.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_chest_plate.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_chest_plate.py index ccad8904..b5e288dc 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_chest_plate.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_chest_plate.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_gloves.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_gloves.py index ccad8904..8afc5f7c 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_gloves.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_gloves.py @@ -1,4 +1,6 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_helmet.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_helmet.py index ccad8904..b5e288dc 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_helmet.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_helmet.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_leggings.py b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_leggings.py index ccad8904..b5e288dc 100644 --- a/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_leggings.py +++ b/scripts/object/tangible/wearables/armor/clone_trooper/armor_clone_trooper_rebel_s01_leggings.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5664) + object.setIntAttribute('cat_armor_standard_protection.energy', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5664) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5664) + return \ No newline at end of file From 6a99f9d4342c04532f2caee3e87c94f622860eaa Mon Sep 17 00:00:00 2001 From: Iosnowore Kun Date: Sat, 7 Jun 2014 10:38:28 -0400 Subject: [PATCH 03/11] Added Rebel GCW Battle Armor --- .../armor/rebel_battle/armor_rebel_battle_belt_gcw.py | 4 +++- .../rebel_battle/armor_rebel_battle_bicep_l_gcw.py | 10 +++++++++- .../rebel_battle/armor_rebel_battle_bicep_r_gcw.py | 10 +++++++++- .../armor/rebel_battle/armor_rebel_battle_boots_gcw.py | 4 +++- .../rebel_battle/armor_rebel_battle_bracer_l_gcw.py | 10 +++++++++- .../rebel_battle/armor_rebel_battle_bracer_r_gcw.py | 10 +++++++++- .../rebel_battle/armor_rebel_battle_chest_plate_gcw.py | 10 +++++++++- .../rebel_battle/armor_rebel_battle_gloves_gcw.py | 4 +++- .../rebel_battle/armor_rebel_battle_helmet_gcw.py | 10 +++++++++- .../rebel_battle/armor_rebel_battle_leggings_gcw.py | 10 +++++++++- 10 files changed, 72 insertions(+), 10 deletions(-) diff --git a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_belt_gcw.py b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_belt_gcw.py index ccad8904..8afc5f7c 100644 --- a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_belt_gcw.py +++ b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_belt_gcw.py @@ -1,4 +1,6 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_bicep_l_gcw.py b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_bicep_l_gcw.py index ccad8904..8b2cd50f 100644 --- a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_bicep_l_gcw.py +++ b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_bicep_l_gcw.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5608) + object.setIntAttribute('cat_armor_standard_protection.energy', 5608) + 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 \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_bicep_r_gcw.py b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_bicep_r_gcw.py index ccad8904..8b2cd50f 100644 --- a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_bicep_r_gcw.py +++ b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_bicep_r_gcw.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5608) + object.setIntAttribute('cat_armor_standard_protection.energy', 5608) + 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 \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_boots_gcw.py b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_boots_gcw.py index ccad8904..8afc5f7c 100644 --- a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_boots_gcw.py +++ b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_boots_gcw.py @@ -1,4 +1,6 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_bracer_l_gcw.py b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_bracer_l_gcw.py index ccad8904..8b2cd50f 100644 --- a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_bracer_l_gcw.py +++ b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_bracer_l_gcw.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5608) + object.setIntAttribute('cat_armor_standard_protection.energy', 5608) + 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 \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_bracer_r_gcw.py b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_bracer_r_gcw.py index ccad8904..8b2cd50f 100644 --- a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_bracer_r_gcw.py +++ b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_bracer_r_gcw.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5608) + object.setIntAttribute('cat_armor_standard_protection.energy', 5608) + 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 \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_chest_plate_gcw.py b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_chest_plate_gcw.py index ccad8904..8b2cd50f 100644 --- a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_chest_plate_gcw.py +++ b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_chest_plate_gcw.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5608) + object.setIntAttribute('cat_armor_standard_protection.energy', 5608) + 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 \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_gloves_gcw.py b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_gloves_gcw.py index ccad8904..8afc5f7c 100644 --- a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_gloves_gcw.py +++ b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_gloves_gcw.py @@ -1,4 +1,6 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_helmet_gcw.py b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_helmet_gcw.py index ccad8904..8b2cd50f 100644 --- a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_helmet_gcw.py +++ b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_helmet_gcw.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5608) + object.setIntAttribute('cat_armor_standard_protection.energy', 5608) + 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 \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_leggings_gcw.py b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_leggings_gcw.py index ccad8904..8b2cd50f 100644 --- a/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_leggings_gcw.py +++ b/scripts/object/tangible/wearables/armor/rebel_battle/armor_rebel_battle_leggings_gcw.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5608) + object.setIntAttribute('cat_armor_standard_protection.energy', 5608) + 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 \ No newline at end of file From 6f1f7392240f9b1d5b3fc6a4ebf0dcbd3dc3ff3f Mon Sep 17 00:00:00 2001 From: Iosnowore Kun Date: Sat, 7 Jun 2014 10:57:01 -0400 Subject: [PATCH 04/11] Scripted Imperial Forest Camouflage Armor --- .../armor_scout_trooper_bicep_camo_l.py | 14 +++++++++++++- .../armor_scout_trooper_bicep_camo_r.py | 14 +++++++++++++- .../armor_scout_trooper_boots_camo.py | 8 +++++++- .../armor_scout_trooper_bracer_camo_l.py | 14 +++++++++++++- .../armor_scout_trooper_bracer_camo_r.py | 14 +++++++++++++- .../armor_scout_trooper_chest_plate_camo.py | 14 +++++++++++++- .../armor_scout_trooper_gloves_camo.py | 8 +++++++- .../armor_scout_trooper_helmet_camo.py | 14 +++++++++++++- .../armor_scout_trooper_leggings_camo.py | 14 +++++++++++++- .../armor_scout_trooper_utility_belt_camo.py | 8 +++++++- 10 files changed, 112 insertions(+), 10 deletions(-) diff --git a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_bicep_camo_l.py b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_bicep_camo_l.py index ccad8904..b06560be 100644 --- a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_bicep_camo_l.py +++ b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_bicep_camo_l.py @@ -1,4 +1,16 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Imperial') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5440) + object.setIntAttribute('cat_armor_standard_protection.energy', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_bicep_camo_r.py b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_bicep_camo_r.py index ccad8904..b06560be 100644 --- a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_bicep_camo_r.py +++ b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_bicep_camo_r.py @@ -1,4 +1,16 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Imperial') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5440) + object.setIntAttribute('cat_armor_standard_protection.energy', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_boots_camo.py b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_boots_camo.py index ccad8904..33a0f38f 100644 --- a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_boots_camo.py +++ b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_boots_camo.py @@ -1,4 +1,10 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Imperial') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_bracer_camo_l.py b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_bracer_camo_l.py index ccad8904..b06560be 100644 --- a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_bracer_camo_l.py +++ b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_bracer_camo_l.py @@ -1,4 +1,16 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Imperial') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5440) + object.setIntAttribute('cat_armor_standard_protection.energy', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_bracer_camo_r.py b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_bracer_camo_r.py index ccad8904..b06560be 100644 --- a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_bracer_camo_r.py +++ b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_bracer_camo_r.py @@ -1,4 +1,16 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Imperial') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5440) + object.setIntAttribute('cat_armor_standard_protection.energy', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_chest_plate_camo.py b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_chest_plate_camo.py index ccad8904..b06560be 100644 --- a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_chest_plate_camo.py +++ b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_chest_plate_camo.py @@ -1,4 +1,16 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Imperial') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5440) + object.setIntAttribute('cat_armor_standard_protection.energy', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_gloves_camo.py b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_gloves_camo.py index ccad8904..33a0f38f 100644 --- a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_gloves_camo.py +++ b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_gloves_camo.py @@ -1,4 +1,10 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Imperial') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_helmet_camo.py b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_helmet_camo.py index ccad8904..b06560be 100644 --- a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_helmet_camo.py +++ b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_helmet_camo.py @@ -1,4 +1,16 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Imperial') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5440) + object.setIntAttribute('cat_armor_standard_protection.energy', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_leggings_camo.py b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_leggings_camo.py index ccad8904..b06560be 100644 --- a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_leggings_camo.py +++ b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_leggings_camo.py @@ -1,4 +1,16 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Imperial') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5440) + object.setIntAttribute('cat_armor_standard_protection.energy', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_utility_belt_camo.py b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_utility_belt_camo.py index ccad8904..33a0f38f 100644 --- a/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_utility_belt_camo.py +++ b/scripts/object/tangible/wearables/armor/scout_trooper/armor_scout_trooper_utility_belt_camo.py @@ -1,4 +1,10 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Imperial') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + return \ No newline at end of file From 34490a6d2ff3afa5442dbd6f1dd5d22cda794b77 Mon Sep 17 00:00:00 2001 From: Iosnowore Kun Date: Sat, 7 Jun 2014 11:06:37 -0400 Subject: [PATCH 05/11] Adde Rebel Assault Forest Camouflage Armor --- .../rebel_assault/armor_rebel_assault_belt_camo.py | 8 +++++++- .../armor_rebel_assault_bicep_l_camo.py | 14 +++++++++++++- .../armor_rebel_assault_bicep_r_camo.py | 14 +++++++++++++- .../armor_rebel_assault_boots_camo.py | 8 +++++++- .../armor_rebel_assault_bracer_l_camo.py | 14 +++++++++++++- .../armor_rebel_assault_bracer_r_camo.py | 14 +++++++++++++- .../armor_rebel_assault_chest_plate_camo.py | 14 +++++++++++++- .../armor_rebel_assault_gloves_camo.py | 8 +++++++- .../armor_rebel_assault_helmet_camo.py | 14 +++++++++++++- .../armor_rebel_assault_leggings_camo.py | 14 +++++++++++++- 10 files changed, 112 insertions(+), 10 deletions(-) diff --git a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_belt_camo.py b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_belt_camo.py index ccad8904..22b70111 100644 --- a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_belt_camo.py +++ b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_belt_camo.py @@ -1,4 +1,10 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_bicep_l_camo.py b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_bicep_l_camo.py index ccad8904..86730b6f 100644 --- a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_bicep_l_camo.py +++ b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_bicep_l_camo.py @@ -1,4 +1,16 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 4440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_bicep_r_camo.py b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_bicep_r_camo.py index ccad8904..86730b6f 100644 --- a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_bicep_r_camo.py +++ b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_bicep_r_camo.py @@ -1,4 +1,16 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 4440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_boots_camo.py b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_boots_camo.py index ccad8904..22b70111 100644 --- a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_boots_camo.py +++ b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_boots_camo.py @@ -1,4 +1,10 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_bracer_l_camo.py b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_bracer_l_camo.py index ccad8904..86730b6f 100644 --- a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_bracer_l_camo.py +++ b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_bracer_l_camo.py @@ -1,4 +1,16 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 4440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_bracer_r_camo.py b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_bracer_r_camo.py index ccad8904..86730b6f 100644 --- a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_bracer_r_camo.py +++ b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_bracer_r_camo.py @@ -1,4 +1,16 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 4440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_chest_plate_camo.py b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_chest_plate_camo.py index ccad8904..86730b6f 100644 --- a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_chest_plate_camo.py +++ b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_chest_plate_camo.py @@ -1,4 +1,16 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 4440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_gloves_camo.py b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_gloves_camo.py index ccad8904..22b70111 100644 --- a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_gloves_camo.py +++ b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_gloves_camo.py @@ -1,4 +1,10 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_helmet_camo.py b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_helmet_camo.py index ccad8904..86730b6f 100644 --- a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_helmet_camo.py +++ b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_helmet_camo.py @@ -1,4 +1,16 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 4440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_leggings_camo.py b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_leggings_camo.py index ccad8904..86730b6f 100644 --- a/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_leggings_camo.py +++ b/scripts/object/tangible/wearables/armor/rebel_assault/armor_rebel_assault_leggings_camo.py @@ -1,4 +1,16 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 80) + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 15) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 10) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 20) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 4440) + return \ No newline at end of file From e57db3c52eb42369294f8eb26839f1926e2bc502 Mon Sep 17 00:00:00 2001 From: Iosnowore Kun Date: Sat, 7 Jun 2014 11:16:02 -0400 Subject: [PATCH 06/11] Scripted Galactic Marine Armor --- .../galactic_marine/armor_galactic_marine_belt_gcw.py | 4 +++- .../armor_galactic_marine_bicep_l_gcw.py | 10 +++++++++- .../armor_galactic_marine_bicep_r_gcw.py | 10 +++++++++- .../galactic_marine/armor_galactic_marine_boots_gcw.py | 4 +++- .../armor_galactic_marine_bracer_l_gcw.py | 10 +++++++++- .../armor_galactic_marine_bracer_r_gcw.py | 10 +++++++++- .../armor_galactic_marine_chest_plate_gcw.py | 10 +++++++++- .../armor_galactic_marine_gloves_gcw.py | 4 +++- .../armor_galactic_marine_helmet_gcw.py | 10 +++++++++- .../armor_galactic_marine_leggings_gcw.py | 10 +++++++++- 10 files changed, 72 insertions(+), 10 deletions(-) diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_belt_gcw.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_belt_gcw.py index ccad8904..fa511268 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_belt_gcw.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_belt_gcw.py @@ -1,4 +1,6 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 22) + object.setStringAttribute('required_faction', 'Imperial') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bicep_l_gcw.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bicep_l_gcw.py index ccad8904..6c479a78 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bicep_l_gcw.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bicep_l_gcw.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Imperial') + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bicep_r_gcw.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bicep_r_gcw.py index ccad8904..6c479a78 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bicep_r_gcw.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bicep_r_gcw.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Imperial') + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_boots_gcw.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_boots_gcw.py index ccad8904..adf2a2a9 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_boots_gcw.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_boots_gcw.py @@ -1,4 +1,6 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Imperial') + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bracer_l_gcw.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bracer_l_gcw.py index ccad8904..6c479a78 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bracer_l_gcw.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bracer_l_gcw.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Imperial') + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bracer_r_gcw.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bracer_r_gcw.py index ccad8904..6c479a78 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bracer_r_gcw.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bracer_r_gcw.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Imperial') + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_chest_plate_gcw.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_chest_plate_gcw.py index ccad8904..6c479a78 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_chest_plate_gcw.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_chest_plate_gcw.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Imperial') + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_gloves_gcw.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_gloves_gcw.py index ccad8904..adf2a2a9 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_gloves_gcw.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_gloves_gcw.py @@ -1,4 +1,6 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Imperial') + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_helmet_gcw.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_helmet_gcw.py index ccad8904..6c479a78 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_helmet_gcw.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_helmet_gcw.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Imperial') + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_leggings_gcw.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_leggings_gcw.py index ccad8904..6c479a78 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_leggings_gcw.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_leggings_gcw.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Imperial') + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file From b201abed15664d82ff621d63ab80e47b12ef724e Mon Sep 17 00:00:00 2001 From: Iosnowore Kun Date: Sat, 7 Jun 2014 11:21:00 -0400 Subject: [PATCH 07/11] Scripted Rebel Crusader Armor --- .../armor_mandalorian_rebel_belt.py | 9 ++++++++- .../armor_mandalorian_rebel_bicep_l.py | 15 ++++++++++++++- .../armor_mandalorian_rebel_bicep_r.py | 15 ++++++++++++++- .../armor_mandalorian_rebel_boots.py | 9 ++++++++- .../armor_mandalorian_rebel_bracer_l.py | 15 ++++++++++++++- .../armor_mandalorian_rebel_bracer_r.py | 15 ++++++++++++++- .../armor_mandalorian_rebel_chest_plate.py | 15 ++++++++++++++- .../armor_mandalorian_rebel_gloves.py | 9 ++++++++- .../armor_mandalorian_rebel_helmet.py | 15 ++++++++++++++- .../armor_mandalorian_rebel_leggings.py | 15 ++++++++++++++- 10 files changed, 122 insertions(+), 10 deletions(-) diff --git a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_belt.py b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_belt.py index ccad8904..c466ce94 100644 --- a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_belt.py +++ b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_belt.py @@ -1,4 +1,11 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('required_combat_level', 75) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 18) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 6) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 12) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:strength_modified', 12) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_bicep_l.py b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_bicep_l.py index ccad8904..933f45e0 100644 --- a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_bicep_l.py +++ b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_bicep_l.py @@ -1,4 +1,17 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('required_combat_level', 75) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 18) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 6) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 12) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:strength_modified', 12) + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5496) + object.setIntAttribute('cat_armor_standard_protection.energy', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5496) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_bicep_r.py b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_bicep_r.py index ccad8904..933f45e0 100644 --- a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_bicep_r.py +++ b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_bicep_r.py @@ -1,4 +1,17 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('required_combat_level', 75) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 18) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 6) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 12) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:strength_modified', 12) + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5496) + object.setIntAttribute('cat_armor_standard_protection.energy', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5496) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_boots.py b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_boots.py index ccad8904..c466ce94 100644 --- a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_boots.py +++ b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_boots.py @@ -1,4 +1,11 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('required_combat_level', 75) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 18) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 6) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 12) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:strength_modified', 12) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_bracer_l.py b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_bracer_l.py index ccad8904..933f45e0 100644 --- a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_bracer_l.py +++ b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_bracer_l.py @@ -1,4 +1,17 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('required_combat_level', 75) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 18) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 6) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 12) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:strength_modified', 12) + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5496) + object.setIntAttribute('cat_armor_standard_protection.energy', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5496) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_bracer_r.py b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_bracer_r.py index ccad8904..933f45e0 100644 --- a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_bracer_r.py +++ b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_bracer_r.py @@ -1,4 +1,17 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('required_combat_level', 75) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 18) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 6) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 12) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:strength_modified', 12) + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5496) + object.setIntAttribute('cat_armor_standard_protection.energy', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5496) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_chest_plate.py b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_chest_plate.py index ccad8904..933f45e0 100644 --- a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_chest_plate.py +++ b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_chest_plate.py @@ -1,4 +1,17 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('required_combat_level', 75) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 18) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 6) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 12) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:strength_modified', 12) + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5496) + object.setIntAttribute('cat_armor_standard_protection.energy', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5496) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_gloves.py b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_gloves.py index ccad8904..c466ce94 100644 --- a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_gloves.py +++ b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_gloves.py @@ -1,4 +1,11 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('required_combat_level', 75) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 18) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 6) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 12) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:strength_modified', 12) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_helmet.py b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_helmet.py index ccad8904..933f45e0 100644 --- a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_helmet.py +++ b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_helmet.py @@ -1,4 +1,17 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('required_combat_level', 75) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 18) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 6) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 12) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:strength_modified', 12) + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5496) + object.setIntAttribute('cat_armor_standard_protection.energy', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5496) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_leggings.py b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_leggings.py index ccad8904..933f45e0 100644 --- a/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_leggings.py +++ b/scripts/object/tangible/wearables/armor/mandalorian_rebel/armor_mandalorian_rebel_leggings.py @@ -1,4 +1,17 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Rebel') + object.setIntAttribute('required_combat_level', 75) + object.setStringAttribute('armor_category', '@obj_attr_n:armor_battle') + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:constitution_modified', 18) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:luck_modified', 6) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:precision_modified', 12) + object.setIntAttribute('cat_stat_mod_bonus.@stat_n:strength_modified', 12) + object.setIntAttribute('cat_armor_standard_protection.kinetic', 5496) + object.setIntAttribute('cat_armor_standard_protection.energy', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5496) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5496) + return \ No newline at end of file From 64753bfa446ba48d3d9412f381548ff2ccb563b7 Mon Sep 17 00:00:00 2001 From: Iosnowore Kun Date: Sat, 7 Jun 2014 11:30:29 -0400 Subject: [PATCH 08/11] Scripted Regular Galactic Marine Armor --- .../galactic_marine/armor_galactic_marine_belt.py | 4 +++- .../galactic_marine/armor_galactic_marine_bicep_l.py | 10 +++++++++- .../galactic_marine/armor_galactic_marine_bicep_r.py | 10 +++++++++- .../galactic_marine/armor_galactic_marine_boots.py | 4 +++- .../galactic_marine/armor_galactic_marine_bracer_l.py | 10 +++++++++- .../galactic_marine/armor_galactic_marine_bracer_r.py | 10 +++++++++- .../armor_galactic_marine_chest_plate.py | 10 +++++++++- .../galactic_marine/armor_galactic_marine_gloves.py | 4 +++- .../galactic_marine/armor_galactic_marine_helmet.py | 10 +++++++++- .../galactic_marine/armor_galactic_marine_leggings.py | 10 +++++++++- 10 files changed, 72 insertions(+), 10 deletions(-) diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_belt.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_belt.py index ccad8904..fa511268 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_belt.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_belt.py @@ -1,4 +1,6 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setIntAttribute('required_combat_level', 22) + object.setStringAttribute('required_faction', 'Imperial') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bicep_l.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bicep_l.py index ccad8904..6c479a78 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bicep_l.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bicep_l.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Imperial') + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bicep_r.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bicep_r.py index ccad8904..6c479a78 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bicep_r.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bicep_r.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Imperial') + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_boots.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_boots.py index ccad8904..adf2a2a9 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_boots.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_boots.py @@ -1,4 +1,6 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Imperial') + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bracer_l.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bracer_l.py index ccad8904..6c479a78 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bracer_l.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bracer_l.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Imperial') + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bracer_r.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bracer_r.py index ccad8904..6c479a78 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bracer_r.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_bracer_r.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Imperial') + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_chest_plate.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_chest_plate.py index ccad8904..6c479a78 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_chest_plate.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_chest_plate.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Imperial') + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_gloves.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_gloves.py index ccad8904..adf2a2a9 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_gloves.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_gloves.py @@ -1,4 +1,6 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Imperial') + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_helmet.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_helmet.py index ccad8904..6c479a78 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_helmet.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_helmet.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Imperial') + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_leggings.py b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_leggings.py index ccad8904..6c479a78 100644 --- a/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_leggings.py +++ b/scripts/object/tangible/wearables/armor/galactic_marine/armor_galactic_marine_leggings.py @@ -1,4 +1,12 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_faction', 'Imperial') + object.setStringAttribute('armor_category', '@obj_attr_n:armor_assault') + object.setIntAttribute('cat_armor_standard_protection.kinetic', 6440) + object.setIntAttribute('cat_armor_standard_protection.energy', 4440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_heat', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_cold', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_acid', 5440) + object.setIntAttribute('cat_armor_special_protection.special_protection_type_electricity', 5440) + return \ No newline at end of file From d20b480b3e50b9aeb080bf21658faa0f677d5433 Mon Sep 17 00:00:00 2001 From: Ziggeh Date: Sat, 7 Jun 2014 18:49:59 +0200 Subject: [PATCH 09/11] Fixed NumberFormatException --- .../melee/knife/weapon_knife_trader_roadmap_01_02.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/scripts/object/weapon/melee/knife/weapon_knife_trader_roadmap_01_02.py b/scripts/object/weapon/melee/knife/weapon_knife_trader_roadmap_01_02.py index a8e53801..80e03f39 100644 --- a/scripts/object/weapon/melee/knife/weapon_knife_trader_roadmap_01_02.py +++ b/scripts/object/weapon/melee/knife/weapon_knife_trader_roadmap_01_02.py @@ -1,4 +1,5 @@ import sys +from resources.datatables import WeaponType def setup(core, object): object.setStfFilename('static_item_n') @@ -7,9 +8,10 @@ def setup(core, object): object.setDetailName('weapon_knife_trader_roadmap_01_02') object.setStringAttribute('class_required', 'Trader') object.setIntAttribute('required_combat_level', 42) - object.setFloatAttribute('cat_wpn_damage.wpn_attack_speed', 0) - object.setStringAttribute('cat_wpn_damage.damage', '80 - 160') - object.setStringAttribute('cat_wpn_damage.wpn_range', '0-5m') - object.setStringAttribute('cat_wpn_damage.wpn_category', 'One-Handed Melee') - object.setIntAttribute('cat_wpn_damage.dps', object.getDamagePerSecond()) + object.setAttackSpeed(1) + object.setMinDamage(80) + object.setMaxDamage(160) + object.setMaxRange(5) + object.setWeaponType(WeaponType.ONEHANDEDMELEE) + object.setDamageType('kinetic') return \ No newline at end of file From 00d2b478f525375446d761fba7105e04fece09d7 Mon Sep 17 00:00:00 2001 From: Ziggeh Date: Sat, 7 Jun 2014 18:56:54 +0200 Subject: [PATCH 10/11] Cleaned some weapon scripts --- scripts/object/weapon/melee/polearm/weapon_polearm_02_03.py | 6 +++--- .../weapon/melee/special/weapon_vibro_en_roadmap_01_02.py | 5 +++-- .../weapon/melee/special/weapon_vibro_en_roadmap_02_01.py | 5 +++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/scripts/object/weapon/melee/polearm/weapon_polearm_02_03.py b/scripts/object/weapon/melee/polearm/weapon_polearm_02_03.py index a730dfbb..7d70c44f 100644 --- a/scripts/object/weapon/melee/polearm/weapon_polearm_02_03.py +++ b/scripts/object/weapon/melee/polearm/weapon_polearm_02_03.py @@ -1,4 +1,5 @@ import sys +from resources.datatables import WeaponType def setup(core, object): object.setStfFilename('static_item_n') @@ -8,9 +9,8 @@ def setup(core, object): object.setIntAttribute('required_combat_level', 1) object.setAttackSpeed(1); object.setMaxRange(5); - object.setDamageType("kinetic"); + object.setDamageType('kinetic'); object.setMinDamage(43); object.setMaxDamage(75); - object.setWeaponType(7); + object.setWeaponType(WeaponType.POLEARMMELEE); return - return \ No newline at end of file diff --git a/scripts/object/weapon/melee/special/weapon_vibro_en_roadmap_01_02.py b/scripts/object/weapon/melee/special/weapon_vibro_en_roadmap_01_02.py index 96ee323b..21e8dbb3 100644 --- a/scripts/object/weapon/melee/special/weapon_vibro_en_roadmap_01_02.py +++ b/scripts/object/weapon/melee/special/weapon_vibro_en_roadmap_01_02.py @@ -1,4 +1,5 @@ import sys +from resources.datatables import WeaponType def setup(core, object): object.setStfFilename('static_item_n') @@ -10,8 +11,8 @@ def setup(core, object): object.setIntAttribute('cat_stat_mod_bonus.@stat_n:strength_modified', 5) object.setAttackSpeed(1); object.setMaxRange(5); - object.setDamageType("kinetic"); + object.setDamageType('kinetic'); object.setMinDamage(190); object.setMaxDamage(375); - object.setWeaponType(6); + object.setWeaponType(WeaponType.UNARMED); return \ No newline at end of file diff --git a/scripts/object/weapon/melee/special/weapon_vibro_en_roadmap_02_01.py b/scripts/object/weapon/melee/special/weapon_vibro_en_roadmap_02_01.py index 3c350609..3d5c0140 100644 --- a/scripts/object/weapon/melee/special/weapon_vibro_en_roadmap_02_01.py +++ b/scripts/object/weapon/melee/special/weapon_vibro_en_roadmap_02_01.py @@ -1,4 +1,5 @@ import sys +from resources.datatables import WeaponType def setup(core, object): object.setStfFilename('static_item_n') @@ -10,8 +11,8 @@ def setup(core, object): object.setIntAttribute('cat_stat_mod_bonus.@stat_n:strength_modified', 4) object.setAttackSpeed(1); object.setMaxRange(5); - object.setDamageType("kinetic"); + object.setDamageType('kinetic'); object.setMinDamage(147); object.setMaxDamage(300); - object.setWeaponType(6); + object.setWeaponType(WeaponType.UNARMED); return \ No newline at end of file From f4800f384b247a9bb6f1e38732e0212b55d64cab Mon Sep 17 00:00:00 2001 From: Treeku Date: Sat, 7 Jun 2014 18:56:32 +0100 Subject: [PATCH 11/11] Fixed crash when equipment is null --- .../objects/creature/CreatureMessageBuilder.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/resources/objects/creature/CreatureMessageBuilder.java b/src/resources/objects/creature/CreatureMessageBuilder.java index b8f2113b..8c5d0c11 100644 --- a/src/resources/objects/creature/CreatureMessageBuilder.java +++ b/src/resources/objects/creature/CreatureMessageBuilder.java @@ -289,7 +289,13 @@ public class CreatureMessageBuilder extends TangibleMessageBuilder { buffer.putInt(0); buffer.putInt(creature.getEquipmentListUpdateCounter()); } else { - buffer.putInt(creature.getEquipmentList().size()); + int size = 0; + + for (Long objId : creature.getEquipmentList().get()) { + size += ((NGECore.getInstance().objectService.getObject(objId) == null) ? 0 : 1); + } + + buffer.putInt(size); buffer.putInt(creature.getEquipmentListUpdateCounter()); for(Long objId : creature.getEquipmentList().get()) {