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.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/functions/banker.txt b/npc/functions/banker.txt
index 025647d2..be784dba 100644
--- a/npc/functions/banker.txt
+++ b/npc/functions/banker.txt
@@ -12,8 +12,15 @@ L_Start:
"Deposit", L_Dep,
"Withdraw", L_With,
"Check my balance", L_Balance,
+ "Open my storage", L_Storage,
"Nevermind", L_Nev;
+// need to close window before opening storage.
+L_Storage:
+ close;
+ openstorage;
+ goto L_Start;
+
L_Dep:
mes "[" + @npcName$ + "]";
mes "\"How much would you like to deposit?\"";