require 'Items/ProceduralDistributions'
require 'Items/Distributions'

Distributions = Distributions or {};

local distributionTable = {

   SurvivorCrate = {
      rolls = 4,
      items = {
          "Bag_ShotgunBag", 1,
          "Bag_ShotgunDblBag", 1,
          "Bag_ShotgunDblSawnoffBag", 1,
          "Bag_ShotgunSawnoffBag", 1,
          "BeefJerky", 8,
          "CannedCorn", 8,
          "CannedMushroomSoup", 10,
          "CannedPeas", 8,
          "CannedSteersInTomato", 10,
          "CannedTomatoes", 8,
          "Chocolate", 8,
          "Crisps", 10,
          "Crisps2", 10,
          "Crisps3", 10,
          "Crisps4", 10,
          "Machete", 1,
          "PeanutButter", 10,
          "TinnedBeans", 10,
          "CannedTushonka", 10,
          "CannedSaira", 10,
          "WaterBottleFull", 10,
          "WaterBottleFull", 10,
      },
      junk = {
          rolls = 1,
          items = {
              
          }
      }
  },

  Bag_FoodCanned = {
   rolls = 2,
   items = {
       "CannedCorn", 20,
       "CannedMushroomSoup", 20,
       "CannedPeas", 20,
       "CannedSteersInTomato", 20,
       "CannedTomatoes", 20,
       "TinnedBeans", 20,
       "CannedTushonka", 20,
       "CannedSaira", 20,
   },
   junk = {
       rolls = 1,
       items = {
           
       }
   }
   },

   GroceryBag1 = {
      rolls = 1,
      items = {
          "Apple", 2,
          "Avocado", 1,
          "BakingSoda", 1,
          "Baloney", 0.8,
          "Banana", 2,
          "BellPepper", 1,
          "BouillonCube", 1,
          "Broccoli", 2,
          "Butter", 2,
          "Candycane", 1,
          "CandyPackage", 1,
          "CannedCorn", 0.8,
          "CannedMushroomSoup", 1,
          "CannedPeas", 0.8,
          "CannedSteersInTomato", 1,
          "CannedTomatoes", 0.8,
          "Carrots", 2,
          "Cereal", 1,
          "Cheese", 2,
          "Cherry", 2,
          "Chicken", 0.8,
          "Chocolate", 1,
          "ChocolateChips", 1,
          "ChocolateCoveredCoffeeBeans", 1,
          "CocoaPowder", 1,
          "Coffee2", 1,
          "Corn", 2,
          "Crackers", 1,
          "Crisps", 1,
          "Crisps2", 1,
          "Crisps3", 1,
          "Crisps4", 1,
          "DriedBlackBeans", 0.8,
          "DriedChickpeas", 0.8,
          "DriedKidneyBeans", 0.8,
          "DriedLentils", 0.8,
          "DriedSplitPeas", 0.8,
          "DriedWhiteBeans", 0.8,
          "EggCarton", 0.8,
          "Eggplant", 2,
          "farming.Bacon", 0.8,
          "farming.Cabbage", 2,
          "farming.MayonnaiseFull", 0.25,
          "farming.RedRadish", 2,
          "farming.RemouladeFull", 0.25,
          "farming.Strewberrie", 2,
          "farming.Tomato", 2,
          "Flour", 1,
          "GranolaBar", 1,
          "Grapefruit", 2,
          "Grapes", 2,
          "Gum", 1,
          "GummyBears", 1,
          "GummyWorms", 1,
          "Ham", 0.8,
          "HardCandies", 1,
          "Hotsauce", 0.25,
          "JellyBeans", 1,
          "JuiceBox", 1,
          "Jujubes", 1,
          "Ketchup", 0.25,
          "Lard", 1,
          "Leek", 2,
          "Lemon", 2,
          "Lettuce", 2,
          "LicoriceBlack", 1,
          "LicoriceRed", 1,
          "Lime", 2,
          "Macandcheese", 1,
          "MapleSyrup", 0.25,
          "Margarine", 2,
          "MeatPatty", 0.8,
          "Milk", 4,
          "MincedMeat", 0.8,
          "MintCandy", 1,
          "Modjeska", 1,
          "Mustard", 0.25,
          "MuttonChop", 0.5,
          "OatsRaw", 1,
          "OilOlive", 1,
          "OilVegetable", 1,
          "Onion", 2,
          "Orange", 2,
          "Pasta", 1,
          "Peach", 2,
          "Peanuts", 1,
          "Pear", 2,
          "PepperJalapeno", 1,
          "Peppermint", 1,
          "Pickles", 6,
          "Pineapple", 1,
          "Pop", 4,
          "Pop2", 4,
          "Pop3", 4,
          "PopBottle", 2,
          "Popcorn", 1,
          "PorkChop", 0.8,
          "Processedcheese", 6,
          "Ramen", 1,
          "Rice", 1,
          "RockCandy", 1,
          "Salami", 0.8,
          "Salmon", 0.5,
          "Sausage", 0.8,
          "Soysauce", 0.25,
          "Steak", 0.5,
          "Sugar", 1,
          "SugarBrown", 1,
          "SunflowerSeeds", 1,
          "TacoShell", 1,
          "Teabag2", 1,
          "TinnedBeans", 1,
          "CannedTushonka", 1,
          "TortillaChips", 1,
          "CannedSaira", 1,
          "TVDinner", 1,
          "WaterBottleFull", 1,
          "Yeast", 1,
          "Yoghurt", 1,
          "Zucchini", 2,
      },
      junk = {
          rolls = 1,
          items = {
              
          }
      }
  },

  GroceryBag2 = {
      rolls = 1,
      items = {
          "Apple", 4,
          "Avocado", 2,
          "Banana", 4,
          "BellPepper", 2,
          "Broccoli", 4,
          "CannedCorn", 4,
          "CannedPeas", 4,
          "CannedTomatoes", 4,
          "Carrots", 4,
          "Cherry", 4,
          "Corn", 4,
          "DriedBlackBeans", 4,
          "DriedChickpeas", 4,
          "DriedKidneyBeans", 4,
          "DriedLentils", 4,
          "DriedSplitPeas", 4,
          "DriedWhiteBeans", 4,
          "Eggplant", 4,
          "farming.Cabbage", 4,
          "farming.RedRadish", 4,
          "farming.Strewberrie", 4,
          "farming.Tomato", 4,
          "Grapefruit", 4,
          "Grapes", 4,
          "Leek", 4,
          "Lemon", 4,
          "Lettuce", 4,
          "Lime", 4,
          "OatsRaw", 2,
          "OilOlive", 2,
          "OilVegetable", 2,
          "Onion", 4,
          "Orange", 4,
          "Pasta", 2,
          "Peach", 4,
          "Pear", 4,
          "PepperJalapeno", 2,
          "Pickles", 6,
          "Pineapple", 2,
          "Rice", 2,
          "WaterBottleFull", 2,
          "Yoghurt", 2,
          "Zucchini", 4,
      },
      junk = {
          rolls = 1,
          items = {
              
          }
      }
  },

  GroceryBag3 = {
      rolls = 1,
      items = {
          "Candycane", 10,
          "CandyPackage", 10,
          "CannedMushroomSoup", 10,
          "Chocolate", 20,
          "ChocolateCoveredCoffeeBeans", 10,
          "Crisps", 10,
          "Crisps2", 10,
          "Crisps3", 10,
          "Crisps4", 10,
          "GranolaBar", 20,
          "Gum", 20,
          "GummyBears", 10,
          "GummyWorms", 10,
          "HardCandies", 10,
          "JellyBeans", 10,
          "Jujubes", 10,
          "LicoriceBlack", 10,
          "LicoriceRed", 10,
          "MintCandy", 10,
          "Modjeska", 10,
          "Peppermint", 10,
          "Pop", 10,
          "Pop2", 10,
          "Pop3", 10,
          "PopBottle", 10,
          "Popcorn", 10,
          "RockCandy", 10,
          "SunflowerSeeds", 10,
          "TinnedBeans", 10,
          "CannedTushonka", 10,
          "TortillaChips", 10,
          "TVDinner", 10,
      },
      junk = {
          rolls = 1,
          items = {
              
          }
      }
  },

  GroceryBag4 = {
      rolls = 1,
      items = {
          "Aluminum", 50,
          "BakingSoda", 50,
          "Butter", 20,
          "ChocolateChips", 50,
          "ChocolateChips", 10,
          "CocoaPowder", 50,
          "CocoaPowder", 10,
          "Flour", 100,
          "Flour", 20,
          "Lard", 20,
          "Margarine", 20,
          "OatsRaw", 20,
          "OilOlive", 20,
          "OilVegetable", 20,
          "Sugar", 50,
          "Sugar", 10,
          "SugarBrown", 20,
          "Yeast", 20,
      },
      junk = {
          rolls = 1,
          items = {
              
          }
      }
  },

  GroceryBag5 = {
      rolls = 1,
      items = {
          "Crisps", 50,
          "Crisps", 10,
          "Crisps2", 50,
          "Crisps2", 10,
          "Crisps3", 50,
          "Crisps3", 10,
          "Crisps4", 50,
          "Crisps4", 10,
          "farming.Bacon", 20,
          "farming.MayonnaiseFull", 20,
          "farming.Tomato", 20,
          "Ketchup", 50,
          "Lettuce", 20,
          "MincedMeat", 100,
          "MincedMeat", 100,
          "MincedMeat", 50,
          "MincedMeat", 50,
          "Mustard", 50,
          "Onion", 20,
          "Pickles", 20,
          "Pop", 50,
          "Pop", 10,
          "Pop2", 50,
          "Pop2", 10,
          "Pop3", 50,
          "Pop3", 10,
          "PopBottle", 50,
          "PopBottle", 10,
          "Processedcheese", 50,
          "Processedcheese", 10,
          "Steak", 50,
          "Steak", 50,
          "Steak", 20,
          "Steak", 20,
          "TortillaChips", 50,
          "TortillaChips", 10,
      },
      junk = {
          rolls = 1,
          items = {
              
          }
      }
  },

  FoodCache1 = {
   FoodBox = {
       rolls = 15,
       items = {
           -- KitchenCannedFood
           "CannedCorn", 8,
           "CannedConMilk", 4,
           "CannedMushroomSoup", 10,
           "CannedPeas", 8,
           "CannedSteersInTomato", 10,
           "CannedTomatoes", 8,
           "TinnedBeans", 10,
           "CannedTushonka", 10,
           "CannedSaira", 10,
           -- KitchenDryFood
           "BeefJerky", 6,
           "BouillonCube", 10,
           "Cereal", 10,
           "Chocolate", 6,
           "Crackers", 10,
           "Crisps", 4,
           "Crisps2", 4,
           "Crisps3", 4,
           "Crisps4", 4,
           "DriedBlackBeans", 5,
           "DriedChickpeas", 5,
           "DriedKidneyBeans", 5,
           "DriedLentils", 5,
           "DriedSplitPeas", 5,
           "DriedWhiteBeans", 5,
           "Macandcheese", 10,
           "Marinara", 10,
           "Pasta", 10,
           "Popcorn", 8,
           "Ramen", 6,
           "Rice", 4,
           "TVDinner", 4,
           "TacoShell", 2,
           "TortillaChips", 4,
       },
       junk = {
           rolls = 1,
           items = {
               
           }
       }
   }
},

}

