ENT.Type = "anim"
ENT.Base = "base_anim"
ENT.Spawnable = false
ENT.AdminSpawnable = false
ENT.PrintName = "Bohrloch"
ENT.Category = "Ölraffinerie"
ENT.Model = Model("models/zerochain/props_oilrush/zor_drillhole.mdl")
ENT.AutomaticFrameAdvance = true

function ENT:SetupDataTables()
	self:NetworkVar("String", 1, "State")
	self:NetworkVar("Float", 0, "Pipes")
	self:NetworkVar("Float", 1, "Gas")
	self:NetworkVar("Float", 2, "HoleType")
	self:NetworkVar("Float", 3, "OilAmount")
	self:NetworkVar("Float", 4, "NeededPipes")
	self:NetworkVar("Float", 5, "ChaosEventBoost")
	self:NetworkVar("Bool", 0, "HasDrill")
	self:NetworkVar("Bool", 1, "HasBurner")
	self:NetworkVar("Bool", 2, "HasPump")
end

function ENT:CanTool(ply, trace, mode)
	return mode == "remover" and ply:IsAdmin()
end