Ad placeholder

Treasure Table

From bg3.wiki
Jump to navigation Jump to search

Treasure Tables define for all inventories in the game, what is and what has a chance to appear in those inventories.

Overview[edit | edit source]

For all places an occasions where items can be aquired in-game, Treasure Tables are used to define which items can be obtained. These places and occasions include chests, trade inventories, characters to be pickpocketed, corpses to be looted, scenery as for example in the Underdark where the Phalar Aluve is found, and even rewards as for example when saving Florrick Florrick from the fire in Waukeen's Rest Waukeen's Rest.

By using these tables the items in them are not necessarily defined as appearing or not, but can also be defined as having a chance to appear or not.

Treasure Tables also can be defined in hierarchies, which means that a Treasure Table can use one or more other Treasure Tables as subtables. These are Treasure Tables that are intended to be referenced by other Treasure Tables. They are prefixed with "ST_" in the game files.

For more technical details on how Treasure Tables work under the hood, see the modding page Modding:Treasure Tables.

Notes[edit | edit source]

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.