summaryrefslogtreecommitdiff
path: root/npc/functions/quest-debug/009-ShipQuests_TreasureChest.txt
blob: 97adef46f9b6474e46cb4a06d1c8138cad49fcdd (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
// Treasure chest quest debug
// Author:
//    gumi

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

        GenericQuestDebug ShipQuests_TreasureChest,
            l("Does not have the quest"), 0,
            l("Opened treasure chest"), 1;

        if (@menuret < 0)
        {
            return;
        }

    } while (1);
}