mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 21:53:46 +03:00
38 lines
1.0 KiB
Lua
38 lines
1.0 KiB
Lua
|
|
--[[
|
||
|
|
| 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 = "Loose Springs"
|
||
|
|
|
||
|
|
att.Icon = Material("entities/att/arccw_uc_loosesprings.png", "mpis smooth")
|
||
|
|
att.Description = "With help from some loose magazine springs, it is possible to stuff more ammo in a magazine than is usually recommended."
|
||
|
|
att.Desc_Pros = {
|
||
|
|
"uc.loosesprings"
|
||
|
|
}
|
||
|
|
att.Desc_Cons = {
|
||
|
|
}
|
||
|
|
att.Desc_Neutrals = {
|
||
|
|
}
|
||
|
|
att.Slot = "uc_fg"
|
||
|
|
att.AutoStats = true
|
||
|
|
|
||
|
|
function att.Hook_GetCapacity(wep,cap)
|
||
|
|
return math.max(cap + 1, math.floor(cap * 1.08))
|
||
|
|
end
|
||
|
|
|
||
|
|
att.Hook_Compatible = function(wep)
|
||
|
|
if wep.RejectMagSizeChange or wep:GetCapacity() == 1 then return false end
|
||
|
|
end
|
||
|
|
|
||
|
|
att.Mult_RPM = .85
|
||
|
|
att.Mult_MalfunctionMean = 0.9
|
||
|
|
att.GivesFlags = {"ud_loosesprings"}
|
||
|
|
att.ExcludeFlags = {"ud_underload"}
|
||
|
|
|
||
|
|
att.AttachSound = "arccw_uc/common/gunsmith/internal_modification.ogg"
|