From 048b91f6da3f7827bf0e7f68994fdc23154cbaec Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 8 Jan 2017 00:33:30 +0100 Subject: [PATCH] Fix tall grass nodes --- mods/default/nodes.lua | 12 ++++++++++-- mods/flowers/init.lua | 9 +++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index 9ea995990a..bfdc552a22 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -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, }, } }, diff --git a/mods/flowers/init.lua b/mods/flowers/init.lua index 5a31b00139..cd48bf42de 100644 --- a/mods/flowers/init.lua +++ b/mods/flowers/init.lua @@ -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