1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-18 08:10:38 +01:00
server-nalc/mods/farming/grass.lua

29 lines
513 B
Lua
Raw Normal View History

2014-10-28 18:01:32 +01:00
-- Override default grass and have it drop Wheat Seeds
2014-11-13 23:31:49 +01:00
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
2014-10-28 18:01:32 +01:00
-- Override default Jungle Grass and have it drop Cotton Seeds
2014-11-13 23:31:49 +01:00
minetest.override_item("default:junglegrass", {
2014-10-28 18:01:32 +01:00
drop = {
max_items = 1,
items = {
{items = {'farming:seed_cotton'},rarity = 8},
{items = {'default:junglegrass'}},
}
},
})