Decay/lua/arccw/shared/attachments/ud_m16_receiver_cali.lua

46 lines
1014 B
Lua
Raw Normal View History

2024-02-29 20:47:24 -05:00
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