WareLists file (X3)
From X-Wiki
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:
| Field | Description |
|---|---|
| Number | Number 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.
| Offset | Field | Description |
|---|---|---|
| 0 | Count | Number of Wares in Group |
| Wares | Ware ID's | If offset 0 is greater than 1, will contain a that number of WareID's |
| Last | /n | Contains Warelist group ID where n=ID number |

