mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-22 23:10:17 +01:00
Increase chance for getting seeds
This commit is contained in:
parent
a654c0dbbd
commit
29f1f01f37
@ -58,7 +58,7 @@ minetest.register_abm({
|
|||||||
--
|
--
|
||||||
-- Hoes
|
-- Hoes
|
||||||
--
|
--
|
||||||
-- turns nodes with group soil=1 into soil; drop seeds if plowing grass
|
-- turns nodes with group soil=1 into soil
|
||||||
local function hoe_on_use(itemstack, user, pointed_thing, uses)
|
local function hoe_on_use(itemstack, user, pointed_thing, uses)
|
||||||
local pt = pointed_thing
|
local pt = pointed_thing
|
||||||
-- check if pointing at a node
|
-- check if pointing at a node
|
||||||
@ -189,7 +189,7 @@ minetest.register_node(":default:grass_1", {
|
|||||||
drop = {
|
drop = {
|
||||||
max_items = 1,
|
max_items = 1,
|
||||||
items = {
|
items = {
|
||||||
{items = {'farming:seed_wheat'},rarity = 20},
|
{items = {'farming:seed_wheat'},rarity = 5},
|
||||||
{items = {'default:grass_1'}},
|
{items = {'default:grass_1'}},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -221,7 +221,7 @@ for i=2,5 do
|
|||||||
drop = {
|
drop = {
|
||||||
max_items = 1,
|
max_items = 1,
|
||||||
items = {
|
items = {
|
||||||
{items = {'farming:seed_wheat'},rarity = 20},
|
{items = {'farming:seed_wheat'},rarity = 5},
|
||||||
{items = {'default:grass_1'}},
|
{items = {'default:grass_1'}},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -248,7 +248,7 @@ minetest.register_node(":default:junglegrass", {
|
|||||||
drop = {
|
drop = {
|
||||||
max_items = 1,
|
max_items = 1,
|
||||||
items = {
|
items = {
|
||||||
{items = {'farming:seed_cotton'},rarity = 20},
|
{items = {'farming:seed_cotton'},rarity = 8},
|
||||||
{items = {'default:junglegrass'}},
|
{items = {'default:junglegrass'}},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user