diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-08-22 22:28:28 -0400 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-08-22 22:28:28 -0400 |
commit | 9c9457e1f50ebdd943695a4cce6b88fa552370f3 (patch) | |
tree | 4f6002b266179e0dd1639affffd4f09a18dfcad5 /plasticbox | |
parent | 3c47f229fcbdb7cad28bacbc579516bf3ecf6c03 (diff) | |
download | dreambuilder_modpack-9c9457e1f50ebdd943695a4cce6b88fa552370f3.tar dreambuilder_modpack-9c9457e1f50ebdd943695a4cce6b88fa552370f3.tar.gz dreambuilder_modpack-9c9457e1f50ebdd943695a4cce6b88fa552370f3.tar.bz2 dreambuilder_modpack-9c9457e1f50ebdd943695a4cce6b88fa552370f3.tar.xz dreambuilder_modpack-9c9457e1f50ebdd943695a4cce6b88fa552370f3.zip |
update castles modpack, blox, bobblocks, coloredwood, technic,
gloopblocks, homedecor, ilights, led marquee, plasticbox, solidcolor,
stained_glass, unified bricks, and unified dyes
In most of these, the update is to shift over to the new "old" coloring
paradigm in Unified Dyes. See its forum thread for details.
Diffstat (limited to 'plasticbox')
-rw-r--r-- | plasticbox/init.lua | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/plasticbox/init.lua b/plasticbox/init.lua index c8a1672..5a94b35 100644 --- a/plasticbox/init.lua +++ b/plasticbox/init.lua @@ -6,10 +6,7 @@ minetest.register_node("plasticbox:plasticbox", { sounds = default.node_sound_stone_defaults(), paramtype2 = "color", palette = "unifieddyes_palette_extended.png", - after_dig_node = unifieddyes.after_dig_node, - place_param2 = 240, on_construct = unifieddyes.on_construct, - after_place_node = unifieddyes.recolor_on_place, }) if minetest.global_exists("stairsplus") then @@ -30,6 +27,29 @@ minetest.register_craft( { }, }) +unifieddyes.register_color_craft({ + output = "plasticbox:plasticbox 4", + palette = "extended", + neutral_node = "homedecor:plastic_sheeting", + recipe = { + { "NEUTRAL_NODE", "NEUTRAL_NODE", "NEUTRAL_NODE" }, + { "NEUTRAL_NODE", "MAIN_DYE", "NEUTRAL_NODE" }, + { "NEUTRAL_NODE", "NEUTRAL_NODE", "NEUTRAL_NODE" }, + + } +}) + +unifieddyes.register_color_craft({ + output = "plasticbox:plasticbox", + palette = "extended", + type = "shapeless", + neutral_node = "plasticbox:plasticbox", + recipe = { + "NEUTRAL_NODE", + "MAIN_DYE" + } +}) + minetest.register_lbm({ name = "plasticbox:convert_colors", label = "Convert plastic boxes to use param2 color", |