Difference between revisions of "Documentation/Engine/Units/cargo def"

From SCS Modding Wiki
Jump to navigation Jump to search
(Created page with "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&gt...")
 
(No difference)

Latest revision as of 00:47, 22 June 2017

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