Open main menu

Documentation/Engine/Units/company permanent

< Documentation‎ | Engine‎ | Units

The company_permanent unit class is used to define non-instance-specific data for company depots. Units of this type are usually defined in /def/company/<company_name>.sii.

Attributes

Name Type Default Value Description
name string The name of the company for UI display.
sort_name string A simplified version of the company name for sorting in lists.
trailer_look token When generating a job, if the trailer configuration has a paint job accessory, an attempt will be made to match this token with a paint job accessory in /def/vehicle/trailer/<trailer_name>/company_paint_job/ to display a company-specific look.
out_cargo array<link_ptr> Do not use this attribute in definitions. It is generated "on the fly" from any cargo_def units in /def/company/<company_name>/out/.
in_cargo array<link_ptr> Do not use this attribute in definitions. It is generated "on the fly" from any cargo_def units in /def/company/<company_name>/in/.
city_names array<token> Do not use this attribute in definitions. It is generated "on the fly" from any company_def units in /def/company/<company_name>/editor/.
prefab_names array<token> Do not use this attribute in definitions. It is generated "on the fly" from any company_def units in /def/company/<company_name>/editor/.

Related Units