From 9e699ad9b7c0a233d8aaff1edbd0ce675dc7da89 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 30 Jun 2018 22:12:23 -0300 Subject: Lower bank prices, fix bugs, yadda yadda --- npc/functions/bank.txt | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'npc/functions') 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 { -- cgit v1.2.3-70-g09d2