2013-01-27 19:59:18 +01:00
|
|
|
-- Crafting recipes for pipes
|
2012-09-02 18:55:14 +02:00
|
|
|
|
2013-01-27 19:59:18 +01:00
|
|
|
minetest.register_craft( {
|
2014-01-02 05:44:23 +01:00
|
|
|
output = "pipeworks:pipe_1_empty 12",
|
2013-01-27 19:59:18 +01:00
|
|
|
recipe = {
|
|
|
|
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" },
|
|
|
|
{ "", "", "" },
|
|
|
|
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }
|
|
|
|
},
|
|
|
|
})
|
2012-09-02 18:55:14 +02:00
|
|
|
|
2013-01-27 19:59:18 +01:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:spigot 3",
|
|
|
|
recipe = {
|
2014-01-02 05:44:23 +01:00
|
|
|
{ "pipeworks:pipe_1_empty", "" },
|
|
|
|
{ "", "pipeworks:pipe_1_empty" },
|
2013-01-27 19:59:18 +01:00
|
|
|
},
|
|
|
|
})
|
2012-09-02 18:55:14 +02:00
|
|
|
|
2013-01-27 19:59:18 +01:00
|
|
|
minetest.register_craft( {
|
2014-01-02 05:44:23 +01:00
|
|
|
output = "pipeworks:entry_panel_empty 2",
|
2013-01-27 19:59:18 +01:00
|
|
|
recipe = {
|
|
|
|
{ "", "default:steel_ingot", "" },
|
2014-01-02 05:44:23 +01:00
|
|
|
{ "", "pipeworks:pipe_1_empty", "" },
|
2013-01-27 19:59:18 +01:00
|
|
|
{ "", "default:steel_ingot", "" },
|
|
|
|
},
|
|
|
|
})
|
2012-09-02 18:55:14 +02:00
|
|
|
|
2013-01-27 19:59:18 +01:00
|
|
|
-- Various ancillary pipe devices
|
2012-09-02 18:55:14 +02:00
|
|
|
|
2013-01-27 19:59:18 +01:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:pump_off 2",
|
|
|
|
recipe = {
|
|
|
|
{ "default:stone", "default:steel_ingot", "default:stone" },
|
2014-09-21 13:51:55 +02:00
|
|
|
{ "default:copper_ingot", "default:mese_crystal_fragment", "default:copper_ingot" },
|
2013-01-27 19:59:18 +01:00
|
|
|
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }
|
|
|
|
},
|
|
|
|
})
|
2012-09-02 18:55:14 +02:00
|
|
|
|
2013-01-27 19:59:18 +01:00
|
|
|
minetest.register_craft( {
|
2014-03-28 20:37:08 +01:00
|
|
|
output = "pipeworks:valve_off_empty 2",
|
2013-01-27 19:59:18 +01:00
|
|
|
recipe = {
|
2014-07-30 23:22:28 +02:00
|
|
|
{ "", "group:stick", "" },
|
2013-01-27 19:59:18 +01:00
|
|
|
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" },
|
|
|
|
{ "", "default:steel_ingot", "" }
|
|
|
|
},
|
|
|
|
})
|
2012-09-02 18:55:14 +02:00
|
|
|
|
2013-01-27 19:59:18 +01: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 18:55:14 +02:00
|
|
|
|
2013-01-27 19:59:18 +01:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:grating 2",
|
|
|
|
recipe = {
|
|
|
|
{ "default:steel_ingot", "", "default:steel_ingot" },
|
2014-03-28 20:57:54 +01:00
|
|
|
{ "", "pipeworks:pipe_1_empty", "" },
|
2013-01-27 19:59:18 +01:00
|
|
|
{ "default:steel_ingot", "", "default:steel_ingot" }
|
|
|
|
},
|
|
|
|
})
|
2012-09-02 18:55:14 +02:00
|
|
|
|
2013-05-11 00:28:57 +02:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:flow_sensor_empty 2",
|
|
|
|
recipe = {
|
2014-01-02 05:44:23 +01:00
|
|
|
{ "pipeworks:pipe_1_empty", "mesecons:mesecon", "pipeworks:pipe_1_empty" },
|
2013-05-11 00:28:57 +02:00
|
|
|
},
|
|
|
|
})
|
|
|
|
|
2013-11-28 00:13:35 +01:00
|
|
|
minetest.register_craft( {
|
|
|
|
output = "pipeworks:fountainhead 2",
|
|
|
|
recipe = {
|
2014-01-02 05:44:23 +01:00
|
|
|
{ "pipeworks:pipe_1_empty" },
|
|
|
|
{ "pipeworks:pipe_1_empty" }
|
2013-11-28 00:13:35 +01:00
|
|
|
},
|
|
|
|
})
|
2013-01-27 19:59:18 +01:00
|
|
|
|
|
|
|
|
2014-01-16 19:39:13 +01:00
|
|
|
-- Crafting recipes for pneumatic tubes
|
2013-01-27 19:59:18 +01:00
|
|
|
|
|
|
|
-- 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
|
|
|
|
|
2014-07-29 03:08:49 +02:00
|
|
|
minetest.register_craftitem(":homedecor:oil_extract", {
|
|
|
|
description = "Oil extract",
|
|
|
|
inventory_image = "homedecor_oil_extract.png",
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craftitem(":homedecor:paraffin", {
|
|
|
|
description = "Unprocessed paraffin",
|
|
|
|
inventory_image = "homedecor_paraffin.png",
|
2012-09-02 18:55:14 +02:00
|
|
|
})
|
|
|
|
|
2014-07-29 03:08:49 +02:00
|
|
|
minetest.register_alias("homedecor:plastic_base", "homedecor:paraffin")
|
|
|
|
|
|
|
|
minetest.register_craftitem(":homedecor:plastic_sheeting", {
|
|
|
|
description = "Plastic sheet",
|
|
|
|
inventory_image = "homedecor_plastic_sheeting.png",
|
2012-09-02 18:55:14 +02:00
|
|
|
})
|
|
|
|
|
2013-01-27 19:59:18 +01:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "shapeless",
|
2014-07-29 03:08:49 +02:00
|
|
|
output = "homedecor:oil_extract 4",
|
|
|
|
recipe = {
|
|
|
|
"group:leaves",
|
|
|
|
"group:leaves",
|
|
|
|
"group:leaves",
|
|
|
|
"group:leaves",
|
|
|
|
"group:leaves",
|
|
|
|
"group:leaves"
|
2013-01-27 19:59:18 +01:00
|
|
|
}
|
2012-09-02 18:55:14 +02:00
|
|
|
})
|
|
|
|
|
2013-01-27 19:59:18 +01:00
|
|
|
minetest.register_craft({
|
2014-07-29 03:08:49 +02:00
|
|
|
type = "cooking",
|
|
|
|
output = "homedecor:paraffin",
|
|
|
|
recipe = "homedecor:oil_extract",
|
2013-01-27 19:59:18 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
2014-07-29 03:08:49 +02:00
|
|
|
type = "cooking",
|
|
|
|
output = "homedecor:plastic_sheeting",
|
|
|
|
recipe = "homedecor:paraffin",
|
2012-09-02 18:55:14 +02:00
|
|
|
})
|
|
|
|
|
2013-01-27 19:59:18 +01:00
|
|
|
minetest.register_craft({
|
2014-07-29 03:08:49 +02:00
|
|
|
type = "fuel",
|
|
|
|
recipe = "homedecor:oil_extract",
|
|
|
|
burntime = 30,
|
2012-09-02 18:55:14 +02:00
|
|
|
})
|
|
|
|
|
2014-07-29 03:08:49 +02:00
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "homedecor:paraffin",
|
|
|
|
burntime = 30,
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_craft({
|
|
|
|
type = "fuel",
|
|
|
|
recipe = "homedecor:plastic_sheeting",
|
|
|
|
burntime = 30,
|
|
|
|
})
|
2013-01-27 19:59:18 +01:00
|
|
|
end
|
|
|
|
|
2014-01-16 19:39:13 +01:00
|
|
|
|