Documentation/Engine/Units/cargo def

From SCS Modding Wiki
< Documentation‎ | Engine‎ | Units
Revision as of 00:47, 22 June 2017 by Smarty (talk | contribs) (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...")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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