Documentation/Engine/Units/company def
< Documentation | Engine | UnitsRevision as of 03:52, 22 June 2017 by Smarty (talk | contribs) (Created page with "The '''company_def''' unit class is used to assign a prefab to a company_permanent unit. Units of this type are usually define...")
The company_def unit class is used to assign a prefab to a company_permanent unit. Units of this type are usually defined in /def/company/<company_name>/editor/<city_name>.sii.
Attributes
Name | Type | Default Value | Description |
---|---|---|---|
city | token | The tokenized name of the city in which the prefab is located. In the case of city.san_francisc, this would appear as city: san_francisc
| |
prefab | token | The tokenized name of the prefab to be linked. In the case of prefab.d_port_sf, this would appear as prefab: d_port_sf
Note: This implementation requires that each depot prefab may only appear once per city. |