summaryrefslogtreecommitdiff
path: root/world/map/npc/021-2
diff options
context:
space:
mode:
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;
+}