summaryrefslogtreecommitdiff
path: root/npc/001-1/katja.txt
blob: a7fa86656bf2ddfdcabfb3cbc83b201da47d3367 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
// Evol scripts.
// Authors:
//    Reid
//    Travolta
// Description:
//    Little girl playing around the hill on top of the port.
//    She wants you to find her brother.
// Variables:
//    AtrilQuests_LazyBrother = 19  -- quest var
//    LazyBrother_TreesLeft = 15    -- how many trees left to search
//    LazyBrother_TreeSearched[15]  -- whether given tree was searched
//    LazyBrother_TreeWithBrother   -- the number of tree where he's hiding
// Quest states:
//    0  - quest not started
//    1  - Katja asked help, searching the trees
//    2  - Bobo is found, "bad" ending
//    3  - player decided to tell Katja where her brother is
//    4  - "good" ending, player helped Katja

001-1,164,44,0	script	Katja#001-1	NPC_RAIJIN_GIRL,{

    function QuestReminder {
        setcam 5920, 960;
        mesq l("Remember, you have to find my brother on the hill to the east from here");
        next;
        mesq l("He is probably hiding on one of the trees. Go close to each tree and look up, otherwise you won't notice him.");
        next;
        restorecam;
    }

    .@q = getq(ArtisQuests_LazyBrother);
    mesn;
    mesq l("Hey");
    next;
    switch(.@q)
    {
        case 0:
            mesq l("You look nice, do you want to help me?");
            break;
        case 1:
            mesq l("Hi, how is it going?");
            next;
            select l("Remind me, what should I do?");
            mes "";
            mesn;
            QuestReminder;
            close;
        case 2:
            mesq l("I still didn't find my brother...");
            close;
        case 3:
            mesq l("Did you find my brother?");
            next;
            select(l("Yes, and he promised to be home soon"));
            mes "";
            mesn;
            mesq l("Oh thank you so much!");
            next;
            mesq l("Please take this lollypop for your help. Mum sais they are bad for my teeth anyway (FIXME)");
            setq ArtisQuests_LazyBrother, 4;
            getitem 509, 1;
            getexp 500, 0;
            close;
        case 4:
            mesq l("Thank you again for your help!");
            close;
    }
    next;

    switch (select(l("Of course!"),
                   l("What kind of  help do you need?"),
                   l("I don't have much time right now.")))
    {
        case 1:
            mes "";
            mesn;
            mesq l("Great!");
            next;
            // emote *epic*
            break;
        case 2:
            mes "";
            mesn;
            break;
        case 3:
            mes "";
            mesn;
            mesq l("Okay, I'll be here, if you change your mind.");
            close;
    }

L_Story:
    mesq l("Mommy sent me to find my brother Bobo.");
    next;
    mesq l("He said he is going to climb the highest hill in Artis, which is not far from here.");
    next;
    mesq l("Our mommy doesn't allow us to go there, because it's dangerous. But he doesn't listen!");
    next;
    mesq l("Can you please go there and find him? He is probably hiding on one of those trees, like always.");
    next;
    mesq l("Because of the dense foliage on the trees you need to go close to them not to miss him.");
    next;

    switch (select(l("I will find him, don't worry!"),
                   l("Highest hill in Artis, you say? Sounds dangerous, I might fall off.")))
    {
        case 1:
            mes "";
            mesn;
            mesq l("Thank you!");
            mes "";
            QuestReminder;
            setq ArtisQuests_LazyBrother, 1;
            LazyBrother_TreesLeft = 15;
            close;
        case 2:
            mes "";
            mesn;
            mesq l("Awwww, what will I do now?");
            close;
    }

OnInit:
    .sex = G_FEMALE;
    setnpcdistance 4;
    end;
}