summaryrefslogtreecommitdiff
path: root/npc/012-1/terezin.txt
blob: 5669854a4661024903d22bc31a3d48e3b1ecbf72 (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
// TMW2 Script
// Author:
//    Jesusalva
// Description:
//    Hinnak's Wife, Terezin (renamed to make an Easter Egg)
// NPC_MONA?

012-1,110,41,0	script	Tezzerin	NPC_ELVEN_FEMALE_READING,{
    .@q1=getq(HurnscaldQuest_Farmers);
    .@q2=getq2(HurnscaldQuest_Farmers);
    if (strcharinfo(0) == $MOST_HEROIC$) mesn;
    if (strcharinfo(0) == $MOST_HEROIC$) mesq l("Ah, @@, welcome!", $MOST_HEROIC$);
    if (strcharinfo(0) == $MOST_HEROIC$) next;
    if (.@q1 == 5 && .@q2 == 0) goto L_PinkieHat;
    if (.@q1 == 4) goto L_Almost;
    if (.@q1 >= 2) goto L_Thanks;
    mesn;
    mesq l("Ah, my husband Hinnak is so hard working...");
    close;

L_Almost:
    mesn;
    mesq l("You deserve a reward for helping my husband Hinnak, but please, get Oscar's reward first.");
    close;

L_Thanks:
    mesn;
    mesq l("Thanks for helping my husband. I'll think if there's something I can do for you, why don't you help Oscar on the meanwhile...?");
    close;

L_PinkieHat:
    mesn;
    mesq l("You deserve a reward for helping my husband. I can make you a nice gift.");
    next;
    mesn;
    mesq l("Please bring me a single @@, and I'll give you a memeto.", getitemlink(PinkAntenna));
    if (countitem(PinkAntenna) < 1)
        close;
    next;
    mesn strcharinfo(0);
    mes col("Give the Antenna to her?", 9);
    if (askyesno() != ASK_YES) {
        mesq l("I'll seek one for you.");
        close;
    }
    delitem PinkAntenna, 1;
    getitem PinkieHat, 1;
    mesn;
    mesq l("Here, I did this @@ for you! I'm pretty sure this is also a drop, but that's literally everything I could do for helping my husband.", getitemlink(PinkieHat));
    setq2 HurnscaldQuest_Farmers, 1;
    close;

OnInit:
    .sex = G_FEMALE;
    .distance = 5;
    end;
}