require "Insurgent/Traits/LoadoutPistoleerTrait"

LoadoutPistoleerTrait.description  = getText("UI_trait_LoadoutPistoleerDesc_BRITA_VERSION")

function LoadoutPistoleerTrait.OnNewGame(player)
    if not player:HasTrait("LoadoutPistoleer") then
        return
    end

    local weapon = InsurgentWeaponUtil.addWeapon(player, "Base.Pistol2", {"Base.Sight_MicroDot", "Base.Laser_Red"})
    InsurgentWeaponUtil.addMags(player, "Base.45Clip", 4)
end


require "Insurgent/InsurgentWeaponUtil"

function InsurgentWeaponUtil.addBasicPistol(player)
    InsurgentWeaponUtil.addWeapon(player, "Base.Pistol", {"Base.Sight_MicroDot", "Base.Laser_Red"})
    InsurgentWeaponUtil.addMags(player, "Base.9mmClip", 2)
end