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 = {
|
2015-08-24 16:44:20 +02:00
|
|
|
{items = {'farming:seed_wheat'}, rarity = 5},
|
2014-11-13 23:31:49 +01:00
|
|
|
{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 = {
|
2015-08-24 16:44:20 +02:00
|
|
|
{items = {'farming:seed_cotton'}, rarity = 8},
|
2014-10-28 18:01:32 +01:00
|
|
|
{items = {'default:junglegrass'}},
|
|
|
|
}
|
|
|
|
},
|
2015-09-02 15:37:12 +02:00
|
|
|
})
|