require "recipecode"

Recipe = Recipe or {}
Recipe.GetItemTypes = Recipe.GetItemTypes or {}
Recipe.OnCanPerform = Recipe.OnCanPerform or {}
Recipe.OnCreate = Recipe.OnCreate or {}
Recipe.OnGiveXP = Recipe.OnGiveXP or {}
Recipe.OnTest = Recipe.OnTest or {}

	--List of Food/Drink to Find on Zombies
local ZombieFoodList = {
    [0] = "PompsItems.Pomps",
    [1] = "PompsItems.Brawndo",
    [2] = "PompsItems.PIRootBeer",
    [3] = "PompsItems.POreo",
    [4] = "PompsItems.POreoVanilla",
	[5] = "PompsItems.TaterSticks",
	[6] = "PompsItems.Tartsies",
	[7] = "PompsItems.SourGummies",
	[8] = "PompsItems.GummyBearsPacket",
	[9] = "PompsItems.PIGummyWorms",
	[10] = "PompsItems.BittersBar",
	[11] = "PompsItems.BittersBrownie",
	[12] = "PompsItems.Tangsy",
	[13] = "PompsItems.GummySharks",
	[14] = "PompsItems.UtahWaferPack",
	[15] = "PompsItems.TwistysRed",
	[16] = "PompsItems.TwistysBlack",
	[17] = "PompsItems.PIJellyBeans",
	[18] = "PompsItems.CircusPeanuts",
	[19] = "PompsItems.TastyTarts",
	[20] = "PompsItems.Dabs",
	[21] = "PompsItems.Sunbooms",
	[22] = "PompsItems.SunboomsTropical",
	[23] = "PompsItems.CocoGlee",
	[24] = "PompsItems.GooberBar",
	[25] = "PompsItems.PIFigBar",
	[26] = "PompsItems.PISportsDrinkGrape",
	[27] = "PompsItems.PISportsDrinkBlue",
	[28] = "PompsItems.PISportsDrinkFruit",
	[29] = "PompsItems.PISportsDrinkLemonade",
	[30] = "PompsItems.PISportsDrinkLime",
	[31] = "PompsItems.PISportsDrinkOrange",
	[32] = "PompsItems.RMRootBeer",
	[33] = "PompsItems.LugRootBeer",
	[34] = "PompsItems.PICheeseBallsSmall",
	[35] = "PompsItems.PISpiffoSquish",
	[36] = "PompsItems.PIBRBarrel",
	[37] = "PompsItems.PIGreenBarrel",
	[38] = "PompsItems.PIPurpleBarrel",
	[39] = "PompsItems.PIRedBarrel",
	[40] = "PompsItems.PIFishSnackems",
	[41] = "PompsItems.PIGeeks",
	[42] = "PompsItems.PICandyCigarettes",
	[43] = "PompsItems.PICandyCigarettes2",
	[44] = "PompsItems.PIPushPopBlue",
	[45] = "PompsItems.PIPushPopRed",
	[46] = "PompsItems.PIRingPopBlue",
	[47] = "PompsItems.PIRingPopRed",
	[48] = "PompsItems.PIRingPopPurple",
	[49] = "PompsItems.PIRingPopGreen",
	[50] = "PompsItems.PIRingPopFancy",
	[51] = "PompsItems.PIPopRocksBlue",
	[52] = "PompsItems.PIPopRocksGreen",
	[53] = "PompsItems.PIPopRocksRed",
	[54] = "PompsItems.PIJavaCrunch",
	[55] = "PompsItems.PITix",
	[56] = "PompsItems.PIElChips",
	[57] = "PompsItems.PICannedRavioli",
	[58] = "PompsItems.PIABCSoup",
	[59] = "PompsItems.PIClamChowder",
	[60] = "PompsItems.PISpaghettiOs",
	[61] = "PompsItems.PIHoneyBun",
	[62] = "PompsItems.PIPopTartBS",
	[63] = "PompsItems.PIPopTartSW",
	[64] = "PompsItems.PIPopTartSM",
	[65] = "PompsItems.PIPopTartCC",
	[66] = "PompsItems.PIPopTartWB",
	[67] = "PompsItems.PIPopTartCH",
	[68] = "PompsItems.PIPopTartBB",
	[69] = "PompsItems.PIMilkMolars",
	[70] = "PompsItems.PIMacBeef",
	[71] = "PompsItems.PICannedMacCheese",
	[72] = "PompsItems.PIJawbreaker",
	[73] = "PompsItems.PIWormholes",
	[74] = "PompsItems.PIHotChachas",
	[75] = "PompsItems.PIIceCaps",
	[76] = "PompsItems.MoneyChoc",
	[77] = "PompsItems.PIPowderDonut",
	[78] = "PompsItems.PIChocDonut",
	[79] = "PompsItems.PISWDonut",
	[80] = "PompsItems.PIGlazeDonut",
	[81] = "PompsItems.PIPompsBig",
	[82] = "PompsItems.PIFruitSpillers",
	[83] = "PompsItems.PISkyDullards",
	[84] = "PompsItems.PIHeadHonchoChew",
	[85] = "PompsItems.PIDiamondCola",
	[86] = "PompsItems.PIBottledUnsweetTea",
	[87] = "PompsItems.PIBottledTeaSweet",
	[88] = "PompsItems.PIBottledTeaLemon",
	[89] = "PompsItems.PIBottledTeaRaspberry",
	[90] = "PompsItems.PIBottledTeaExtraSweet",
	[91] = "PompsItems.PIBottledTeaPeach",
	[92] = "PompsItems.PIBottledTeaGreenTea",
	[93] = "PompsItems.PISparklingWater",
	[94] = "PompsItems.PIIslandChips",
	[95] = "PompsItems.PIFizzyFazOrange",
	[96] = "PompsItems.PIFizzyFazPinkLemonade",
	[97] = "PompsItems.PIFizzyFazSourLime",
	[98] = "PompsItems.PIFizzyFazGrape",
	[99] = "PompsItems.PIWillysWonderlandPunch",
	[100] = "PompsItems.PIDrDoctor",
	[101] = "PompsItems.PIVeggieDrank",
	[102] = "PompsItems.PISchoolMilkChocolate",
	[103] = "PompsItems.PISchoolMilkStrawberry",
	[104] = "PompsItems.PISchoolMilkRegular",
	[105] = "PompsItems.PIFireball",
	[106] = "PompsItems.PIJaguarsPoofy",
	[107] = "PompsItems.PIJaguarsCrunchy",
	[108] = "PompsItems.PIJaguarsFlaming",
	[109] = "PompsItems.PICheeseStickDip",
	[110] = "PompsItems.PIBagOfDisappointment",
	[111] = "PompsItems.PIBonnieBites",
	[112] = "PompsItems.PIPiratePlunderbar",
	[113] = "PompsItems.PILemonChica",
	[114] = "PompsItems.PIFreddyFudgebar",
	[115] = "PompsItems.PIFazbar",
	[116] = "PompsItems.PIGummyFrogs",
	[117] = "PompsItems.Pomps",
}

function PIZombieFoodRandSelect_OnCreate(craftedRecipeData, character)
	local selectedItem = ZombieFoodList[ZombRand(#ZombieFoodList)]
    character:getInventory():AddItem(selectedItem)
end