MineClone2/mods/PLAYER/mcl_hunger/register_foods.lua

8 lines
440 B
Lua
Raw Normal View History

2020-08-13 19:20:52 +02:00
-- Apply food poisoning effect as long there are no real status effect.
-- TODO: Sanitize this now that Food Poisoning is now an effect in mcl_potions
2020-08-13 19:20:52 +02:00
-- Normal poison damage is set to 0 because it's handled elsewhere.
2019-02-06 21:23:05 +01:00
mcl_hunger.register_food("mcl_mobitems:rotten_flesh", 4, "", 30, 0, 1, 80)
mcl_hunger.register_food("mcl_mobitems:chicken", 2, "", 30, 0, 1, 30)
mcl_hunger.register_food("mcl_fishing:pufferfish_raw", 1, "", 15, 0, 3)