FutureProg functions

take

Items · computer function, computer program, standard futureprog

Item take(Item item)
Contexts: computer function, computer program, standard futureprog
Takes an item from its inventory or container. Returns the item.
item: The item to take

Item take(Item item, Number quantity)
Contexts: 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.
item: The item to take
quantity: The quantity to take. Use 0 for all

← Back to FutureProg functions