Open main menu

Documentation/Engine/Units/cargo model match

< Documentation‎ | Engine‎ | Units

The cargo_model_match unit class is used to match cargo models with appropriate trailers. Units of this type are found in /def/cargo/<cargo_name>/model_*.sii

Attributes

Name Type Default Value Description
compatible_body array<string> Paths to definitions of compatible bodies and/or chassis. The expected unit type is either accessory_chassis_data or accessory_trailer_body_data.
data_path array<string> Paths to definitions of compatible cargo accessories, one of which will be chosen pseudo-randomly during job generation. The expected unit type is accessory_cargo_data.