table.insert(Distributions, 1, distributionTable);

table.insert(ProceduralDistributions["list"]["BandPracticeFridge"].items, "base.BeerBottle");
table.insert(ProceduralDistributions["list"]["BandPracticeFridge"].items, 10);
table.insert(ProceduralDistributions["list"]["BandPracticeFridge"].items, "base.Beer2Bottle");
table.insert(ProceduralDistributions["list"]["BandPracticeFridge"].items, 5);
table.insert(ProceduralDistributions["list"]["BandPracticeFridge"].items, "base.Beer3Bottle");
table.insert(ProceduralDistributions["list"]["BandPracticeFridge"].items, 5);

table.insert(ProceduralDistributions["list"]["BarCounterLiquor"].items, "base.BeerBottle");
table.insert(ProceduralDistributions["list"]["BarCounterLiquor"].items, 10);
table.insert(ProceduralDistributions["list"]["BarCounterLiquor"].items, "base.Beer2Bottle");
table.insert(ProceduralDistributions["list"]["BarCounterLiquor"].items, 15);
table.insert(ProceduralDistributions["list"]["BarCounterLiquor"].items, "base.Beer3Bottle");
table.insert(ProceduralDistributions["list"]["BarCounterLiquor"].items, 15);

table.insert(ProceduralDistributions["list"]["BarCounterLiquor"].items, "base.BeerBottle");
table.insert(ProceduralDistributions["list"]["BarCounterLiquor"].items, 10);
table.insert(ProceduralDistributions["list"]["BarCounterWeapon"].items, "base.Beer2Bottle");
table.insert(ProceduralDistributions["list"]["BarCounterWeapon"].items, 15);
table.insert(ProceduralDistributions["list"]["BarCounterWeapon"].items, "base.Beer3Bottle");
table.insert(ProceduralDistributions["list"]["BarCounterWeapon"].items, 15);

