Autogen mags again
This commit is contained in:
parent
ed6ed763ed
commit
f044b4db68
|
@ -171,6 +171,7 @@ do -- Pistols
|
|||
|
||||
--
|
||||
AmmoStd = 7,
|
||||
AutoGenMag = true,
|
||||
Delay = (60/180),
|
||||
Firemodes = FIREMODE_SEMI,
|
||||
Damage = 47,
|
||||
|
@ -189,14 +190,17 @@ do -- Pistols
|
|||
Speed_FiringTime = 0.5,
|
||||
})
|
||||
|
||||
ItemDef("mag_deagle", {
|
||||
Name = "MAG: DEAGLE 7-rnd",
|
||||
Base = "base_magazine",
|
||||
|
||||
Ammo = 7,
|
||||
})
|
||||
end
|
||||
|
||||
for i, v in SortedPairs( WEAPONS ) do
|
||||
if v.AutoGenMag then
|
||||
ItemDef("mag_" .. i, {
|
||||
Name = "MAG: " .. v.Name,
|
||||
Base = "base_magazine",
|
||||
|
||||
Ammo = v.AmmoStd,
|
||||
})
|
||||
end
|
||||
end
|
||||
--[[
|
||||
ItemDef("deagle", {
|
||||
|
|
Loading…
Reference in New Issue