-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path4000.toml
303 lines (242 loc) · 5.14 KB
/
4000.toml
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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
# Custom quest, ID: 4000
title = "A Big, Brotherly Banquet"
npc = "Legor [Leafre: Forest of the Priest]"
info = """
So, you heard? We're having a banquet.
You know, to celebrate your becoming so incredibly powerful, and eventually taking over the world, ruling the Maple realm as your royal subject, etc....
So, we need a few things, and we figured that with your oh-so-great new powers you could go fetch a few of them for us. All we really need from you is:
#b50 Salads, 20 Red Bean Porridges, 5 Elixirs, 30 Power Elixirs, 30 Orange Pills, 20 Watermelons, 40 Ice Cream Pops, 10 Red Bean Sundaes, 5 Pain Relievers, 20 Ginger Ales, 50 Barbarian Elixirs, 15 Apples, 20 Meats, 25 Eggs, 5 Oranges, 20 Green Apples, 60 Sap of Ancient Trees, 30 Salads, 25 Pizzas, 30 Hamburgers, 15 Hot Dogs, 15 Hot Dog Supremes, 20 Grape Juices, 5 Melting Cheeses, 30 Sunrise Dews, 40 Chocolates, 5 Red Bean Porridges, 10 Ciders, 20 Unagis, 20 Sushi(salmon)s, 15 Dangos, 15 Mushroom Miso Ramens, 20 Kinoko Ramen(salt)s, 20 Fish Cake(dish)s, 10 Yakisobas, 25 Fried shrimps, 40 Baby Dragon Foods, 20 Desert Mists, 20 Grilled Cheeses, 50 Cherry Pies, 1 Supreme Pizzas, 30 Mapleades, 5 Chicken Rices, 10 Dragon Fruits, 20 Chili Crabs, and 15 Coconut Juices.#k
Yeah, that should do it."""
[requirements]
predicates = [
"""
function(p) {
var rewardSkills =
[
[1121000, 20], [1221000, 20], [1321000, 20], [2121000, 20],
[2221000, 20], [2321000, 20], [3121000, 20], [3221000, 20],
[4121000, 20], [4221000, 20], [5121000, 20], [5221000, 20]
];
var rewardSkill;
for (var i = 0; i < rewardSkills.length; ++i) {
if (Math.floor(rewardSkills[i][0] / 10000) === p.getJob().getId()) {
rewardSkill = rewardSkills[i];
break;
}
}
return rewardSkill === undefined || p.getMasterLevelById(rewardSkill[0]) >= rewardSkill[1] - 10;
}
"""
]
[[items]]
id = 2020000
name = "Salad"
count = 50
[[items]]
id = 2022001
name = "Red Bean Porridge"
count = 20
[[items]]
id = 2000004
name = "Elixir"
count = 5
[[items]]
id = 2000005
name = "Power Elixir"
count = 30
[[items]]
id = 2000008
name = "Orange Pill"
count = 30
[[items]]
id = 2001000
name = "Watermelon"
count = 20
[[items]]
id = 2001001
name = "Ice Cream Pop"
count = 40
[[items]]
id = 2001002
name = "Red Bean Sundae"
count = 10
[[items]]
id = 2002011
name = "Pain Reliever"
count = 5
[[items]]
id = 2002023
name = "Ginger Ale"
count = 20
[[items]]
id = 2002025
name = "Barbarian Elixir"
count = 50
[[items]]
id = 2010000
name = "Apple"
count = 15
[[items]]
id = 2010001
name = "Meat"
count = 20
[[items]]
id = 2010002
name = "Egg"
count = 25
[[items]]
id = 2010003
name = "Orange"
count = 5
[[items]]
id = 2010009
name = "Green Apple"
count = 20
[[items]]
id = 2012002
name = "Sap of Ancient Tree"
count = 60
[[items]]
id = 2020000
name = "Salad"
count = 30
[[items]]
id = 2020003
name = "Pizza"
count = 25
[[items]]
id = 2020004
name = "Hamburger"
count = 30
[[items]]
id = 2020005
name = "Hot Dog"
count = 15
[[items]]
id = 2020006
name = "Hot Dog Supreme"
count = 15
[[items]]
id = 2020010
name = "Grape Juice"
count = 20
[[items]]
id = 2020012
name = "Melting Cheese"
count = 5
[[items]]
id = 2020014
name = "Sunrise Dew"
count = 30
[[items]]
id = 2020028
name = "Chocolate"
count = 40
[[items]]
id = 2022001
name = "Red Bean Porridge"
count = 5
[[items]]
id = 2022002
name = "Cider"
count = 10
[[items]]
id = 2022003
name = "Unagi"
count = 20
[[items]]
id = 2022013
name = "Sushi(salmon)"
count = 20
[[items]]
id = 2022014
name = "Dango"
count = 15
[[items]]
id = 2022015
name = "Mushroom Miso Ramen"
count = 15
[[items]]
id = 2022020
name = "Kinoko Ramen(salt)"
count = 20
[[items]]
id = 2022022
name = "Fish Cake(dish)"
count = 20
[[items]]
id = 2022026
name = "Yakisoba"
count = 10
[[items]]
id = 2022041
name = "Fried shrimp"
count = 25
[[items]]
id = 2022089
name = "Baby Dragon Food"
count = 40
[[items]]
id = 2022155
name = "Desert Mist"
count = 20
[[items]]
id = 2022189
name = "Grilled Cheese"
count = 20
[[items]]
id = 2022190
name = "Cherry Pie"
count = 50
[[items]]
id = 2022191
name = "Supreme Pizza"
count = 1
[[items]]
id = 2022195
name = "Mapleade"
count = 30
[[items]]
id = 2022206
name = "Chicken Rice"
count = 5
[[items]]
id = 2022210
name = "Dragon Fruit"
count = 10
[[items]]
id = 2022215
name = "Chili Crab"
count = 20
[[items]]
id = 2022258
name = "Coconut Juice"
count = 15
[par]
fearless = 150
valiant = 160
adventuresome = 170
[rewards]
exp = 31200000
mesos = 144000
consumers = [
"""
function(p) {
var rewardSkills =
[
[1121000, 20], [1221000, 20], [1321000, 20], [2121000, 20],
[2221000, 20], [2321000, 20], [3121000, 20], [3221000, 20],
[4121000, 20], [4221000, 20], [5121000, 20], [5221000, 20]
];
for (var i = 0; i < rewardSkills.length; ++i) {
if (Math.floor(rewardSkills[i][0] / 10000) === p.getJob().getId()) {
p.setMasterLevel(rewardSkills[i][0], rewardSkills[i][1]);
return;
}
}
}
"""
]
[[rewards.items]]
id = 4001126
count = 9