sm.pipeGraph.getContainerShapeToCollectTo

Returns a chest which allows for collection of specified items of the specified quantities.

Kind: Function

Environments: Game

Game

sm.pipeGraph.getContainerShapeToCollectTo( requester, items, quantities )

Open the full Game reference

Parameters:

Name Type Description
requester Shape The shape connected to the pipe graph who requests the information.
items table The uuids of items to check.
quantities table The number of items of each uuid. Needs to match the number of uuids.

Returns:

Name Type Description
container Shape The shape of the container which was the first one that allows the collection.