diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-09-12 22:50:13 -0400 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-09-12 22:50:13 -0400 |
commit | aa50e41d4a7748110c7bff8491eccc369fc7bd1e (patch) | |
tree | 3732bec9c6feb30826207c4e0337b35c2105bf2f | |
parent | 35b7caed4530b5fb4db003b51426345ac4f512c5 (diff) | |
download | solidcolor-aa50e41d4a7748110c7bff8491eccc369fc7bd1e.tar solidcolor-aa50e41d4a7748110c7bff8491eccc369fc7bd1e.tar.gz solidcolor-aa50e41d4a7748110c7bff8491eccc369fc7bd1e.tar.bz2 solidcolor-aa50e41d4a7748110c7bff8491eccc369fc7bd1e.tar.xz solidcolor-aa50e41d4a7748110c7bff8491eccc369fc7bd1e.zip |
get rid of 89-> 256 LBM
-rw-r--r-- | init.lua | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -28,20 +28,3 @@ unifieddyes.register_color_craft({ } }) -minetest.register_lbm({ - name = "solidcolor:recolor", - label = "Convert to new palette", - nodenames = {"solidcolor:block"}, - 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 -}) |