summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2010-07-11 23:56:05 +0200
committerJared Adams <jaxad0127@gmail.com>2010-07-11 16:13:02 -0600
commitefc64bbde7c2ab53b210c1dcafaf25c1a9afe4f5 (patch)
tree4836a7f7f2b2b473afa69b8847a5eb5fd9f1e3ff /npc
parentce6fd8f05c195494f134ec52b6c22443bda36566 (diff)
downloadserverdata-efc64bbde7c2ab53b210c1dcafaf25c1a9afe4f5.tar.gz
serverdata-efc64bbde7c2ab53b210c1dcafaf25c1a9afe4f5.tar.bz2
serverdata-efc64bbde7c2ab53b210c1dcafaf25c1a9afe4f5.tar.xz
serverdata-efc64bbde7c2ab53b210c1dcafaf25c1a9afe4f5.zip
Merged bankers
There were two NPCs Achar (Tulishmar) and William (Hurnscald) that provided the storage. These NPCs are now removed. Instead the banker npc provides a menu item to open the storage. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
Diffstat (limited to 'npc')
-rw-r--r--npc/001-1_Tulimshar/banker.txt7
-rw-r--r--npc/009-2_Hurnscald/richard.txt7
-rw-r--r--npc/functions/banker.txt7
3 files changed, 7 insertions, 14 deletions
diff --git a/npc/001-1_Tulimshar/banker.txt b/npc/001-1_Tulimshar/banker.txt
index 75ea18d5..965825ea 100644
--- a/npc/001-1_Tulimshar/banker.txt
+++ b/npc/001-1_Tulimshar/banker.txt
@@ -6,10 +6,3 @@
callfunc "Banker";
close;
}
-
-001-1.gat,51,29,0 script Achar 49,{
- callfunc "ClearVariables";
- openstorage;
- mes "Come again!";
- close;
-}
diff --git a/npc/009-2_Hurnscald/richard.txt b/npc/009-2_Hurnscald/richard.txt
index 0dcd4d02..e14b823a 100644
--- a/npc/009-2_Hurnscald/richard.txt
+++ b/npc/009-2_Hurnscald/richard.txt
@@ -6,10 +6,3 @@
callfunc "Banker";
close;
}
-
-009-2.gat,19,99,0 script William 48,{
- callfunc "ClearVariables";
- openstorage;
- mes "Come again!";
- close;
-}
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?\"";