summaryrefslogtreecommitdiff
path: root/npc/012-2-3/cynric.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/012-2-3/cynric.txt')
-rw-r--r--npc/012-2-3/cynric.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/npc/012-2-3/cynric.txt b/npc/012-2-3/cynric.txt
index 3ca1bf33..960a96fb 100644
--- a/npc/012-2-3/cynric.txt
+++ b/npc/012-2-3/cynric.txt
@@ -7,7 +7,7 @@
012-2-3,27,28,0 script Cynric NPC_CYNRIC,{
mesn;
- mesq l("Welcome to Candor's Bank!");
+ mesq l("Welcome to %s's Bank!", l($@BANK_TOWN$[.bankid]));
next;
do
@@ -15,6 +15,7 @@
select
l("I would like to store some items."),
l("I would like to perform money transactions."),
+ l("Is there any request for me?"),
menuaction(l("Quit"));
mes "";
@@ -30,6 +31,9 @@
case 2:
MerchantGuild_Bank();
break;
+ case 3:
+ MerchantGuild_Quests(.bankid);
+ break;
default:
closeclientdialog;
goodbye;
@@ -42,5 +46,10 @@
OnInit:
.bodytype = BODYTYPE_3;
.distance = 4;
+
+ // Bank configuration
+ array_push($@BANK_NAME$, .name$);
+ array_push($@BANK_TOWN$, "Candor");
+ .bankid = getarraysize($@BANK_NAME$)-1;
end;
}