1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-11-05 01:50:25 +01:00

Add "vessel" group to mushroom potions

This commit is contained in:
Ombridride 2015-06-23 17:52:13 +02:00
parent 19a2dea367
commit 3beb54099b

View File

@ -23,6 +23,7 @@ minetest.register_craftitem("mushroom:brown_essence",{
inventory_image = "mushroom_essence.png",
wield_image = "mushroom_essence.png",
on_use = minetest.item_eat(5), --notre modif de gain de faim
groups = {vessel=1},
})
minetest.register_craftitem("mushroom:poison",{
@ -30,6 +31,7 @@ minetest.register_craftitem("mushroom:poison",{
inventory_image = "mushroom_poison.png",
wield_image = "mushroom_poison.png",
on_use = minetest.item_eat(-10),
groups = {vessel=1},
})
-- recipes