Company - sk-zk/md155 GitHub Wiki
A prefab slave item for company prefabs.
Item ID: 0x06 (6)
Item file: base
Field(s) | Description |
---|---|
struct kdop_item
|
See k-DOP item. Flags: |
token company_name
|
Unit name of the company, as defined in /def/company/<company>.sui .
|
token city_name
|
The city this company is located in, as defined in If the company is not inside a City item, the game will display the error message "Company at position x;y;z is not inside city area". |
u64 prefab_uid
|
The UID of the prefab this item is linked to. |
u64 node_uid
|
The UID of the main node of this item. This node is linked to the |
u32 node_count array_u64 node_uids
|
UIDs of nodes which represent the prefab's spawn points. |
array_u32 node_flags |
A flag field for each spawn point.
Bits 0-3: The spawn point type. |