mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-16 15:30:30 +01:00
9eaff838e5
- Moved farming and screwdriver into MinetestForFun Game - Updated files (mostly `is_ground_content`) - Removed weird partial copy of jukebox in MinetestForFun Game
29 lines
513 B
Lua
Executable File
29 lines
513 B
Lua
Executable File
|
|
-- 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'}},
|
|
}
|
|
},
|
|
})
|