local mapConsts = {}
mapConsts.MAP_COLL_TERRAIN = 0
mapConsts.MAP_COLL_ICON = 1
mapConsts.MAP_COLL_PLAYER_ICON = 2
mapConsts.MAP_COLLISION_NAME_PREFIX = "_"
mapConsts.MAP_COLLISION_TYPE_FLAG_MARKER = "Marker"
mapConsts.REALM_MIDGARD = "Midgard"
mapConsts.REALM_ALFHEIM = "Alfheim"
mapConsts.REALM_HELHEIM = "Helheim"
mapConsts.REALM_JOTUNHEIM = "Jotunheim"
mapConsts.REALM_NIFLHEIM = "Niflheim"
mapConsts.REALM_MUSPELHEIM = "Muspelheim"
mapConsts.REALM_SVARTALHEIM = "Svartalheim"
mapConsts.REALM_VANAHEIM = "Vanaheim"
mapConsts.REALM_ASGARD = "Asgard"
mapConsts.REALM_FASTTRAVEL = "FastTravel_Realm"
mapConsts.REALM_NAMES = {
  mapConsts.REALM_MIDGARD,
  mapConsts.REALM_ALFHEIM,
  mapConsts.REALM_HELHEIM,
  mapConsts.REALM_JOTUNHEIM,
  mapConsts.REALM_NIFLHEIM,
  mapConsts.REALM_MUSPELHEIM,
  mapConsts.REALM_SVARTALHEIM,
  mapConsts.REALM_VANAHEIM,
  mapConsts.REALM_ASGARD,
  mapConsts.REALM_FASTTRAVEL
}
mapConsts.REGION_FLAG_EXPLORATION = "Exploration"
mapConsts.REGION_FLAG_SHOW_TICKER = "TickerUpdate"
mapConsts.REGION_FLAG_INVERT_FOG = "InvertFog"
mapConsts.REGION_ALFHEIM = "Alfheim Bridge"
mapConsts.REGION_ALFHEIMB = "Alfheim"
mapConsts.REGION_BEACHCAVE = "BeachCave"
mapConsts.REGION_BEACHMAZE = "BeachMaze"
mapConsts.REGION_BEACHRUINS = "BeachRuins"
mapConsts.REGION_BEACHSHIPWRECK = "BeachShipwreck"
mapConsts.REGION_BEACHTOWER = "BeachTower"
mapConsts.REGION_BEACHWATERFALL = "BeachWaterfall"
mapConsts.REGION_CALDERASHORES = "CalderaShores"
mapConsts.REGION_CALDERASHORESA = "CalderaShoresA"
mapConsts.REGION_CALDERASHORESB = "CalderaShoresB"
mapConsts.REGION_CALDERASHORESC = "CalderaShoresC"
mapConsts.REGION_CALDERASHORESD = "CalderaShoresD"
mapConsts.REGION_CALDERASHORESE = "CalderaShoresE"
mapConsts.REGION_CALDERASHORESF = "CalderaShoresF"
mapConsts.REGION_CALDERASHORESG = "CalderaShoresG"
mapConsts.REGION_CALDERASHORESH = "CalderaShoresH"
mapConsts.REGION_CALDERATEMPLE = "CalderaTemple"
mapConsts.REGION_FOOTHILLS = "Foothills"
mapConsts.REGION_FOREST = "Forest"
mapConsts.REGION_FORESTDUNGEON = "ForestDungeon"
mapConsts.REGION_HELHEIM = "Helheim"
mapConsts.REGION_HELHEIMRETURN = "Helheim Docks"
mapConsts.REGION_HTTK = "HTTK"
mapConsts.REGION_HULDRAMINE01 = "HuldraMine01"
mapConsts.REGION_HULDRAMINE02 = "HuldraMine02"
mapConsts.REGION_HULDRASTRONGHOLD = "HuldraStronghold"
mapConsts.REGION_ISLANDARCH = "IslandArch"
mapConsts.REGION_ISLANDCLIMB = "IslandClimb"
mapConsts.REGION_ISLANDSHIPWRECK = "IslandShipwreck"
mapConsts.REGION_LIGHTTEMPLE = "LightTemple"
mapConsts.REGION_MASONTRAIL = "MasonTrail"
mapConsts.REGION_STONEMASONCONNECTOR = "StoneMason Connector"
mapConsts.REGION_NIFLHEIMMAIN = "NiflheimMain"
mapConsts.REGION_PEAKSPASS = "Belly of the Mountain"
mapConsts.REGION_PEAKSPASSB = "Base of the Mountain"
mapConsts.REGION_RIVERPASS = "Riverpass"
mapConsts.REGION_RIVERPASSB = "Sanctuary Grove"
mapConsts.REGION_STONEMASON = "Stonemason"
mapConsts.REGION_VIKINGFUNERAL = "VikingFuneral"
mapConsts.REGION_NAME_HASH_TO_STRING = {
  [tostring(engine.Hash(mapConsts.REGION_ALFHEIM))] = mapConsts.REGION_ALFHEIM,
  [tostring(engine.Hash(mapConsts.REGION_ALFHEIMB))] = mapConsts.REGION_ALFHEIMB,
  [tostring(engine.Hash(mapConsts.REGION_FOOTHILLS))] = mapConsts.REGION_FOOTHILLS,
  [tostring(engine.Hash(mapConsts.REGION_FOREST))] = mapConsts.REGION_FOREST,
  [tostring(engine.Hash(mapConsts.REGION_CALDERATEMPLE))] = mapConsts.REGION_CALDERATEMPLE,
  [tostring(engine.Hash(mapConsts.REGION_CALDERASHORES))] = mapConsts.REGION_CALDERASHORES,
  [tostring(engine.Hash(mapConsts.REGION_CALDERASHORESA))] = mapConsts.REGION_CALDERASHORESA,
  [tostring(engine.Hash(mapConsts.REGION_CALDERASHORESB))] = mapConsts.REGION_CALDERASHORESB,
  [tostring(engine.Hash(mapConsts.REGION_CALDERASHORESC))] = mapConsts.REGION_CALDERASHORESC,
  [tostring(engine.Hash(mapConsts.REGION_CALDERASHORESD))] = mapConsts.REGION_CALDERASHORESD,
  [tostring(engine.Hash(mapConsts.REGION_CALDERASHORESE))] = mapConsts.REGION_CALDERASHORESE,
  [tostring(engine.Hash(mapConsts.REGION_CALDERASHORESF))] = mapConsts.REGION_CALDERASHORESF,
  [tostring(engine.Hash(mapConsts.REGION_CALDERASHORESG))] = mapConsts.REGION_CALDERASHORESG,
  [tostring(engine.Hash(mapConsts.REGION_CALDERASHORESH))] = mapConsts.REGION_CALDERASHORESH,
  [tostring(engine.Hash(mapConsts.REGION_STONEMASON))] = mapConsts.REGION_STONEMASON,
  [tostring(engine.Hash(mapConsts.REGION_RIVERPASS))] = mapConsts.REGION_RIVERPASS,
  [tostring(engine.Hash(mapConsts.REGION_RIVERPASSB))] = mapConsts.REGION_RIVERPASSB,
  [tostring(engine.Hash(mapConsts.REGION_PEAKSPASS))] = mapConsts.REGION_PEAKSPASS,
  [tostring(engine.Hash(mapConsts.REGION_PEAKSPASSB))] = mapConsts.REGION_PEAKSPASSB,
  [tostring(engine.Hash(mapConsts.REGION_BEACHCAVE))] = mapConsts.REGION_BEACHCAVE,
  [tostring(engine.Hash(mapConsts.REGION_BEACHTOWER))] = mapConsts.REGION_BEACHTOWER,
  [tostring(engine.Hash(mapConsts.REGION_BEACHWATERFALL))] = mapConsts.REGION_BEACHWATERFALL,
  [tostring(engine.Hash(mapConsts.REGION_BEACHSHIPWRECK))] = mapConsts.REGION_BEACHSHIPWRECK,
  [tostring(engine.Hash(mapConsts.REGION_BEACHRUINS))] = mapConsts.REGION_BEACHRUINS,
  [tostring(engine.Hash(mapConsts.REGION_BEACHMAZE))] = mapConsts.REGION_BEACHMAZE,
  [tostring(engine.Hash(mapConsts.REGION_FORESTDUNGEON))] = mapConsts.REGION_FORESTDUNGEON,
  [tostring(engine.Hash(mapConsts.REGION_HULDRAMINE01))] = mapConsts.REGION_HULDRAMINE01,
  [tostring(engine.Hash(mapConsts.REGION_HULDRAMINE02))] = mapConsts.REGION_HULDRAMINE02,
  [tostring(engine.Hash(mapConsts.REGION_HULDRASTRONGHOLD))] = mapConsts.REGION_HULDRASTRONGHOLD,
  [tostring(engine.Hash(mapConsts.REGION_HTTK))] = mapConsts.REGION_HTTK,
  [tostring(engine.Hash(mapConsts.REGION_ISLANDARCH))] = mapConsts.REGION_ISLANDARCH,
  [tostring(engine.Hash(mapConsts.REGION_ISLANDCLIMB))] = mapConsts.REGION_ISLANDCLIMB,
  [tostring(engine.Hash(mapConsts.REGION_ISLANDSHIPWRECK))] = mapConsts.REGION_ISLANDSHIPWRECK,
  [tostring(engine.Hash(mapConsts.REGION_MASONTRAIL))] = mapConsts.REGION_MASONTRAIL,
  [tostring(engine.Hash(mapConsts.REGION_STONEMASONCONNECTOR))] = mapConsts.REGION_STONEMASONCONNECTOR,
  [tostring(engine.Hash(mapConsts.REGION_HELHEIM))] = mapConsts.REGION_HELHEIM,
  [tostring(engine.Hash(mapConsts.REGION_HELHEIMRETURN))] = mapConsts.REGION_HELHEIMRETURN,
  [tostring(engine.Hash(mapConsts.REGION_LIGHTTEMPLE))] = mapConsts.REGION_LIGHTTEMPLE,
  [tostring(engine.Hash(mapConsts.REGION_NIFLHEIMMAIN))] = mapConsts.REGION_NIFLHEIMMAIN,
  [tostring(engine.Hash(mapConsts.REGION_VIKINGFUNERAL))] = mapConsts.REGION_VIKINGFUNERAL
}
mapConsts.MAP_FOG_GAMEOBJECTS = {
  [mapConsts.REGION_ALFHEIM] = "fogGrp_AlfheimBridge",
  [mapConsts.REGION_ALFHEIMB] = "fogGrp_Alfheim",
  [mapConsts.REGION_BEACHCAVE] = "fogGrp_BeachCave",
  [mapConsts.REGION_BEACHMAZE] = "fogGrp_BeachMaze",
  [mapConsts.REGION_BEACHRUINS] = "fogGrp_BeachRuins",
  [mapConsts.REGION_BEACHSHIPWRECK] = "fogGrp_BeachShipwreck",
  [mapConsts.REGION_BEACHTOWER] = "fogGrp_BeachTower",
  [mapConsts.REGION_BEACHWATERFALL] = "fogGrp_BeachWaterfall",
  [mapConsts.REGION_CALDERASHORES] = "fogGrp_calderaShores",
  [mapConsts.REGION_CALDERASHORESA] = "fogGrp_CalderaShoresA",
  [mapConsts.REGION_CALDERASHORESB] = "fogGrp_CalderaShoresB",
  [mapConsts.REGION_CALDERASHORESC] = "fogGrp_CalderaShoresC",
  [mapConsts.REGION_CALDERASHORESD] = "fogGrp_CalderaShoresD",
  [mapConsts.REGION_CALDERASHORESE] = "fogGrp_CalderaShoresE",
  [mapConsts.REGION_CALDERASHORESF] = "fogGrp_CalderaShoresF",
  [mapConsts.REGION_CALDERASHORESG] = "fogGrp_CalderaShoresG",
  [mapConsts.REGION_CALDERASHORESH] = "fogGrp_CalderaShoresH",
  [mapConsts.REGION_CALDERATEMPLE] = "",
  [mapConsts.REGION_FOOTHILLS] = "fogGrp_foothills",
  [mapConsts.REGION_FOREST] = "fogGrp_forest",
  [mapConsts.REGION_FORESTDUNGEON] = "fogGrp_ForestDungeon",
  [mapConsts.REGION_HELHEIM] = "fogGrp_helheim",
  [mapConsts.REGION_HELHEIMRETURN] = "fogGrp_helheimReturn",
  [mapConsts.REGION_HTTK] = "fogGrp_hailToTheKing",
  [mapConsts.REGION_HULDRAMINE01] = "fogGrp_HuldraMine01",
  [mapConsts.REGION_HULDRAMINE02] = "fogGrp_HuldraMine02",
  [mapConsts.REGION_HULDRASTRONGHOLD] = "",
  [mapConsts.REGION_ISLANDARCH] = "fogGrp_IslandArch",
  [mapConsts.REGION_ISLANDCLIMB] = "fogGrp_IslandClimb",
  [mapConsts.REGION_ISLANDSHIPWRECK] = "fogGrp_IslandShipwreck",
  [mapConsts.REGION_LIGHTTEMPLE] = "fogGrp_Alfheim",
  [mapConsts.REGION_MASONTRAIL] = "fogGrp_MasonTrail",
  [mapConsts.REGION_NIFLHEIMMAIN] = "fogGrp_Niflheim",
  [mapConsts.REGION_PEAKSPASS] = "fogGrp_peakspass",
  [mapConsts.REGION_PEAKSPASSB] = "fogGrp_MountainBelly",
  [mapConsts.REGION_RIVERPASS] = "fogGrp_riverpass",
  [mapConsts.REGION_RIVERPASSB] = "fogGrp_SanctuaryGrove",
  [mapConsts.REGION_STONEMASON] = "fogGrp_stoneMason",
  [mapConsts.REGION_STONEMASONCONNECTOR] = "fogGrp_StoneMasonConnector",
  [mapConsts.REGION_VIKINGFUNERAL] = "fogGrp_vikingFuneral"
}
mapConsts.MAP_TEXT_GAMEOBJECTS = {
  [mapConsts.REGION_BEACHCAVE] = "BeachCaveName",
  [mapConsts.REGION_BEACHMAZE] = "BeachMazeName",
  [mapConsts.REGION_BEACHRUINS] = "BeachRuins",
  [mapConsts.REGION_BEACHSHIPWRECK] = "BeachShipwreckName",
  [mapConsts.REGION_BEACHTOWER] = "BeachTowerName",
  [mapConsts.REGION_BEACHWATERFALL] = "BeachWaterfallName",
  [mapConsts.REGION_FOOTHILLS] = "FootHillsName",
  [mapConsts.REGION_FOREST] = "ForestName",
  [mapConsts.REGION_FORESTDUNGEON] = "ForestDungeonName",
  [mapConsts.REGION_HTTK] = "HTTKName",
  [mapConsts.REGION_HULDRAMINE01] = "Huldra01MinesName",
  [mapConsts.REGION_HULDRAMINE02] = "Huldra02MinesName",
  [mapConsts.REGION_HULDRASTRONGHOLD] = "HuldraStrongHoldName",
  [mapConsts.REGION_ISLANDARCH] = "IslandArchName",
  [mapConsts.REGION_ISLANDCLIMB] = "IslandClimbName",
  [mapConsts.REGION_ISLANDSHIPWRECK] = "IslandShipwreckName",
  [mapConsts.REGION_STONEMASONCONNECTOR] = "StoneMasonConnectorName",
  [mapConsts.REGION_PEAKSPASS] = "PeaksPassName",
  [mapConsts.REGION_RIVERPASS] = "RiverpassName",
  [mapConsts.REGION_STONEMASON] = "StoneMasonName",
  [mapConsts.REGION_VIKINGFUNERAL] = "VikingFuneral",
  [mapConsts.REGION_MASONTRAIL] = "MasonTrailName"
}
mapConsts.REALM_NAMES_BY_GLOBAL_LEVEL_REALM_INDEX = {
  [-1] = mapConsts.REALM_MIDGARD,
  [0] = mapConsts.REALM_MIDGARD,
  [1] = mapConsts.REALM_MUSPELHEIM,
  [2] = mapConsts.REALM_NIFLHEIM,
  [3] = mapConsts.REALM_ASGARD,
  [4] = mapConsts.REALM_SVARTALHEIM,
  [5] = mapConsts.REALM_HELHEIM,
  [6] = mapConsts.REALM_ALFHEIM,
  [7] = mapConsts.REALM_JOTUNHEIM,
  [8] = mapConsts.REALM_MIDGARD
}
mapConsts.TEMPLE_ROTATION_FRAME = {
  [mapConsts.REALM_MIDGARD] = 0.78,
  [mapConsts.REALM_ALFHEIM] = 0.22,
  [mapConsts.REALM_HELHEIM] = 0.325,
  [mapConsts.REALM_JOTUNHEIM] = 0,
  [mapConsts.REALM_NIFLHEIM] = 0.585,
  [mapConsts.REALM_MUSPELHEIM] = 0.675,
  [mapConsts.REALM_SVARTALHEIM] = 0.413,
  [mapConsts.REALM_VANAHEIM] = 0.78,
  [mapConsts.REALM_ASGARD] = 0.5
}
mapConsts.snakeState_underWater = 1
mapConsts.snakeState_resting01 = 2
mapConsts.snakeState_awake = 3
mapConsts.snakeState_awake2 = 4
mapConsts.snakeState_coiled = 5
mapConsts.snakeState_unblocked = 7
mapConsts.snakeState_sleepingTower = 8
mapConsts.snakeState_snakeBelly = 6
mapConsts.snakeState_missing = 9
mapConsts.snakeIdleTable = {
  {
    State = mapConsts.snakeState_underWater,
    MinCine = 0,
    MaxCine = 180
  },
  {
    State = mapConsts.snakeState_resting01,
    MinCine = 180,
    MaxCine = 190
  },
  {
    State = mapConsts.snakeState_awake,
    MinCine = 190,
    MaxCine = 263
  },
  {
    State = mapConsts.snakeState_awake2,
    MinCine = 263,
    MaxCine = 330
  },
  {
    State = mapConsts.snakeState_coiled,
    MinCine = 330,
    MaxCine = 340
  },
  {
    State = mapConsts.snakeState_unblocked,
    MinCine = 340,
    MaxCine = 510
  },
  {
    State = mapConsts.snakeState_sleepingTower,
    MinCine = 510,
    MaxCine = 520
  },
  {
    State = mapConsts.snakeState_snakeBelly,
    MinCine = 520,
    MaxCine = 540
  },
  {
    State = mapConsts.snakeState_missing,
    MinCine = 540,
    MaxCine = 666
  }
}
return mapConsts
