sm.pipeGraph.getOutputContainers
Returns a table of all connected output containers sorted by closest first. If the asking shape doesn't have input and output directions it returns all connected containers.
Kind: Function
Environments: Game
Game
sm.pipeGraph.getOutputContainers( requester )
Parameters:
| Name | Type | Description |
|---|---|---|
requester |
Shape | The shape connected to the pipe graph who's connected chests you want. |
Returns:
| Name | Type | Description |
|---|---|---|
containers |
table | A table of connected container shapes sorted by closest first. |