Documentation/Engine/Units/cargo def

From SCS Modding Wiki
Jump to: navigation, search

The cargo_def unit class is used to assign a cargo to be produced or accepted by a company. Units of this type are usually defined in /def/company/<company_name>/in/<cargo_name>.sii to mark a cargo the company accepts and /def/company/<company_name>/out/<cargo_name>.sii to mark a cargo the company produces.

Attributes

Name Type Default Value Description
cargo string The unit name of the cargo, corresponding to a cargo_data unit. For example: cargo: "cargo.stolen_ducks"

Related Units