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/bathroom_furniture.lua | 18 ------------------ homedecor/lighting.lua | 25 ------------------------- homedecor/misc-nodes.lua | 1 + 3 files changed, 1 insertion(+), 43 deletions(-) (limited to 'homedecor') diff --git a/homedecor/bathroom_furniture.lua b/homedecor/bathroom_furniture.lua index 4840b26..146ad69 100644 --- a/homedecor/bathroom_furniture.lua +++ b/homedecor/bathroom_furniture.lua @@ -164,21 +164,3 @@ minetest.register_lbm({ meta:set_string("palette", "ext") end }) - -minetest.register_lbm({ - name = "homedecor:recolor_bathroom_tiles", - label = "Convert bathroom tiles to use UD extended palette", - run_at_every_load = false, - nodenames = { - "homedecor:bathroom_tiles_light", - "homedecor:bathroom_tiles_medium", - "homedecor:bathroom_tiles_dark", - }, - 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 -}) 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 -}) diff --git a/homedecor/misc-nodes.lua b/homedecor/misc-nodes.lua index 4d52e56..389d26d 100644 --- a/homedecor/misc-nodes.lua +++ b/homedecor/misc-nodes.lua @@ -529,6 +529,7 @@ for _, side in ipairs({"diagonal_left", "diagonal_right", "horizontal"}) do homedecor.white_wood } def2.inventory_image = "homedecor_banister_wood_colored_inv.png" + def2.groups.not_in_creative_inventory = 1 unifieddyes.generate_split_palette_nodes(nn, def2, "homedecor:banister_"..name.."_horizontal") end -- cgit v1.2.3