forked from mtcontrib/pipeworks
Removed code that detects technic and disables default recipes.
Made tubes and conductor tubes more expensive (yield 6 instead of 12).
This commit is contained in:
parent
604d5310a1
commit
65901b7dd7
49
crafts.lua
49
crafts.lua
|
@ -187,30 +187,26 @@ minetest.register_craft( {
|
|||
},
|
||||
})
|
||||
|
||||
-- If the technic mod is present, then don't bother registering the recipes
|
||||
-- for some tubes, as technic has its own recipes for those.
|
||||
|
||||
if not minetest.get_modpath("technic") then
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "pipeworks:tube 12",
|
||||
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" }
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
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" }
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "pipeworks:mese_tube_000000",
|
||||
recipe = {
|
||||
|
@ -220,63 +216,63 @@ if not minetest.get_modpath("technic") then
|
|||
"default:mese_crystal_fragment",
|
||||
"default:mese_crystal_fragment"
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "pipeworks:conductor_tube_off_000000 12",
|
||||
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" }
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
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" }
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
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" }
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
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" }
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
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( {
|
||||
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( {
|
||||
minetest.register_craft( {
|
||||
type = "shapeless",
|
||||
output = "pipeworks:mese_sand_tube_000000",
|
||||
recipe = {
|
||||
|
@ -286,6 +282,5 @@ if not minetest.get_modpath("technic") then
|
|||
"default:mese_crystal_fragment",
|
||||
"default:mese_crystal_fragment"
|
||||
},
|
||||
})
|
||||
end
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user