mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-24 20:03:45 +01:00
Move seeds to material creative category
This commit is contained in:
parent
95bef458bb
commit
10bb0efe5c
@ -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")
|
||||
|
@ -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
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user