mirror of
https://codeberg.org/tenplus1/bonemeal.git
synced 2025-07-17 15:50:19 +02:00
Compare commits
2 Commits
master
...
nalc-1.2.0
Author | SHA1 | Date | |
---|---|---|---|
7053e44ea4 | |||
43fd151357 |
8
init.lua
8
init.lua
@ -640,7 +640,10 @@ minetest.register_craft({
|
|||||||
|
|
||||||
|
|
||||||
-- add bones to dirt
|
-- add bones to dirt
|
||||||
minetest.override_item("default:dirt", {
|
local drop = minetest.registered_items["default:dirt"].drop
|
||||||
|
if drop then
|
||||||
|
table.insert(drop.items, 1, {items = {"bonemeal:bone"}, rarity = 30})
|
||||||
|
else
|
||||||
drop = {
|
drop = {
|
||||||
max_items = 1,
|
max_items = 1,
|
||||||
items = {
|
items = {
|
||||||
@ -653,8 +656,7 @@ minetest.override_item("default:dirt", {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
end
|
||||||
|
|
||||||
|
|
||||||
-- add support for other mods
|
-- add support for other mods
|
||||||
dofile(path .. "/mods.lua")
|
dofile(path .. "/mods.lua")
|
||||||
|
Reference in New Issue
Block a user