summaryrefslogblamecommitdiff
path: root/npc/00000SAVE/EPISODE/020-2_miler.txt
blob: e1bb52ab7b51b1611cfa311de60751b66c57b125 (plain) (tree)























































                                                                                                                  
// IMPORTANT: This NPC was never finished :o We must finish it, please follow
// directives stated on http://forums.landoffire.org/viewtopic.php?f=7&t=1320&sid=80d2c735b55ccb06a39955a8fbca3913
020-2.gat,100,28,0	script	Miler	NPC100,{
    if (QUEST_Episode >= 18) goto L_Episode_Thank;
    if (QUEST_Episode >= 4) goto L_Episode_AskBoxes;
    if (QL_WELL == 2 && QUEST_Episode == 3) goto L_Episode_Start;

    mes "[Miler]";
    mes "\"Hello!\"";

    if (QL_WELL == 1) goto L_Well_Menu;

    goto L_close;

L_Well_Menu:
    menu
        "Hello.", L_close,
        "Hello, Can you help me?", L_Well_Help;

L_Well_Help:
    mes "[Miler]";
    mes "\"What's the problem?\"";
    menu "Someone fell into the well.", L_Well_Finish;

L_Well_Finish:
    mes "[Miler]";
    mes "\"Ho! I'll help him!\"";
    getexp (BaseLevel * 111), 0;
    QL_WELL = 2;
    goto L_close;

L_Episode_Start:
    mes "[Miler]";
    mes "\"Oh dear, oh dear, where could I have possibly left it?!\"";
    menu
        "What are you looking for?", L_Episode_Looking,
        "Uh, bye.", L_close;

L_Episode_Looking:
    mes "[Miler]";
    mes "\"My ring! My one precious golden ring, oh where, oh where could it be....";
    next;
    mes "How could I lose it, how could I lose it, how could I lose it...\"";
    if (countitem("DarkConcentrationPotion") == 0) goto L_close;

L_Episode_AskBoxes:
    mes "[Miler]";

L_Episode_Thank:
    mes "[Miler]";
    mes "\"Thank you so much for finding my precious ring!\"";
    goto L_close;

L_close:
    close;
}