GetContainerKey
The tagged item that is a chest’s key (SetContainerKey).
Syntax
Section titled “Syntax”GetContainerKey(key)| Parameter | Type | |
|---|---|---|
key |
string | the chest’s key |
Returns
Section titled “Returns”string - the item’s id, "" when the chest has none
Example
Section titled “Example”print(GetContainerKey(MILL_CHEST))See also
Section titled “See also”SetContainerKey · the Doors and containers group of the index
