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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
|
020-1.gat,76,85,0 script Assistant 105,{
if (QUEST_xmas07_state == 1) goto L_State1;
mes "[Santas Assistant]";
mes "I got really bad news.";
mes "Santa Clause won't come to";
mes "The Mana World this year.";
next;
menu "Who cares? I don't want any presents.", L_Close, "Why not?", -;
mes "[Santas Assistant]";
mes "Well, he is in some kind of";
mes "depression. He says people";
mes "love him only for his presents";
mes "and don't really care about";
mes "him as a person.";
next;
menu "Well, not my problem.", L_Close, "Can't we do something for him?", -;
mes "[Santas Assistant]";
mes "Well, he really loves milk";
mes "and cookies. When we would";
mes "collect a really large pile";
mes "of milk and cookies he will";
mes "maybe come and pay us a visit.";
next;
menu "Sorry, I got no time for that.", L_Close, "Great idea! Let's begin.", -;
set QUEST_xmas07_state, 1;
L_State1:
menu "I got some milk.", L_Exchange_Milk, "I got some cookies.", L_Exchange_Cookies, "How is the collecting going?", L_Status, "Where can I find milk and cookies?", L_Help;
L_Exchange_Milk:
if (countitem(527) == 0) goto L_Exchange_Gotnothing;
mes "[Santas Assistant]";
mes "Aaaaah, " + countitem(527) + " milk.";
mes "Thanks for your contribution.";
set QUEST_xmas07_milk, QUEST_xmas07_milk + countitem(527);
set $QUEST_xmas07_milk, $QUEST_xmas07_milk + countitem(527);
delitem(527), countitem(527);
close;
L_Exchange_Cookies:
if (countitem(635) == 0) goto L_Exchange_Gotnothing;
mes "[Santas Assistant]";
mes "Aaaaah, " + countitem(635) + " cookies.";
mes "Thanks for your contribution.";
set QUEST_xmas07_cookies, QUEST_xmas07_cookies + countitem(635);
set $QUEST_xmas07_cookies, $QUEST_xmas07_cookies + countitem(635);
delitem(635), countitem(635);
close;
L_Help:
mes "[Santas Assistant]";
mes "Milk is dropped by santa slimes and fluffies.";
mes "You can find Santa slimes on the";
mes "snow field to the south and fluffies";
mes "at the coast south of Hurnscald.";
next;
mes "[Santas Assistant]";
mes "Rudolph and Santa slimes";
mes "always bring some cookies with them.";
close;
L_Exchange_Gotnothing:
mes "[Santas Assistant]";
mes "Actually, you don't seem to have any.";
close;
L_Status:
mes "[Santas Assistant]";
mes "OK, thus far you brought me";
mes QUEST_xmas07_milk + " packets of milk and";
mes QUEST_xmas07_cookies + " christmas cookies.";
mes "All people together brought";
mes $QUEST_xmas07_milk + " packets of milk and";
mes $QUEST_xmas07_cookies + " christmas cookies.";
next;
mes "[Santas Assistant]";
set @leastItems, $QUEST_xmas07_milk;
if ($QUEST_xmas07_milk > $QUEST_xmas07_cookies) set @leastItems, $QUEST_xmas07_cookies;
if (@leastItems >= 819200) goto L_Present14;
if (@leastItems >= 409600) goto L_Present13;
if (@leastItems >= 204800) goto L_Present12;
if (@leastItems >= 102400) goto L_Present11;
if (@leastItems >= 51200) goto L_Present10;
if (@leastItems >= 25600) goto L_Present9;
if (@leastItems >= 12800) goto L_Present8;
if (@leastItems >= 6400) goto L_Present7;
if (@leastItems >= 3200) goto L_Present6;
if (@leastItems >= 1600) goto L_Present5;
if (@leastItems >= 800) goto L_Present4;
if (@leastItems >= 400) goto L_Present3;
if (@leastItems >= 200) goto L_Present2;
if (@leastItems >= 100) goto L_Present1;
mes "I guess that won't impress santa";
mes "much. We need at least 100 of";
mes "both to make him come to us.";
close;
L_Present1:
mes "This means santa will bring";
mes "everyone a present. When we";
mes "can collect 200 of each he";
mes "will maybe give everyone two";
mes "presents.";
close;
L_Present2:
mes "This means santa will bring";
mes "everyone two presents. When we";
mes "can collect 400 of each he";
mes "will maybe give everyone three";
mes "presents.";
close;
L_Present3:
mes "This means santa will bring";
mes "everyone three presents. When we";
mes "can collect 800 of each he";
mes "will maybe give everyone four";
mes "presents.";
close;
L_Present4:
mes "This means santa will bring";
mes "everyone four presents. When we";
mes "can collect 1600 of each he";
mes "will maybe give everyone five";
mes "presents.";
close;
L_Present5:
mes "This means santa will bring";
mes "everyone five presents. When we";
mes "can collect 3200 of each he";
mes "will maybe give everyone six";
mes "presents.";
close;
L_Present6:
mes "This means santa will bring";
mes "everyone six presents. When we";
mes "can collect 6400 of each he";
mes "will maybe give everyone seven";
mes "presents.";
close;
L_Present7:
mes "This means santa will bring";
mes "everyone seven presents. When we";
mes "can collect 12800 of each he";
mes "will maybe give everyone eight";
mes "presents.";
close;
L_Present8:
mes "This means santa will bring";
mes "everyone eight presents. When we";
mes "can collect 25600 of each he";
mes "will maybe give everyone nine";
mes "presents.";
close;
L_Present9:
mes "This means santa will bring";
mes "everyone nine presents. When we";
mes "can collect 51200 of each he";
mes "will maybe give everyone ten";
mes "presents.";
close;
L_Present10:
mes "Over fiftythousand of both?";
mes "Did you guys hire some chinese";
mes "gold farmers?";
mes "This means santa will bring";
mes "everyone ten presents. When we";
mes "can collect 102400 of each he";
mes "will maybe give everyone eleven";
mes "presents.";
close;
L_Present11:
mes "What? You guys broke the";
mes "hundredthousand item limit??";
mes "This means santa will bring";
mes "everyone eleven presents. When we";
mes "can collect 204800 of each he";
mes "will maybe give everyone twelve";
mes "presents.";
close;
L_Present12:
mes "Another hundredthousand of each?";
mes "You guys really have no live!";
mes "This means santa will bring";
mes "everyone twelfe presents. When we";
mes "can collect 404800 of each he";
mes "will maybe give everyone thirteen";
mes "presents.";
close;
L_Present13:
mes "What the f...? Four Hundred Thousand???";
mes "There is no way people collected";
mes "that many stuff in just a week.";
mes "This means santa will bring";
mes "everyone thirteen presents. When we";
mes "can collect 819200 of each he";
mes "will maybe give everyone fourteen";
mes "presents.";
close;
L_Present14:
mes "OK, OK, you guys found a bug";
mes "to cheat the christmas event";
mes "this year. You will each get";
mes "fourteen presents.";
mes "But this is really enough.";
mes "Are you happy now?";
close;
L_Close:
close;
}
|