mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-02 17:12:58 -04:00
custom attributes added to loot scripts
loot scripts can now have custom attribute arrays for better customization of drops
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user