// ==UserScript==
// @name MH Maps Tweaker
// @description Rearrange mice in the map
// @author Dusan Djordjevic
// @include http://www.mousehuntgame.com/*
// @include https://www.mousehuntgame.com/*
// @include http://apps.facebook.com/mousehunt/*
// @include https://apps.facebook.com/mousehunt/*
// @version 1.35 - GWH 2016
// @history 1.00 - Initial release
// @namespace MH Tweaks
// @downloadURL https://update.greasyfork.icu/scripts/5352/MH%20Maps%20Tweaker.user.js
// @updateURL https://update.greasyfork.icu/scripts/5352/MH%20Maps%20Tweaker.meta.js
// ==/UserScript==
VERSION = 1.35;
var LOCATIONS = {
"Acolyte Realm
Ancient
\AR: 22%
": ["Gorgon","Sorcerer","Spectre"],
"Acolyte RealmRadioactive Blue
\AR: 33%
": ["Gate Guardian","Golem"],
"Acolyte RealmRunic
\AR: 8%
": ["Acolyte","Chrono","Lich","Wight"],
"Balack's Cove (High Tide)Vanilla Stilton
\AR: 85%
": ["Riptide"],
"Balack's Cove (Low Tide)Vanilla Stilton
\AR: 19%
": ["Brimstone","Davy Jones","Tidal Fisher","Twisted Fiend"],
"Balack's Cove (Low Tide)Vengeful Vanilla Stilton
\AR: 23%
": ["Enslaved Spirit"],
"Balack's Cove (Mid Tide)Vengeful Vanilla Stilton
\AR: 14%
": ["Balack the Banished","Derr Lich","Elub Lich","Nerg Lich"],
"BazaarGouda
\AR: 25%
": ["Bionic","Granite","Steel"],
"BazaarSB+
\AR: 20%
": ["Burglar"],
"Burroughs Rift (Mist Level 0)Brie String
\AR: 5%
": ["Amplified White","Automated Sentry","Evil Scientist","Rift Bio Engineer"],
"Burroughs Rift (Mist Level 0)Magical String
\AR: 5%
": ["Amplified Brown","Amplified Grey","Cybernetic Specialist","Doktor","Portable Generator","Surgeon Bot"],
"Burroughs Rift (Mist Level 1-5)Magical String/Brie String
\AR: 24%
": ["Count Vampire","Phase Zombie","Prototype","Robat","Tech Ravenous Zombie"],
"Burroughs Rift (Mist Level 1-5)Polluted Parmesan
\AR: 29%
": ["Mecha Tail","Radioactive Ooze","Toxikinetic"],
"Burroughs Rift (Mist Level 1-5)Terre Ricotta
\AR: 23%
": ["Clump","Cyber Miner","Itty Bitty Rifty Burroughs","Pneumatic Dirt Displacement","Rifterranian"],
"Burroughs Rift (Mist Level 19-20)Magical String/Brie String
\AR: 99%
": ["Monstrous Abomination"],
"Burroughs Rift (Mist Level 19-20)Polluted Parmesan
\AR: 25%
": ["Assassin Beast","Plutonium Tentacle","The Menace of the Rift"],
"Burroughs Rift (Mist Level 19-20)Terre Ricotta
\AR: 99%
": ["Big Bad Behemoth Burroughs"],
"Burroughs Rift (Mist Level 6-18)Magical String/Brie String
\AR: 24%
": ["Lycanoid","Revenant","Zombot Unipire the Third"],
"Burroughs Rift (Mist Level 6-18)Polluted Parmesan
\AR: 21%
": ["Rancid Bog Beast","Super Mega Mecha Ultra RoboGold","Toxic Avenger"],
"Burroughs Rift (Mist Level 6-18)Terre Ricotta
\AR: 25%
": ["Boulder Biter","Lambent","Master Exploder"],
"Calm ClearingCherry
\AR: 22%
": ["Bear","Cherry","Cyclops","Shaman"],
"Calm ClearingGouda
\AR: 15%
": ["Frog","Moosker"],
"Calm ClearingSB+
\AR: 9%
": ["Wiggler"],
"Cape ClawedCrunchy
\AR: 33%
": ["Aged","Healer","Trailblazer","Wordsmith"],
"Cape ClawedGumbo
\AR: 23%
": ["Caretaker","Grandfather","Narrator","Pathfinder"],
"Cape ClawedShell
\AR: 14%
": ["Alchemist","Elder","Scout","Taleweaver"],
"CatacombsAncient
\AR: 17%
": ["Skeleton"],
"CatacombsAncient with Antiskele
\AR: 14%
": ["Keeper","Keeper's Assistant","Ooze","Spider"],
"CatacombsRadioactive Blue with Antiskele
\AR: 10%
": ["Giant Snail"],
"CatacombsUndead Emmental with Antiskele
\AR: 6%
": ["Grave Robber","Terror Knight","Vampire"],
"Claw Shot CitySB+
\AR: 16%
": ["Lasso Cowgirl"],
"Claw Shot City (Hunting Bounty Hunter)Gouda
\AR: 6%
": ["Prospector","Ruffian","Tumbleweed"],
"Claw Shot City (Hunting Bounty Hunter)SB+
\AR: 14%
": ["Bounty Hunter","Pyrite","Saloon Gal","Shopkeeper"],
"Claw Shot City (Ringleaders)Gouda
\AR: 17%
": ["Cardshark","Circuit Judge","Desperado","Outlaw","Stagecoach Driver","Undertaker"],
"Crystal LibraryGouda
\AR: 7%
": ["Bookborn","Flutterby","Infiltrator","Pocketwatch"],
"Crystal LibrarySB+
\AR: 1%
": ["Aether","Effervescent","Explorator","Scribe","Steam Grip","Tome Sprite","Walker"],
"Crystal LibrarySB+ with Scholar
\AR: 16%
": ["Zurreal the Eternal"],
"Cursed City (Curse Lifted)Graveblossom Camembert
\AR: 19%
": ["Corrupt","Essence Guardian"],
"Cursed City (Curse Lifted)Graveblossom Camembert with Shattering
\AR: 27%
": ["Dark Magi"],
"Cursed City (Cursed)Graveblossom Camembert
\AR: 22%
": ["Cursed Enchanter","Cursed Engineer","Cursed Librarian","Cursed Thief"],
"Derr DunesBrie
\AR: 20%
": ["Sylvan"],
"Derr DunesCrunchy
\AR: 14%
": ["Derr Chieftain","Gladiator","Guardian"],
"Derr DunesSB+
\AR: 18%
": ["Grunt","Mintaka","Renegade","Seer","Spellbinder"],
"DojoGouda
\AR: 12%
": ["Samurai"],
"DojoMaki
\AR: 23%
": ["Student of the Cheese Claw","Assassin","Student of the Cheese Belt"],
"DracanoInferno Havarti
\AR: 29%
": ["Draconic Warden","Dragon","Whelpling"],
"Elub ShoreBrie
\AR: 24%
": ["Pinchy"],
"Elub ShoreSB+
\AR: 17%
": ["Alnitak","Mystic","Pack","Soothsayer","Vanquisher"],
"Elub ShoreShell
\AR: 28%
": ["Champion","Elub Chieftain","Protector"],
"Event MiceSB+
\AR: 11%
": ["Birthday","Glitchpaw","High Roller","Hope","Leprechaun","Lucky","Mobster","Snooty","Treasurer"],
"Fiery WarpathSB+
\AR: 11%
": ["Crimson Commander"],
"Fiery Warpath (Wave 1)Gouda
\AR: 10%
": ["Caravan Guard","Desert Archer","Desert Soldier","Gargantuamouse","Vanguard"],
"Fiery Warpath (Wave 2)Gouda
\AR: 19%
": ["Flame Archer","Flame Warrior","Inferno Mage","Sand Cavalry","Sentinel"],
"Fiery Warpath (Wave 3)Gouda
\AR: 17%
": ["Crimson Ranger","Crimson Titan","Crimson Watch","Flame Ordnance","Magmarage","Sandwing Cavalry"],
"Fiery Warpath (Wave 4)Gouda
\AR: 70%
": ["Theurgy Warden","Warmonger"],
"Forbidden GroveAncient
\AR: 18%
": ["Gargoyle","Reaper"],
"Forbidden GroveMoon
\AR: 22%
": ["Scavenger"],
"Forbidden GroveRadioactive Blue
\AR: 13%
": ["Mutated Brown","Mutated Grey","Mutated White","Realm Ripper"],
"Fungal CavernDiamond
\AR: 64%
": ["Crystal Behemoth","Diamondhide","Huntereater"],
"Fungal CavernGemstone
\AR: 5%
": ["Crystal Golem","Crystal Lurker","Crystal Observer","Crystal Queen"],
"Fungal CavernGlowing Gruyere
\AR: 12%
": ["Cavern Crumbler","Crag Elder","Crystalline Slasher","Dirt Thing","Gemstone Worshipper","Shattered Obsidian","Splintered Stone Sentry","Stone Maiden"],
"Fungal CavernMineral
\AR: 6%
": ["Crystal Cave Worm","Crystal Controller","Crystalback","Gemorpher","Stalagmite"],
"Fungal CavernSB+
\AR: 8%
": ["Bitter Root","Floating Spore","Funglore","Lumahead","Mouldy Mole","Mush","Mushroom Sprite","Nightshade Masquerade","Quillback","Spiked Burrower","Spore Muncher","Sporeticus"],
"GES (Daredevil Canyon)Gouda
\AR: 15%
": ["Fuel"],
"GES (Daredevil Canyon)Gouda with Black Powder
\AR: 26%
": ["Black Powder Thief"],
"GES (Daredevil Canyon)Gouda with Dusty Coal
\AR: 27%
": ["Coal Shoveller"],
"GES (Daredevil Canyon)SB+
\AR: 21%
": ["Train Engineer"],
"GES (Daredevil Canyon)SB+ with Magmatic Crystal
\AR: 25%
": ["Magmatic Crystal Thief","Magmatic Golem"],
"GES (Raider River)Gouda
\AR: 7%
": ["Automorat"],
"GES (Raider River)Gouda with Roof Rack
\AR: 16%
": ["Steel Horse Rider"],
"GES (Raider River)SB+
\AR: 7%
": ["Cannonball","Hookshot","Stoutgear"],
"GES (Raider River)SB+ with Roof Rack
\AR: 12%
": ["Dangerous Duo","Mouse With No Name","Sharpshooter"],
"GES (Supply Depot (No Supply Rush))Gouda with Supply Schedule
\AR: 11%
": ["Warehouse Manager"],
"GES (Supply Depot (No Supply Rush))SB+ with Supply Schedule
\AR: 18%
": ["Crate Camo","Cute Crate Carrier"],
"GES (Supply Depot (Supply Rush))SB+
\AR: 50%
": ["Supply Hoarder"],
"GES (Waiting)Gouda
\AR: 14%
": ["Tonic Salesman","Angry Train Staff","Farrier"],
"GES (Waiting)SB+
\AR: 3%
": ["Parlour Player","Passenger","Photographer","Stowaway","Stuffy Banker","Train Conductor","Travelling Barber","Upper Class Lady","Bartender","Mysterious Traveller"],
"Gnawnia RiftBrie String
\AR: 15%
": ["Agitated Gentle Giant","Excitable Electric","Supernatural"],
"Gnawnia RiftMagical String
\AR: 9%
": ["Dream Drifter","Micro","Mighty Mole"],
"Gnawnia RiftMarble String
\AR: 19%
": ["Brawny","Greyrun","Riftweaver"],
"Gnawnia RiftResonator
\AR: 99%
": ["Goliath Field"],
"Gnawnia RiftRiftiago
\AR: 25%
": ["Cyborg","Raw Diamond","Rift Guardian","Shard Centurion","Spiritual Steel","Wealth"],
"Great Gnarled TreeGnarled
\AR: 24%
": ["Curious Chemist","Eagle Owl","Fairy","Foxy"],
"Great Gnarled TreeSB+
\AR: 6%
": ["Goldleaf"],
"GWH Everywhere except flyingStandard
": ["Confused Courier","Greedy Al","Hoarder","Miser","Scrooge","Triple Lutz"],
"GWH EverywhereStandard
": ["Gingerbread","Present"],
"GWH EverywhereAny cheese + Winter charm
": ["Snowflake"],
"GWH Winter WastelandFestive
": ["Borean Commander","Frigid Foreman","Glacia Ice Fist","Mouse of Winter Future","Mouse of Winter Past","Mouse of Winter Present","Snow Boulder","Snow Scavenger"],
"GWH Toy LotFestive
": ["Destructoy","Ridiculous Sweater","Toy","Toy Tinkerer"],
"GWH Toy EmporiumFestive
": ["Destructoy","Mad Elf","Nutcracker","Ridiculous Sweater","Slay Ride","Squeaker Claws","Toy","Toy Tinkerer"],
"GWH Decorative OasisFestive
": ["Candy Cane","Christmas Tree","Ribbon","Snowglobe"],
"GWH Tinsel ForestFestive
": ["Candy Cane","Christmas Tree","Ornament","Ribbon","Snowglobe","Stocking","Wreath Thief"],
"GWH Tinsel ForestArctic Asiago only
": ["Missile Toe"],
"GWH Bunny HillsFestive
": ["Free Skiing","Sporty Ski Instuctor","Toboggan Technician","Young Prodigy Racer"],
"GWH Frosty MountainsFestive
": ["Black Diamond Racer","Double Black Diamond Racer","Free Skiing","Nitro Racer","Sporty Ski Instuctor","Toboggan Technician","Young Prodigy Racer"],
"GWH Frosty MountainsArctic Asiago only
": ["Nitro Racer"],
"GWH Snowball StormFestive
": ["Builder","Reinbo", "S.N.O.W. Golem","Snow Fort","Snow Sorceress","Snowball Hoarder","Snowblower","Tundra Huntress"],
"GWH Snowball StormArctic Asiago only
": ["Stuck Snowball"],
"GWH FlyingAny cheese
": ["Elf","Great Winter Hunt Impostor","Joy","Mouse of Winter Future","Mouse of Winter Past","Mouse of Winter Present","Present"],
"HarbourSB+
\AR: 5%
": ["Magic"],
"HarbourWhite Cheddar
\AR: 16%
": ["Pirate"],
"Iceberg (Bombing Run (Magnet))Gouda
\AR: 10%
": ["Stickybomber"],
"Iceberg (Bombing Run)Gouda
\AR: 10%
": ["Heavy Blaster"],
"Iceberg (Brutal Bulwark)Gouda
\AR: 25%
": ["Iceblock","Mammoth","Polar Bear","Snow Slinger"],
"Iceberg (Generals)Gouda
\AR: 6%
": ["General Drheller","Lady Coldsnap","Lord Splodington","Princess Fist"],
"Iceberg (Hidden Depths)Gouda
\AR: 34%
": ["Frostwing Commander","Living Salt"],
"Iceberg (Icewing's Lair)Gouda
\AR: 69%
": ["Frostlance Guard","Icewing"],
"Iceberg (The Deep Lair)Gouda
\AR: 99%
": ["Deep"],
"Iceberg (The Mad Depths (Hearthstone))Gouda
\AR: 20%
": ["Snowblind","Wolfskie"],
"Iceberg (The Mad Depths (Magnet))Gouda
\AR: 15%
": ["Iceblade","Water Wielder"],
"Iceberg (Treacherous Tunnels (Magnet))Gouda
\AR: 29%
": ["Chipper","Icebreaker"],
"Jungle of DreadCreamy Havarti
\AR: 99%
": ["Jurassic"],
"Jungle of DreadCrunchy Havarti
\AR: 99%
": ["Fetid Swamp"],
"Jungle of DreadMagical Havarti
\AR: 99%
": ["Stonework Warrior"],
"Jungle of DreadPungent Havarti
\AR: 99%
": ["Chitinous"],
"Jungle of DreadSB+
\AR: 9%
": ["Pygmy Wrangler","Swarm of Pygmy Mice"],
"Jungle of DreadSpicy Havarti
\AR: 99%
": ["Magma Carrier"],
"Jungle of DreadSweet Havarti
\AR: 99%
": ["Primal"],
"King's ArmsWhite Cheddar
\AR: 12%
": ["Longtail","Pugilist","Scruffy","Spotted"],
"King's GauntletGouda
\AR: 14%
": ["Clockwork Samurai","Hapless Marionette","Puppet Master","Sock Puppet Ghost","Toy Sylvan","Wound Up White"],
"King's GauntletTier 2
\AR: 20%
": ["Bandit","Escape Artist","Impersonator","Lockpick","Rogue","Stealth"],
"King's GauntletTier 3
\AR: 20%
": ["Berserker","Cavalier","Fencer","Knight","Page","Phalanx"],
"King's GauntletTier 4
\AR: 23%
": ["Cowbell","Dancer","Drummer","Fiddler","Guqin Player"],
"King's GauntletTier 5
\AR: 23%
": ["Aquos","Black Mage","Ignis","Terra","Zephyr"],
"King's GauntletTier 6
\AR: 21%
": ["Paladin","Sacred Shrine","White Mage"],
"King's GauntletTier 7
\AR: 81%
": ["Fiend","Necromancer"],
"King's GauntletTier 8
\AR: 99%
": ["Eclipse"],
"LaboratoryRadioactive Blue
\AR: 10%
": ["Monster"],
"LagoonGnarled
\AR: 14%
": ["Centaur","Goblin","Nomad","Tiger","Troll","Water Nymph"],
"LagoonGouda
\AR: 21%
": ["Wicked Witch of Whisker Woods"],
"LagoonSB+
\AR: 17%
": ["Elven Princess","Treant"],
"LagoonWicked Gnarly
\AR: 6%
": ["Harpy","Hydra","Silth"],
"Living Garden (Not Poured)Duskshade Camembert
\AR: 17%
": ["Camoflower","Carmine the Apothecary","Shroom"],
"Living Garden (Not Poured)Gouda
\AR: 21%
": ["Bark","Calalilly","Strawberry Hotcakes","Thistle"],
"Living Garden (Poured)Gouda
\AR: 10%
": ["Thirsty"],
"Lost City (Curse Lifted)Dewthief Camembert
\AR: 20%
": ["Essence Collector","Ethereal Librarian"],
"Lost City (Cursed)Dewthief Camembert
\AR: 15%
": ["Cursed","Ethereal Enchanter","Ethereal Engineer","Ethereal Thief"],
"M400 huntingFusion Fondue
\AR: 99%
": ["M400"],
"MeadowSB+
\AR: 11%
": ["Flying","Tiny"],
"MeadowWhite Cheddar
\AR: 24%
": ["Field","Lightning Rod"],
"Meditation RoomCombat
\AR: 99%
": ["Master of the Cheese Fang"],
"Meditation RoomGlutter
\AR: 99%
": ["Master of the Cheese Belt"],
"Meditation RoomGouda
\AR: 99%
": ["Hapless"],
"Meditation RoomSusheese
\AR: 99%
": ["Master of the Cheese Claw"],
"MountainSB+
\AR: 5%
": ["Abominable Snow","Black Widow","Fog","Frosty Snow","Pebble"],
"MountainSB+ with Prospector's
\AR: 36%
": ["Silvertail"],
"MountainWhite Cheddar
\AR: 12%
": ["Frozen","Ninja"],
"MountainWhite Cheddar with Prospector's
\AR: 30%
": ["Diamond","Gold"],
"MousoleumMoon
\AR: 49%
": ["Lycan"],
"MousoleumRadioactive Blue
\AR: 14%
": ["Bat","Gluttonous Zombie","Ravenous Zombie","Zombie"],
"MousoleumUndead Emmental
\AR: 29%
": ["Ghost","Mummy","Zombot Unipire"],
"Muridae MarketGouda
\AR: 10%
": ["Falling Carpet","Pie Thief","Snake Charmer","Spice Merchant"],
"Muridae MarketGouda with Artisan
\AR: 16%
": ["Lumberjack"],
"Muridae MarketSB+
\AR: 9%
": ["Desert Architect","Desert Nomad","Market Guard","Market Thief"],
"Muridae MarketSB+ with Artisan
\AR: 20%
": ["Blacksmith","Glass Blower","Limestone Miner","Mage Weaver"],
"Nerg PlainsBrie
\AR: 26%
": ["Chameleon"],
"Nerg PlainsGumbo
\AR: 57%
": ["Defender","Nerg Chieftain","Slayer"],
"Nerg PlainsSB+
\AR: 17%
": ["Alnilam","Beast Tamer","Conjurer","Conqueror","Finder"],
"Pinnacle ChamberOnyx Gorgonzola
\AR: 99%
": ["Dojo Sensei"],
"Pinnacle ChamberRumble
\AR: 99%
": ["Master of the Dojo"],
"S.S. Huntington IIIGouda
\AR: 6%
": ["Bottled","Briegull","Captain","Leviathan","Salt Water Snapper","Shipwrecked","Swabbie"],
"S.S. Huntington IIISB+
\AR: 9%
": ["Buccaneer","Cook","Mermouse","Shelder","Siren","Squeaken"],
"Sand CryptsGraveblossom Camembert
\AR: 25%
": ["Sand Colossus","Sarcophamouse","Scarab","Serpentine"],
"Sand CryptsGraveblossom Camembert with Grub Scent
\AR: 99%
": ["King Grub"],
"Sand CryptsGraveblossom Camembert with Shattering
\AR: 99%
": ["King Scarab"],
"Sand Dunes (No Stampede)Dewthief Camembert
\AR: 25%
": ["Dunehopper","Grubling Herder","Sand Pilgrim"],
"Sand Dunes (Stampede)Dewthief Camembert
\AR: 26%
": ["Quesodillo","Spiky Devil"],
"Sand Dunes (Stampede)Dewthief Camembert with Grubling Chow
\AR: 25%
": ["Grubling"],
"Seasonal Garden (Fall)Gouda
\AR: 37%
": ["Harvest Harrier","Harvester","Pumpkin Head","Scarecrow","Whirleygig"],
"Seasonal Garden (Fall)SB+
\AR: 5%
": ["Fall Familiar"],
"Seasonal Garden (Spring)Gouda
\AR: 16%
": ["Hydrophobe","Puddlemancer","Tanglefoot","Vinetail"],
"Seasonal Garden (Spring)SB+
\AR: 10%
": ["Derpicorn","Spring Familiar"],
"Seasonal Garden (Summer)Gouda
\AR: 20%
": ["Firebreather","Stinger","Summer Mage"],
"Seasonal Garden (Summer)SB+
\AR: 21%
": ["Firefly","Hot Head","Monarch"],
"Seasonal Garden (Winter)Gouda
\AR: 20%
": ["Bruticle","Icicle","Winter Mage"],
"Seasonal Garden (Winter)SB+
\AR: 20%
": ["Frostbite","Over-Prepared","Penguin"],
"Slushy ShorelineGouda
\AR: 15%
": ["Incompetent Ice Climber","Snow Bowler"],
"Slushy ShorelineGouda with Softserve
\AR: 10%
": ["Saboteur","Snow Sniper","Yeti"],
"Slushy ShorelineSB+
\AR: 18%
": ["Living Ice","Snow Soldier"],
"Carnivore CoveSB+/Gouda
\AR: 26%
": ["Carnivore","Derpshark"],
"Coral CastleSB+/Gouda
\AR: 18%
": ["Coral Dragon","Coral Gardener","Coral Guard","Coral Queen","Turret Guard"],
"Coral GardenSB+/Gouda
\AR: 17%
": ["Coral Harvester"],
"Coral ReefSB+/Gouda
\AR: 20%
": ["Coral","Coral Cuddler","Seadragon"],
"Deep Oxygen Stream)SB+/Gouda
\AR: 20%
": ["Eel","Jellyfish"],
"Sunken City (Docked)Brie
\AR: 41%
": ["City Noble","Sunken Citizen"],
"Sunken City (Docked)Fishy Fromage
\AR: 14%
": ["Clumsy Carrier","Elite Guardian","Enginseer","Oxygen Baron"],
"Sunken City (Docked)SB+
\AR: 26%
": ["City Worker","Hydrologist"],
"Feeding GroundsSB+/Gouda
\AR: 35%
": ["Barracuda","Clownfish","Spear Fisher"],
"Haunted ShipwreckSB+/Gouda
\AR: 18%
": ["Deep Sea Diver","Deranged Deckhand","Pirate Anchor","Sunken Banshee","Swashblade"],
"Lair of the AncientsSB+/Gouda
\AR: 65%
": ["Ancient of the Deep","Tritus"],
"Lost RuinsSB+/Gouda
\AR: 17%
": ["Angler","Mershark","Octomermaid","Old One","Urchin King"],
"Magma FlowSB+/Gouda
\AR: 17%
": ["Treasure Keeper"],
"Mermouse DenSB+/Gouda
\AR: 16%
": ["Mermousette"],
"Monster TrenchSB+/Gouda
\AR: 31%
": ["Serpent Monster"],
"Murky DepthsSB+/Gouda
\AR: 16%
": ["Betta","Koimaid","Angelfish"],
"Oxygen StreamSB+/Gouda
\AR: 19%
": ["Stingray"],
"Pearl PatchSB+/Gouda
\AR: 30%
": ["Pearl Diver","Sand Dollar Queen"],
"Rocky OutcropSB+/Gouda
\AR: 20%
": ["Barnacle Beautician","Bottom Feeder","Crabolia"],
"Sand Dollar Sea BarSB+/Gouda
\AR: 30%
": ["Saltwater Axolotl","Sand Dollar Diver"],
"School of MiceSB+/Gouda
\AR: 25%
": ["Guppy","School of Mish","Tadpole"],
"Shallow ShoalsSB+/Gouda
\AR: 25%
": ["Cuttle","Manatee","Mlounder Flounder","Puffer"],
"ShipwreckSB+/Gouda
\AR: 17%
": ["Dread Pirate Mousert"],
"Sunken TreasureSB+/Gouda
\AR: 35%
": ["Pearl","Treasure Hoarder"],
"Tournament HallSB+
\AR: 4%
": ["Crown Collector"],
"Town of DigbyLimelight
\AR: 5%
": ["Big Bad Burroughs","Core Sample","Demolitions","Industrious Digger","Itty-Bitty Burroughs","Lambent Crystal","Miner","Nugget","Rock Muncher","Stone Cutter","Subterranean"],
"Town of GnawniaGilded
\AR: 26%
": ["Master Burglar"],
"Town of GnawniaGouda
\AR: 18%
": ["Brown","Grey","White"],
"Town of GnawniaSB+
\AR: 5%
": ["Nibbler"],
"Town of GnawniaWhite Cheddar
\AR: 34%
": ["Cowardly","Dwarf"],
"Toxic SpillRancid Radioactive Blue
\AR: 12%
": ["Biohazard","Gelatinous Octahedron","Mutant Mongrel","Mutant Ninja","Mutated Behemoth","Mutated Siblings","Outbreak Assassin","Plague Hag","Scrap Metal Monster","Slimefist","Sludge","Sludge Soaker","Sludge Swimmer","Spore","Swamp Runner","Telekinetic Mutant","Tentacle","The Menace","Toxic Warrior"],
"Toxic Spill (Hazmat and Lab Techs)Rancid Radioactive Blue
\AR: 50%
": ["Hazmat","Lab Technician"],
"Toxic Spill (Knight)Rancid Radioactive Blue
\AR: 5%
": ["Bog Beast","Monster Tail"],
"Training GroundsSB+
\AR: 31%
": ["Archer","Dumpling Chef","Kung Fu","Monk","Worker"],
"Twisted Garden (Not Poured)Duskshade Camembert
\AR: 20%
": ["Barkshell","Thorn","Twisted Hotcakes","Twisted Lilly"],
"Twisted Garden (Not Poured)Lunaria Camembert
\AR: 35%
": ["Camofusion","Fungal Spore","Twisted Carmine"],
"Twisted Garden (Not Poured)Lunaria Camembert with Shattering
\AR: 25%
": ["Shattered Carmine"],
"Twisted Garden (Poured)Duskshade Camembert
\AR: 10%
": ["Dehydrated"],
"WWR (All Rage Level 25+)Lactrodectus Lancashire
\AR: 50%
": ["Monstrous Black Widow"],
"WWR (Crazed Clearing)Magical String with Cherry
\AR: 0%
": ["Cherry Sprite"],
"WWR (Deep Lagoon)Magical String with Stagnant
\AR: 0%
": ["Grizzled Silth"],
"WWR (Gigantic Gnarled Tree)Magical String with Gnarled
\AR: 0%
": ["Naturalist"],
"WWR (Rage Level 0-24)Magical String
\AR: 10%
": ["Bloomed Sylvan","Cranky Caterpillar","Crazed Goblin","Fungal Frog","Gilded Leaf","Karmachameleon","Mossy Moosker","Spirit of Balance","Twisted Treant","Water Sprite"],
"WWR (Rage Level 25+ CC)Magical String
\AR: 0%
": ["Treant Queen","Spirit Fox","Red-Eyed Watcher Owl"],
"WWR (Rage Level 25+ DL)Magical String
\AR: 0%
": ["Medicine","Tree Troll","Winged Harpy"],
"WWR (Rage Level 25+ GGT)Magical String
\AR: 0%
": ["Red Coat Bear","Rift Tiger","Nomadic Warrior"],
"WWR (Rage Level 50 CC)Magical String
\AR: 0%
": ["Cyclops Barbarian"],
"WWR (Rage Level 50 DL)Magical String
\AR: 0%
": ["Tri-dra"],
"WWR (Rage Level 50 GGT)Magical String
\AR: 0%
": ["Centaur Ranger"],
"WindmillSB+
\AR: 5%
": ["Farmhand","Mole","Speedy"],
"WindmillWhite Cheddar
\AR: 19%
": ["Spud"],
"Zugzwang's TowerCheckmate
\AR: 14%
": ["Chess Master","Mystic King","Mystic Queen","Technic King","Technic Queen"],
"Zugzwang's TowerGouda
\AR: 10%
": ["Mystic Bishop","Mystic Knight","Mystic Pawn","Mystic Rook","Technic Bishop","Technic Knight","Technic Pawn","Technic Rook"],
"LabyrinthGlowing Gruyere
": ["Lost","Reanimated Carver","Corridor Bruiser","Lost Legionnaire"],
"LabyrinthSB+
": ["Shadow Stalker"],
"Fealty - Plain
Glowing Gruyere
": ["Drudge","Masked Pikeman"],
"Fealty - Superior+
Glowing Gruyere
": ["Solemn Soldier","Mind Tearer"],
"Fealty - Epic
Glowing Gruyere
": ["Dark Templar"],
"Fealty - Temple (50+)
Glowing Gruyere
": ["Battle Cleric"],
"Fealty - Sanctum (80+)
Glowing Gruyere
": ["Paladin Weapon Master","Sir Fleekio"],
"Tech - Plain
Glowing Gruyere
": ["RR-8","Ash Golem"],
"Tech - Superior+
Glowing Gruyere
": ["Tech Golem","Automated Stone Sentry"],
"Tech - Epic
Glowing Gruyere
": ["Fungal Technomorph"],
"Tech - Research Centre (50+)
Glowing Gruyere
": ["Exo-Tech"],
"Tech - Manaforge (80+)
Glowing Gruyere
": ["Manaforge Smith","Matron of Machinery"],
"Scholar - Plain
Glowing Gruyere
": ["Summoning Scholar","Sanguinarian"],
"Scholar - Superior+
Glowing Gruyere
": ["Mystic Herald","Mystic Guardian"],
"Scholar - Epic
Glowing Gruyere
": ["Mystic Scholar"],
"Scholar - Auditorium (50+)
Glowing Gruyere
": ["Ethereal Guardian"],
"Scholar - Library (80+)
Glowing Gruyere
": ["Soul Binder","Ancient Scribe"],
"Farming - Plain
Glowing Gruyere
": ["Mushroom Harvester","Mush Monster"],
"Farming - Superior+
Glowing Gruyere
": ["Nightshade Nanny","Nightshade Fungalmancer"],
"Treasury - Plain
Glowing Gruyere
": ["Hired Eidolon","Mimic"],
"Treasury - Superior+
Glowing Gruyere
": ["Treasure Brawler","Matron of Wealth"]
};
var miceRows = {},
miceGroups = {},
miceImages = {},
miceMap = [],
miceOrdered = '',
remainingMice = '',
locationsLoaded = false;
var mapButton = document.getElementsByClassName('treasureMap')[0];
mapButton.addEventListener('click', doMap, false);
function doMap() {
var loaded = (document.getElementsByClassName('treasureMapPopup-mice-group-header').length == 0) ? false : true;
if(loaded) {
prepareMice();
rearrangeMice();
} else {
setTimeout(doMap, 1000);
}
}
function prepareMice() {
var miceContainer = document.getElementsByClassName('treasureMapPopup-miceBlockRow')[0],
mice = miceContainer.getElementsByClassName('mice')[0],
miceContent = mice.getElementsByClassName('treasureMapPopup-leftBlock-content')[0],
miceContentDefault = miceContent.getElementsByClassName('treasureMapPopup-leftBlock-content-default')[0],
//uncaughtmice1 = miceContentDefault.getElementsByClassName('treasureMapPopup-mice-groups')[0],
//uncaughtmice2 = miceContentDefault.getElementsByClassName('treasureMapPopup-mice-groups')[1],
uncaughtmice1 = miceContentDefault.children[0],
uncaughtmice2 = miceContentDefault.children[1],
uncaughtmice1empty = hasClass(uncaughtmice1, 'treasureMapPopup-miceWarning'),
uncaughtmice2other = hasClass(uncaughtmice2, 'uncaughtmiceinotherenvironments'),
miceGroupContainer1 = (uncaughtmice1empty) ? false : uncaughtmice1.getElementsByClassName('treasureMapPopup-mice-group-miceContainer')[0],
miceGroupContainer2 = uncaughtmice2.getElementsByClassName('treasureMapPopup-mice-group-miceContainer')[0],
miceMapUncaugth1 = (uncaughtmice1empty) ? false : miceGroupContainer1.getElementsByClassName('treasureMapPopup-mice-group-mouse'),
miceMapUncaugth2 = miceGroupContainer2.getElementsByClassName('treasureMapPopup-mice-group-mouse');
miceRows = {};
miceGroups = {};
miceSubGroups = {};
miceImages = {};
miceMap = [];
if(!uncaughtmice1empty) {
for(var i=0; i