From cf18ce071c79ae37e14ea38943e0b1d88da70a7b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 9 Apr 2021 13:33:57 -0300 Subject: Override --- npc/001-2/yanis.txt | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 npc/001-2/yanis.txt (limited to 'npc/001-2/yanis.txt') diff --git a/npc/001-2/yanis.txt b/npc/001-2/yanis.txt new file mode 100755 index 00000000..df2d8678 --- /dev/null +++ b/npc/001-2/yanis.txt @@ -0,0 +1,39 @@ + +001-2,31,21,0 script Yanis NPC107,{ + QUEST_NorthTulimshar = QUEST_NorthTulimshar | $@knowYanisNT; + @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 (QL_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.\""; + QL_IMEC = 2; + goto L_BeforeClose; + +L_BeforeClose: + if (QL_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: + close; +} -- cgit v1.2.3-60-g2f50