Add saturation value to food items
This commit is contained in:
parent
a300831614
commit
3291fcb054
14 changed files with 45 additions and 3 deletions
|
@ -139,6 +139,7 @@ minetest.register_craftitem("mcl_core:apple", {
|
|||
on_place = minetest.item_eat(4),
|
||||
on_secondary_use = minetest.item_eat(4),
|
||||
groups = { food = 2, eatable = 4 },
|
||||
_mcl_saturation = 2.4,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("mcl_core:apple_gold", {
|
||||
|
@ -150,4 +151,5 @@ minetest.register_craftitem("mcl_core:apple_gold", {
|
|||
on_place = minetest.item_eat(8),
|
||||
on_secondary_use = minetest.item_eat(8),
|
||||
groups = { food = 2, eatable = 8 },
|
||||
_mcl_saturation = 9.6,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue