From 02d2154bbdfcfca4cd764b090b3529152ad1d2fe Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Wed, 12 Sep 2018 23:11:30 -0400 Subject: update blox, bobblocks, homedecor, plasticbox, solidcolor, stained glass, unifieddyes, and unifiedmesecons --- homedecor/lighting.lua | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'homedecor/lighting.lua') diff --git a/homedecor/lighting.lua b/homedecor/lighting.lua index a33c761..9055f23 100644 --- a/homedecor/lighting.lua +++ b/homedecor/lighting.lua @@ -735,28 +735,3 @@ minetest.register_lbm({ meta:set_string("dye", "unifieddyes:"..color) end }) - -minetest.register_lbm({ - name = "homedecor:recolor_lighting", - label = "Convert some kinds of lights to use UD extended palette", - run_at_every_load = false, - nodenames = { - "homedecor:table_lamp_off", - "homedecor:table_lamp_low", - "homedecor:table_lamp_med", - "homedecor:table_lamp_hi", - "homedecor:table_lamp_max", - "homedecor:standing_lamp_off", - "homedecor:standing_lamp_low", - "homedecor:standing_lamp_med", - "homedecor:standing_lamp_hi", - "homedecor:standing_lamp_max", - }, - action = function(pos, node) - local meta = minetest.get_meta(pos) - if meta:get_string("palette") ~= "ext" then - minetest.swap_node(pos, { name = node.name, param2 = unifieddyes.convert_classic_palette[node.param2] }) - meta:set_string("palette", "ext") - end - end -}) -- cgit v1.2.3