AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include( "shared.lua" )
function ENT:Initialize( )
self:SetModel( "models/breen.mdl" )
self:SetHullType( HULL_HUMAN )
self:SetHullSizeNormal( )
self:SetNPCState( NPC_STATE_SCRIPT )
self:SetSolid( SOLID_BBOX )
self:CapabilitiesAdd( CAP_ANIMATEDFACE, CAP_TURN_HEAD )
self:SetUseType( SIMPLE_USE )
self:DropToFloor()
end
function ENT:AcceptInput( string, ply )
local cur_time = CurTime()
if ( self.LastUsed or 0 ) > cur_time then
return
end
self.LastUsed = cur_time + 1
net.Start( "CH_Mining_Net_ShowMiningMenu" )
net.Send( ply )
end
function ENT:OnTakeDamage( dmg )
return 0
end