summaryrefslogtreecommitdiff
path: root/homedecor
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2018-09-12 23:11:30 -0400
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2018-09-12 23:11:30 -0400
commit02d2154bbdfcfca4cd764b090b3529152ad1d2fe (patch)
tree179075dd419b97b3773a24a41a367f7979d29de6 /homedecor
parent818eabb92fe8646db505fe985d16e65c9df1b761 (diff)
downloaddreambuilder_modpack-02d2154bbdfcfca4cd764b090b3529152ad1d2fe.tar
dreambuilder_modpack-02d2154bbdfcfca4cd764b090b3529152ad1d2fe.tar.gz
dreambuilder_modpack-02d2154bbdfcfca4cd764b090b3529152ad1d2fe.tar.bz2
dreambuilder_modpack-02d2154bbdfcfca4cd764b090b3529152ad1d2fe.tar.xz
dreambuilder_modpack-02d2154bbdfcfca4cd764b090b3529152ad1d2fe.zip
update blox, bobblocks, homedecor, plasticbox, solidcolor, stained glass,
unifieddyes, and unifiedmesecons
Diffstat (limited to 'homedecor')
-rw-r--r--homedecor/bathroom_furniture.lua18
-rw-r--r--homedecor/lighting.lua25
-rw-r--r--homedecor/misc-nodes.lua1
3 files changed, 1 insertions, 43 deletions
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