From 10bb0efe5c804aa5f0b582accc76c7ed799142e2 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 20 Jan 2017 11:24:39 +0100 Subject: [PATCH] Move seeds to material creative category --- mods/farming/melon.lua | 1 + mods/farming/pumpkin.lua | 1 + mods/farming/wheat.lua | 1 + 3 files changed, 3 insertions(+) diff --git a/mods/farming/melon.lua b/mods/farming/melon.lua index 35324242c..3dccfcf0e 100644 --- a/mods/farming/melon.lua +++ b/mods/farming/melon.lua @@ -205,6 +205,7 @@ minetest.register_node("farming:melontige_linked_b", { minetest.register_craftitem("farming:melon_seed", { description = "Melon Seeds", stack_max = 64, + groups = { craftitem=1 }, inventory_image = "farming_melon_seed.png", on_place = function(itemstack, placer, pointed_thing) return farming:place_seed(itemstack, placer, pointed_thing, "farming:melontige_1") diff --git a/mods/farming/pumpkin.lua b/mods/farming/pumpkin.lua index 4350710a4..4a2a6199c 100644 --- a/mods/farming/pumpkin.lua +++ b/mods/farming/pumpkin.lua @@ -4,6 +4,7 @@ minetest.register_craftitem("farming:pumpkin_seed", { description = "Pumpkin Seed", stack_max = 64, inventory_image = "farming_pumpkin_seed.png", + groups = { craftitem=1 }, on_place = function(itemstack, placer, pointed_thing) local above = minetest.get_node(pointed_thing.above) if above.name == "air" then diff --git a/mods/farming/wheat.lua b/mods/farming/wheat.lua index a7a10990d..5efa4305b 100644 --- a/mods/farming/wheat.lua +++ b/mods/farming/wheat.lua @@ -1,5 +1,6 @@ minetest.register_craftitem("farming:wheat_seed", { description = "Wheat Seeds", + groups = { craftitem=1 }, inventory_image = "farming_wheat_seed.png", on_place = function(itemstack, placer, pointed_thing) return farming:place_seed(itemstack, placer, pointed_thing, "farming:wheat_1")