mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
Upload
This commit is contained in:
38
lua/arccw/shared/attachments/uc_fg_loosesprings.lua
Normal file
38
lua/arccw/shared/attachments/uc_fg_loosesprings.lua
Normal file
@@ -0,0 +1,38 @@
|
||||
--[[
|
||||
| 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"
|
||||
Reference in New Issue
Block a user