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).
Syntax
Section titled “Syntax”GetContainerPreset(key)| Parameter | Type | |
|---|---|---|
key |
string | the container’s level name |
Returns
Section titled “Returns”string - the preset name, empty when none is known
Example
Section titled “Example”Log(GetContainerPreset("monastery_beerStash_12")) -- inventory_monastery_beerSee also
Section titled “See also”GetContainerInfo · SetContainerPreset · the Doors and containers group of the index
