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 |
See how much of a Resource the Freighter can carry.
| Name | Type | Description |
|---|---|---|
| resource | Resource | The resource to query |
| Type | Description |
|---|---|
| Number | The amount carryable |