WareLists file (X3)

From X-Wiki

Jump to: navigation, search

Although this file belongs to T files (X3) category, it is not true T file. It does not define any game objects.

WareLists is one of files located in types directory in X3 Reunion. It holds information used in Jobs.txt for defining allowed tradable goods carried by Trader NPC's. (See Jobs.txt offset 14)

Structure

The file is using standard T files structure.

First Entry:

FieldDescription
NumberNumber of Ware Groups in List

Each subsequent record has two mandatory fields: 0 and Last. The rest of the structure depends on value of the first field.

OffsetFieldDescription
0CountNumber of Wares in Group
WaresWare ID'sIf offset 0 is greater than 1, will contain a that number of WareID's
Last/nContains Warelist group ID where n=ID number
Personal tools
sections