diff options
author | Tim <t4im@users.noreply.github.com> | 2015-01-29 22:47:33 +0100 |
---|---|---|
committer | Tim <t4im@users.noreply.github.com> | 2015-01-29 22:47:33 +0100 |
commit | 4eff124ec8572046a81e5be10eb6e4dacd6e531b (patch) | |
tree | 5f82e1c3c7184c68aac523c330ea75b70001c4bd /sorting_tubes.lua | |
parent | 5a79a60e0f592e34433139c16bb02aca65e38d63 (diff) |
fix crafts to only register when their respective tubes are enabled
also add the one-way tube recipe back
Diffstat (limited to 'sorting_tubes.lua')
-rw-r--r-- | sorting_tubes.lua | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/sorting_tubes.lua b/sorting_tubes.lua index 933ecf2..92e9446 100644 --- a/sorting_tubes.lua +++ b/sorting_tubes.lua @@ -110,25 +110,25 @@ if pipeworks.enable_mese_tube then return 0 end, }, true) -- Must use old tubes, since the textures are rotated with 6d ones -end -minetest.register_craft( { - output = "pipeworks:mese_tube_1 2", - recipe = { - { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }, - { "", "default:mese_crystal", "" }, - { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" } - }, -}) + minetest.register_craft( { + output = "pipeworks:mese_tube_1 2", + recipe = { + { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }, + { "", "default:mese_crystal", "" }, + { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" } + }, + }) -minetest.register_craft( { - type = "shapeless", - output = "pipeworks:mese_tube_000000", - recipe = { - "pipeworks:tube_1", - "default:mese_crystal_fragment", - "default:mese_crystal_fragment", - "default:mese_crystal_fragment", - "default:mese_crystal_fragment" - }, -}) + minetest.register_craft( { + type = "shapeless", + output = "pipeworks:mese_tube_000000", + recipe = { + "pipeworks:tube_1", + "default:mese_crystal_fragment", + "default:mese_crystal_fragment", + "default:mese_crystal_fragment", + "default:mese_crystal_fragment" + }, + }) +end |