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