summaryrefslogtreecommitdiff
path: root/world/map/npc/xmas/2011/guardOfHonor.txt
blob: 37adfc427ed6fbedea845006f8e1a0d954484cf7 (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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
// This file is part of Christmas Event 2011
// author: Jenalya
// Nutcrackers are magical beings serving Santa as guards of honor

// outside of the building
030-1.gat,89,51,0|script|Grigory the Nutcracker|330,{

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

    mes "[Grigory the Nutcracker]";
    mes "\"Welcome to Santa's house. Please behave well.\"";
    close;

L_NoEvent:
    mes "[Grigory the Nutcracker]";
    mes "\"This is Santa's house. But he isn't home at the moment.\"";
    close;
}

030-1.gat,89,54,0|script|Vadim the Nutcracker|330,{

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

    mes "[Vadim the Nutcracker]";
    mes "\"Welcome. Enjoy your time in Santa's residence.\"";
    close;

L_NoEvent:
    mes "[Vadim the Nutcracker]";
    mes "\"This is Santa's residence, but he isn't here at the moment.\"";
    close;
}

// in the entrance area
030-2.gat,83,43,0|script|Andrey the Nutcracker|330,{

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

    mes "[Andrey the Nutcracker]";
    mes "\"Hello. Have a nice time visiting Santa's home.";
    mes "Be careful not to cause trouble, we, the Nutcracker Guard of Honor, guarantee peace in this house.\"";
    close;

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

030-2.gat,99,23,0|script|Eugeny the Nutcracker|330,{

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

    mes "[Eugeny the Nutcracker]";
    mes "\"Greetings. The workshop is upstairs.\"";
    if ((gettime(7) == $@xmas2011_year && gettime(6) == 12 && gettime(5) >= $@xmas2011_reward_start_day))
        close;
    next;
    mes "\"Usually the helpers are very friendly and would explain what they do to the visitors.\"";
    mes "But there is some trouble this year and they're all under great pressure.";
    mes "You can have a look, but be gentle and don't disturb them.\"";
    close;

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

030-2.gat,77,23,0|script|Leonid the Nutcracker|330,{

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

    mes "[Leonid the Nutcracker]";
    mes "\"Hello. Feel free to have a look around.\"";
    close;

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

// in office
030-2.gat,47,81,0|script|Yakov the Nutcracker|330,{

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

    mes "[Yakov the Nutcracker]";
    mes "\"Greetings. I hope you find your visit interesting.\"";
    menu
        "What is behind that door?",-,
        "Yeah, it's very interesting.",L_Close;
    mes "[Yakov the Nutcracker]";
    mes "\"The Archive. Restricted area, you're not allowed to enter.\"";
L_Close:
    close;

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

// in the room before Santa's
030-2.gat,96,77,0|script|Taras the Nutcracker|330,{

    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 "[Taras the Nutcracker]";
    mes "\"Hello. Santa's room is down the hallway.";
    mes "But he has a lot of things to take care of, so he isn't receiving visitors at the moment.\"";
    close;

L_RewardTime:
    mes "[Taras the Nutcracker]";
    mes "\"Hello. Santa's room is down the hallway.\"";
    close;

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

030-2.gat,99,77,0|script|Stepan the Nutcracker|330,{

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

    mes "[Stepan the Nutcracker]";
    mes "\"Greetings. The dormitory is up there.";
    mes "I think Ismo went up there because he isn't feeling well. Please let him rest.\"";
    close;

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