LinkContainers
Makes several stashes one - they share the first one’s record.
Whatever anyone puts in one is in every one of them, like the player’s own chests in the single-player game (those the game links itself the server already shares). The others’ own records, if any, are dropped. The link survives a restart.
Syntax
Section titled “Syntax”LinkContainers(keys)| Parameter | Type | |
|---|---|---|
keys |
table | a list of container keys; the first one’s record serves all |
Returns
Section titled “Returns”nothing
Example
Section titled “Example”LinkContainers({GUILD_CHEST_TAVERN, GUILD_CHEST_MILL}) -- one guild stash at two placesSee also
Section titled “See also”GetContainerInfo · GetContainerItems · the Doors and containers group of the index
