summaryrefslogtreecommitdiff
path: root/npc/functions/quest-debug/018-General_Cookies.txt
blob: 43bf44afb4c4b9b1604e2215926e2f05d8c98558 (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
// Cookie quest debug
// Authors:
//    gumi

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

        GenericQuestDebug General_Cookies,
            l("Does not have the quest"), 0,
            l("Got a cookie"), 1;

        if (@menuret == 32766)
        {
            return;
        }

    } while (1);
}