who isn't sick of converting the freaking scripts? this negates the need

This commit is contained in:
DarthArgus
2015-11-24 09:27:45 -06:00
parent 2e64106bc8
commit bbee2d328c
11077 changed files with 2604347 additions and 3425075 deletions
@@ -0,0 +1,34 @@
package script.npc.static_npc;
import script.*;
import script.base_class.*;
import script.combat_engine.*;
import java.util.Arrays;
import java.util.Hashtable;
import java.util.Vector;
import script.base_script;
import script.library.ai_lib;
import script.library.hue;
import script.library.colors;
public class fixer extends script.base_script
{
public fixer()
{
}
public int OnAttach(obj_id self) throws InterruptedException
{
obj_id shirt = createObject("object/tangible/wearables/shirt/shirt_s07.iff", self, "");
obj_id pants = createObject("object/tangible/wearables/pants/pants_s12.iff", self, "");
obj_id shoes = createObject("object/tangible/wearables/shoes/shoes_s03.iff", self, "");
obj_id vest = createObject("object/tangible/wearables/vest/vest_s05.iff", self, "");
obj_id belt = createObject("object/tangible/wearables/armor/stormtrooper/armor_stormtrooper_utility_belt.iff", self, "");
hue.setColor(shirt, 1, colors.BLACK);
hue.setColor(shirt, 1, colors.GRAY);
hue.setColor(vest, 1, colors.GRAY);
ai_lib.setDefaultCalmBehavior(self, ai_lib.BEHAVIOR_SENTINEL);
setName(self, "Fixer");
return SCRIPT_CONTINUE;
}
}