summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2018-09-12 22:48:55 -0400
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2018-09-12 22:48:55 -0400
commit586fe3a7c7ce2c57d3c2f3527a40017f5410da21 (patch)
treeeda9a532a843e990adb2134183713cc7bf82cd63
parent271f59bbac660bccca676f561dbeab898e30ae11 (diff)
downloadplasticbox-586fe3a7c7ce2c57d3c2f3527a40017f5410da21.tar
plasticbox-586fe3a7c7ce2c57d3c2f3527a40017f5410da21.tar.gz
plasticbox-586fe3a7c7ce2c57d3c2f3527a40017f5410da21.tar.bz2
plasticbox-586fe3a7c7ce2c57d3c2f3527a40017f5410da21.tar.xz
plasticbox-586fe3a7c7ce2c57d3c2f3527a40017f5410da21.zip
get rid of old 89->256 LBM, obsolete
-rw-r--r--init.lua17
1 files changed, 0 insertions, 17 deletions
diff --git a/init.lua b/init.lua
index 5a94b35..c29f6f2 100644
--- a/init.lua
+++ b/init.lua
@@ -96,20 +96,3 @@ minetest.register_lbm({
end,
})
-minetest.register_lbm({
- name = "plasticbox:recolor",
- label = "Convert to new palette",
- nodenames = {"plasticbox:plasticbox"},
- action = function(pos, node)
- local meta = minetest.get_meta(pos)
- if meta:get_string("palette") ~= "ext" then
- if node.param2 == 0 then
- node.param2 = 240
- else
- node.param2 = unifieddyes.convert_classic_palette[node.param2]
- end
- minetest.swap_node(pos,node)
- meta:set_string("palette", "ext")
- end
- end
-})