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
@ -187,13 +187,9 @@ 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",
|
||||
output = "pipeworks:tube 6",
|
||||
recipe = {
|
||||
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
|
||||
{ "", "", "" },
|
||||
@ -223,7 +219,7 @@ if not minetest.get_modpath("technic") then
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "pipeworks:conductor_tube_off_000000 12",
|
||||
output = "pipeworks:conductor_tube_off_000000 6",
|
||||
recipe = {
|
||||
{ "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
|
||||
{ "mesecons:mesecon", "mesecons:mesecon", "mesecons:mesecon" },
|
||||
@ -287,5 +283,4 @@ if not minetest.get_modpath("technic") then
|
||||
"default:mese_crystal_fragment"
|
||||
},
|
||||
})
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user