summaryrefslogtreecommitdiff
path: root/world/map/npc/021-2
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2012-01-11 22:07:25 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2012-03-20 14:00:16 +0100
commita17deb2caa22e77de223b3745f151f30a7b8bd62 (patch)
treef3956779eab42335652c4081c73de4def5a65cac /world/map/npc/021-2
parent93c4205253dde28f195dd874b32b9ce0ecf4c4f2 (diff)
downloadserverdata-a17deb2caa22e77de223b3745f151f30a7b8bd62.tar.gz
serverdata-a17deb2caa22e77de223b3745f151f30a7b8bd62.tar.bz2
serverdata-a17deb2caa22e77de223b3745f151f30a7b8bd62.tar.xz
serverdata-a17deb2caa22e77de223b3745f151f30a7b8bd62.zip
Adding quest 'Shopkeeper's License' in North Tulimshar.
Diffstat (limited to 'world/map/npc/021-2')
-rw-r--r--world/map/npc/021-2/_import.txt1
-rw-r--r--world/map/npc/021-2/yanis.txt26
2 files changed, 27 insertions, 0 deletions
diff --git a/world/map/npc/021-2/_import.txt b/world/map/npc/021-2/_import.txt
index f7bb7eb1..592a9a3f 100644
--- a/world/map/npc/021-2/_import.txt
+++ b/world/map/npc/021-2/_import.txt
@@ -10,3 +10,4 @@ npc: npc/021-2/inya.txt
npc: npc/021-2/jhedia.txt
npc: npc/021-2/mapflags.txt
npc: npc/021-2/workshop.txt
+npc: npc/021-2/yanis.txt
diff --git a/world/map/npc/021-2/yanis.txt b/world/map/npc/021-2/yanis.txt
new file mode 100644
index 00000000..0add08cf
--- /dev/null
+++ b/world/map/npc/021-2/yanis.txt
@@ -0,0 +1,26 @@
+021-2.gat,33,17,0|script|Yanis|107,{
+
+ set @state, ((QUEST_NorthTulimshar & $@ImecShopNT_MASK) >> $@ImecShopNT_SHIFT);
+
+ mes "[Yanis]";
+ mes "\"Welcome. I'm handling issues with trading licenses for the shop owners in Tulimshar. Can I help you?\"";
+ if (@state != 1)
+ menu
+ "Nothing right now.",L_Close;
+ menu
+ "Imec asked me to bring this petition.",-,
+ "Nothing right now.",L_Close;
+ mes "[Yanis]";
+ mes "\"Imec? I see. Give it to me.\"";
+ mes "Yanis has a disapprovingly look on his face. He takes the letter and writes something on another paper.";
+ next;
+ mes "[Yanis]";
+ mes "\"Here you have a letter of acknowledgement. You can bring that back to Imec. We will have a look at his case.\"";
+ set @state, 2;
+ set QUEST_NorthTulimshar, (QUEST_NorthTulimshar & ~($@ImecShopNT_MASK)) | (@state << $@ImecShopNT_SHIFT);
+ goto L_Close;
+
+L_Close:
+ set @state, 0;
+ close;
+}