table.insert(ProceduralDistributions["list"]["BarShelfLiquor"].items, "base.BeerBottle");
table.insert(ProceduralDistributions["list"]["BarShelfLiquor"].items, 10);
table.insert(ProceduralDistributions["list"]["BarShelfLiquor"].items, "base.Beer2Bottle");
table.insert(ProceduralDistributions["list"]["BarShelfLiquor"].items, 20);
table.insert(ProceduralDistributions["list"]["BarShelfLiquor"].items, "base.Beer3Bottle");
table.insert(ProceduralDistributions["list"]["BarShelfLiquor"].items, 20);

table.insert(ProceduralDistributions["list"]["DrugShackDrugs"].items, "base.BeerBottle");
table.insert(ProceduralDistributions["list"]["DrugShackDrugs"].items, 10);
table.insert(ProceduralDistributions["list"]["DrugShackDrugs"].items, "base.Beer2Bottle");
table.insert(ProceduralDistributions["list"]["DrugShackDrugs"].items, 20);
table.insert(ProceduralDistributions["list"]["DrugShackDrugs"].items, "base.Beer3Bottle");
table.insert(ProceduralDistributions["list"]["DrugShackDrugs"].items, 20);

table.insert(ProceduralDistributions["list"]["FridgeBeer"].items, "base.BeerBottle");
table.insert(ProceduralDistributions["list"]["FridgeBeer"].items, 20);
table.insert(ProceduralDistributions["list"]["FridgeBeer"].items, "base.Beer2Bottle");
table.insert(ProceduralDistributions["list"]["FridgeBeer"].items, 20);
table.insert(ProceduralDistributions["list"]["FridgeBeer"].items, "base.Beer3Bottle");
table.insert(ProceduralDistributions["list"]["FridgeBeer"].items, 20);

