Fix incorrect/missing saturation points

This commit is contained in:
Wuzzy 2017-05-21 03:26:51 +02:00
parent 888e4cae34
commit 579a6ed6f3
5 changed files with 8 additions and 7 deletions

View File

@ -29,7 +29,7 @@ minetest.register_craft({
minetest.register_node("mcl_cake: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.",
tiles = {"cake_top.png","cake_bottom.png","cake_side.png","cake_side.png","cake_side.png","cake_side.png"},
inventory_image = "cake.png",

View File

@ -100,12 +100,12 @@ minetest.register_craftitem("mcl_farming:potato_item", {
minetest.register_craftitem("mcl_farming:potato_item_baked", {
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,
inventory_image = "farming_potato_baked.png",
on_place = minetest.item_eat(6),
on_secondary_use = minetest.item_eat(6),
groups = { food = 2, eatable = 6 },
on_place = minetest.item_eat(5),
on_secondary_use = minetest.item_eat(5),
groups = { food = 2, eatable = 5 },
_mcl_saturation = 6.0,
})

View File

@ -138,7 +138,7 @@ minetest.register_craftitem("mcl_fishing:fish_cooked", {
on_secondary_use = minetest.item_eat(5),
stack_max = 64,
groups = { food=2, eatable=5 },
_mcl_saturation = 9.6,
_mcl_saturation = 6,
})
minetest.register_craft({

View File

@ -280,7 +280,7 @@ minetest.register_craftitem("mcl_mobitems:rabbit_stew", {
on_place = minetest.item_eat(10, "mcl_core:bowl"),
on_secondary_use = minetest.item_eat(10, "mcl_core:bowl"),
groups = { food = 3, eatable = 10 },
_mcl_saturation = 6.0,
_mcl_saturation = 12.0,
})
minetest.register_craftitem("mcl_mobitems:shulker_shell", {

View File

@ -116,6 +116,7 @@ minetest.register_craftitem("mcl_mushrooms:mushroom_stew", {
on_place = minetest.item_eat(6, "mcl_core:bowl"),
on_secondary_use = minetest.item_eat(6, "mcl_core:bowl"),
groups = { food = 3, eatable = 6 },
_mcl_saturation = 7.2,
stack_max = 1,
})