Module:Minimap/Data

- Calibration - -- CALIBRATION IS REQUIRED FOR UPDATED MAPS IF STANDARDIZED CAPTURING IS NOT USED -- TO MINIMIZE RE-CALIBRATION, STANDARDIZED CAPTURING IS RECOMMENDED. -- PLEASE FOLLOW THE USE OF AND CAPTURE TOP-VIEW IMAGES AT A FIXED COORDINATE AND SCALE

-- find a coordinate on top left of the map, and find the exact x/y position of it on the image. write both down -- do the same for bottom right (big distances help make rounding errors less impactful) -- Find imageScale: --   pixel width: difference between left most image x (that you wrote down) and right most image x --    coordinate width: same but for left most coord x (corresponding to left most point), and right most coord x --    imageScale = coordinate width / pixel width -- Find topLeftCoord: --   [1] = leftCoordX - (leftMostPixelX * imageScale) --   [2] = topCoordZ - (topMostPixelY * imageScale)

- CSS - -- MediaWiki:Custom-common.less/minimap.less -- Reuploaded minimaps with changed dimensions or coordinate offsets must be re-calibrated

return { ["hub"] = { -- Calibrated: YES; Standard capturing: YES -- P1COORD:-158,-171 P1PIXEL:424,192 P2COORD: 162,173 P2PIXEL:1415,1257 PW:991 CW:320 imageClass="minimap-hub", imageScale=0.32290615539859, topLeftCoord={ -294.91, -232.89 }, imageDimensions={ 1524, 1369 }, },	["hub-0.1"] = { -- Calibrated: YES; Standard capturing: YES -- P1COORD:-158,-171 P1PIXEL:424,192 P2COORD: 162,173 P2PIXEL:1415,1257 PW:991 CW:320 imageClass="minimap-hub-0_1", imageScale=0.32290615539859, topLeftCoord={ -294.91, -232.89 }, imageDimensions={ 1496, 1369 }, },

["museum"] = { -- Calibrated: YES; Standard capturing: NO		imageClass="minimap-museum", imageScale=0.0521952817824377, topLeftCoord={ -753.6, 765.2 }, imageDimensions={ 3815, 3874 }, },

["crypts"] = { -- Calibrated: YES; Standard capturing: NO		imageClass="minimap-crypt", imageScale=0.0625938908362544, topLeftCoord={ -195.5, -161.5 }, imageDimensions={ 2445, 1422 }, },

["the park"] = { -- Calibrated: YES; Standard capturing: NO		imageClass="minimap-park", imageScale=0.0625931445603577, topLeftCoord={ -479.5, -140.459 }, imageDimensions={ 3339, 3643 }, },

["howling cave"] = { -- Calibrated: YES; Standard capturing: NO		imageClass="minimap-howling-cave", imageScale=0.0366624525916561, topLeftCoord={ -402.498, -105.4778 }, imageDimensions={ 2183, 3952 }, },

-- Combat Islands ["spiders den"] = { -- Calibrated: NO; Standard capturing: NO		imageClass="minimap-spiders-den", imageScale=0.0916538658474142, topLeftCoord={ -390.58, -366.455 }, imageDimensions={ 2827, 2542 }, },	["blazing fortress"] = { -- Calibrated: YES; Standard capturing: NO		imageClass="minimap-blazing-fort", imageScale=0.1657458563535912, topLeftCoord={ -433.6, -744.8 }, imageDimensions={ 1540, 2235 }, },	["the end"] = { -- Calibrated: YES; Standard capturing: NO		imageClass="minimap-end", imageScale=0.1440200375704446, topLeftCoord={ -785.4, -411.4 }, imageDimensions={ 2333, 1951 }, },	["crimson isle"] = { -- Calibrated: YES; Standard capturing: NO		imageClass="minimap-crimson-isle", imageScale=0.4779189352692075, topLeftCoord={ -753, -1089 }, imageDimensions={ 1653, 1429 }, },	["stronghold"] = { -- Calibrated: YES; Standard capturing: NO		imageClass="minimap-stronghold", imageScale=0.08788282290279627163781624500666, topLeftCoord={ -462, -598 }, imageDimensions={ 1832, 2059 }, },	["stronghold 1"] = { -- Calibrated: YES; Standard capturing: NO		imageClass="minimap-stronghold-1", imageScale=0.08562019758507135, topLeftCoord={ -465, -598 }, imageDimensions={ 2312, 2113 }, },	["stronghold 2"] = { -- Calibrated: YES; Standard capturing: NO       imageClass="minimap-stronghold-2", imageScale=0.0439642324888227, topLeftCoord={ -409, 3 }, imageDimensions={ 3166, 1330 }, },

-- Mining Islands ["gold mine"] = { -- Calibrated: YES; Standard capturing: NO		imageClass="minimap-gold-mine", imageScale=0.0623287671232877, topLeftCoord={ -86.2, -398.3 }, imageDimensions={ 2096, 2080 }, },	["deep caverns"] = { -- Calibrated: YES; Standard capturing: NO		imageClass="minimap-deep-caverns", imageScale=0.06202898550724637681159420289855, topLeftCoord={ -83.193, -63.193 }, imageDimensions={ 2572, 2492 }, },	["lapis quarry"] = { -- Calibrated: YES; Standard capturing: NO		imageClass="minimap-lapis-quarry", imageScale=0.036340038935756, topLeftCoord={ -61.3945, -30.413 }, imageDimensions={ 3407, 2481 }, },	["gunpowder mines"] = { -- Calibrated: YES; Standard capturing: NO		imageClass="minimap-gunpowder-mines", imageScale=0.0361565131253096, topLeftCoord={ -41.129, -43.258 }, imageDimensions={ 2863, 2781 }, },	["pigmans den"] = { -- Calibrated: YES; Standard capturing: NO		imageClass="minimap-pigmans-den", imageScale=0.0359453630481668, topLeftCoord={ -28.08, -33 }, imageDimensions={ 2454, 2938 }, },	["slimehill"] = { -- Calibrated: YES; Standard capturing: NO		imageClass="minimap-slimehill", imageScale=0.0366620111731844, topLeftCoord={ -49.66, -49 }, imageDimensions={ 3174, 3468 }, },	["diamond reserve"] = { imageClass="minimap-diamond-reserve", imageScale=0.0361565131253096, topLeftCoord={ -66.22, -37.3 }, imageDimensions={ 3437, 3001 }, },	["obsidian sanctuary"] = { imageClass="minimap-obsidian-sanctuary", imageScale=0.0362752430815258, topLeftCoord={ -79.45, -31.386 }, imageDimensions={ 3848, 2837 }, },	["dwarven mines"] = { imageClass="minimap-dwarven-mines", imageScale=0.25, topLeftCoord={ -217.5, -178.25 }, imageDimensions={ 1708, 1909 }, },

-- Farming Islands ["the barn"] = { -- Calibrated: YES; Standard capturing: NO		imageClass="minimap-barn", imageScale=0.0626151012891344, topLeftCoord={ 82.477, -322.49 }, imageDimensions={ 2125, 2045 }, },	["mushroom desert"] = { -- Calibrated: YES; Standard capturing: NO		imageClass="minimap-mushroom-desert", imageScale=0.05812028692, topLeftCoord={ 84, -616 }, imageDimensions={ 5437, 5402 }, },

-- Event Islands ["winter island"] = { -- Calibrated: YES; Standard capturing: NO		imageClass="minimap-winter-island", imageScale=0.1041514930808449, topLeftCoord={ -95.7, -100.89 }, imageDimensions={ 2015, 2120 }, }, }