mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-14 12:00:22 +01:00
Add nalc mod (mod that make correction between mods)
Fix world.mt for moreplants
This commit is contained in:
parent
1db80b9ec5
commit
c990a2bcc8
3
mods/nalc/depends.txt
Normal file
3
mods/nalc/depends.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
default
|
||||||
|
witchcraft?
|
||||||
|
|
28
mods/nalc/init.lua
Normal file
28
mods/nalc/init.lua
Normal 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
|
@ -259,3 +259,6 @@ load_mod_bakedclay = true
|
|||||||
|
|
||||||
load_mod_moreflowers = true
|
load_mod_moreflowers = true
|
||||||
load_mod_morefarming = true
|
load_mod_morefarming = true
|
||||||
|
|
||||||
|
load_mod_moreplants = true
|
||||||
|
load_mod_nalc = true
|
Loading…
Reference in New Issue
Block a user