Skip to content

GetContainerPreset

The loot preset the level places a stash with.

From the record when there is one, else from the tables export’s level list - so it answers before anyone opened the chest. "" when nothing is known for that key (no export, or a stash the level gives no preset).

GetContainerPreset(key)
Parameter Type
key string the container’s level name

string - the preset name, empty when none is known

Log(GetContainerPreset("monastery_beerStash_12")) -- inventory_monastery_beer

GetContainerInfo · SetContainerPreset · the Doors and containers group of the index