summaryrefslogtreecommitdiff
path: root/npc/008-1/mikhail.txt
blob: 6cbc4881c13f6f607d5ec370b21fd975f2e9a372 (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
008-1,135,25,0	script	Mikhail	NPC120,{
    if (QL_SOUP >= 6) goto L_Done;
    if (QL_SOUP == 5) goto L_Progress;
    if (QL_SOUP == 4) goto L_Start;
    goto L_Con_Mik_First;

L_Con_Mik_First:
    mes "[Mikhail]";
    mes "\"Hello... I'm supposed to be helping Bernard from the Inn but...\"";
    mes "His eyes grow wide";
    mes "\"Eeekkk another one.\"";
    mes "";
    mes "It seems that the boy would like to say more, but seems too terrified at the moment. Maybe you should help someone else first, so that he sees your intentions are good.";
    goto L_close;

L_Start:
    mes "[Mikhail]";
    mes "\"Bernard sent me to get five Maggot Slimes from the maggots in the fields, but they scare me so bad!\"";
    next;
    mes "\"You look like a nice person. Would you go get them for me?\"";
    menu
        "Of course, I'll go get them for you.", L_Accept,
        "I've got other things to do right now.", L_close;

L_Accept:
    mes "[Mikhail]";
    mes "\"Thank you so much!  I'll wait for you here.\"";
    QL_SOUP = 5;
    close;

L_Progress:
    mes "[Mikhail]";
    mes "\"Did you bring me the five Maggot Slimes I need?\"";
    next;
    menu
        "Yes, here they are, kiddo!", L_try,
        "Not yet, but I'll be back soon.", L_close;

L_try:
    if (countitem("MaggotSlime") >= 5)
        goto L_Get;
    mes "[Mikhail]";
    mes "\"It doesn't look like you have them all...\"";
    goto L_close;

L_Get:
    delitem "MaggotSlime", 5;
    getexp 100, 0;
    QL_SOUP = 6;
    mes "[Mikhail]";
    mes "\"Ooh!  Thank you so much!  I can get back to Bernard now!\"";
    goto L_close;

L_Done:
    mes "[Mikhail]";
    mes "\"Thanks again for helping me get those Maggot Slimes!\"";
    goto L_close;

L_close:
    close;
}