summaryrefslogblamecommitdiff
path: root/world/map/npc/021-2/yanis.txt
blob: 0add08cf994f25b5fabd5622f1ece5b4fb1620a6 (plain) (tree)

























                                                                                                                           
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;
}