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/003-3/malindou.txt | 2 +- npc/009-3/barzil.txt | 2 +- npc/012-1/richard.txt | 2 +- npc/functions/bank.txt | 32 ++++++++++++++++---------------- 4 files changed, 19 insertions(+), 19 deletions(-) (limited to 'npc') diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index ac93910ec..f90b4c338 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -7,7 +7,7 @@ // Take care of server updates, but instances are defined on their ships. 003-3,36,34,0 script Malindou NPC_LLOYD,{ - Banker(.name$, "Tulimshar", 15000); + Banker(.name$, "Tulimshar", 14000); close; OnInit: diff --git a/npc/009-3/barzil.txt b/npc/009-3/barzil.txt index f45f28ceb..9fff1a7cc 100644 --- a/npc/009-3/barzil.txt +++ b/npc/009-3/barzil.txt @@ -7,7 +7,7 @@ 009-3,29,38,0 script Barzil NPC_LLOYD,{ if (ST_TIER == 2 && gettimetick(2) < QUEST_ELEVARTEMPO) goto L_Tier2; - Banker(.name$, "Halinarzo", 13000); + Banker(.name$, "Halinarzo", 12000); close; L_Tier2: diff --git a/npc/012-1/richard.txt b/npc/012-1/richard.txt index 4ed5b4eb6..ceff3c56f 100644 --- a/npc/012-1/richard.txt +++ b/npc/012-1/richard.txt @@ -4,7 +4,7 @@ // Jesusalva 012-1,65,64,0 script Richard NPC_LLOYD,{ - Banker(.name$, "Halinarzo", 15000); + Banker(.name$, "Hurnscald", 14000); close; OnInit: 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