Detailed Description
Meaningful constants of values returned by bank_withdraw() and bank_deposit().
BANK_WITHDRAW_xxx constants can only be returned by bank_withdraw(), while BANK_DEPOSIT_xxx constants can only be returned by bank_deposit(). Any other constants can be returned by both functions.
Define Documentation
| #define BANK_DEPOSIT_COPPER 1 |
Player doesn't have enough copper coins on hand.
Definition at line 194 of file global.h.
| #define BANK_DEPOSIT_GOLD 3 |
Player doesn't have enough gold coins on hand.
Definition at line 198 of file global.h.
| #define BANK_DEPOSIT_MITHRIL 4 |
Player doesn't have enough mithril coins on hand.
Definition at line 200 of file global.h.
| #define BANK_DEPOSIT_SILVER 2 |
Player doesn't have enough silver coins on hand.
Definition at line 196 of file global.h.
Successfully withdrawn/deposited money.
Definition at line 184 of file global.h.
| #define BANK_SYNTAX_ERROR -1 |
Syntax error: did not get text in expected format.
Definition at line 182 of file global.h.
| #define BANK_WITHDRAW_HIGH 1 |
Withdraw value was too high.
Definition at line 187 of file global.h.
| #define BANK_WITHDRAW_MISSING 2 |
Player wanted to withdraw more than they have in bank.
Definition at line 189 of file global.h.
| #define BANK_WITHDRAW_OVERWEIGHT 3 |
Withdrawing that much money would make the player overweight.
Definition at line 191 of file global.h.