--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| 	Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]

att.PrintName = "UKCAR .223 Lower Receiver"
att.AbbrevName = "Manual Lower"

if GetConVar("arccw_truenames"):GetBool() then
    att.PrintName = "AR-15GB .223 Lower Receiver"
end

att.Icon = Material("entities/att/acwatt_ud_m16_receiver_cali.png", "smooth mips")
att.Description = "Straight-pull bolt action receiver for the M16, designed to comply with British centrefire rifle laws."
att.Desc_Pros = {
}
att.Desc_Cons = {
    "uc.manual"
}
att.Desc_Neutrals = {
}
att.Slot = "ud_m16_fcg"
att.AutoStats = true

att.SortOrder = -5

att.Override_CaseEffectAttachment = 6

att.Mult_PhysBulletMuzzleVelocity = 1.3

att.Override_Firemodes = {
    {
        Mode = 1,
        PrintName = "fcg.bolt",
    },
    {
        Mode = 0
    }
}

att.Hook_TranslateAnimation = function(wep, anim)
    if (anim == "fire" || anim == "fire_empty") then
        return "fire_cycle"
    end
end

att.Override_ManualAction = true
att.Mult_AccuracyMOA = 0.5
att.Mult_Range = 1.25
att.Mult_RangeMin = 1.25
att.Mult_MalfunctionMean = 1.5