diff options
Diffstat (limited to 'gamemode/items/weapons_special.lua')
| -rw-r--r-- | gamemode/items/weapons_special.lua | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/gamemode/items/weapons_special.lua b/gamemode/items/weapons_special.lua index 3d9a6c3..5f4b1b5 100644 --- a/gamemode/items/weapons_special.lua +++ b/gamemode/items/weapons_special.lua @@ -5,16 +5,16 @@ ITEM_WPN_SPECIAL = 10 --[[function FUNC_PLANTBOMB( ply, id, client ) if client then return "Arm" end - + ply:RemoveFromInventory( id ) ply:EmitSound( "weapons/c4/c4_plant.wav" ) - + local trace = {} trace.start = ply:GetShootPos() trace.endpos = ply:GetShootPos() + ply:GetAimVector() * 50 trace.filter = ply local tr = util.TraceLine( trace ) - + local bomb = ents.Create( "sent_c4" ) bomb:SetPos( tr.HitPos ) bomb:SetOwner( ply ) @@ -22,13 +22,13 @@ ITEM_WPN_SPECIAL = 10 end]] -item.Register( { - Name = "M1014", +item.Register( { + Name = "M1014", Description = "Turn everything into ground beef.", - Stackable = false, + Stackable = false, Type = ITEM_WPN_SPECIAL, TypeOverride = "sent_droppedgun", - Weight = 7, + Weight = 7, Price = 160, Rarity = 0.90, Model = "models/weapons/w_shot_xm1014.mdl", @@ -40,13 +40,13 @@ item.Register( { CamOrigin = Vector(1,0,4) } ) -item.Register( { - Name = "M249", +item.Register( { + Name = "M249", Description = "A belt-fed support machine gun.", - Stackable = false, + Stackable = false, Type = ITEM_WPN_SPECIAL, TypeOverride = "sent_droppedgun", - Weight = 10, + Weight = 10, Price = 180, Rarity = 0.90, Model = "models/weapons/w_mach_m249para.mdl", @@ -58,13 +58,13 @@ item.Register( { CamOrigin = Vector(2,0,6) } ) -item.Register( { - Name = "AWP", +item.Register( { + Name = "AWP", Description = "The very definition of overkill.", - Stackable = false, + Stackable = false, Type = ITEM_WPN_SPECIAL, TypeOverride = "sent_droppedgun", - Weight = 9, + Weight = 9, Price = 200, Rarity = 0.70, Model = "models/weapons/w_snip_awp.mdl", @@ -76,13 +76,13 @@ item.Register( { CamOrigin = Vector(1,0,4) } ) -item.Register( { - Name = "HE Grenade", +item.Register( { + Name = "HE Grenade", Description = "The fuse lasts 3 seconds.", - Stackable = true, + Stackable = true, Type = ITEM_WPN_SPECIAL, TypeOverride = "sent_droppedgun", - Weight = 1, + Weight = 1, Price = 5, Rarity = 0.20, Model = "models/weapons/w_eq_fraggrenade_thrown.mdl", @@ -94,13 +94,13 @@ item.Register( { CamOrigin = Vector(0,0,1) } ) -item.Register( { - Name = "Incendiary Grenade", +item.Register( { + Name = "Incendiary Grenade", Description = "Comes with free marshmallows.", - Stackable = true, + Stackable = true, Type = ITEM_WPN_SPECIAL, TypeOverride = "sent_droppedgun", - Weight = 1, + Weight = 1, Price = 8, Rarity = 0.40, Model = "models/weapons/w_eq_flashbang.mdl", @@ -112,17 +112,17 @@ item.Register( { CamOrigin = Vector(0,0,5) } ) ---[[item.Register( { - Name = "Timed Explosives", +--[[item.Register( { + Name = "Timed Explosives", Description = "This is a homemade timed explosive.", - Stackable = true, + Stackable = true, Type = ITEM_WPN_SPECIAL, TypeOverride = "sent_droppedgun", - Weight = 3, + Weight = 3, Price = 10, Rarity = 0.80, Model = "models/weapons/w_c4.mdl", Functions = { FUNC_PLANTBOMB }, CamPos = Vector(-12,-2,0), CamOrigin = Vector(0,5,0) -} )]]
\ No newline at end of file +} )]] |
