Shift over one, fix deagle mag

This commit is contained in:
Fesiug 2024-01-01 17:08:11 -05:00
parent 15464b9af7
commit 8d0a23eb51
1 changed files with 143 additions and 135 deletions

View File

@ -22,7 +22,9 @@ do -- Sound definitions
end
ItemDef("base", {
do -- Bases
ItemDef("base", {
Name = "Base Item",
Category = "base",
Type = "base",
@ -54,9 +56,9 @@ ItemDef("base", {
Func_HolsterFinish = function( self, hand )
end,
})
})
ItemDef("base_firearm", {
ItemDef("base_firearm", {
Name = "Base Firearm",
Category = "base",
Base = "base",
@ -93,9 +95,9 @@ ItemDef("base_firearm", {
Func_Attack = function( self, hand )
end,
})
})
ItemDef("base_melee", {
ItemDef("base_melee", {
Name = "Base Melee",
Category = "base",
Base = "base",
@ -125,9 +127,9 @@ ItemDef("base_melee", {
Func_Attack = function( self, hand )
end,
})
})
ItemDef("base_grenade", {
ItemDef("base_grenade", {
Name = "Base Grenade",
Category = "grenade",
Base = "base",
@ -136,9 +138,9 @@ ItemDef("base_grenade", {
WModel = "models/weapons/w_grenade.mdl",
HoldType = "slam",
})
})
ItemDef("base_magazine", {
ItemDef("base_magazine", {
Name = "Base Magazine",
Category = "magazine",
Base = "base",
@ -147,9 +149,12 @@ ItemDef("base_magazine", {
WModel = "models/weapons/w_slam.mdl",
HoldType = "slam",
})
})
ItemDef("deagle", {
end
do -- Pistols
ItemDef("deagle", {
Name = "DEAGLE",
Description = "Autoloading .50 caliber pistol.",
Base = "base_firearm",
@ -182,14 +187,17 @@ ItemDef("deagle", {
Speed_Reloading = 0.95,
Speed_Firing = 0.95,
Speed_FiringTime = 0.5,
})
})
ItemDef("mag_deagle", {
ItemDef("mag_deagle", {
Name = "MAG: DEAGLE 7-rnd",
Base = "base_magazine",
Ammo = 14,
})
Ammo = 7,
})
end
--[[
ItemDef("deagle", {
Name = "DEAGLE",