Barrel Turtle
The Barrel Turtle Upgrade is an upgrade which allows turtles to get barrel storage (storing 64 stacks of any one item). Note: This will only be enabled with either JABBA or Factorization installed. It is crafted with a barrel from either of the mods.
Functions
| Function | Returns | Description |
|---|---|---|
| get([number amount]) | number numberOfItems | This function retrieves either the given amount or a stack of the item and puts it in the selected slot |
| put([number amount]) | number numberOfItems | This function puts either the given amount or a stack of the selected item into the barrel inventory |
| getUnlocalizedName() | string unlocalizedName | Returns the unlocalized name of the item stored |
| getLocalizedName() | string name | Returns the localized name of the item stored |
| getItemID() | number id | Deprecated Returns the item id of the item stored |
| getAmount() | number amount | Returns the amount of the item stored |
| getOreDictEntries() | table entries | Returns the OreDictionary entries for the stored item |