Changes

Jump to navigation Jump to search

Documentation/Engine/Units/cargo model match

938 bytes added, 00:52, 15 May 2019
Created page with "The '''cargo_model_match''' unit class is used to match cargo models with appropriate trailers. Units of this type are f..."
The '''cargo_model_match''' unit class is used to match cargo models with appropriate [[Documentation/Engine/Game_data#Trailer_definitions|trailers]]. Units of this type are found in '''/def/cargo/<cargo_name>/model_*.sii'''

== Attributes ==
{|class="wikitable"
!Name
![[Documentation/Engine/Units#Attribute_types|Type]]
!Default Value
!Description
|-
|compatible_body
|array<string>
|
|Paths to definitions of compatible bodies and/or chassis. The expected unit type is either [[Documentation/Engine/Units/accessory_chassis_data|'''accessory_chassis_data''']] or [[Documentation/Engine/Units/accessory_trailer_body_data|'''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 [[Documentation/Engine/Units/accessory_cargo_data|'''accessory_cargo_data''']].
|}
309
edits

Navigation menu