aftermath/mods/farming/grass.lua
maikerumine 6e3c545c08 A new post apocalyptic survival game, inspired by Blockmen's Wastland game
A new post apocalyptic survival game, inspired by Blockmen's Wastland
game
2015-12-05 14:07:07 -05:00

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