This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
component:inventory_controller [2016/04/13 12:34] shogun |
component:inventory_controller [2017/01/09 12:15] barker Removed inappropriate addition (profanity) that was not helpful and actually broke the formatting of the page. |
||
---|---|---|---|
Line 16: | Line 16: | ||
**Returns:** the size of the inventory, or `nil` followed by a description why this function failed (usually `no inventory`). | **Returns:** the size of the inventory, or `nil` followed by a description why this function failed (usually `no inventory`). | ||
- `getStackInSlot(side:number, slot:number):table` | - `getStackInSlot(side:number, slot:number):table` | ||
+ | |||
Returns a table describing the item in the specified slot or nil. Deprecated for getting info about robot's own inventory, see `getStackInInternalSlot`. | Returns a table describing the item in the specified slot or nil. Deprecated for getting info about robot's own inventory, see `getStackInInternalSlot`. | ||
**side** - must be a valid side. | **side** - must be a valid side. |