Move seeds to material creative category

This commit is contained in:
Wuzzy 2017-01-20 11:24:39 +01:00
parent 95bef458bb
commit 10bb0efe5c
3 changed files with 3 additions and 0 deletions

View file

@ -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")

View file

@ -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

View file

@ -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")