From 42dc134b19617a98bd5b103c83b6ffc41ed2b896 Mon Sep 17 00:00:00 2001 From: Iosnowore Kun Date: Thu, 5 Jun 2014 19:41:02 -0400 Subject: [PATCH] Scripted Battle Worn Stormtrooper Armor --- .../stormtrooper/armor_stormtrooper_bicep_l_gcw.py | 10 +++++++++- .../stormtrooper/armor_stormtrooper_bicep_r_gcw.py | 10 +++++++++- .../armor/stormtrooper/armor_stormtrooper_boots_gcw.py | 4 +++- .../stormtrooper/armor_stormtrooper_bracer_r_gcw.py | 10 +++++++++- .../stormtrooper/armor_stormtrooper_chest_plate_gcw.py | 10 +++++++++- .../stormtrooper/armor_stormtrooper_gloves_gcw.py | 4 +++- .../stormtrooper/armor_stormtrooper_helmet_gcw.py | 10 +++++++++- .../stormtrooper/armor_stormtrooper_leggings_gcw.py | 10 +++++++++- .../armor_stormtrooper_utility_belt_gcw.py | 4 +++- 9 files changed, 63 insertions(+), 9 deletions(-) diff --git a/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_bicep_l_gcw.py b/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_bicep_l_gcw.py index ccad8904..4fa951a9 100644 --- a/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_bicep_l_gcw.py +++ b/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_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', 'Battle') + 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/stormtrooper/armor_stormtrooper_bicep_r_gcw.py b/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_bicep_r_gcw.py index ccad8904..4fa951a9 100644 --- a/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_bicep_r_gcw.py +++ b/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_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', 'Battle') + 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/stormtrooper/armor_stormtrooper_boots_gcw.py b/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_boots_gcw.py index ccad8904..b87b4a9f 100644 --- a/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_boots_gcw.py +++ b/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_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', 'Battle') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_bracer_r_gcw.py b/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_bracer_r_gcw.py index ccad8904..4fa951a9 100644 --- a/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_bracer_r_gcw.py +++ b/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_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', 'Battle') + 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/stormtrooper/armor_stormtrooper_chest_plate_gcw.py b/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_chest_plate_gcw.py index ccad8904..4fa951a9 100644 --- a/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_chest_plate_gcw.py +++ b/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_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', 'Battle') + 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/stormtrooper/armor_stormtrooper_gloves_gcw.py b/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_gloves_gcw.py index ccad8904..b87b4a9f 100644 --- a/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_gloves_gcw.py +++ b/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_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', 'Battle') + return \ No newline at end of file diff --git a/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_helmet_gcw.py b/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_helmet_gcw.py index ccad8904..4fa951a9 100644 --- a/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_helmet_gcw.py +++ b/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_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', 'Battle') + 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/stormtrooper/armor_stormtrooper_leggings_gcw.py b/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_leggings_gcw.py index ccad8904..4fa951a9 100644 --- a/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_leggings_gcw.py +++ b/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_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', 'Battle') + 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/stormtrooper/armor_stormtrooper_utility_belt_gcw.py b/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_utility_belt_gcw.py index ccad8904..e5f7deb7 100644 --- a/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_utility_belt_gcw.py +++ b/scripts/object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_utility_belt_gcw.py @@ -1,4 +1,6 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('required_level', '22') + object.setStringAttribute('required_faction', 'Imperial') + return \ No newline at end of file