summaryrefslogtreecommitdiff
path: root/npc/functions/quest-debug/003-ShipQuests_Peter.txt
blob: e08e1eb243d003ca354154e213e283bc38b0a8d3 (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
// Peter quest debug
// Author:
//    gumi

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

        GenericQuestDebug ShipQuests_Peter,
            l("Does not have the quest"), 0,
            l("Peter needs help"), 6,
            l("Peter asks to kill rattos"), 1,
            l("Killed rattos"), 2,
            l("Got no reward"), 3,
            l("Peter asks to kill rattos again"), 4,
            l("Peter gave reward"), 5;

        if (@menuret < 0)
        {
            return;
        }

    } while (1);
}