summaryrefslogtreecommitdiff
path: root/world/map/npc/021-2/yanis.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/021-2/yanis.txt')
-rw-r--r--world/map/npc/021-2/yanis.txt26
1 files changed, 26 insertions, 0 deletions
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;
+}