summaryrefslogtreecommitdiff
path: root/npc/functions/banker.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/banker.txt')
-rw-r--r--npc/functions/banker.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/npc/functions/banker.txt b/npc/functions/banker.txt
index 254b4822..4bfe9f9a 100644
--- a/npc/functions/banker.txt
+++ b/npc/functions/banker.txt
@@ -210,9 +210,26 @@ L_Balance:
mes "[" + @npcname$ + "]";
mes "\"Your current bank balance is:";
mes #BankAccount + " GP\"";
+ if (!(#BankOptions & OPT_BANK_CLOSE) || (#BankAccount >= 10000000 &&
+ BaseLevel >= 85 && !(#BankOptions & OPT_BANK_GOTSHADE))) next;
+ if (#BankAccount >= 10000000 && BaseLevel >= 85 && !(#BankOptions & OPT_BANK_GOTSHADE))
+ goto L_GiveShade;
if (#BankOptions & OPT_BANK_CLOSE) goto L_Return;
goto L_Start;
+L_GiveShade:
+ mes "\"Oh\"";
+ next;
+ mes "\"It seems you managed to amass quite a fortune!\"";
+ next;
+ mes "\"Thank you for using our services. Please accept this little gift.\"";
+ #BankOptions = #BankOptions | OPT_BANK_GOTSHADE;
+ getitem "CashiersShade", 1;
+ if (#BankOptions & OPT_BANK_CLOSE) goto L_Return;
+ next;
+ npcaction 9; // clear npc dialog
+ goto L_Start;
+
L_Nev:
mes "[" + @npcname$ + "]";
mes "\"Goodbye then.\"";