Module:Minimap/Data

- Math - -- 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)

return { ["hub"]={ imageClass="minimap-hub", imageScale=0.1725146198830409, topLeftCoord={ -294, -232.4 }, imageDimensions={ 2842, 2554 }, },

["the park"]={ imageClass="minimap-park", imageScale=0.1153846153846154, topLeftCoord={ -480.5, -141.65 }, imageDimensions={ 1816, 1982 }, },

-- Combat Islands ["spiders den"]={ imageClass="minimap-spiders-den", imageScale=0.0916538658474142, topLeftCoord={ -390.58, -366.455 }, imageDimensions={ 2827, 2542 }, },	["blazing fortress"]={ imageClass="minimap-blazing-fort", imageScale=0.1657458563535912, topLeftCoord={ -433.6, -744.8 }, imageDimensions={ 1540, 2235 }, },	["the end"]={ imageClass="minimap-end", imageScale=0.1440200375704446, topLeftCoord={ -785.4, -411.4 }, imageDimensions={ 2333, 1951 }, },

-- Mining Islands ["gold mine"]={ imageClass="minimap-gold-mine", imageScale=0.0623287671232877, topLeftCoord={ -86.2, -398.3 }, imageDimensions={ 2096, 2080 }, },	["dwarven mines"]={ imageClass="minimap-dwarven-mines", imageScale=0.25, topLeftCoord={ -217.5, -178.25 }, imageDimensions={ 1708, 1909 }, },

-- Farming Islands ["mushroom desert"]={ imageClass="minimap-mushroom-desert", imageScale=0.1251518833535844, topLeftCoord={ 128.48, -469.5 }, imageDimensions={ 1039, 1047 }, },

-- disabling for now -- -- Event Islands -- ["winter island"]={ -- 	imageClass="minimap-winter-island", -- 	imageScale=0, -- 	topLeftCoord={ 0,0 }, -- 	imageDimensions={ 0, 0 }, -- }, }