ResourceObj

ResourceMax(integer resource)
Optional(0)
resource: Maximum amount of resource this type can have.
ResourceChange(integer resource)
Optional(ResourceMax / 10)
resource: Amount of resource tested when considering to change to another resource.
ResourceRate(integer rate)
Optional(0)
rate: Rate at which this resource replenishes. Requires that the resource has the IdleTask Tasks::ResourceRegen for this parameter to have any effect.