summaryrefslogtreecommitdiff
path: root/gamemode/items/special.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/items/special.lua')
-rw-r--r--gamemode/items/special.lua48
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)
+} )]]