Resource Functions

Also see: Generic Functions

getResource(Key Type > String)

Returns the value of the resource as a Type > Integer.

setResource(Key Type > String, Value Type > Integer)

Sets the value of the specified resource.

addResource(Key Type > String, Value Type > Integer)

Adds the value to the current value of the specified resource.

hasResource(Key Type > String, Value Type > Integer)

Returns true if the current value of the specified resource is greater or equal to the given value.