diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-09-12 22:48:55 -0400 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-09-12 22:48:55 -0400 |
commit | 586fe3a7c7ce2c57d3c2f3527a40017f5410da21 (patch) | |
tree | eda9a532a843e990adb2134183713cc7bf82cd63 | |
parent | 271f59bbac660bccca676f561dbeab898e30ae11 (diff) | |
download | plasticbox-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.lua | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -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 -}) |