summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/banker.txt
diff options
context:
space:
mode:
authormekolat <mekolat@gmail.com>2015-04-21 00:45:10 -0400
committermekolat <mekolat@users.noreply.github.com>2015-04-30 02:06:42 -0400
commit3a0df71ee09f9fceb323f608638cc94d9d65124e (patch)
tree877deffe3f331b74d6af72bc0cf8f30f840736aa /world/map/npc/functions/banker.txt
parent27fe76b6a48cf51aa87346094845fb0ed6333304 (diff)
downloadserverdata-3a0df71ee09f9fceb323f608638cc94d9d65124e.tar.gz
serverdata-3a0df71ee09f9fceb323f608638cc94d9d65124e.tar.bz2
serverdata-3a0df71ee09f9fceb323f608638cc94d9d65124e.tar.xz
serverdata-3a0df71ee09f9fceb323f608638cc94d9d65124e.zip
make generic npcs use strnpcinfo
Diffstat (limited to 'world/map/npc/functions/banker.txt')
-rw-r--r--world/map/npc/functions/banker.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/world/map/npc/functions/banker.txt b/world/map/npc/functions/banker.txt
index ea5dfa22..9492f0f5 100644
--- a/world/map/npc/functions/banker.txt
+++ b/world/map/npc/functions/banker.txt
@@ -8,6 +8,7 @@ function|script|Banker
goto L_Start;
L_Start:
+ if(@npcname$ == "") set @npcname$, strnpcinfo(1);
mes "[" + @npcname$ + "]";
mes "\"Welcome to the bank!";
mes "How can I help you?\"";
@@ -248,5 +249,6 @@ L_Change_Bank:
goto L_Start;
L_Return:
+ set @npcname$, "";
return;
}