table.insert(ProceduralDistributions["list"]["StoreShelfBeer"].items, "base.BeerBottle");
table.insert(ProceduralDistributions["list"]["StoreShelfBeer"].items, 20);
table.insert(ProceduralDistributions["list"]["StoreShelfBeer"].items, "base.Beer2Bottle");
table.insert(ProceduralDistributions["list"]["StoreShelfBeer"].items, 20);
table.insert(ProceduralDistributions["list"]["StoreShelfBeer"].items, "base.Beer3Bottle");
table.insert(ProceduralDistributions["list"]["StoreShelfBeer"].items, 20);

table.insert(ProceduralDistributions["list"]["FridgeGeneric"].items, "base.BeerBottle");
table.insert(ProceduralDistributions["list"]["FridgeGeneric"].items, 1);
table.insert(ProceduralDistributions["list"]["FridgeGeneric"].items, "base.Beer2Bottle");
table.insert(ProceduralDistributions["list"]["FridgeGeneric"].items, 1);
table.insert(ProceduralDistributions["list"]["FridgeGeneric"].items, "base.Beer3Bottle");
table.insert(ProceduralDistributions["list"]["FridgeGeneric"].items, 1);

table.insert(ProceduralDistributions["list"]["FridgeRich"].items, "base.BeerBottle");
table.insert(ProceduralDistributions["list"]["FridgeRich"].items, 2);
table.insert(ProceduralDistributions["list"]["FridgeRich"].items, "base.Beer2Bottle");
table.insert(ProceduralDistributions["list"]["FridgeRich"].items, 2);
table.insert(ProceduralDistributions["list"]["FridgeRich"].items, "base.Beer3Bottle");
table.insert(ProceduralDistributions["list"]["FridgeRich"].items, 2);

table.insert(ProceduralDistributions["list"]["KitchenBottles"].items, "base.BeerBottle");
table.insert(ProceduralDistributions["list"]["KitchenBottles"].items, 1);
table.insert(ProceduralDistributions["list"]["KitchenBottles"].items, "base.Beer2Bottle");
table.insert(ProceduralDistributions["list"]["KitchenBottles"].items, 1);
table.insert(ProceduralDistributions["list"]["KitchenBottles"].items, "base.Beer3Bottle");
table.insert(ProceduralDistributions["list"]["KitchenBottles"].items, 1);