From 502474205030d04e0e900a217be9c1cd373bfc44 Mon Sep 17 00:00:00 2001 From: oilboi <47129783+oilboi@users.noreply.github.com> Date: Fri, 8 May 2020 04:12:51 -0400 Subject: [PATCH] Make tall grass drop wheat,melon,and pumpkin seeds --- mods/farming/plant_api.lua | 2 +- mods/farming/registers.lua | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/mods/farming/plant_api.lua b/mods/farming/plant_api.lua index 214a1f7..870708a 100644 --- a/mods/farming/plant_api.lua +++ b/mods/farming/plant_api.lua @@ -246,7 +246,7 @@ if def.seed_name then minetest.register_craftitem("farming:"..def.seed_name.."_seeds", { - description = def.seed_description.." Seeds", + description = def.seed_description, inventory_image = def.seed_inventory_image, on_place = function(itemstack, placer, pointed_thing) if pointed_thing.type ~= "node" then diff --git a/mods/farming/registers.lua b/mods/farming/registers.lua index e2929f9..1315d95 100644 --- a/mods/farming/registers.lua +++ b/mods/farming/registers.lua @@ -98,10 +98,14 @@ minetest.register_plant("grass", { rarity = 10, items = {"farming:melon_seeds"}, }, - --{ - -- rarity = 10, - -- items = {"farming:pumpkin_seeds"}, - --}, + { + rarity = 10, + items = {"farming:pumpkin_seeds"}, + }, + { + rarity = 10, + items = {"farming:wheat_seeds"}, + }, }, }, })