From eed93cbc5d94bca2325c36d92f910dcc3199adc1 Mon Sep 17 00:00:00 2001 From: Vanessa Dannenberg Date: Wed, 12 Sep 2018 22:52:57 -0400 Subject: [PATCH] get rid of old 89->256 color LBM (it'll only crash now, and is obsolete) also fixed a wrong/outdated color translation. --- blocks.lua | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/blocks.lua b/blocks.lua index 45a4aa9..c86e410 100644 --- a/blocks.lua +++ b/blocks.lua @@ -321,7 +321,7 @@ minetest.register_lbm({ -- custom re-mappings to use unified dyes' colors that are most similar to the originals if color == "blue" then - newcolor = "medium_skyblue" + newcolor = "medium_azure" end if color == "indigo" then newcolor = "light_violet" @@ -356,24 +356,3 @@ minetest.register_lbm({ end }) -minetest.register_lbm({ - name = "bobblocks:recolor_stuff", - label = "Convert 89-color fences to use UD extended palette", - run_at_every_load = false, - nodenames = { - "bobblocks:block", - "bobblocks:block_off", - "bobblocks:pole", - "bobblocks:pole_off", - "bobblocks:wavyblock", - "bobblocks:wavyblock_off", - "bobblocks:wavypole" - }, - 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 -})