isOpen
isOpen: (DepositBox) -> booleanWhether the deposit box interface is open.
bank:depositBox()| Method | Returns | Description |
|---|---|---|
isOpen() | boolean | Whether the deposit box interface is open. |
open() | boolean | Open the nearest deposit box. Already open is success. |
close() | boolean | Close the deposit box with its close button. |
depositInventory() | boolean | Press the box's Deposit inventory button. |
depositEquipment() | boolean | Press the box's Deposit worn items button. |
depositContainers() | boolean | Press the box's button that empties the looting bag and other containers. |
deposit(number, number | "all") | (RunStatus, string?) | One step towards depositing an amount of a carried item. Call it each tick until it answers "done", and amount goes in once, not again… |
| Method | Returns | Description |
|---|---|---|
Bank.depositBox | DepositBox | The deposit box interface. |
isOpenisOpen: (DepositBox) -> booleanWhether the deposit box interface is open.
openopen: (DepositBox) -> booleanOpen the nearest deposit box. Already open is success.
false when none is in range.closeclose: (DepositBox) -> booleanClose the deposit box with its close button.
false when it is not open.depositInventorydepositInventory: (DepositBox) -> booleanPress the box's Deposit inventory button.
false when it is not open.depositEquipmentdepositEquipment: (DepositBox) -> booleanPress the box's Deposit worn items button.
false when it is not open.depositContainersdepositContainers: (DepositBox) -> booleanPress the box's button that empties the looting bag and other containers.
false when it is not open.depositdeposit: (DepositBox, number, number | "all") -> (RunStatus, string?)One step towards depositing an amount of a carried item. Call it each tick until it answers "done", and amount goes in once, not again each call. An amount other than 1, 5, 10 or "all" opens the amount prompt, and a later call types into it.
itemIdamount"all"."running" while it is being made, "done" once it has landed or there is nothing to do (the box is shut, the item is not carried), and "blocked" with the reason when it could not be queued.