diff options
author | Wushin <pasekei@gmail.com> | 2015-01-07 21:25:14 -0600 |
---|---|---|
committer | Wushin <pasekei@gmail.com> | 2015-01-07 21:25:14 -0600 |
commit | b734af239e8ff1e7ea746ea327fb84c62be09b7e (patch) | |
tree | cbc5f399ccf8dd226056887a70b9a313f88bee6e /world/map/npc/001-2/yanis.txt | |
parent | 2c09797ebd2c03b2cbe9a458f8ea8d1fbd04ccff (diff) | |
parent | 61c88ec162713b980f30e6e5111c1cfbd9f23d3a (diff) | |
download | serverdata-b734af239e8ff1e7ea746ea327fb84c62be09b7e.tar.gz serverdata-b734af239e8ff1e7ea746ea327fb84c62be09b7e.tar.bz2 serverdata-b734af239e8ff1e7ea746ea327fb84c62be09b7e.tar.xz serverdata-b734af239e8ff1e7ea746ea327fb84c62be09b7e.zip |
Merge pull request #223 from wushin/moving-tutorial
Move Tutorial to Hurnscald
Diffstat (limited to 'world/map/npc/001-2/yanis.txt')
-rw-r--r-- | world/map/npc/001-2/yanis.txt | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/world/map/npc/001-2/yanis.txt b/world/map/npc/001-2/yanis.txt new file mode 100644 index 00000000..67175704 --- /dev/null +++ b/world/map/npc/001-2/yanis.txt @@ -0,0 +1,47 @@ +// Government official taking care about shop licenses +// involved in quest given by 021-1/imec.txt and 021-2/kylian.txt + +001-2.gat,31,21,0|script|Yanis|107 +{ + set QUEST_NorthTulimshar, QUEST_NorthTulimshar | $@knowYanisNT; + set @kylian, ((QUEST_NorthTulimshar & NIBBLE_5_MASK) >> NIBBLE_5_SHIFT); + set @imec, ((QUEST_NorthTulimshar & TWOBIT_4_MASK) >> TWOBIT_4_SHIFT); + set @halloween_npc_id, $@halloween_npc_yanis; + callfunc "TrickOrTreat"; + + goto L_Base_Menu; + +L_Base_Menu: + + mes "[Yanis]"; + mes "\"Welcome. I'm handling issues with trading licenses for the shop owners in Tulimshar. Can I help you?\""; + if (@imec != 1) + menu + "Nothing right now.",L_BeforeClose; + menu + "Imec asked me to bring this petition.",L_Next, + "Nothing right now.",L_BeforeClose; + +L_Next: + mes "[Yanis]"; + mes "\"Imec? I see. Give it to me.\""; + mes "Yanis has a disapproving 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 @imec, 2; + set QUEST_NorthTulimshar, (QUEST_NorthTulimshar & ~(TWOBIT_4_MASK)) | (@imec << TWOBIT_4_SHIFT); + goto L_BeforeClose; + +L_BeforeClose: + if (@kylian != 3) + goto L_Close; + next; + mes "You think that this is the person Kylian needs to talk to. You should tell him."; + goto L_Close; + +L_Close: + set @imec, 0; + set @kylian, 0; + close; +} |