Fix incorrect/missing saturation points
This commit is contained in:
parent
888e4cae34
commit
579a6ed6f3
|
@ -29,7 +29,7 @@ minetest.register_craft({
|
||||||
|
|
||||||
minetest.register_node("mcl_cake:cake", {
|
minetest.register_node("mcl_cake:cake", {
|
||||||
description = "Cake",
|
description = "Cake",
|
||||||
_doc_items_longdesc = "Cakes can be placed and eaten to restore hunger points. A cake has 7 slices and each slice restores 2 hunger points. Cakes will be destroyed when dug or when the block below them is broken.",
|
_doc_items_longdesc = "Cakes can be placed and eaten to restore hunger points. A cake has 7 slices. Each slice restores 2 hunger points and 0.4 saturation points. Cakes will be destroyed when dug or when the block below them is broken.",
|
||||||
_doc_items_usagehelp = "Place the cake anywhere, then rightclick it to eat a single slice.",
|
_doc_items_usagehelp = "Place the cake anywhere, then rightclick it to eat a single slice.",
|
||||||
tiles = {"cake_top.png","cake_bottom.png","cake_side.png","cake_side.png","cake_side.png","cake_side.png"},
|
tiles = {"cake_top.png","cake_bottom.png","cake_side.png","cake_side.png","cake_side.png","cake_side.png"},
|
||||||
inventory_image = "cake.png",
|
inventory_image = "cake.png",
|
||||||
|
|
|
@ -100,12 +100,12 @@ minetest.register_craftitem("mcl_farming:potato_item", {
|
||||||
|
|
||||||
minetest.register_craftitem("mcl_farming:potato_item_baked", {
|
minetest.register_craftitem("mcl_farming:potato_item_baked", {
|
||||||
description = "Baked Potato",
|
description = "Baked Potato",
|
||||||
_doc_items_longdesc = "Baked potatoes are food items which can be eaten for 6 hunger points.",
|
_doc_items_longdesc = "Baked potatoes are food items which can be eaten for 5 hunger points.",
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
inventory_image = "farming_potato_baked.png",
|
inventory_image = "farming_potato_baked.png",
|
||||||
on_place = minetest.item_eat(6),
|
on_place = minetest.item_eat(5),
|
||||||
on_secondary_use = minetest.item_eat(6),
|
on_secondary_use = minetest.item_eat(5),
|
||||||
groups = { food = 2, eatable = 6 },
|
groups = { food = 2, eatable = 5 },
|
||||||
_mcl_saturation = 6.0,
|
_mcl_saturation = 6.0,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -138,7 +138,7 @@ minetest.register_craftitem("mcl_fishing:fish_cooked", {
|
||||||
on_secondary_use = minetest.item_eat(5),
|
on_secondary_use = minetest.item_eat(5),
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
groups = { food=2, eatable=5 },
|
groups = { food=2, eatable=5 },
|
||||||
_mcl_saturation = 9.6,
|
_mcl_saturation = 6,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
|
|
@ -280,7 +280,7 @@ minetest.register_craftitem("mcl_mobitems:rabbit_stew", {
|
||||||
on_place = minetest.item_eat(10, "mcl_core:bowl"),
|
on_place = minetest.item_eat(10, "mcl_core:bowl"),
|
||||||
on_secondary_use = minetest.item_eat(10, "mcl_core:bowl"),
|
on_secondary_use = minetest.item_eat(10, "mcl_core:bowl"),
|
||||||
groups = { food = 3, eatable = 10 },
|
groups = { food = 3, eatable = 10 },
|
||||||
_mcl_saturation = 6.0,
|
_mcl_saturation = 12.0,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("mcl_mobitems:shulker_shell", {
|
minetest.register_craftitem("mcl_mobitems:shulker_shell", {
|
||||||
|
|
|
@ -116,6 +116,7 @@ minetest.register_craftitem("mcl_mushrooms:mushroom_stew", {
|
||||||
on_place = 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"),
|
on_secondary_use = minetest.item_eat(6, "mcl_core:bowl"),
|
||||||
groups = { food = 3, eatable = 6 },
|
groups = { food = 3, eatable = 6 },
|
||||||
|
_mcl_saturation = 7.2,
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue