mirror of
https://github.com/mt-mods/basic_materials.git
synced 2025-07-04 00:50:33 +02:00
Clear original recipe for palstic base from hades_materials. Prevent dual plastic cook recipe.
This commit is contained in:
19
crafts.lua
19
crafts.lua
@ -150,6 +150,13 @@ minetest.register_craft( {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if have_hades_materials then
|
||||||
|
minetest.clear_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
recipe = {"group:leaves", "group:leaves", "group:leaves", "group:leaves", "group:leaves", "group:leaves"}
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "basic_materials:oil_extract 2",
|
output = "basic_materials:oil_extract 2",
|
||||||
@ -157,11 +164,13 @@ minetest.register_craft({
|
|||||||
})
|
})
|
||||||
|
|
||||||
--cooking recipes
|
--cooking recipes
|
||||||
minetest.register_craft({
|
if not have_hades_materials then
|
||||||
type = "cooking",
|
minetest.register_craft({
|
||||||
output = "basic_materials:plastic_sheet",
|
type = "cooking",
|
||||||
recipe = "basic_materials:paraffin",
|
output = "basic_materials:plastic_sheet",
|
||||||
})
|
recipe = "basic_materials:paraffin",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "cooking",
|
type = "cooking",
|
||||||
|
Reference in New Issue
Block a user