From 0f607f4b4e6bafb02bc86880fbc4fb30ad9b2da2 Mon Sep 17 00:00:00 2001 From: Ziggeh Date: Mon, 30 Jun 2014 17:31:24 +0200 Subject: [PATCH] Added Permafrost Crystal item --- .../weapon/lightsaber/lightsaber_module_lava_crystal.py | 1 + .../lightsaber/lightsaber_module_permafrost_crystal.py | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/object/tangible/component/weapon/lightsaber/lightsaber_module_lava_crystal.py b/scripts/object/tangible/component/weapon/lightsaber/lightsaber_module_lava_crystal.py index 94ca341b..ee964907 100644 --- a/scripts/object/tangible/component/weapon/lightsaber/lightsaber_module_lava_crystal.py +++ b/scripts/object/tangible/component/weapon/lightsaber/lightsaber_module_lava_crystal.py @@ -4,5 +4,6 @@ def setup(core, object): object.setStringAttribute('condition', '100/100') object.setStringAttribute('@obj_attr_n:color', 'Lava') object.setAttachment('radial_filename', 'item/tunable') + object.setStringAttribute('@obj_attr_n:crystal_owner", "\\#D1F56F UNTUNED \\#FFFFFF ') return \ No newline at end of file diff --git a/scripts/object/tangible/component/weapon/lightsaber/lightsaber_module_permafrost_crystal.py b/scripts/object/tangible/component/weapon/lightsaber/lightsaber_module_permafrost_crystal.py index ccad8904..34b27b77 100644 --- a/scripts/object/tangible/component/weapon/lightsaber/lightsaber_module_permafrost_crystal.py +++ b/scripts/object/tangible/component/weapon/lightsaber/lightsaber_module_permafrost_crystal.py @@ -1,4 +1,9 @@ import sys def setup(core, object): - return \ No newline at end of file + object.setStringAttribute('condition', '100/100') + object.setStringAttribute('@obj_attr_n:color', 'Permafrost') + object.setAttachment('radial_filename', 'item/tunable') + object.setStringAttribute('@obj_attr_n:crystal_owner", "\\#D1F56F UNTUNED \\#FFFFFF ') + return + \ No newline at end of file