getMaxAmount( resource )

See how much of a Resource the Freighter can carry.

Arguments

Name Type Description
resource Resource The resource to query

Returns

Type Description
Number The amount carryable