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