Open main menu

Documentation/Engine/Units/company permanent

< Documentation‎ | Engine‎ | Units
Revision as of 03:30, 22 June 2017 by Smarty (talk | contribs) (Created page with "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_n...")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)

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