This repository was archived by the owner on Oct 23, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
461 lines (447 loc) · 17.7 KB
/
config.py
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
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
# -*- coding: utf-8 -*-
def astridFilter(poi):
if poi['id'] == 'Astrid':
try:
return (poi['name'], poi['description'])
except KeyError:
return poi['name'] + '\n'
def bisseFilter(poi):
if poi['id'] == 'Bisse':
try:
return (poi['name'], poi['description'])
except KeyError:
return poi['name'] + '\n'
def fredFilter(poi):
if poi['id'] == 'Fred':
try:
return (poi['name'], poi['description'])
except KeyError:
return poi['name'] + '\n'
def jancxFilter(poi):
if poi['id'] == 'Jancx':
try:
return (poi['name'], poi['description'])
except KeyError:
return poi['name'] + '\n'
def jensFilter(poi):
if poi['id'] == 'Jens':
try:
return (poi['name'], poi['description'])
except KeyError:
return poi['name'] + '\n'
def kjasperFilter(poi):
if poi['id'] == 'Kjasper':
try:
return (poi['name'], poi['description'])
except KeyError:
return poi['name'] + '\n'
def mathiasFilter(poi):
if poi['id'] == 'Mathias':
try:
return (poi['name'], poi['description'])
except KeyError:
return poi['name'] + '\n'
def spiritFilter(poi):
if poi['id'] == 'Spirit':
try:
return (poi['name'], poi['description'])
except KeyError:
return poi['name'] + '\n'
def lequestFilter(poi):
if poi['id'] == 'LeQuest':
try:
return (poi['name'], poi['description'])
except KeyError:
return poi['name'] + '\n'
def annFilter(poi):
if poi['id'] == 'Ann':
try:
return (poi['name'], poi['description'])
except KeyError:
return poi['name'] + '\n'
def sebFilter(poi):
if poi['id'] == 'Seb':
try:
return (poi['name'], poi['description'])
except KeyError:
return poi['name'] + '\n'
end_smooth_lighting = [Base(), EdgeLines(), SmoothLighting(strength=0.5)]
# Define the path to your world here. 'LeQuest' in this case will show up as
# the world name on the map interface. If you change it, be sure to also change
# the referenced world names in the render definitions below.
worlds['LeQuest'] = "C:/Users/Jens/Downloads/overviewer/LeQuest"
# Define where to put the output.
outputdir = "C:/world"
# Dag med Smooth Lightning
renders["lequestoverworld"] = {
"world": "LeQuest",
"title": "Dag",
"rendermode": smooth_lighting,
"dimension": "overworld",
'manualpois':[
{'id':'Astrid',
'x':117,
'y':64,
'z':60,
'name':'Luftballonen',
'description':'Astrids luftballon'},
{'id':'Fred',
'x':145,
'y':64,
'z':56,
'name':'Freds base',
'description':'Freds starter base'},
{'id':'Kjasper',
'x':148,
'y':64,
'z':-64,
'name':'Kjaspers starter hus',
'description':'Kjaspers starter hus. Anders bor også her'},
{'id':'Jens',
'x':111,
'y':64,
'z':21,
'name':'Jens starter base',
'description':'Jens starter base. Ann bor også her'},
{'id':'Bisse',
'x':172,
'y':64,
'z':168,
'name':'Bisses starter base',
'description':'Bisses starter base'},
{'id':'LeQuest',
'x':5,
'y':64,
'z':-85,
'name':'Fyrtårne',
'description':'De 4 fyrtårne markere serverens spawn chunks. Tårnene er bygget af Jens'},
{'id':'Mathias',
'x':-203,
'y':64,
'z':-479,
'name':'Mathias base',
'description':'Mathias base'},
{'id':'Jancx',
'x':218,
'y':64,
'z':189,
'name':'Jancx base',
'description':'Jancx base'},
{'id':'Jancx',
'x':70,
'y':64,
'z':-40,
'name':'S.S Randers',
'description':'S.S Randers'},
{'id':'LeQuest',
'x':90,
'y':64,
'z':0,
'name':'LeQuest Træet',
'description':'LeQuest Træet. Bygget af TheFred & Kjasper'},
{'id':'LeQuest',
'x':112,
'y':64,
'z':33,
'name':'Nether portalen',
'description':'Nether portalen. Bygget af TheFred med meget lidt hjælp fra Jens'},
{'id':'Astrid',
'x':76,
'y':64,
'z':-6,
'name':'Astrids base & kul lager',
'description':'Astrids base & kul lager'},
{'id':'LeQuest',
'x':227,
'y':64,
'z':-678,
'name':'Witchfarmen',
'description':'Witchfarmen. Bygget af TheFred'},
{'id':'Kjasper',
'x':83,
'y':64,
'z':-577,
'name':'Pers subscribers',
'description':'Pers subscribers'},
{'id':'LeQuest',
'x':3217,
'y':64,
'z':3191,
'name':'Mesaen',
'description':'Mesaen. Portal øen er bygget af Fred'},
{'id':'Mathias',
'x':526,
'y':64,
'z':552,
'name':'Mathias mob farm',
'description':'Mathias mob farm'},
{'id':'LeQuest',
'x':470,
'y':64,
'z':391,
'name':'End portalen',
'description':'End portalen'},
{'id':'LeQuest',
'x':260,
'y':64,
'z':278,
'name':'Bomberman spillet',
'description':'Bomberman spillet. Bygget af Kjasper'},
{'id':'Fred',
'x':4,
'y':64,
'z':95,
'name':'Freds villager breeder',
'description':'Freds villager breeder'},
{'id':'LeQuest',
'x':143,
'y':64,
'z':226,
'name':'Ko breederen',
'description':'Ko breederen. Bygget af Kjasper & Jancx'},
{'id':'LeQuest',
'x':721,
'y':64,
'z':-57,
'name':'Horse Island',
'description':'Horse Island. Hjemstedet for heste på LeQuest'},
{'id':'Jancx',
'x':79,
'y':64,
'z':-18,
'name':'Jancx start base',
'description':'Jancx start base'},
{'id':'LeQuest',
'x':3,
'y':64,
'z':8,
'name':'Kæmpe kiste',
'description':'En kæmpe kiste. Bygget af Kjasper'},
{'id':'Mathias',
'x':80,
'y':64,
'z':0,
'name':'Mathias Starter Base',
'description':'Mathias starter base.'},
{'id':'LeQuest',
'x':72,
'y':64,
'z':-29,
'name':'Death games / LeQuest games',
'description':'Death Games/LeQuest Games. Bygget af Kjasper'},
{'id':'Spirit',
'x':143,
'y':64,
'z':-71,
'name':'Anders hus',
'description':'Kjaspers starter hus. Anders bor også her'},
{'id':'LeQuest',
'x':139,
'y':64,
'z':0,
'name':'Auto fiske farm',
'description':'Auto fiske farm. Bygget af Kjasper'},
{'id':'LeQuest',
'x':83,
'y':64,
'z':28,
'name':'Chicken cooker',
'description':'Chicken cookeren'},
{'id':'LeQuest',
'x':137,
'y':64,
'z':10,
'name':'Snemanden',
'description':'LeQuest snefarmen'},
{'id':'Ann',
'x':288,
'y':64,
'z':212,
'name':'Anns hule',
'description':'Anns hule. Her bor hun når hun er sur på Jens'},
{'id':'Kjasper',
'x':260,
'y':64,
'z':264,
'name':'Kjaspers Villagers',
'description':'Kjaspers villager trading'},
{'id':'LeQuest',
'x':17,
'y':64,
'z':-864,
'name':'End portal',
'description':'End portal'},
{'id':'Seb',
'x':259,
'y':64,
'z':131,
'name':'Sebs base',
'description':'Sebs base'},
{'id':'LeQuest',
'x':4434,
'y':64,
'z':3201,
'name':'Guldminen',
'description':'Guldminen. Bygget af Kjasper, Seb & Jens'},
{'id':'Fred',
'x':319,
'y':64,
'z':-692,
'name':'Freds base',
'description':'Freds base & Witchfarm'},
],
'markers':[
dict(name="Astrid", filterFunction=astridFilter, icon="icons/marker_astrid.png"),
dict(name="Bisse", filterFunction=bisseFilter, icon="icons/marker_bisse.png"),
dict(name="Fred", filterFunction=fredFilter, icon="icons/marker_fred.png"),
dict(name="Jancx", filterFunction=jancxFilter, icon="icons/marker_jancx.png"),
dict(name="Jens", filterFunction=jensFilter, icon="icons/marker_jens.png"),
dict(name="Kjasper", filterFunction=kjasperFilter, icon="icons/marker_kjasper.png"),
dict(name="Mathias", filterFunction=mathiasFilter, icon="icons/marker_mathias.png"),
dict(name="Spirit", filterFunction=spiritFilter, icon="icons/marker_spirit.png"),
dict(name="LeQuest", filterFunction=lequestFilter, icon="icons/marker_lequest.png"),
dict(name="Ann", filterFunction=annFilter, icon="icons/marker_ann.png"),
dict(name="Seb", filterFunction=sebFilter, icon="icons/marker_seb.png")],
}
# Overworld caves
renders["lequestcave"] = {
"world": "LeQuest",
"title": "Cave",
"rendermode": cave,
"dimension": "overworld",
'markers':[
dict(name="Astrid", filterFunction=astridFilter, icon="icons/marker_astrid.png"),
dict(name="Bisse", filterFunction=bisseFilter, icon="icons/marker_bisse.png"),
dict(name="Fred", filterFunction=fredFilter, icon="icons/marker_fred.png"),
dict(name="Jancx", filterFunction=jancxFilter, icon="icons/marker_jancx.png"),
dict(name="Jens", filterFunction=jensFilter, icon="icons/marker_jens.png"),
dict(name="Kjasper", filterFunction=kjasperFilter, icon="icons/marker_kjasper.png"),
dict(name="Mathias", filterFunction=mathiasFilter, icon="icons/marker_mathias.png"),
dict(name="Spirit", filterFunction=spiritFilter, icon="icons/marker_spirit.png"),
dict(name="LeQuest", filterFunction=lequestFilter, icon="icons/marker_lequest.png"),
dict(name="Ann", filterFunction=annFilter, icon="icons/marker_ann.png"),
dict(name="Seb", filterFunction=sebFilter, icon="icons/marker_seb.png")],
}
# Overworld nat
renders["lequestnight"] = {
"world": "LeQuest",
"title": "Nat",
"rendermode": smooth_night,
"dimension": "overworld",
'markers':[
dict(name="Astrid", filterFunction=astridFilter, icon="icons/marker_astrid.png"),
dict(name="Bisse", filterFunction=bisseFilter, icon="icons/marker_bisse.png"),
dict(name="Fred", filterFunction=fredFilter, icon="icons/marker_fred.png"),
dict(name="Jancx", filterFunction=jancxFilter, icon="icons/marker_jancx.png"),
dict(name="Jens", filterFunction=jensFilter, icon="icons/marker_jens.png"),
dict(name="Kjasper", filterFunction=kjasperFilter, icon="icons/marker_kjasper.png"),
dict(name="Mathias", filterFunction=mathiasFilter, icon="icons/marker_mathias.png"),
dict(name="Spirit", filterFunction=spiritFilter, icon="icons/marker_spirit.png"),
dict(name="LeQuest", filterFunction=lequestFilter, icon="icons/marker_lequest.png"),
dict(name="Ann", filterFunction=annFilter, icon="icons/marker_ann.png"),
dict(name="Seb", filterFunction=sebFilter, icon="icons/marker_seb.png")],
}
# Nether med Smooth Lightning
renders["lequestnether"] = {
"world": "LeQuest",
"title": "Nether",
"rendermode": nether_smooth_lighting,
"dimension": "nether",
'manualpois':[
{'id':'LeQuest',
'x':571,
'y':64,
'z':378,
'name':'Guldminen',
'description':'Portalen til guldminen'},
{'id':'LeQuest',
'x':439,
'y':64,
'z':360,
'name':'Mesa',
'description':'Portalen til mesaen'},
{'id':'LeQuest',
'x':100,
'y':64,
'z':8,
'name':'End',
'description':'Portalen til End'},
{'id':'LeQuest',
'x':58,
'y':64,
'z':-40,
'name':'Spawn',
'description':'Portalen til spawn'},
{'id':'LeQuest',
'x':99,
'y':64,
'z':38,
'name':'Mob farm',
'description':'Portalen til mob farmen'},
{'id':'LeQuest',
'x':-205,
'y':64,
'z':24,
'name':'Ørken',
'description':'Portalen til ørkenen'},
{'id':'LeQuest',
'x':42,
'y':64,
'z':-24,
'name':'Breeder',
'description':'Portalen til villager breederen'},
{'id':'LeQuest',
'x':66,
'y':64,
'z':-108,
'name':'Swamp',
'description':'Portalen til swampen'},
{'id':'LeQuest',
'x':127,
'y':64,
'z':-45,
'name':'Horse Island',
'description':'Portalen til Horse Island'},
{'id':'LeQuest',
'x':388,
'y':64,
'z':187,
'name':'Junglen',
'description':'Portalen til junglen'},
],
'markers':[ dict(name="LeQuest", filterFunction=lequestFilter, icon="icons/marker_lequest.png")],
}
# End
renders["lequestend"] = {
"world": "LeQuest",
"title": "End",
"rendermode": end_smooth_lighting,
"dimension": "end",
'manualpois':[
{'id':'LeQuest',
'x':286,
'y':64,
'z':61,
'name':'Enderman farmen',
'description':'Enderman farmen'},
{'id':'LeQuest',
'x':0,
'y':64,
'z':0,
'name':'Portalen',
'description':'Portalen til Overworld'},
{'id':'LeQuest',
'x':-84,
'y':64,
'z':-12,
'name':'End Gateway',
'description':'End Gateway'},
{'id':'LeQuest',
'x':-1065,
'y':64,
'z':-18,
'name':'End Gateway',
'description':'End Gateway'},
],
'markers':[ dict(name="LeQuest", filterFunction=lequestFilter, icon="icons/marker_lequest.png")],
}