summaryrefslogtreecommitdiff
path: root/world/map/npc/xmas/2011/entranceHelpers.txt
blob: d698bd1a11d57150e283a7ef2d946cbc9c1abd2e (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
// This file is part of Christmas Event 2011
// author: Jenalya
// The NPCs in this file are for background information

030-2.gat,74,29,0|script|Vellamo|328,{

    if (!(gettime(7) == $@xmas2011_year && gettime(6) == 12 && gettime(5) >= $@xmas2011_start_day))
        goto L_NoEvent;
    if ((gettime(7) == $@xmas2011_year && gettime(6) == 12 && gettime(5) >= $@xmas2011_reward_start_day))
        goto L_RewardTime;
    mes "[Vellamo]";
    mes "\"Those terrible slimes! It's a disaster!";
    mes "No matter what I do they always come back!\"";
    next;
    mes "\"How am I supposed to work under these conditions!";
    mes "This is unacceptable! Those icky slimes!\"";
    next;
    mes "\"They have occupied the entire basement where all our materials and all the remaining presents are stored.";
    mes "Grrrr.\"";
    mes "He seems too freaked out to have a decent conversation.";
    goto L_Close;

L_NoEvent:
    mes "[Vellamo]";
    mes "\"How did you come in? At this time of the year the door should be locked!\"";
    warp "030-1.gat", 99, 55;
    goto L_Close;

L_RewardTime:
    mes "[Vellamo]";
    mes "\"Those annoying slimes are still there.\"";
    mes "Vellamo seems to be totally overwrought.";
    goto L_Close;

L_Close:
    close;
}

// welcome Guy
030-2.gat,87,40,0|script|Valtteri|328,{

    if (!(gettime(7) == $@xmas2011_year && gettime(6) == 12 && gettime(5) >= $@xmas2011_start_day))
        goto L_NoEvent;
    if ((gettime(7) == $@xmas2011_year && gettime(6) == 12 && gettime(5) >= $@xmas2011_reward_start_day))
        goto L_RewardTime;

    mes "[Valterri]";
    mes "\"Welcome to Santa's house.";
    mes "We're currently busy with the preparations for Christmas, so please don't interrupt the helpers.\"";
    menu
        "Wow, this place looks much smaller from the outside.",-,
        "Thank you.",L_Close;
    mes "[Valterri]";
    mes "\"Isn't it obvious? Magic!";
    mes "Santa is a member of The Sages of Kazei, which is a council of powerful wizards who rule our lands.\"";
    goto L_Close;

L_RewardTime:
    mes "[Valterri]";
    mes "\"Welcome to Santa's house.";
    next;
    mes "We just finished the Christmas rush.\"";
    goto L_Close;

L_NoEvent:
    mes "[Valtteri]";
    mes "\"How did you come in? At this time of the year the door should be locked!\"";
    warp "030-1.gat", 99, 55;
    goto L_Close;

L_Close:
    close;
}