require "Items/ProceduralDistributions"
require "Items/ItemPicker"

local vlItems_Distribution = {

    --Medical
    SafehouseMedical = {
        {"VLEmptySyringe", 50},
        {"VLEmptySyringe", 30},
        {"VLEmptySyringe", 10},
        {"VLEmptySpecimenContainer", 20},
        {"VLEmptySyringePack", 5},
        {"VLEmptySpecimenContainerPack", 5},
        {"VLEmptyTestTube", 30},
        {"VLEmptyTestTube", 15},
        {"VLParacetamol", 20},
        {"VLParacetamol", 5},
    },
    
    SafehouseMedical_Mid = {
        {"VLEmptySyringe", 25},
        {"VLEmptySyringe", 15},
        {"VLEmptySyringe", 5},
        {"VLEmptySpecimenContainer", 10},
        {"VLEmptySyringePack", 3},
        {"VLEmptySpecimenContainerPack", 3},
        {"VLEmptyTestTube", 15},
        {"VLEmptyTestTube", 8},
        {"VLParacetamol", 10},
        {"VLParacetamol", 3},
    },
    
    SafehouseMedical_Late = {
        {"VLEmptySyringe", 15},
        {"VLEmptySyringe", 10},
        {"VLEmptySyringe", 3},
        {"VLEmptySpecimenContainer", 6},
        {"VLEmptySyringePack", 1},
        {"VLEmptySpecimenContainerPack", 1},
        {"VLEmptyTestTube", 8},
        {"VLEmptyTestTube", 4},
        {"VLParacetamol", 5},
        {"VLParacetamol", 1},
    },
    
    StoreShelfMedical = {
        {"VLEmptySyringe", 25},
        {"VLEmptySyringe", 15},
        {"VLEmptySyringe", 5},
        {"VLEmptySpecimenContainer", 10},
        {"VLEmptySyringePack", 3},
        {"VLEmptySpecimenContainerPack", 3},
        {"VLEmptyTestTube", 15},
        {"VLEmptyTestTube", 8},
        {"VLParacetamol", 10},
        {"VLParacetamol", 3},
    },
    
    ArmyBunkerMedical = {
        {"VLEmptySyringe", 4},
        {"VLEmptySyringe", 0.1},
        {"VLEmptySpecimenContainer", 1},
        {"VLEmptySyringePack", 0.1},
        {"VLEmptySpecimenContainerPack", 0.1},
        {"VLEmptyTestTube", 2},
        {"VLEmptyTestTube", 0.2},
        {"VLParacetamol", 0.1},
    },
    
    ArmyStorageMedical = {
        {"VLEmptySyringe", 4},
        {"VLEmptySyringe", 0.1},
        {"VLEmptySpecimenContainer", 1},
        {"VLEmptySyringePack", 0.1},
        {"VLEmptySpecimenContainerPack", 0.1},
        {"VLEmptyTestTube", 0.2},
        {"VLParacetamol", 0.1},
    },
    
    MedicalCabinet = {
        {"VLEmptySyringe", 10},
        {"VLEmptySyringe", 4},
        {"VLEmptySyringe", 0.3},
        {"VLEmptySpecimenContainer", 4},
        {"VLEmptySyringePack", 0.1},
        {"VLEmptySpecimenContainerPack", 0.1},
        {"VLEmptyTestTube", 4},
        {"VLEmptyTestTube", 1},
        {"VLParacetamol", 3},
        {"VLParacetamol", 0.1},
    },

    HospitalRoomCounter = {
        {"VLEmptySyringe", 15},
        {"VLEmptySyringe", 2},
        {"VLEmptySpecimenContainer", 4},
        {"VLEmptySyringePack", 0.3},
        {"VLEmptySpecimenContainerPack", 0.2},
        {"VLEmptyTestTube", 4},
        {"VLEmptyTestTube", 0.2},
        {"VLParacetamol", 1},
    },
    
    HospitalRoomShelves = {
        {"VLEmptySyringe", 15},
        {"VLEmptySyringe", 2},
        {"VLEmptySpecimenContainer", 4},
        {"VLEmptySyringePack", 0.3},
        {"VLEmptySpecimenContainerPack", 0.2},
        {"VLEmptyTestTube", 4},
        {"VLEmptyTestTube", 0.2},
        {"VLParacetamol", 1},
    },
    
    MedicalClinicDrugs = {
        {"VLEmptySyringe", 4},
        {"VLEmptySyringe", 0.1},
        {"VLEmptySpecimenContainer", 1},
        {"VLEmptySyringePack", 0.1},
        {"VLEmptySpecimenContainerPack", 0.1},
        {"VLEmptyTestTube", 2},
        {"VLEmptyTestTube", 0.2},
        {"VLParacetamol", 0.1},
    },
    
    MedicalClinicTools = {
        {"VLEmptySyringe", 40},
        {"VLEmptySyringe", 10},
        {"VLEmptySpecimenContainer", 10},
        {"VLEmptySyringePack", 5},
        {"VLEmptySpecimenContainerPack", 5},
        {"VLEmptyTestTube", 20},
        {"VLEmptyTestTube", 5},
        {"VLParacetamol", 0.1},
    },
    
    MedicalOfficeCounter = {
        {"VLEmptySyringe", 4},
        {"VLEmptySyringe", 0.1},
        {"VLEmptySpecimenContainer", 1},
        {"VLEmptySyringePack", 0.1},
        {"VLEmptySpecimenContainerPack", 0.1},
        {"VLEmptyTestTube", 2},
        {"VLEmptyTestTube", 0.2},
        {"VLParacetamol", 0.1},
    },

    MedicalStorageDrugs = {
        {"VLEmptySyringe", 25},
        {"VLEmptySyringe", 15},
        {"VLEmptySyringe", 5},
        {"VLEmptySpecimenContainer", 10},
        {"VLEmptySyringePack", 0.3},
        {"VLEmptySpecimenContainerPack", 0.3},
        {"VLParacetamol", 10},
        {"VLParacetamol", 3},
    },
    
    MedicalStorageTools = {
        {"VLEmptySyringe", 40},
        {"VLEmptySyringe", 20},
        {"VLEmptySyringe", 5},
        {"VLEmptySpecimenContainer", 20},
        {"VLEmptySyringePack", 10},
        {"VLEmptySpecimenContainerPack", 10},
        {"VLEmptyTestTube", 20},
        {"VLEmptyTestTube", 5},
    },
}

local function AddToDistribution(vlItems_Distribution)
    for loc, items in pairs(vlItems_Distribution) do
        for _, item in ipairs(items) do
            table.insert(ProceduralDistributions.list[loc].items, item[1])
            table.insert(ProceduralDistributions.list[loc].items, item[2])
        end
    end
end

AddToDistribution(vlItems_Distribution)





