Moved FoodItems to shared rather than having duplicate code clientside and serverside.
Made FoodItems table integer-based. This brings it in line with similar type tables (RPExtraTeams, DarkRPEntities etc.)
Made FoodAteAlpha and FoodAteY local. They don't need to be global and nobody would care about them. They are only used internally.
Removed unnecessary HM table.
Renamed FoodItems's "amount" field to "energy". It's more descriptive. Amount can easily be confused with price and quantity.
Fixed /buyfood after FoodItem's move to integer-based keys.
Made the price of food configurable per food item. This removes GM.Config.foodcost.
Made AddFoodItem accept tables (like AddEntity, AddExtraTeam, AddCustomShipment etc.)
Made AddFoodItem global.
Renamed AddFoodItem to DarkRP.createFood (with backwards compatibility) and added documentation.
Made the HungerMod HUD a bit faster.
Renamed Player.HungerUpdate to Player.hungerUpdate and Player.NewHungerData to Player.newHungerData to match the casing of other functions.
Removed GM.Config.foodspawn. It's done nothing since 2009.
Made the "can't afford" /buyfood notification more descriptive.
Added a corrupt food checker to AddFoodItem.
Better default food names.
Added ability to disable the default food with the DarkRP modification addon.
Fixed position of the text on the hungermod HUD.
Fixed /buyfood again.
Fixed the Hungermod HUD being painted behind the DarkRP HUD.