1
0
Fork 0

Fix tall grass nodes

objects
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",
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", {
@ -1764,9 +1773,8 @@ minetest.register_node("default:grass", {
max_items = 1,
items = {
{
-- player will get seed with 1/5 chance
items = {'farming:wheat_seed'},
rarity = 5,
rarity = 24,
},
}
},

View File

@ -204,6 +204,15 @@ minetest.register_node("flowers:fern", {
type = "fixed",
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