zombiesurvival-evolved/gamemodes/zombiesurvival/entities/weapons/weapon_zs_f_soda.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 = "Soda"
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_junk/popcan01a.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_junk/popcan01a.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_junk/popcan01a.mdl"
SWEP.Primary.Ammo = "foodsoda"
SWEP.FoodHealth = 5
SWEP.FoodEatTime = 2
SWEP.FoodIsLiquid = true