summaryrefslogtreecommitdiff
path: root/npc/functions/quest-debug/027-ArtisQuests_Enora.txt
blob: 9121ceb306533bb959ca93f22e58054d9c7728a0 (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
// Newbie quest debug
// Author:
//    gumi

function	script	QuestDebug27	{
    do
    {
        clear();
        setnpcdialogtitle(l("Quest debug"));
        mes("ArtisQuests_Enora");
        mes("---");
        mes(l("Quest state: @@, @@",
            getq(ArtisQuests_Enora),
            getq2(ArtisQuests_Enora)));
        next();

        GenericQuestDebug(ArtisQuests_Enora,
            l("Does not have the quest"), 0,
            l("Enora asks to visit Chelios"), 1,
            l("Chelios asks to visit Lloyd"), 2,
            l("Lloyd gave package"), 3,
            l("Chelios made sword"), 4,
            l("Enora asks to visit Resa"), 5,
            l("Resa gave package"), 6,
            l("Enora asks to visit Q'Pid"), 7,
            l("Lost the riddle"), 8,
            l("Ivan gave package"), 9,
            l("Enora asks to kill fluffies"), 10,
            l("Completed, got reward"), 11);

        switch (@menuret)
        {
            case 0:
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
            case 9:
            case 10: setq(ArtisQuests_Enora, getq(ArtisQuests_Enora), 0); break;
            case 11: setq(ArtisQuests_Enora, getq(ArtisQuests_Enora), 10); break;
            default: if (@menuret < 0) return;
        }

    } while (1);
}