1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2024-12-26 18:50:20 +01:00
farming/grass.lua
2014-11-09 19:06:28 +00:00

29 lines
513 B
Lua

-- Override default grass and have it drop Wheat Seeds
for i=1,5 do
minetest.override_item("default:grass_"..i, {
drop = {
max_items = 1,
items = {
{items = {'farming:seed_wheat'},rarity = 5},
{items = {'default:grass_1'}},
}
},
})
end
-- Override default Jungle Grass and have it drop Cotton Seeds
minetest.override_item("default:junglegrass", {
drop = {
max_items = 1,
items = {
{items = {'farming:seed_cotton'},rarity = 8},
{items = {'default:junglegrass'}},
}
},
})