diff options
Diffstat (limited to 'npc/functions/bank.txt')
-rw-r--r-- | npc/functions/bank.txt | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/npc/functions/bank.txt b/npc/functions/bank.txt index c56048d2b..68f6f1b85 100644 --- a/npc/functions/bank.txt +++ b/npc/functions/bank.txt @@ -125,9 +125,22 @@ function script Banking { } while (true); } +function script BKInfo { + speech S_LAST_NEXT, + l("We organize some auction and we help local merchants to launch their businesses."), + l("We also feature some services like a storage and a bank for members."), + l("Registration is open to everybody, but newcomers need to pay a fee for all of the paperwork."); + + narrator S_FIRST_BLANK_LINE, + l("The bank and item storage is shared between all characters within a same account."), + l("With it, you can safely move items and funds between your characters."), + l("To move between characters that are on different accounts, you have to use the Trade function."); + return; +} + +// name, city, price function script BKReg { - .@price = getarg(2, 10000); - .@price=min(2000, .@price-#BankP); + .@price=max(2000, getarg(2)-#BankP); @menu=3; do { @@ -152,19 +165,6 @@ function script BKReg { return; } -function script BKInfo { - speech S_LAST_NEXT, - l("We organize some auction and we help local merchants to launch their businesses."), - l("We also feature some services like a storage and a bank for members."), - l("Registration is open to everybody, but newcomers need to pay a fee for all of the paperwork."); - - narrator S_FIRST_BLANK_LINE, - l("The bank and item storage is shared between all characters within a same account."), - l("With it, you can safely move items and funds between your characters."), - l("To move between characters that are on different accounts, you have to use the Trade function."); - return; -} - // name, city, price (defaults to 10k) function script Banker { mesn getarg(0); @@ -172,7 +172,7 @@ function script Banker { next; if (getq(General_Banker) == 0) { - BKReg(); + BKReg(getarg(0), getarg(1), getarg(2,10000)); } else { do { |