local function SCP_CheckInjectorDrops(zombie)
    if not zombie then return end
    if not zombie:getOutfitName() then return end

    if not (SandboxVars.SCP and SandboxVars.SCP.EnableInjectorZombieDrops) then
        return
    end

    local outfit = tostring(zombie:getOutfitName())
    local inv = zombie:getInventory()
    if not inv then return end

    local hemovitaChance = SandboxVars.SCP.HemovitaLootChance or 0
    local adrenalChance = SandboxVars.SCP.AdrenalSurgeLootChance or 0
    local emptyChance = SandboxVars.SCP.EmptyInjectorLootChance or 0

    --------------------------------------------------
    -- MTF Units
    --------------------------------------------------
    if outfit == "SCP_MTF_Ranger" or outfit == "SCP_MTF_Breacher" then

        if ZombRand(100) < hemovitaChance then
            inv:AddItems("Base.SCP_Injector_Hemovita", 1)
        end

        if ZombRand(100) < adrenalChance then
            inv:AddItems("Base.SCP_Injector_AdrenalSurge", 1)
        end

        if ZombRand(100) < emptyChance then
            inv:AddItems("Base.EmptyInjector", 1)
        end

    --------------------------------------------------
    -- Scientists
    --------------------------------------------------
    elseif outfit == "SCP_FoundationScientist" then

        if ZombRand(100) < hemovitaChance then
            inv:AddItems("Base.SCP_Injector_Hemovita", 1)
        end

    --------------------------------------------------
    -- D-Class Survivor (armed / used gear)
    --------------------------------------------------
    elseif outfit == "SCP_DClass_Survivor" then

        if ZombRand(100) < hemovitaChance then
            inv:AddItems("Base.SCP_Injector_Hemovita", 1)
        end

        if ZombRand(100) < adrenalChance then
            inv:AddItems("Base.SCP_Injector_AdrenalSurge", 1)
        end

        if ZombRand(100) < emptyChance then
            inv:AddItems("Base.EmptyInjector", 1)
        end

    --------------------------------------------------
    -- Regular D-Class (flavour only)
    --------------------------------------------------
    elseif outfit == "SCP_DClass" then

        if ZombRand(100) < emptyChance then
            inv:AddItems("Base.EmptyInjector", 1)
        end
    end
end

Events.OnZombieDead.Add(SCP_CheckInjectorDrops)