Fix tall grass nodes

This commit is contained in:
Wuzzy 2017-01-08 00:33:30 +01:00
parent 516b6a4868
commit 048b91f6da
2 changed files with 19 additions and 2 deletions

View file

@ -684,6 +684,15 @@ minetest.register_node("default:junglegrass", {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5},
}, },
drop = {
max_items = 1,
items = {
{
items = {'farming:wheat_seed'},
rarity = 24,
},
}
},
}) })
minetest.register_node("default:cactus", { minetest.register_node("default:cactus", {
@ -1764,9 +1773,8 @@ minetest.register_node("default:grass", {
max_items = 1, max_items = 1,
items = { items = {
{ {
-- player will get seed with 1/5 chance
items = {'farming:wheat_seed'}, items = {'farming:wheat_seed'},
rarity = 5, rarity = 24,
}, },
} }
}, },

View file

@ -204,6 +204,15 @@ minetest.register_node("flowers:fern", {
type = "fixed", type = "fixed",
fixed = { -0.15, -0.5, -0.15, 0.15, 0.2, 0.15 }, fixed = { -0.15, -0.5, -0.15, 0.15, 0.2, 0.15 },
}, },
drop = {
max_items = 1,
items = {
{
items = {'farming:wheat_seed'},
rarity = 24,
},
}
},
}) })
function register_large(name, desc, inv_img, bot_img, colr) --change in function function register_large(name, desc, inv_img, bot_img, colr) --change in function