summaryrefslogtreecommitdiff
path: root/world/map/npc/029-2
diff options
context:
space:
mode:
authorCassy1 <cassy.tmw@gmail.com>2015-02-15 18:46:10 +0100
committerwushin <pasekei@gmail.com>2015-02-28 19:46:33 -0600
commit67bebdddefd6b439b1531b99956c9bd9465baf10 (patch)
treed68de38735f5e3042fc21751dc3033ce0b354a65 /world/map/npc/029-2
parent1ec55a146d18d500adef7c562b4246e3bea4ce41 (diff)
downloadserverdata-67bebdddefd6b439b1531b99956c9bd9465baf10.tar.gz
serverdata-67bebdddefd6b439b1531b99956c9bd9465baf10.tar.bz2
serverdata-67bebdddefd6b439b1531b99956c9bd9465baf10.tar.xz
serverdata-67bebdddefd6b439b1531b99956c9bd9465baf10.zip
Add bank to Candor
Diffstat (limited to 'world/map/npc/029-2')
-rw-r--r--world/map/npc/029-2/_import.txt3
-rw-r--r--world/map/npc/029-2/_warps.txt1
-rw-r--r--world/map/npc/029-2/bankroom.txt9
-rw-r--r--world/map/npc/029-2/cynric.txt9
-rw-r--r--world/map/npc/029-2/nyle.txt51
5 files changed, 73 insertions, 0 deletions
diff --git a/world/map/npc/029-2/_import.txt b/world/map/npc/029-2/_import.txt
index 086ac850..29e2607a 100644
--- a/world/map/npc/029-2/_import.txt
+++ b/world/map/npc/029-2/_import.txt
@@ -3,10 +3,13 @@
map: 029-2
npc: npc/029-2/_mobs.txt
npc: npc/029-2/_warps.txt
+npc: npc/029-2/bankroom.txt
npc: npc/029-2/barrels.txt
npc: npc/029-2/barrels_config.txt
+npc: npc/029-2/cynric.txt
npc: npc/029-2/mapflags.txt
npc: npc/029-2/morgan.txt
+npc: npc/029-2/nyle.txt
npc: npc/029-2/sorfina.txt
npc: npc/029-2/stat_reset.txt
npc: npc/029-2/tanisha.txt
diff --git a/world/map/npc/029-2/_warps.txt b/world/map/npc/029-2/_warps.txt
index 061424d1..9b3d0e52 100644
--- a/world/map/npc/029-2/_warps.txt
+++ b/world/map/npc/029-2/_warps.txt
@@ -6,3 +6,4 @@
029-2,112,84|warp|To Bedroom#029-22|-1,-1,029-2,44,30
029-2,103,62|warp|To Outside#029-23|-1,-1,029-1,52,85
029-2,94,31|warp|To Outside#029-24|-1,-1,029-1,58,80
+029-2,24,124|warp|To Outside#029-25|-1,-1,029-1,49,78
diff --git a/world/map/npc/029-2/bankroom.txt b/world/map/npc/029-2/bankroom.txt
new file mode 100644
index 00000000..dea5a428
--- /dev/null
+++ b/world/map/npc/029-2/bankroom.txt
@@ -0,0 +1,9 @@
+// Nyle is part of the Tutorial.
+// He explains how to use the bank.
+// Author: Cassy
+
+029-2,36,122,0|script|#BankRoom|45,1,0
+{
+ message strcharinfo(0), "The door is locked. This must be where Cynric saves the people's money and items.";
+ end;
+}
diff --git a/world/map/npc/029-2/cynric.txt b/world/map/npc/029-2/cynric.txt
new file mode 100644
index 00000000..d9f46d85
--- /dev/null
+++ b/world/map/npc/029-2/cynric.txt
@@ -0,0 +1,9 @@
+//
+
+029-2,30,118,0|script|Cynric|161
+{
+ callfunc "ClearVariables";
+ set @npcname$, "Cynric";
+ callfunc "Banker";
+ close;
+}
diff --git a/world/map/npc/029-2/nyle.txt b/world/map/npc/029-2/nyle.txt
new file mode 100644
index 00000000..7732b9aa
--- /dev/null
+++ b/world/map/npc/029-2/nyle.txt
@@ -0,0 +1,51 @@
+// Nyle is part of the Tutorial.
+// He explains how to use the bank.
+// Author: Cassy
+
+029-2,26,120,6|script|Nyle|101
+{
+ mes "[Nyle]";
+ mes "\"Visiting the bank too right? We're only a small village but Cynric is the best bank guy I know.\"";
+ menu
+ "Yeah, your right.", L_Close,
+ "What is banking?", L_Explain;
+
+L_Explain:
+ mes "[Nyle]";
+ mes "\"There are banks all over the world. Usually every important village or city has one.";
+ mes "You can save both items and money at a bank.\"";
+ menu
+ "How do I save items?", L_Items,
+ "How do I save money?", L_Money,
+ "Thanks!", L_Thanks;
+
+L_Items:
+ mes "[Nyle]";
+ mes "\"Let Cynric open your storage. You might also want to open your inventory.";
+ mes "Pick an item from either storage or inventory and choose what you want to do with it by clicking the right button.";
+ mes "You can also pick and drag items from one window into the other but this will move all items of this kind.";
+ next;
+ mes "Items in your storage are totally save. Banking itself is totally save.\"";
+ menu
+ "And how do I save money?", L_Money,
+ "Thanks!", L_Thanks;
+
+L_Money:
+ mes "[Nyle]";
+ mes "\"That's easy. Cynric will save your money when you ask him to deposit. Or you pick up your money by asking to withdraw.";
+ mes "You only have to tell him how much you want to deposit or withdraw.";
+ mes "Also you can ask how much he already save for you by checking your balance.";
+ next;
+ mes "Money in your storage is totally save. Banking itself is totally save.\"";
+ menu
+ "And how do I save items?", L_Items,
+ "Thanks!", L_Thanks;
+
+L_Thanks:
+ mes "[Nyle]";
+ mes "\"You are very welcome.\"";
+ goto L_Close;
+
+L_Close:
+ close;
+}