sm.pipeGraph.getMatchingPipedContainers
Returns the containers of all chests connected to the given shape through the pipe connections. Will only return containers from shapes of the same type as the original.
Kind: Function
Environments: Game
Game
sm.pipeGraph.getMatchingPipedContainers( originInteractable )
Parameters:
| Name | Type | Description |
|---|---|---|
originInteractable |
Interactable | The interactable where the search will start from. |
Returns:
| Name | Type | Description |
|---|---|---|
containers |
table | The container of the originInteractable as well as those of the same type connected through pipes. |