Skip to content

Company

skzk edited this page Jul 10, 2025 · 19 revisions

A prefab slave item for company prefabs.

Item ID: 0x06 (6)
Item file: base

Structure

Field(s) Description
struct economy_link_item

See Economy Link struct.

Flags:
Bit 31: Always 1.

token company_name Unit name of the company, as defined in /def/company/<company>.sui.
u64 node_uid

The UID of the main node of this item.

This node is linked to the CompanyPoint spawn point type of the prefab model.

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.
    1: Parking spot (easy)
    2: Parking spot (medium)
    3: Parking spot (difficult)
    4: Trailer spawn point
    5: Load point(?)
Bits 4-7: Trailer length from 14 m (0000) to 28 m (1110). 1111 means unlimited.
Bits 16-19: Trailer type.
    0: Any trailer
    1: Box trailer
    2: Tank trailer
    3: Dump & Bulk
    4: Platform, Log & Container
    5: Livestock
    6: Log trailer

Clone this wiki locally