Eat on rightclick
This commit is contained in:
parent
bbf7efc338
commit
96521433f5
11 changed files with 81 additions and 39 deletions
|
@ -36,7 +36,8 @@ minetest.register_node("mcl_farming:mushroom_red", {
|
|||
minetest.register_craftitem("mcl_farming:mushroom_stew", {
|
||||
description = "Mushroom Stew",
|
||||
inventory_image = "farming_mushroom_stew.png",
|
||||
on_use = minetest.item_eat(6, "mcl_core:bowl"),
|
||||
on_place = minetest.item_eat(6, "mcl_core:bowl"),
|
||||
on_secondary_use = minetest.item_eat(6, "mcl_core:bowl"),
|
||||
groups = { food = 3, eatable = 6 },
|
||||
stack_max = 1,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue