Bin - iimurpyh/pilot-lua GitHub Wiki

A container used to store solid materials and other parts alike. Can only hold one resource type at a time.

Table of contents

Methods


number Bin:GetAmount()

Returns the amount of the resource that's stored in the Bin.


string Bin:GetResource()

Returns the resource type that the Bin is currently holding.