make potato eatable

master
tchncs 2016-05-18 11:42:05 +02:00
parent b770d33635
commit 68671bb966
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ minetest.register_node("farming_plus:potato", {
minetest.register_craftitem("farming_plus:potato_item", {
description = S("Potato"),
inventory_image = "farming_potato.png",
on_use = minetest.item_eat(5),
})
farming.add_plant("farming_plus:potato", {"farming_plus:potato_1", "farming_plus:potato_2"}, 50, 20)