summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemFood.h
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-09-03 08:21:08 +0200
committerarchshift <admin@archshift.com>2014-09-03 08:21:08 +0200
commit34d6f0713e94b5cb3424be6ed3374afaeca5526b (patch)
tree202e99e8d7e0f222d62e6fc7c6403b2853d12805 /src/Items/ItemFood.h
parentEntityEffect.cpp: Enable 1.8's leaping potion (diff)
downloadcuberite-34d6f0713e94b5cb3424be6ed3374afaeca5526b.tar
cuberite-34d6f0713e94b5cb3424be6ed3374afaeca5526b.tar.gz
cuberite-34d6f0713e94b5cb3424be6ed3374afaeca5526b.tar.bz2
cuberite-34d6f0713e94b5cb3424be6ed3374afaeca5526b.tar.lz
cuberite-34d6f0713e94b5cb3424be6ed3374afaeca5526b.tar.xz
cuberite-34d6f0713e94b5cb3424be6ed3374afaeca5526b.tar.zst
cuberite-34d6f0713e94b5cb3424be6ed3374afaeca5526b.zip
Diffstat (limited to '')
-rw-r--r--src/Items/ItemFood.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Items/ItemFood.h b/src/Items/ItemFood.h
index 98050cad8..c7e7ef2ca 100644
--- a/src/Items/ItemFood.h
+++ b/src/Items/ItemFood.h
@@ -47,10 +47,12 @@ public:
case E_ITEM_RAW_CHICKEN: return FoodInfo(2, 1.2);
case E_ITEM_RAW_FISH: return FoodInfo(2, 1.2);
case E_ITEM_RAW_PORKCHOP: return FoodInfo(3, 1.8);
+ case E_ITEM_RAW_MUTTON: return FoodInfo(2, 1.2);
case E_ITEM_RED_APPLE: return FoodInfo(4, 2.4);
case E_ITEM_ROTTEN_FLESH: return FoodInfo(4, 0.8);
case E_ITEM_SPIDER_EYE: return FoodInfo(2, 3.2);
case E_ITEM_STEAK: return FoodInfo(8, 12.8);
+ case E_ITEM_MUTTON: return FoodInfo(6, 9.6);
}
LOGWARNING("%s: Unknown food item (%d), returning zero nutrition", __FUNCTION__, m_ItemType);
return FoodInfo(0, 0.f);