Add nalc mod (mod that make correction between mods)

Fix world.mt for moreplants
This commit is contained in:
sys4-fr 2017-03-12 18:13:21 +01:00
parent 1db80b9ec5
commit c990a2bcc8
3 changed files with 34 additions and 0 deletions

3
mods/nalc/depends.txt Normal file
View File

@ -0,0 +1,3 @@
default
witchcraft?

28
mods/nalc/init.lua Normal file
View File

@ -0,0 +1,28 @@
-- Change craft recipe of Witchcraft:tooth
if minetest.get_modpath("witchcraft") then
-- clear crafts with this particular recipe
minetest.clear_craft(
{
recipe = { {"default:sand"} }
})
-- register default:desert_sand (by MFF)
minetest.register_craft(
{
output = "default:desert_sand",
recipe = {
{"default:sand"},
}
})
-- register witchcraft:tooth (by NALC)
minetest.register_craft(
{
output = "witchcraft:tooth",
recipe = {
{"default:sand", "", "default:sand"},
{"", "default:sand", ""},
}
})
end

View File

@ -259,3 +259,6 @@ load_mod_bakedclay = true
load_mod_moreflowers = true
load_mod_morefarming = true
load_mod_moreplants = true
load_mod_nalc = true