diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-30 21:01:18 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-05-30 21:01:18 -0400 |
| commit | d62058fcdea5fc6736a2a373f47dc6c14c70c319 (patch) | |
| tree | 79a1325190e3f1f1b6d6a2dbcdfc1ba3fa866ac9 /gamemode/items/special.lua | |
| parent | c38f00182ba6c282806eecb39a42e64d5feafa37 (diff) | |
| download | redead-d62058fcdea5fc6736a2a373f47dc6c14c70c319.tar.gz redead-d62058fcdea5fc6736a2a373f47dc6c14c70c319.tar.bz2 redead-d62058fcdea5fc6736a2a373f47dc6c14c70c319.zip | |
Removed exessive whitespace so future commits will be cleaner
Diffstat (limited to 'gamemode/items/special.lua')
| -rw-r--r-- | gamemode/items/special.lua | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/gamemode/items/special.lua b/gamemode/items/special.lua index 8dbab7f..e398ef7 100644 --- a/gamemode/items/special.lua +++ b/gamemode/items/special.lua @@ -6,7 +6,7 @@ function FUNC_ANTIRAD( ply, id, client, icon ) if icon then return "icon16/pill.png" end if client then return "Inject" end - + ply:RemoveFromInventory( id ) ply:EmitSound( "Weapon_SMG1.Special1" ) ply:SetRadiation( 0 ) @@ -18,66 +18,66 @@ end if icon then return "icon16/lightbulb.png" end if client then return "Ignite" end - + ply:RemoveFromInventory( id ) - + local prop = ents.Create( "sent_flare" ) prop:SetPos( ply:GetItemDropPos() ) prop:Spawn() end]] -item.Register( { - Name = "Anti-Rad", +item.Register( { + Name = "Anti-Rad", Description = "Releives all radiation poisoning.", - Stackable = true, + Stackable = true, Type = ITEM_SPECIAL, - Weight = 0.15, + Weight = 0.15, Price = 10, Rarity = 0.20, Model = "models/props_lab/jar01b.mdl", Functions = { FUNC_ANTIRAD }, CamPos = Vector(-17,-9,0), - CamOrigin = Vector(0,0,-1) + CamOrigin = Vector(0,0,-1) } ) -item.Register( { - Name = "Respirator", +item.Register( { + Name = "Respirator", Description = "Filters out chemicals and radiation.", - Stackable = true, + Stackable = true, Type = ITEM_SPECIAL, - Weight = 1.75, + Weight = 1.75, Price = 40, Rarity = 0.95, Model = "models/items/combine_rifle_cartridge01.mdl", CamPos = Vector(13,-14,0), - CamOrigin = Vector(0,0,-1) + CamOrigin = Vector(0,0,-1) } ) ---[[item.Register( { - Name = "Sonar Module", +--[[item.Register( { + Name = "Sonar Module", Description = "Improves your radar detection range.", - Stackable = true, + Stackable = true, Type = ITEM_SPECIAL, - Weight = 0.75, + Weight = 0.75, Price = 30, Rarity = 0.90, Model = "models/gibs/shield_scanner_gib1.mdl", Functions = {}, CamPos = Vector(2,-9,7), - CamOrigin = Vector(0,1,-1) + CamOrigin = Vector(0,1,-1) } ) -item.Register( { - Name = "Flare", +item.Register( { + Name = "Flare", Description = "Emits a bright red light.", - Stackable = true, + Stackable = true, Type = ITEM_SPECIAL, - Weight = 0.35, + Weight = 0.35, Price = 3, Rarity = 0.10, Model = "models/props_c17/trappropeller_lever.mdl", Functions = { FUNC_FLARE }, CamPos = Vector(15,6,5), - CamOrigin = Vector(0,0,0) -} )]]
\ No newline at end of file + CamOrigin = Vector(0,0,0) +} )]] |
