LuminaWebsite/assets/map/js/config.js
Maaxxs d74f64cbc0 Map: map picker popup with preview images grouped by region, remembers last map
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-21 19:54:53 +02:00

111 lines
No EOL
3.1 KiB
JavaScript

/**
* Aion 2 Map Viewer - Configuration
*/
const CONFIG = {
// Tile settings
TILE_SIZE: 256,
MIN_ZOOM: 2,
MAX_ZOOM: 6,
// World coordinate system (fixed for all maps)
WORLD_MIN_X: 0,
WORLD_MAX_X: 4096,
WORLD_MIN_Y: 0,
WORLD_MAX_Y: 4096,
// Data paths
TILES_DIR: 'data/tiles',
MARKERS_DIR: 'data/markers',
ICONS_DIR: 'data/icons',
// Vorschaubilder der Kartenauswahl - bewusst ausserhalb von data/ (das kommt per FTP),
// damit sie mit dem Code ausgeliefert werden.
PREVIEWS_DIR: 'previews',
DEFAULT_MAP: 'verteron',
// Gebiete der Kartenauswahl in dieser Reihenfolge, Karten darin ebenfalls sortiert.
// Karten, die hier fehlen, landen unter "Weitere".
MAP_ZONES: [
{ name: 'Elysea', maps: ['poeta', 'verteron', 'elthen'] },
{ name: 'Asmodae', maps: ['ishalgen', 'altgard', 'morheim'] },
{ name: 'Abyss', maps: ['abyss-reshanta-a', 'abyss-reshanta-b', 'chaotic-middle-reshanta', 'chaotic-upper-reshanta'] },
],
// Local maps list (generated by download scripts to avoid CORS)
MAPS_LIST: 'data/maps.json',
// Category symbols (emoji)
CATEGORY_SYMBOLS: {
'Settlement': '🏘️',
'Stronghold': '🏰',
'Dungeon': '🕳️',
'Sealed Dungeon': '🔒',
'Region': '🗺️',
'Updraft': '💨',
'Rift': '⚡',
'Kibelisk': '🐉',
'Verteron Monolith': '🗿',
'Intellect': '🧠',
'Wild Monsters': '🐺',
'Feral': '🦁',
'Nature': '🌿',
'Special': '✨',
'Named Bosses': '💀',
'Citizens': '👤',
'NPC': '🗣️',
'General Goods Merchant': '🛒',
'Events': '🎉',
'Instance Entries': '🚪',
'Storage Manager': '📦',
'Alchemy Table': '⚗️',
'Armorsmithing Table': '🛡️',
'Blacksmithing Table': '⚒️',
'Cooking Table': '🍳',
'Handicrafting': '✂️',
'Morph Merchant': '🔄',
'Odyle': '💎',
'Orihalum Ore': '⛏️',
'Sapphire Gemstone': '💠',
'Diamond Gemstone': '💎',
'Ruby Gemstone': '❤️',
'Aria': '🌸',
'Yggdrasil Log': '🪵',
'Targena': '🍄',
'Kukuru': '🥜',
'Cypri': '🫐',
'Inina': '🌺',
'Coriolus': '🍂',
'Mela': '🍇',
'Empyrean Trace': '🔮',
'Hidden Cube': '📦',
'Boss': '👑',
'Fera': '🐾',
'Natura': '🌱',
'Cogni': '🤖',
'Varian': '🎭',
'Story Quests': '📜',
'Regional Quest': '🏴',
'Spawn Location': '🥚',
'Point of Interest': '⭐'
},
// Category colors by group
CATEGORY_COLORS: {
'Locations': '#3388FF',
'Monsters': '#FF4444',
'NPC': '#44AA44',
'Resources': '#FFAA00',
'Collectibles': '#AA44FF',
'Pets': '#FF66CC',
'Quests': '#FFFF44',
'Spawns': '#44AAAA',
'Community': '#FFFFFF'
}
};