custom attributes added to loot scripts

loot scripts can now have custom attribute arrays for better
customization of drops
This commit is contained in:
CharonInferar
2014-06-05 15:20:28 +02:00
parent a4302bc25e
commit 9e1d19d525
4 changed files with 75 additions and 56 deletions
+1 -1
View File
@@ -1049,7 +1049,7 @@ public class DevService implements INetworkDispatch {
colorCrystal.getAttributes().put("@obj_attr_n:condition", "100/100");
colorCrystal.getAttributes().put("@obj_attr_n:crystal_owner", "\\#D1F56F UNTUNED \\#FFFFFF ");
colorCrystal.setAttachment("radial_filename", "item/tunable");
core.lootService.setCustomization(colorCrystal, "colorcrystal");
core.lootService.setCustomization(colorCrystal, "colorcrystal",null,null);
inventory.add(colorCrystal);
TangibleObject lavaCrystal = (TangibleObject) core.objectService.createObject("object/tangible/component/weapon/lightsaber/shared_lightsaber_module_lava_crystal.iff", planet);