zombiesurvival-evolved/gamemodes/zombiesurvival/entities/weapons/weapon_zs_f_water.lua
William Moodhe e9da54c2f9 ZS updates for 2014-2018
Too many changes to list.
2018-05-01 18:32:59 -04:00

28 lines
1.1 KiB
Lua

AddCSLuaFile()
SWEP.Base = "weapon_zs_basefood"
SWEP.PrintName = "Water"
if CLIENT then
SWEP.ViewModelBoneMods = {
["ValveBiped.Bip01_R_Finger02"] = { scale = Vector(1, 1, 1), pos = Vector(0, 0, 0), angle = Angle(0, 59, 0) },
}
SWEP.VElements = {
["base"] = { type = "Model", model = "models/props/cs_office/water_bottle.mdl", bone = "ValveBiped.Bip01_R_Hand", rel = "", pos = Vector(4, 2, -1), angle = Angle(0, -90, 180), size = Vector(0.75, 0.75, 0.75), color = Color(255, 255, 255, 255), surpresslightning = false, material = "", skin = 0, bodygroup = {} }
}
SWEP.WElements = {
["base"] = { type = "Model", model = "models/props/cs_office/water_bottle.mdl", bone = "ValveBiped.Bip01_R_Hand", rel = "", pos = Vector(4, 2, -1), angle = Angle(0, -90, 180), size = Vector(0.75, 0.75, 0.75), color = Color(255, 255, 255, 255), surpresslightning = false, material = "", skin = 0, bodygroup = {} }
}
end
SWEP.ViewModel = "models/weapons/c_grenade.mdl"
SWEP.WorldModel = "models/props/cs_office/water_bottle.mdl"
SWEP.Primary.Ammo = "foodwater"
SWEP.FoodHealth = 5
SWEP.FoodEatTime = 2
SWEP.FoodIsLiquid = true