summaryrefslogtreecommitdiff
path: root/npc/00000SAVE/EPISODE/020-2_miler.txt
blob: e1bb52ab7b51b1611cfa311de60751b66c57b125 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// 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;
}