Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# CargoStationParameters - Prototype Docs

## CargoStationParameters :: struct

A cargo station is any entity that has the capacity to send cargo units. In Space Age those are RocketSiloPrototype, SpacePlatformHubPrototype and CargoLandingPadPrototype. Cargo bays may provide additional cargo hatches to cargo stations which are cargo bay connectable.

## Properties

- default
- sorted

prefer_packed_cargo_units optional | :: boolean | Packed cargo units will wait for the full order to be completed. [...]
Packed cargo units will wait for the full order to be completed. [...]
hatch_definitions optional | :: array[CargoHatchDefinition] |
giga_hatch_definitions optional | :: array[GigaCargoHatchDefinition] | Big additional hatch that goes over the actual hatches.
Big additional hatch that goes over the actual hatches.
is_input_station optional | :: boolean | If set to false, this station will not accept incoming cargo units even if it has hatches that can. [...]
If set to false, this station will not accept incoming cargo units even if it has hatches that can. [...]
is_output_station optional | :: boolean | If set to false, this station will not dispatch cargo units even if it has hatches that can. [...]
If set to false, this station will not dispatch cargo units even if it has hatches that can. [...]

giga_hatch_definitions optional | :: array[GigaCargoHatchDefinition] | Big additional hatch that goes over the actual hatches.
Big additional hatch that goes over the actual hatches.
hatch_definitions optional | :: array[CargoHatchDefinition] |
is_input_station optional | :: boolean | If set to false, this station will not accept incoming cargo units even if it has hatches that can. [...]
If set to false, this station will not accept incoming cargo units even if it has hatches that can. [...]
is_output_station optional | :: boolean | If set to false, this station will not dispatch cargo units even if it has hatches that can. [...]
If set to false, this station will not dispatch cargo units even if it has hatches that can. [...]
prefer_packed_cargo_units optional | :: boolean | Packed cargo units will wait for the full order to be completed. [...]
Packed cargo units will wait for the full order to be completed. [...]

## Properties

### prefer_packed_cargo_units :: boolean optional

Default: `false`

Packed cargo units will wait for the full order to be completed. This is useful to save rockets in rocket silos when items trickle in slowly. The platform hub has immediate access to items so false is better to allow partial fulfillments.

### hatch_definitions :: array[CargoHatchDefinition] optional

### giga_hatch_definitions :: array[GigaCargoHatchDefinition] optional

Big additional hatch that goes over the actual hatches.

### is_input_station :: boolean optional

Default: `true`

If set to false, this station will not accept incoming cargo units even if it has hatches that can. (can occur through linked cargo bays)

### is_output_station :: boolean optional

Default: `true`

If set to false, this station will not dispatch cargo units even if it has hatches that can. (can occur through linked cargo bays)

Type used in

- CargoLandingPadPrototype::cargo_station_parameters
- RocketSiloPrototype::cargo_station_parameters
- SpacePlatformHubPrototype::cargo_station_parameters