add pumpkin seeds
parent
5e11181fec
commit
ecda70ba46
|
@ -3,6 +3,14 @@
|
|||
Big thanks to PainterlyPack.net for allowing me to use these textures
|
||||
]]
|
||||
|
||||
minetest.register_craftitem("farming:pumpkin_seed", {
|
||||
description = "Pumpkin Seed",
|
||||
inventory_image = "farming_pumpkin_seed.png",
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return farming.place_seed(itemstack, placer, pointed_thing, "farming:pumpkin_1")
|
||||
end
|
||||
})
|
||||
|
||||
-- pumpkin
|
||||
minetest.register_node("farming:pumpkin", {
|
||||
description = "Pumpkin",
|
||||
|
@ -175,6 +183,7 @@ crop_def.groups.growing = 0
|
|||
crop_def.drop = {
|
||||
items = {
|
||||
{items = {'farming:pumpkin_slice 9'}, rarity = 1},
|
||||
{items = {'farming:pumpkin_slice 4'}, rarity = 1},
|
||||
}
|
||||
}
|
||||
minetest.register_node("farming:pumpkin_8", table.copy(crop_def))
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 312 B |
Loading…
Reference in New Issue