FutureProg functions
take
Overload 1
take overload 1
Item take(Item item)
Available in
- computer function
- computer program
- standard futureprog
Takes an item from its inventory or container. Returns the item.
| Parameter | Type | Description |
|---|---|---|
item |
Item |
The item to take |
Overload 2
take overload 2
Item take(Item item, Number quantity)
Available in
- computer function
- computer program
- standard futureprog
Takes an item from its inventory or container. Returns the new item, which may be the same as the original item if the quantity is equal to the existing quantity.
| Parameter | Type | Description |
|---|---|---|
item |
Item |
The item to take |
quantity |
Number |
The quantity to take. Use 0 for all |