From 64f332bea26d10afd4b25f6feebd49d0c6c43d0f Mon Sep 17 00:00:00 2001 From: Ziggeh Date: Sat, 7 Dec 2013 02:19:31 +0100 Subject: [PATCH] Supply Drop now uses the correct crate --- scripts/commands/of_medical_sup_1.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/commands/of_medical_sup_1.py b/scripts/commands/of_medical_sup_1.py index bc8c4935..b7186ab6 100644 --- a/scripts/commands/of_medical_sup_1.py +++ b/scripts/commands/of_medical_sup_1.py @@ -25,7 +25,7 @@ def doStimDrop(core, actor): return def spawnCrate(core, actor, shuttle): - crate = core.staticService.spawnObject('object/tangible/container/loot/shared_npe_loot_crate_low.iff', shuttle.getPlanet().getName(), long(0), shuttle.getPosition().x, shuttle.getPosition().y, shuttle.getPosition().z, shuttle.getOrientation().y, shuttle.getOrientation().w) + crate = core.staticService.spawnObject('object/tangible/container/drum/shared_supply_drop_crate.iff', shuttle.getPlanet().getName(), long(0), shuttle.getPosition().x, shuttle.getPosition().y, shuttle.getPosition().z, shuttle.getOrientation().y, shuttle.getOrientation().w) crate.setCustomName('Supply Crate') group = core.objectService.getObject(actor.getGroupId()) @@ -37,7 +37,7 @@ def spawnCrate(core, actor, shuttle): if actor.hasSkill('expertise_of_tactical_sup_1'): for i in range(0, 8): - tactical = core.objectService.createObject('object/tangible/medicine/instant_stimpack/shared_stimpack_syren.iff', actor.getPlanet()) #FIXME: Use the correct template + tactical = core.objectService.createObject('object/tangible/loot/generic_usable/shared_stim_syringe_generic.iff', actor.getPlanet()) #FIXME: Use the correct template tactical.setCustomName('Tactical Serum A') crate.add(tactical)