diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-08-25 01:29:46 -0400 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2018-08-25 01:29:46 -0400 |
commit | c14eca1317b4b7641a4527602e602182e5105c13 (patch) | |
tree | 944d0746b4d81ea7f9f6ec358b1e5fbcf38f7781 | |
parent | 63ce3e8112d652648daec1700a03080e5b9daefc (diff) | |
download | unifiedmesecons-c14eca1317b4b7641a4527602e602182e5105c13.tar unifiedmesecons-c14eca1317b4b7641a4527602e602182e5105c13.tar.gz unifiedmesecons-c14eca1317b4b7641a4527602e602182e5105c13.tar.bz2 unifiedmesecons-c14eca1317b4b7641a4527602e602182e5105c13.tar.xz unifiedmesecons-c14eca1317b4b7641a4527602e602182e5105c13.zip |
allow re-dying of grey wires
-rw-r--r-- | init.lua | 42 |
1 files changed, 42 insertions, 0 deletions
@@ -418,3 +418,45 @@ for _,color in pairs(hues) do }) end end + +for _,color in pairs(hues) do -- allow re-dying of grey wires since they're so lightly-shaded. + if color ~= "grey" then + local dye = "dye:"..color + + minetest.register_craft({ + type = "shapeless", + output = unifieddyes.make_colored_itemstack( + "mesecons_insulated:insulated_"..color.."_off", + true, + dye), + recipe = { + dye, + "mesecons_insulated:insulated_grey_off", + }, + }) + + minetest.register_craft({ + output = unifieddyes.make_colored_itemstack( + "mesecons_extrawires:insulated_corner_"..color.."_off", + true, + dye), + type = "shapeless", + recipe = { + dye, + "mesecons_extrawires:insulated_corner_grey_off" + } + }) + + minetest.register_craft({ + output = unifieddyes.make_colored_itemstack( + "mesecons_extrawires:insulated_tjunction_"..color.."_off", + true, + dye), + type = "shapeless", + recipe = { + dye, + "mesecons_extrawires:insulated_tjunction_grey_off" + } + }) + end +end |