mirror of
https://github.com/minetest-mods/technic.git
synced 2024-08-20 21:44:14 +02:00
use clear_craft to remove default sandstone recipe
get rid of the two grinder recipes from homedecor/fake_fire (obsolete)
This commit is contained in:
parent
fc2f6d8976
commit
69feeef0af
@ -20,11 +20,11 @@ local recipes = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
-- defuse the default sandstone recipe, since we have the compressor to take over in a more realistic manner
|
-- defuse the default sandstone recipe, since we have the compressor to take over in a more realistic manner
|
||||||
minetest.register_craft({
|
minetest.clear_craft({
|
||||||
output = "default:sand 0",
|
output = "default:sandstone",
|
||||||
recipe = {
|
recipe = {
|
||||||
{'group:sand', 'group:sand'},
|
{'group:sand', 'group:sand'},
|
||||||
{'group:sand', 'group:sand'}
|
{'group:sand', 'group:sand'}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -62,12 +62,6 @@ for _, data in pairs(recipes) do
|
|||||||
technic.register_grinder_recipe({input = {data[1]}, output = data[2]})
|
technic.register_grinder_recipe({input = {data[1]}, output = data[2]})
|
||||||
end
|
end
|
||||||
|
|
||||||
-- defuse common grinder unfriendly recipes
|
|
||||||
if minetest.get_modpath("fake_fire") then -- from homedecor_modpack
|
|
||||||
minetest.register_craft({ output='default:cobble 0', recipe={{'default:cobble'}}})
|
|
||||||
minetest.register_craft({ output='default:gravel 0', recipe={{'default:gravel'}}})
|
|
||||||
end
|
|
||||||
|
|
||||||
-- dusts
|
-- dusts
|
||||||
local function register_dust(name, ingot)
|
local function register_dust(name, ingot)
|
||||||
local lname = string.lower(name)
|
local lname = string.lower(name)
|
||||||
|
Loading…
Reference in New Issue
Block a user