add _mcl_saturation to edibles

This commit is contained in:
FaceDeer
2022-08-27 19:13:20 -06:00
parent 4bcdcd4996
commit 34cd45bac4
5 changed files with 10 additions and 0 deletions

View File

@ -9,6 +9,7 @@ minetest.register_craftitem("df_primordial_items:primordial_fruit", {
sound = {eat = {name = "df_farming_gummy_chew", gain = 1.0}},
on_use = minetest.item_eat(8),
_hunger_ng = {heals = 8},
_mcl_saturation = 12,
})
minetest.register_craftitem("df_primordial_items:glowtato", {
@ -20,4 +21,5 @@ minetest.register_craftitem("df_primordial_items:glowtato", {
groups = {food = 8, dfcaverns_cookable = 1, eatable=8, plant=1},
on_use = minetest.item_eat(8),
_hunger_ng = {satiates = 8},
_mcl_saturation = 8,
})

View File

@ -78,6 +78,7 @@ minetest.register_craftitem("df_primordial_items:diced_mushroom", {
sound = {eat = {name = "df_farming_gummy_chew", gain = 1.0}},
on_use = minetest.item_eat(1),
_hunger_ng = {satiates = 1},
_mcl_saturation = 0.5,
})
minetest.register_craft({