This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
component:inventory_controller [2016/04/13 12:34] shogun |
component:inventory_controller [2017/01/09 10:58] draco_nite someone make this look pretty |
||
---|---|---|---|
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` | ||
+ | |||
+ | **//__YOU DON'T NEED THE SIDE ARGUMENT WHEN YOUR USING AN ADAPTER WITH AN INVENTORY UPGRADE | ||
+ | |||
+ | WHOEVER WROTE THIS ARTICLE NEEDS TO FUCKING WRITE IT FOR EVERY SINGLE COMPONENT THAT CAN USE THIS UPGRADE GOD DAMMIT__//** | ||
+ | |||
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. |