Treasure Table
More actions
Treasure Tables define for all inventories in the game, what is in those inventories and what could be.
Overview edit
All chests, traders, and corpses use treasure tables to define their loot. By using these tables the loot is not necessarily defined as appearing or not, but can also be defined as having a chance to appear or not.
Treasure tables can be defined in hierarchies using so called subtables. These are treasure tables that are intended to be referenced by other treasure tables. They are prefixed with "ST_" in the game files.
More technical details on how treasure tables work under the hood, see the modding page Modding:Treasure Tables.
Notes edit
This concept is commonly referred to as Drop Tables, but strictly speaking that term would be too limiting, since drops typically refer to items looted from corpses (dropped off the unit) and these tables encompass chests and traders as well.