1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-06-28 12:56:01 +02:00

get rid of old 89->256 color LBMs

This commit is contained in:
Vanessa Dannenberg
2018-09-12 23:03:41 -04:00
parent 5b631142aa
commit fc781daca0
3 changed files with 0 additions and 60 deletions

View File

@ -146,20 +146,3 @@ minetest.register_lbm({
end
})
minetest.register_lbm({
name = "lavalamp:recolor",
label = "Convert 89-color lamps to use UD extended palette",
run_at_every_load = false,
nodenames = {
"lavalamp:lavalamp",
"lavalamp:lavalamp_off"
},
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
})