2013-01-27 22:59:18 +04:00
|
|
|
-- Crafting recipes for pipes
|
2012-09-02 20:55:14 +04:00
|
|
|
|
2013-01-27 22:59:18 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:pipe_110000_empty 12",
|
|
|
|
recipe = {
|
|
|
|
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" },
|
|
|
|
{ "", "", "" },
|
|
|
|
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }
|
|
|
|
},
|
|
|
|
})
|
2012-09-02 20:55:14 +04:00
|
|
|
|
2013-01-27 22:59:18 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:spigot 3",
|
|
|
|
recipe = {
|
|
|
|
{ "pipeworks:pipe_110000_empty", "" },
|
|
|
|
{ "", "pipeworks:pipe_110000_empty" },
|
|
|
|
},
|
|
|
|
})
|
2012-09-02 20:55:14 +04:00
|
|
|
|
2013-01-27 22:59:18 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:entry_panel 2",
|
|
|
|
recipe = {
|
|
|
|
{ "", "default:steel_ingot", "" },
|
|
|
|
{ "", "pipeworks:pipe_110000_empty", "" },
|
|
|
|
{ "", "default:steel_ingot", "" },
|
|
|
|
},
|
|
|
|
})
|
2012-09-02 20:55:14 +04:00
|
|
|
|
2013-01-27 22:59:18 +04:00
|
|
|
-- Various ancillary pipe devices
|
2012-09-02 20:55:14 +04:00
|
|
|
|
2013-01-27 22:59:18 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:pump_off 2",
|
|
|
|
recipe = {
|
|
|
|
{ "default:stone", "default:steel_ingot", "default:stone" },
|
|
|
|
{ "moreores:copper_ingot", "default:mese_crystal_fragment", "moreores:copper_ingot" },
|
|
|
|
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }
|
|
|
|
},
|
|
|
|
})
|
2012-09-02 20:55:14 +04:00
|
|
|
|
2013-01-27 22:59:18 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:valve_off 2",
|
|
|
|
recipe = {
|
|
|
|
{ "", "default:stick", "" },
|
|
|
|
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" },
|
|
|
|
{ "", "default:steel_ingot", "" }
|
|
|
|
},
|
|
|
|
})
|
2012-09-02 20:55:14 +04:00
|
|
|
|
2013-01-27 22:59:18 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:storage_tank_0 2",
|
|
|
|
recipe = {
|
|
|
|
{ "", "default:steel_ingot", "default:steel_ingot" },
|
|
|
|
{ "default:steel_ingot", "default:glass", "default:steel_ingot" },
|
|
|
|
{ "default:steel_ingot", "default:steel_ingot", "" }
|
|
|
|
},
|
|
|
|
})
|
2012-09-02 20:55:14 +04:00
|
|
|
|
2013-01-27 22:59:18 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:grating 2",
|
|
|
|
recipe = {
|
|
|
|
{ "default:steel_ingot", "", "default:steel_ingot" },
|
|
|
|
{ "", "default:steel_ingot", "" },
|
|
|
|
{ "default:steel_ingot", "", "default:steel_ingot" }
|
|
|
|
},
|
|
|
|
})
|
2012-09-02 20:55:14 +04:00
|
|
|
|
2013-05-11 02:28:57 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:flow_sensor_empty 2",
|
|
|
|
recipe = {
|
|
|
|
{ "pipeworks:pipe_110000_empty", "mesecons:mesecon", "pipeworks:pipe_110000_empty" },
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
2013-11-28 03:13:35 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:fountainhead 2",
|
|
|
|
recipe = {
|
|
|
|
{ "pipeworks:pipe_110000_empty" },
|
|
|
|
{ "pipeworks:pipe_110000_empty" }
|
|
|
|
},
|
|
|
|
})
|
2013-01-27 22:59:18 +04:00
|
|
|
|
|
|
|
-- Various ancillary tube devices
|
|
|
|
|
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:filter 2",
|
|
|
|
recipe = {
|
|
|
|
{ "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" },
|
|
|
|
{ "default:stick", "default:mese_crystal", "homedecor:plastic_sheeting" },
|
|
|
|
{ "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" }
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
2013-01-28 23:58:38 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:mese_filter 2",
|
|
|
|
recipe = {
|
|
|
|
{ "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" },
|
|
|
|
{ "default:stick", "default:mese", "homedecor:plastic_sheeting" },
|
|
|
|
{ "default:steel_ingot", "default:steel_ingot", "homedecor:plastic_sheeting" }
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
2013-03-26 00:25:58 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:autocrafter 2",
|
|
|
|
recipe = {
|
2013-06-01 14:40:29 +04:00
|
|
|
{ "default:steel_ingot", "default:mese_crystal", "default:steel_ingot" },
|
2013-03-26 00:25:58 +04:00
|
|
|
{ "homedecor:plastic_sheeting", "default:steel_ingot", "homedecor:plastic_sheeting" },
|
2013-06-01 14:40:29 +04:00
|
|
|
{ "default:steel_ingot", "default:mese_crystal", "default:steel_ingot" }
|
2013-03-26 00:25:58 +04:00
|
|
|
},
|
|
|
|
})
|
|
|
|
|
2013-01-27 22:59:18 +04:00
|
|
|
|
|
|
|
-- The tubes themselves
|
|
|
|
|
|
|
|
|
|
|
|
-- If homedecor is not installed, we need to register its crafting chain for
|
|
|
|
-- plastic sheeting so that pipeworks remains compatible with it.
|
|
|
|
|
|
|
|
if minetest.get_modpath("homedecor") == nil then
|
|
|
|
|
|
|
|
minetest.register_craftitem(":homedecor:plastic_sheeting", {
|
|
|
|
description = "Plastic sheet",
|
|
|
|
inventory_image = "homedecor_plastic_sheeting.png",
|
2012-09-02 20:55:14 +04:00
|
|
|
})
|
|
|
|
|
2013-01-27 22:59:18 +04:00
|
|
|
minetest.register_craftitem(":homedecor:plastic_base", {
|
|
|
|
description = "Unprocessed Plastic base",
|
|
|
|
wield_image = "homedecor_plastic_base.png",
|
|
|
|
inventory_image = "homedecor_plastic_base_inv.png",
|
2012-09-02 20:55:14 +04:00
|
|
|
})
|
|
|
|
|
2013-01-27 22:59:18 +04:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = 'homedecor:plastic_base 6',
|
|
|
|
recipe = { "default:junglegrass",
|
|
|
|
"default:junglegrass",
|
|
|
|
"default:junglegrass"
|
|
|
|
}
|
2012-09-02 20:55:14 +04:00
|
|
|
})
|
|
|
|
|
2013-01-27 22:59:18 +04:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = 'homedecor:plastic_base 3',
|
|
|
|
recipe = { "default:dry_shrub",
|
|
|
|
"default:dry_shrub",
|
|
|
|
"default:dry_shrub"
|
|
|
|
},
|
2012-09-02 20:55:14 +04:00
|
|
|
})
|
|
|
|
|
2013-01-27 22:59:18 +04:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
|
|
|
output = 'homedecor:plastic_base 4',
|
|
|
|
recipe = { "default:leaves",
|
|
|
|
"default:leaves",
|
|
|
|
"default:leaves",
|
|
|
|
"default:leaves",
|
|
|
|
"default:leaves",
|
|
|
|
"default:leaves"
|
|
|
|
}
|
2012-09-02 20:55:14 +04:00
|
|
|
})
|
|
|
|
|
2013-01-27 22:59:18 +04:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "cooking",
|
|
|
|
output = "homedecor:plastic_sheeting",
|
|
|
|
recipe = "homedecor:plastic_base",
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = 'fuel',
|
|
|
|
recipe = 'homedecor:plastic_base',
|
|
|
|
burntime = 30,
|
2012-09-02 20:55:14 +04:00
|
|
|
})
|
|
|
|
|
2013-01-27 22:59:18 +04:00
|
|
|
minetest.register_craft({
|
|
|
|
type = 'fuel',
|
|
|
|
recipe = 'homedecor:plastic_sheeting',
|
|
|
|
burntime = 30,
|
2012-09-02 20:55:14 +04:00
|
|
|
})
|
|
|
|
|
2013-01-27 22:59:18 +04:00
|
|
|
end
|
|
|
|
|
2013-11-28 03:13:35 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:one_way_tube 2",
|
|
|
|
recipe = {
|
|
|
|
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
|
|
|
|
{ "default:stick", "default:mese_crystal", "homedecor:plastic_sheeting" },
|
|
|
|
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
2013-01-27 22:59:18 +04:00
|
|
|
|
2013-11-28 10:20:34 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:tube 6",
|
|
|
|
recipe = {
|
|
|
|
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
|
|
|
|
{ "", "", "" },
|
|
|
|
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
|
|
|
|
},
|
|
|
|
})
|
2013-01-27 22:59:18 +04:00
|
|
|
|
2013-11-28 10:20:34 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:mese_tube_000000 2",
|
|
|
|
recipe = {
|
|
|
|
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
|
|
|
|
{ "", "default:mese_crystal", "" },
|
|
|
|
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
|
|
|
|
},
|
|
|
|
})
|
2012-09-02 20:55:14 +04:00
|
|
|
|
2013-11-28 10:20:34 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
type = "shapeless",
|
|
|
|
output = "pipeworks:mese_tube_000000",
|
|
|
|
recipe = {
|
|
|
|
"pipeworks:tube_000000",
|
|
|
|
"default:mese_crystal_fragment",
|
|
|
|
"default:mese_crystal_fragment",
|
|
|
|
"default:mese_crystal_fragment",
|
|
|
|
"default:mese_crystal_fragment"
|
|
|
|
},
|
|
|
|
})
|
2013-01-17 00:26:27 +04:00
|
|
|
|
2013-11-28 10:20:34 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:conductor_tube_off_000000 6",
|
|
|
|
recipe = {
|
|
|
|
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
|
|
|
|
{ "mesecons:mesecon", "mesecons:mesecon", "mesecons:mesecon" },
|
|
|
|
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
|
|
|
|
},
|
|
|
|
})
|
2013-01-17 00:26:27 +04:00
|
|
|
|
2013-11-28 10:20:34 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:detector_tube_off_000000 2",
|
|
|
|
recipe = {
|
|
|
|
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
|
|
|
|
{ "mesecons:mesecon", "mesecons_materials:silicon", "mesecons:mesecon" },
|
|
|
|
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
|
|
|
|
},
|
|
|
|
})
|
2013-01-19 16:24:25 +04:00
|
|
|
|
2013-11-28 10:20:34 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:accelerator_tube_000000 2",
|
|
|
|
recipe = {
|
|
|
|
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
|
|
|
|
{ "default:mese_crystal_fragment", "default:steel_ingot", "default:mese_crystal_fragment" },
|
|
|
|
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
|
|
|
|
},
|
|
|
|
})
|
2013-06-16 18:02:14 +04:00
|
|
|
|
2013-11-28 10:20:34 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:teleport_tube_000000 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" }
|
|
|
|
},
|
|
|
|
})
|
2013-01-19 16:24:25 +04:00
|
|
|
|
2013-11-28 10:20:34 +04:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:sand_tube_000000 2",
|
|
|
|
recipe = {
|
|
|
|
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
|
|
|
|
{ "default:sand", "default:sand", "default:sand" },
|
|
|
|
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:mese_sand_tube_000000 2",
|
|
|
|
recipe = {
|
|
|
|
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
|
|
|
|
{ "default:sand", "default:mese_crystal", "default:sand" },
|
|
|
|
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft( {
|
|
|
|
type = "shapeless",
|
|
|
|
output = "pipeworks:mese_sand_tube_000000",
|
|
|
|
recipe = {
|
|
|
|
"pipeworks:sand_tube_000000",
|
|
|
|
"default:mese_crystal_fragment",
|
|
|
|
"default:mese_crystal_fragment",
|
|
|
|
"default:mese_crystal_fragment",
|
|
|
|
"default:mese_crystal_fragment"
|
|
|
|
},
|
|
|
|
})
|
2013-01-18 00:04:42 +04:00
|
|
|
|