Fixed style and alpha-sorting.
This commit is contained in:
parent
62d5ab15a5
commit
1cc65b6264
@ -43,12 +43,12 @@ public:
|
||||
case E_ITEM_POISONOUS_POTATO: return FoodInfo(2, 1.2);
|
||||
// Potatoes handled in ItemSeeds
|
||||
case E_ITEM_PUMPKIN_PIE: return FoodInfo(8, 4.8);
|
||||
case E_ITEM_RED_APPLE: return FoodInfo(4, 2.4);
|
||||
case E_ITEM_RAW_BEEF: return FoodInfo(3, 1.8);
|
||||
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_RAW_PORKCHOP: return FoodInfo(3, 1.8);
|
||||
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);
|
||||
|
@ -207,7 +207,7 @@ cItemHandler *cItemHandler::CreateItemHandler(int a_ItemType)
|
||||
}
|
||||
|
||||
// Food (please keep alpha-sorted):
|
||||
// (carrots and potatoes handled in SeedHandler as both seed and food
|
||||
// (carrots and potatoes handled separately in SeedHandler as they're both seed and food)
|
||||
case E_ITEM_BAKED_POTATO:
|
||||
case E_ITEM_BREAD:
|
||||
case E_ITEM_COOKED_CHICKEN:
|
||||
@ -217,18 +217,18 @@ cItemHandler *cItemHandler::CreateItemHandler(int a_ItemType)
|
||||
case E_ITEM_GOLDEN_CARROT:
|
||||
case E_ITEM_MELON_SLICE:
|
||||
case E_ITEM_MUSHROOM_SOUP:
|
||||
case E_ITEM_MUTTON:
|
||||
case E_ITEM_POISONOUS_POTATO:
|
||||
case E_ITEM_PUMPKIN_PIE:
|
||||
case E_ITEM_RED_APPLE:
|
||||
case E_ITEM_RAW_BEEF:
|
||||
case E_ITEM_RAW_CHICKEN:
|
||||
case E_ITEM_RAW_FISH:
|
||||
case E_ITEM_RAW_PORKCHOP:
|
||||
case E_ITEM_RAW_MUTTON:
|
||||
case E_ITEM_RED_APPLE:
|
||||
case E_ITEM_RAW_PORKCHOP:
|
||||
case E_ITEM_ROTTEN_FLESH:
|
||||
case E_ITEM_SPIDER_EYE:
|
||||
case E_ITEM_STEAK:
|
||||
case E_ITEM_MUTTON:
|
||||
{
|
||||
return new cItemFoodHandler(a_ItemType);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user