forked from mtcontrib/pipeworks
move autocrafter, tp-tube and filter-injector crafts to their respective code files
This commit is contained in:
parent
c9d18f74e4
commit
fcba05fd78
@ -340,3 +340,12 @@ minetest.register_node("pipeworks:autocrafter", {
|
|||||||
end,
|
end,
|
||||||
on_timer = run_autocrafter
|
on_timer = run_autocrafter
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = "pipeworks:autocrafter 2",
|
||||||
|
recipe = {
|
||||||
|
{ "default:steel_ingot", "default:mese_crystal", "default:steel_ingot" },
|
||||||
|
{ "homedecor:plastic_sheeting", "default:steel_ingot", "homedecor:plastic_sheeting" },
|
||||||
|
{ "default:steel_ingot", "default:mese_crystal", "default:steel_ingot" }
|
||||||
|
},
|
||||||
|
})
|
||||||
|
38
crafts.lua
38
crafts.lua
@ -215,15 +215,6 @@ minetest.register_craft( {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft( {
|
|
||||||
output = "pipeworks:teleport_tube_1 2",
|
|
||||||
recipe = {
|
|
||||||
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
|
|
||||||
{ "default:desert_stone", "default:mese_block", "default:desert_stone" },
|
|
||||||
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft( {
|
minetest.register_craft( {
|
||||||
output = "pipeworks:sand_tube_1 2",
|
output = "pipeworks:sand_tube_1 2",
|
||||||
recipe = {
|
recipe = {
|
||||||
@ -289,33 +280,4 @@ minetest.register_craft( {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Various ancillary tube devices
|
|
||||||
|
|
||||||
minetest.register_craft( {
|
|
||||||
output = "pipeworks:filter 2",
|
|
||||||
recipe = {
|
|
||||||
{ "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" },
|
|
||||||
{ "group:stick", "default:mese_crystal", "homedecor:plastic_sheeting" },
|
|
||||||
{ "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" }
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft( {
|
|
||||||
output = "pipeworks:mese_filter 2",
|
|
||||||
recipe = {
|
|
||||||
{ "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" },
|
|
||||||
{ "group:stick", "default:mese", "homedecor:plastic_sheeting" },
|
|
||||||
{ "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" }
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
minetest.register_craft( {
|
|
||||||
output = "pipeworks:autocrafter 2",
|
|
||||||
recipe = {
|
|
||||||
{ "default:steel_ingot", "default:mese_crystal", "default:steel_ingot" },
|
|
||||||
{ "homedecor:plastic_sheeting", "default:steel_ingot", "homedecor:plastic_sheeting" },
|
|
||||||
{ "default:steel_ingot", "default:mese_crystal", "default:steel_ingot" }
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -199,3 +199,21 @@ for _, data in ipairs({
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = "pipeworks:filter 2",
|
||||||
|
recipe = {
|
||||||
|
{ "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" },
|
||||||
|
{ "group:stick", "default:mese_crystal", "homedecor:plastic_sheeting" },
|
||||||
|
{ "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" }
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = "pipeworks:mese_filter 2",
|
||||||
|
recipe = {
|
||||||
|
{ "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" },
|
||||||
|
{ "group:stick", "default:mese", "homedecor:plastic_sheeting" },
|
||||||
|
{ "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" }
|
||||||
|
},
|
||||||
|
})
|
||||||
|
@ -221,6 +221,15 @@ pipeworks.register_tube("pipeworks:teleport_tube","Teleporting Pneumatic Tube Se
|
|||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = "pipeworks:teleport_tube_1 2",
|
||||||
|
recipe = {
|
||||||
|
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
|
||||||
|
{ "default:desert_stone", "default:mese_block", "default:desert_stone" },
|
||||||
|
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
if minetest.get_modpath("mesecons_mvps") ~= nil then
|
if minetest.get_modpath("mesecons_mvps") ~= nil then
|
||||||
mesecon.register_on_mvps_move(function(moved_nodes)
|
mesecon.register_on_mvps_move(function(moved_nodes)
|
||||||
for _, n in ipairs(moved_nodes) do
|
for _, n in ipairs(moved_nodes) do
|
||||||
|
Loading…
Reference in New Issue
Block a user