25 lines
1 KiB
Lua
25 lines
1 KiB
Lua
|
AddCSLuaFile()
|
||
|
|
||
|
SWEP.Base = "weapon_zs_basetrinket"
|
||
|
SWEP.ModelScale = 0.5
|
||
|
|
||
|
SWEP.PrintName = "Oxygen Tank"
|
||
|
SWEP.Description = "Grants significantly more underwater breathing time to the user."
|
||
|
|
||
|
SWEP.WorldModel = "models/props_c17/canister01a.mdl"
|
||
|
|
||
|
if CLIENT then
|
||
|
SWEP.ViewModelFOV = 60
|
||
|
|
||
|
SWEP.ShowViewModel = false
|
||
|
SWEP.ShowWorldModel = false
|
||
|
SWEP.VElements = {
|
||
|
["base"] = { type = "Model", model = "models/props_c17/canister01a.mdl", bone = "ValveBiped.Bip01_R_Hand", rel = "", pos = Vector(4, 3, -1), angle = Angle(180, 0, 0), size = Vector(0.5, 0.5, 0.5), color = Color(255, 255, 255, 255), surpresslightning = false, material = "", skin = 0, bodygroup = {} }
|
||
|
}
|
||
|
SWEP.WElements = {
|
||
|
["base"] = { type = "Model", model = "models/props_c17/canister01a.mdl", bone = "ValveBiped.Bip01_R_Hand", rel = "", pos = Vector(4, 3, -1), angle = Angle(180, 0, 0), size = Vector(0.5, 0.5, 0.5), color = Color(255, 255, 255, 255), surpresslightning = false, material = "", skin = 0, bodygroup = {} }
|
||
|
}
|
||
|
end
|
||
|
|
||
|
SWEP.TrinketStatus = "status_oxygentank"
|