From a4cc8b2884bae1f3f0e5349e2b2c886fdb2e4c98 Mon Sep 17 00:00:00 2001 From: Zing Date: Tue, 3 Jun 2014 22:08:22 -0700 Subject: [PATCH] (Added) Correct Mustafarian Injector Template for RLS. Set details in server template so it can be used for mustafar quest as well --- .../loot/lootItems/rarelootchest/mustafarian_injector.py | 2 +- .../tangible/loot/mustafar/old_republic_tech_02.py | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/scripts/loot/lootItems/rarelootchest/mustafarian_injector.py b/scripts/loot/lootItems/rarelootchest/mustafarian_injector.py index 5eb85000..0fa3f8b7 100644 --- a/scripts/loot/lootItems/rarelootchest/mustafarian_injector.py +++ b/scripts/loot/lootItems/rarelootchest/mustafarian_injector.py @@ -1,4 +1,4 @@ def itemTemplate(): - return ['bject/tangible/gcw/crafting_quest/shared_gcw_bacta_injectors.iff'] # this is wrong needs correct iff still + return ['object/tangible/loot/mustafar/shared_old_republic_tech_02.iff'] diff --git a/scripts/object/tangible/loot/mustafar/old_republic_tech_02.py b/scripts/object/tangible/loot/mustafar/old_republic_tech_02.py index ccad8904..753fa78b 100644 --- a/scripts/object/tangible/loot/mustafar/old_republic_tech_02.py +++ b/scripts/object/tangible/loot/mustafar/old_republic_tech_02.py @@ -1,4 +1,13 @@ import sys def setup(core, object): + object.setAttachment('radial_filename', 'object/usable') + object.setStfFilename('static_item_n') + object.setStfName('item_tow_proc_generic_03_01') + object.setDetailFilename('static_item_d') + object.setDetailName('item_tow_proc_generic_03_01') + return + +def use(core, actor, object): + core.buffService.addBuffToCreature(actor, 'towPoisonResistAbsorb_3', actor) return \ No newline at end of file