You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
896 B
57 lines
896 B
--------------------------------------------------------------------------------
|
|
-- Pet System Sub Functions --
|
|
--------------------------------------------------------------------------------
|
|
|
|
function DummyFunc( Var )
|
|
cExecCheck( "DummyFunc" )
|
|
end
|
|
|
|
function DebugLog( String )
|
|
--[[
|
|
if String == nil
|
|
then
|
|
cAssertLog( "DebugLog::String == nil" )
|
|
return
|
|
end
|
|
|
|
cAssertLog( "Debug - "..String )
|
|
--]]
|
|
end
|
|
|
|
|
|
function CheckLog( String )
|
|
--[[
|
|
if String == nil
|
|
then
|
|
cAssertLog( "CheckLog::String == nil" )
|
|
return
|
|
end
|
|
|
|
cAssertLog( "Check - "..String )
|
|
--]]
|
|
end
|
|
|
|
|
|
function ErrorLog( String )
|
|
|
|
if String == nil
|
|
then
|
|
cAssertLog( "ErrorLog::String == nil" )
|
|
return
|
|
end
|
|
|
|
cAssertLog( "Error - "..String )
|
|
|
|
end
|
|
|
|
|
|
function GetSquare( number )
|
|
|
|
if ( type( number ) == "number" )
|
|
then
|
|
return number * number
|
|
else
|
|
return nil
|
|
end
|
|
|
|
end
|
|
|