ITEM.Name = "Fire Rune" ITEM.Class = "resource" ITEM.Desc = "A perpetually warm stone" ITEM.Model = "models/props_combine/breenlight.mdl" ITEM.Icon = Material("wintersurvival2/hud/ws2_icons/icon_runefire.png") game.AddParticles("particles/particletest.pcf") ITEM.Structure = { { Bone = "ValveBiped.Bip01_R_Hand", Model = "models/props_junk/rock001a.mdl", Size = Vector(1,1,1), Pos = Vector(3,-1.6,0.5), Ang = Angle(0,0,0), }, } ITEM.Recipe = { Resources = { ["Blank Rune"] = 1, ["Charcoal"] = 1, }, Tools = {}, } ITEM.Damage = 1 ITEM.Range = 500 ITEM.CD = 1 function ITEM:OnUse(user) if(CLIENT) then return end user:Ignite(1) user:SetHeat(0) user:RemoveItem(self.Name,1) end function ITEM:OnPrimary(ply,tr) ParticleEffect("firetest",ply:GetPos()+Vector(0,0,72),ply:GetAngles(),ply) if(CLIENT) then else if(tr.Hit && tr.Entity && tr.Entity:IsPlayer()) then tr.Entity:Ignite(5) user.RemoveItem(self.Name,1) end end end