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'}},
|
|
|
|
}
|
|
|
|
},
|
|
|
|
})
|