diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-03 22:16:26 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-03 22:16:26 +0100 |
commit | 3fc848c95a7e16ac759dc74f32ea7e7b0f46de6e (patch) | |
tree | b50b3217a96456c5c798b4562e12f34dcdf806a8 /src/Items/ItemFood.h | |
parent | Fixed issues with farmland (diff) | |
download | cuberite-3fc848c95a7e16ac759dc74f32ea7e7b0f46de6e.tar cuberite-3fc848c95a7e16ac759dc74f32ea7e7b0f46de6e.tar.gz cuberite-3fc848c95a7e16ac759dc74f32ea7e7b0f46de6e.tar.bz2 cuberite-3fc848c95a7e16ac759dc74f32ea7e7b0f46de6e.tar.lz cuberite-3fc848c95a7e16ac759dc74f32ea7e7b0f46de6e.tar.xz cuberite-3fc848c95a7e16ac759dc74f32ea7e7b0f46de6e.tar.zst cuberite-3fc848c95a7e16ac759dc74f32ea7e7b0f46de6e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Items/ItemFood.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Items/ItemFood.h b/src/Items/ItemFood.h index 2ae572331..961cf482d 100644 --- a/src/Items/ItemFood.h +++ b/src/Items/ItemFood.h @@ -31,7 +31,7 @@ public: // Please keep alpha-sorted. case E_ITEM_BAKED_POTATO: return FoodInfo(6, 7.2); case E_ITEM_BREAD: return FoodInfo(5, 6); - case E_ITEM_CARROT: return FoodInfo(4, 4.8); + // Carrots handled in ItemSeeds case E_ITEM_COOKED_CHICKEN: return FoodInfo(6, 7.2); case E_ITEM_COOKED_FISH: return FoodInfo(5, 6); case E_ITEM_COOKED_PORKCHOP: return FoodInfo(8, 12.8); @@ -39,8 +39,9 @@ public: case E_ITEM_GOLDEN_APPLE: return FoodInfo(4, 9.6); case E_ITEM_GOLDEN_CARROT: return FoodInfo(6, 14.4); case E_ITEM_MELON_SLICE: return FoodInfo(2, 1.2); + case E_ITEM_MUSHROOM_SOUP: return FoodInfo(6, 7.2); case E_ITEM_POISONOUS_POTATO: return FoodInfo(2, 1.2, 60); - case E_ITEM_POTATO: return FoodInfo(1, 0.6); + // Potatoes handled in ItemSeeds case E_ITEM_PUMPKIN_PIE: return FoodInfo(8, 4.8); case E_ITEM_RAW_BEEF: return FoodInfo(3, 1.8); case E_ITEM_RAW_CHICKEN: return FoodInfo(2, 1.2, 30); @@ -50,7 +51,6 @@ public: case E_ITEM_ROTTEN_FLESH: return FoodInfo(4, 0.8, 80); case E_ITEM_SPIDER_EYE: return FoodInfo(2, 3.2, 100); case E_ITEM_STEAK: return FoodInfo(8, 12.8); - case E_ITEM_MUSHROOM_SOUP: return FoodInfo(6, 7.2); } LOGWARNING("%s: Unknown food item (%d), returning zero nutrition", __FUNCTION__, m_ItemType); return FoodInfo(0, 0.f); |