From a17deb2caa22e77de223b3745f151f30a7b8bd62 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Wed, 11 Jan 2012 22:07:25 +0100 Subject: Adding quest 'Shopkeeper's License' in North Tulimshar. --- world/map/npc/021-2/_import.txt | 1 + world/map/npc/021-2/yanis.txt | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 world/map/npc/021-2/yanis.txt (limited to 'world/map/npc/021-2') 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; +} -- cgit v1.2.3-60-g2f50