summaryrefslogtreecommitdiff
path: root/npc/functions/banker.txt
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2011-04-29 18:01:06 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2011-04-29 18:01:06 +0200
commit8ee89aba88312cd851ab7c52e24bfb0d1b4173e4 (patch)
tree2329a40225f14a6699cf5b946a53ddf7e3796c50 /npc/functions/banker.txt
parentf6af83be2d6cd1f8655254ae20d9b2484290703c (diff)
downloadserverdata-8ee89aba88312cd851ab7c52e24bfb0d1b4173e4.tar.gz
serverdata-8ee89aba88312cd851ab7c52e24bfb0d1b4173e4.tar.bz2
serverdata-8ee89aba88312cd851ab7c52e24bfb0d1b4173e4.tar.xz
serverdata-8ee89aba88312cd851ab7c52e24bfb0d1b4173e4.zip
small fix of a missleading phrase in banker function
Diffstat (limited to 'npc/functions/banker.txt')
-rw-r--r--npc/functions/banker.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/npc/functions/banker.txt b/npc/functions/banker.txt
index 37024d96..3c060071 100644
--- a/npc/functions/banker.txt
+++ b/npc/functions/banker.txt
@@ -16,9 +16,9 @@ L_Start:
"Open my storage", L_Storage,
"Change Bank Options", L_Change,
"Nevermind", L_Nev;
-
+
close;
-
+
// need to close window before opening storage.
L_Storage:
if (#BankOptions & OPT_STORAGE_CLOSE) close2;
@@ -44,7 +44,7 @@ L_Dep:
"I've changed my mind", L_Start,
"Quit", -;
return;
-
+
L_Dep_Input:
input @Amount;
if (@Amount >= 0) goto L_Dep_Continue;
@@ -100,13 +100,13 @@ L_Dep_1kk:
L_Dep_All:
if (zeny<1) goto L_NoMoney;
set @Amount, zeny;
-
+
L_Dep_Continue:
if (zeny < @Amount) goto L_NoMoney;
set zeny, zeny - @Amount;
set #BankAccount, #BankAccount + @Amount;
goto L_Balance;
-
+
L_With:
mes "[" + @npcname$ + "]";
mes "\"How much would you like to withdraw?\"";
@@ -186,31 +186,31 @@ L_With_Continue:
set zeny, zeny + @Amount;
set #BankAccount, #BankAccount - @Amount;
goto L_Balance;
-
+
L_Balance:
mes "[" + @npcname$ + "]";
mes "\"Your current bank balance is:";
mes #BankAccount + " GP\"";
if (#BankOptions & OPT_BANK_CLOSE) close;
goto L_Start;
-
+
L_Nev:
mes "[" + @npcname$ + "]";
mes "\"Goodbye then.\"";
return;
-
+
L_NoMoney:
mes "[" + @npcname$ + "]";
mes "\"Oh dear, it seems that you don't have enough money.\"";
goto L_Start;
-
+
S_MoveAccount:
set #BankAccount, #BankAccount + BankAccount;
set BankAccount, 0;
return;
L_Change:
- setarray @menuitems$, "Keep the current settings", "Close NPC dialog after selecting storage option", "Close NPC dialog after using bank";
+ setarray @menuitems$, "Keep the current settings", "Close NPC dialog after selecting storage option", "Close NPC dialog after checking your balance";
if (#BankOptions & OPT_STORAGE_CLOSE) set @menuitems$[1], "Return to main menu after leaving storage";
if (#BankOptions & OPT_BANK_CLOSE) set @menuitems$[2], "Return to main menu after leaving bank";
menu