Skip to content

Company

skzk edited this page Apr 24, 2026 · 23 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-1: Unload difficulty
    1: Easy
    2: Medium
    3: Hard
Bit 2: Unload point (0) or load point (1)
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