sm.pipeGraph.getInputContainers

Returns a table of all connected input 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.getInputContainers( requester )

Open the full Game reference

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.