1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-01-13 03:20:26 +01:00
server-nalc/mods/nalc/bonemeal.lua
sys4-fr 140daf7008 Fix get bone when digging default:dirt with a chance 1/30
This was removed by nalc maptools customization
2018-01-13 15:59:22 +01:00

20 lines
390 B
Lua

if minetest.get_modpath("bonemeal") then
-- NALC : Remove dirt with bones to avoid infinite bones creation with the same dirt block
minetest.override_item(
"default:dirt",
{
drop = {
max_items = 1,
items = {
{
items = {"bonemeal:bone"}, -- NALC : Removed default:dirt
rarity = 30,
},
{
items = {"default:dirt"},
}
}
},
})
end