您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Rearrange mice in the map
当前为
- // ==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.21 - Added cheese + charm
- // @history 1.10 - No need to update script when new mice are out
- // @history 1.00 - Initial release
- // @namespace MH Tweaks
- // ==/UserScript==
- VERSION = 1.21;
- var LOCATIONS = {
- "Acolyte Realm<div style=\"font-size: 10px; font-weight: normal\">Ancient</div>": ["Gorgon","Sorcerer","Spectre"],
- "Acolyte Realm<div style=\"font-size: 10px; font-weight: normal\">Radioactive Blue</div>": ["Gate Guardian","Golem"],
- "Acolyte Realm<div style=\"font-size: 10px; font-weight: normal\">Runic</div>": ["Acolyte","Chrono","Lich","Wight"],
- "Balack's Cove (High Tide)<div style=\"font-size: 10px; font-weight: normal\">Vanilla Stilton</div>": ["Riptide"],
- "Balack's Cove (Low Tide)<div style=\"font-size: 10px; font-weight: normal\">Vanilla Stilton</div>": ["Brimstone","Davy Jones","Tidal Fisher","Twisted Fiend"],
- "Balack's Cove (Low Tide)<div style=\"font-size: 10px; font-weight: normal\">Vengeful Vanilla Stilton</div>": ["Enslaved Spirit"],
- "Balack's Cove (Mid Tide)<div style=\"font-size: 10px; font-weight: normal\">Vengeful Vanilla Stilton</div>": ["Balack the Banished","Derr Lich","Elub Lich","Nerg Lich"],
- "Bazaar<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Bionic","Granite","Steel"],
- "Bazaar<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Burglar"],
- "Burroughs Rift (Mist Level 0)<div style=\"font-size: 10px; font-weight: normal\">Brie String</div>": ["Amplified White","Automated Sentry","Evil Scientist","Rift Bio Engineer"],
- "Burroughs Rift (Mist Level 0)<div style=\"font-size: 10px; font-weight: normal\">Magical String</div>": ["Amplified Brown","Amplified Grey","Cybernetic Specialist","Doktor","Portable Generator","Surgeon Bot"],
- "Burroughs Rift (Mist Level 1-5)<div style=\"font-size: 10px; font-weight: normal\">Magical String/Brie String</div>": ["Count Vampire","Phase Zombie","Prototype","Robat","Tech Ravenous Zombie"],
- "Burroughs Rift (Mist Level 1-5)<div style=\"font-size: 10px; font-weight: normal\">Polluted Parmesan</div>": ["Mecha Tail","Radioactive Ooze","Toxikinetic"],
- "Burroughs Rift (Mist Level 1-5)<div style=\"font-size: 10px; font-weight: normal\">Terre Ricotta</div>": ["Clump","Cyber Miner","Itty Bitty Rifty Burroughs","Pneumatic Dirt Displacement","Rifterranian"],
- "Burroughs Rift (Mist Level 19-20)<div style=\"font-size: 10px; font-weight: normal\">Magical String/Brie String</div>": ["Monstrous Abomination"],
- "Burroughs Rift (Mist Level 19-20)<div style=\"font-size: 10px; font-weight: normal\">Polluted Parmesan</div>": ["Assassin Beast","Plutonium Tentacle","The Menace of the Rift"],
- "Burroughs Rift (Mist Level 19-20)<div style=\"font-size: 10px; font-weight: normal\">Terre Ricotta</div>": ["Big Bad Behemoth Burroughs"],
- "Burroughs Rift (Mist Level 6-18)<div style=\"font-size: 10px; font-weight: normal\">Magical String/Brie String</div>": ["Lycanoid","Revenant","Zombot Unipire the Third"],
- "Burroughs Rift (Mist Level 6-18)<div style=\"font-size: 10px; font-weight: normal\">Polluted Parmesan</div>": ["Rancid Bog Beast","Super Mega Mecha Ultra RoboGold","Toxic Avenger"],
- "Burroughs Rift (Mist Level 6-18)<div style=\"font-size: 10px; font-weight: normal\">Terre Ricotta</div>": ["Boulder Biter","Lambent","Master Exploder"],
- "Calm Clearing<div style=\"font-size: 10px; font-weight: normal\">Cherry</div>": ["Bear","Cherry","Cyclops","Shaman"],
- "Calm Clearing<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Frog","Moosker"],
- "Calm Clearing<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Wiggler"],
- "Cape Clawed<div style=\"font-size: 10px; font-weight: normal\">Crunchy</div>": ["Aged","Healer","Trailblazer","Wordsmith"],
- "Cape Clawed<div style=\"font-size: 10px; font-weight: normal\">Gumbo</div>": ["Caretaker","Grandfather","Narrator","Pathfinder"],
- "Cape Clawed<div style=\"font-size: 10px; font-weight: normal\">Shell</div>": ["Alchemist","Elder","Scout","Taleweaver"],
- "Catacombs<div style=\"font-size: 10px; font-weight: normal\">Ancient</div>": ["Skeleton"],
- "Catacombs<div style=\"font-size: 10px; font-weight: normal\">Ancient with Antiskele</div>": ["Keeper","Keeper's Assistant","Ooze","Spider"],
- "Catacombs<div style=\"font-size: 10px; font-weight: normal\">Radioactive Blue with Antiskele</div>": ["Giant Snail"],
- "Catacombs<div style=\"font-size: 10px; font-weight: normal\">Undead Emmental with Antiskele</div>": ["Grave Robber","Terror Knight","Vampire"],
- "Claw Shot City<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Lasso Cowgirl"],
- "Claw Shot City (Hunting Bounty Hunter)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Prospector","Ruffian","Tumbleweed"],
- "Claw Shot City (Hunting Bounty Hunter)<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Bounty Hunter","Pyrite","Saloon Gal","Shopkeeper"],
- "Claw Shot City (Ringleaders)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Cardshark","Circuit Judge","Desperado","Outlaw","Stagecoach Driver","Undertaker"],
- "Crystal Library<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Bookborn","Flutterby","Infiltrator","Pocketwatch"],
- "Crystal Library<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Aether","Effervescent","Explorator","Scribe","Steam Grip","Tome Sprite","Walker"],
- "Crystal Library<div style=\"font-size: 10px; font-weight: normal\">SB+ with Scholar</div>": ["Zurreal the Eternal"],
- "Cursed City (Curse Lifted)<div style=\"font-size: 10px; font-weight: normal\">Graveblossom Camembert</div>": ["Corrupt","Essence Guardian"],
- "Cursed City (Curse Lifted)<div style=\"font-size: 10px; font-weight: normal\">Graveblossom Camembert with Shattering</div>": ["Dark Magi"],
- "Cursed City (Cursed)<div style=\"font-size: 10px; font-weight: normal\">Graveblossom Camembert</div>": ["Cursed Enchanter","Cursed Engineer","Cursed Librarian","Cursed Thief"],
- "Derr Dunes<div style=\"font-size: 10px; font-weight: normal\">Brie</div>": ["Sylvan"],
- "Derr Dunes<div style=\"font-size: 10px; font-weight: normal\">Crunchy</div>": ["Derr Chieftain","Gladiator","Guardian"],
- "Derr Dunes<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Grunt","Mintaka","Renegade","Seer","Spellbinder"],
- "Dojo<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Samurai"],
- "Dojo<div style=\"font-size: 10px; font-weight: normal\">Maki</div>": ["Assassin","Student of the Cheese Belt"],
- "Dracano<div style=\"font-size: 10px; font-weight: normal\">Inferno Havarti</div>": ["Draconic Warden","Dragon","Whelpling"],
- "Elub Shore<div style=\"font-size: 10px; font-weight: normal\">Brie</div>": ["Pinchy"],
- "Elub Shore<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Mystic","Pack","Soothsayer","Vanquisher", "Alnitak"],
- "Elub Shore<div style=\"font-size: 10px; font-weight: normal\">Shell</div>": ["Champion","Elub Chieftain","Protector"],
- "Event Mice<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Birthday","Glitchpaw","High Roller","Hope","Leprechaun","Lucky","Mobster","Snooty","Treasurer"],
- "Fiery Warpath<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Crimson Commander"],
- "Fiery Warpath (Wave 1)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Caravan Guard","Desert Archer","Desert Soldier","Gargantuamouse","Vanguard"],
- "Fiery Warpath (Wave 2)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Flame Archer","Flame Warrior","Inferno Mage","Sand Cavalry","Sentinel"],
- "Fiery Warpath (Wave 3)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Crimson Ranger","Crimson Titan","Crimson Watch","Flame Ordnance","Magmarage","Sandwing Cavalry"],
- "Fiery Warpath (Wave 4)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Theurgy Warden","Warmonger"],
- "Forbidden Grove<div style=\"font-size: 10px; font-weight: normal\">Ancient</div>": ["Gargoyle","Reaper"],
- "Forbidden Grove<div style=\"font-size: 10px; font-weight: normal\">Moon</div>": ["Scavenger"],
- "Forbidden Grove<div style=\"font-size: 10px; font-weight: normal\">Radioactive Blue</div>": ["Mutated Brown","Mutated Grey","Mutated White","Realm Ripper"],
- "Fungal Cavern<div style=\"font-size: 10px; font-weight: normal\">Diamond</div>": ["Crystal Behemoth","Diamondhide","Huntereater"],
- "Fungal Cavern<div style=\"font-size: 10px; font-weight: normal\">Gemstone</div>": ["Crystal Golem","Crystal Lurker","Crystal Observer","Crystal Queen"],
- "Fungal Cavern<div style=\"font-size: 10px; font-weight: normal\">Glowing Gruyere</div>": ["Cavern Crumbler","Crag Elder","Crystalline Slasher","Dirt Thing","Gemstone Worshipper","Shattered Obsidian","Splintered Stone Sentry","Stone Maiden"],
- "Fungal Cavern<div style=\"font-size: 10px; font-weight: normal\">Mineral</div>": ["Crystal Cave Worm","Crystal Controller","Crystalback","Gemorpher","Stalagmite"],
- "Fungal Cavern<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Bitter Root","Floating Spore","Funglore","Lumahead","Mouldy Mole","Mush","Mushroom Sprite","Nightshade Masquerade","Quillback","Spiked Burrower","Spore Muncher","Sporeticus"],
- "Gnawnia Rift<div style=\"font-size: 10px; font-weight: normal\">Brie String</div>": ["Agitated Gentle Giant","Excitable Electric","Supernatural"],
- "Gnawnia Rift<div style=\"font-size: 10px; font-weight: normal\">Magical String</div>": ["Dream Drifter","Micro","Mighty Mole"],
- "Gnawnia Rift<div style=\"font-size: 10px; font-weight: normal\">Marble String</div>": ["Brawny","Greyrun","Riftweaver"],
- "Gnawnia Rift<div style=\"font-size: 10px; font-weight: normal\">Resonator</div>": ["Goliath Field"],
- "Gnawnia Rift<div style=\"font-size: 10px; font-weight: normal\">Riftiago</div>": ["Cyborg","Raw Diamond","Rift Guardian","Shard Centurion","Spiritual Steel","Wealth"],
- "Gnawnian Express Station (Daredevil Canyon)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Fuel"],
- "Gnawnian Express Station (Daredevil Canyon)<div style=\"font-size: 10px; font-weight: normal\">Gouda with Black Powder</div>": ["Black Powder Thief"],
- "Gnawnian Express Station (Daredevil Canyon)<div style=\"font-size: 10px; font-weight: normal\">Gouda with Dusty Coal</div>": ["Coal Shoveller"],
- "Gnawnian Express Station (Daredevil Canyon)<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Train Engineer"],
- "Gnawnian Express Station (Daredevil Canyon)<div style=\"font-size: 10px; font-weight: normal\">SB+ with Magmatic Crystal</div>": ["Magmatic Crystal Thief","Magmatic Golem"],
- "Gnawnian Express Station (Raider River)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Automorat"],
- "Gnawnian Express Station (Raider River)<div style=\"font-size: 10px; font-weight: normal\">Gouda with Roof Rack</div>": ["Steel Horse Rider"],
- "Gnawnian Express Station (Raider River)<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Cannonball","Hookshot","Stoutgear"],
- "Gnawnian Express Station (Raider River)<div style=\"font-size: 10px; font-weight: normal\">SB+ with Roof Rack</div>": ["Dangerous Duo","Mouse With No Name","Sharpshooter"],
- "Gnawnian Express Station (Supply Depot (No Supply Rush))<div style=\"font-size: 10px; font-weight: normal\">Gouda with Supply Schedule</div>": ["Warehouse Manager"],
- "Gnawnian Express Station (Supply Depot (No Supply Rush))<div style=\"font-size: 10px; font-weight: normal\">SB+ with Supply Schedule</div>": ["Crate Camo","Cute Crate Carrier"],
- "Gnawnian Express Station (Supply Depot (Supply Rush))<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Supply Hoarder"],
- "Gnawnian Express Station (Waiting)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Angry Train Staff","Farrier"],
- "Gnawnian Express Station (Waiting)<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Parlour Player","Passenger","Photographer","Stowaway","Stuffy Banker","Train Conductor","Travelling Barber","Upper Class Lady","Bartender","Mysterious Traveller","Tonic Salesman"],
- "Great Gnarled Tree<div style=\"font-size: 10px; font-weight: normal\">Gnarled</div>": ["Curious Chemist","Eagle Owl","Fairy","Foxy"],
- "Great Gnarled Tree<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Goldleaf"],
- "Harbour<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Magic"],
- "Harbour<div style=\"font-size: 10px; font-weight: normal\">White Cheddar</div>": ["Pirate"],
- "Iceberg (Bombing Run (Magnet))<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Stickybomber"],
- "Iceberg (Bombing Run)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Heavy Blaster"],
- "Iceberg (Brutal Bulwark)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Iceblock","Mammoth","Polar Bear","Snow Slinger"],
- "Iceberg (Generals)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["General Drheller","Lady Coldsnap","Lord Splodington","Princess Fist"],
- "Iceberg (Hidden Depths)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Frostwing Commander","Living Salt"],
- "Iceberg (Icewing's Lair)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Frostlance Guard","Icewing"],
- "Iceberg (The Deep Lair)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Deep"],
- "Iceberg (The Mad Depths (Hearthstone))<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Snowblind","Wolfskie"],
- "Iceberg (The Mad Depths (Magnet))<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Iceblade","Water Wielder"],
- "Iceberg (Treacherous Tunnels (Magnet))<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Chipper","Icebreaker"],
- "Jungle of Dread<div style=\"font-size: 10px; font-weight: normal\">Creamy Havarti</div>": ["Jurassic"],
- "Jungle of Dread<div style=\"font-size: 10px; font-weight: normal\">Crunchy Havarti</div>": ["Fetid Swamp"],
- "Jungle of Dread<div style=\"font-size: 10px; font-weight: normal\">Magical Havarti</div>": ["Stonework Warrior"],
- "Jungle of Dread<div style=\"font-size: 10px; font-weight: normal\">Pungent Havarti</div>": ["Chitinous"],
- "Jungle of Dread<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Pygmy Wrangler","Swarm of Pygmy Mice"],
- "Jungle of Dread<div style=\"font-size: 10px; font-weight: normal\">Spicy Havarti</div>": ["Magma Carrier"],
- "Jungle of Dread<div style=\"font-size: 10px; font-weight: normal\">Sweet Havarti</div>": ["Primal"],
- "King's Arms<div style=\"font-size: 10px; font-weight: normal\">White Cheddar</div>": ["Longtail","Pugilist","Scruffy","Spotted"],
- "King's Gauntlet<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Clockwork Samurai","Hapless Marionette","Puppet Master","Sock Puppet Ghost","Toy Sylvan","Wound Up White"],
- "King's Gauntlet<div style=\"font-size: 10px; font-weight: normal\">Tier 2</div>": ["Bandit","Escape Artist","Impersonator","Lockpick","Rogue","Stealth"],
- "King's Gauntlet<div style=\"font-size: 10px; font-weight: normal\">Tier 3</div>": ["Berserker","Cavalier","Fencer","Knight","Page","Phalanx"],
- "King's Gauntlet<div style=\"font-size: 10px; font-weight: normal\">Tier 4</div>": ["Cowbell","Dancer","Drummer","Fiddler","Guqin Player"],
- "King's Gauntlet<div style=\"font-size: 10px; font-weight: normal\">Tier 5</div>": ["Aquos","Black Mage","Ignis","Terra","Zephyr"],
- "King's Gauntlet<div style=\"font-size: 10px; font-weight: normal\">Tier 6</div>": ["Paladin","Sacred Shrine","White Mage"],
- "King's Gauntlet<div style=\"font-size: 10px; font-weight: normal\">Tier 7</div>": ["Fiend","Necromancer"],
- "King's Gauntlet<div style=\"font-size: 10px; font-weight: normal\">Tier 8</div>": ["Eclipse"],
- "Laboratory<div style=\"font-size: 10px; font-weight: normal\">Radioactive Blue</div>": ["Monster"],
- "Lagoon<div style=\"font-size: 10px; font-weight: normal\">Gnarled</div>": ["Centaur","Goblin","Nomad","Tiger","Troll","Water Nymph"],
- "Lagoon<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Wicked Witch of Whisker Woods"],
- "Lagoon<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Elven Princess","Treant"],
- "Lagoon<div style=\"font-size: 10px; font-weight: normal\">Wicked Gnarly</div>": ["Harpy","Hydra","Silth"],
- "Living Garden (Not Poured)<div style=\"font-size: 10px; font-weight: normal\">Duskshade Camembert</div>": ["Camoflower","Carmine the Apothecary","Shroom"],
- "Living Garden (Not Poured)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Bark","Calalilly","Strawberry Hotcakes","Thistle"],
- "Living Garden (Poured)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Thirsty"],
- "Lost City (Curse Lifted)<div style=\"font-size: 10px; font-weight: normal\">Dewthief Camembert</div>": ["Essence Collector","Ethereal Librarian"],
- "Lost City (Cursed)<div style=\"font-size: 10px; font-weight: normal\">Dewthief Camembert</div>": ["Cursed","Ethereal Enchanter","Ethereal Engineer","Ethereal Thief"],
- "M400 hunting<div style=\"font-size: 10px; font-weight: normal\">Fusion Fondue</div>": ["M400"],
- "Meadow<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Flying","Tiny"],
- "Meadow<div style=\"font-size: 10px; font-weight: normal\">White Cheddar</div>": ["Field","Lightning Rod"],
- "Meditation Room<div style=\"font-size: 10px; font-weight: normal\">Combat</div>": ["Master of the Cheese Fang"],
- "Meditation Room<div style=\"font-size: 10px; font-weight: normal\">Glutter</div>": ["Master of the Cheese Belt"],
- "Meditation Room<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Hapless"],
- "Meditation Room<div style=\"font-size: 10px; font-weight: normal\">Susheese</div>": ["Master of the Cheese Claw"],
- "Mountain<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Abominable Snow","Black Widow","Fog","Frosty Snow","Pebble"],
- "Mountain<div style=\"font-size: 10px; font-weight: normal\">SB+ with Prospector's</div>": ["Silvertail"],
- "Mountain<div style=\"font-size: 10px; font-weight: normal\">White Cheddar</div>": ["Frozen","Ninja"],
- "Mountain<div style=\"font-size: 10px; font-weight: normal\">White Cheddar with Prospector's</div>": ["Diamond","Gold"],
- "Mousoleum<div style=\"font-size: 10px; font-weight: normal\">Moon</div>": ["Lycan"],
- "Mousoleum<div style=\"font-size: 10px; font-weight: normal\">Radioactive Blue</div>": ["Bat","Gluttonous Zombie","Ravenous Zombie","Zombie"],
- "Mousoleum<div style=\"font-size: 10px; font-weight: normal\">Undead Emmental</div>": ["Ghost","Mummy","Zombot Unipire"],
- "Muridae Market<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Falling Carpet","Pie Thief","Snake Charmer","Spice Merchant"],
- "Muridae Market<div style=\"font-size: 10px; font-weight: normal\">Gouda with Artisan</div>": ["Lumberjack"],
- "Muridae Market<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Desert Architect","Desert Nomad","Market Guard","Market Thief"],
- "Muridae Market<div style=\"font-size: 10px; font-weight: normal\">SB+ with Artisan</div>": ["Blacksmith","Glass Blower","Limestone Miner","Mage Weaver"],
- "Nerg Plains<div style=\"font-size: 10px; font-weight: normal\">Brie</div>": ["Chameleon"],
- "Nerg Plains<div style=\"font-size: 10px; font-weight: normal\">Gumbo</div>": ["Defender","Nerg Chieftain","Slayer"],
- "Nerg Plains<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Alnilam","Beast Tamer","Conjurer","Conqueror","Finder"],
- "Pinnacle Chamber<div style=\"font-size: 10px; font-weight: normal\">Onyx Gorgonzola</div>": ["Dojo Sensei"],
- "Pinnacle Chamber<div style=\"font-size: 10px; font-weight: normal\">Rumble</div>": ["Master of the Dojo"],
- "S.S. Huntington III<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Bottled","Briegull","Captain","Leviathan","Salt Water Snapper","Shipwrecked","Swabbie"],
- "S.S. Huntington III<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Buccaneer","Cook","Mermouse","Shelder","Siren","Squeaken"],
- "Sand Crypts<div style=\"font-size: 10px; font-weight: normal\">Graveblossom Camembert</div>": ["Sand Colossus","Sarcophamouse","Scarab","Serpentine"],
- "Sand Crypts<div style=\"font-size: 10px; font-weight: normal\">Graveblossom Camembert with Grub Scent</div>": ["King Grub"],
- "Sand Crypts<div style=\"font-size: 10px; font-weight: normal\">Graveblossom Camembert with Shattering</div>": ["King Scarab"],
- "Sand Dunes (No Stampede)<div style=\"font-size: 10px; font-weight: normal\">Dewthief Camembert</div>": ["Dunehopper","Grubling Herder","Sand Pilgrim"],
- "Sand Dunes (Stampede)<div style=\"font-size: 10px; font-weight: normal\">Dewthief Camembert</div>": ["Quesodillo","Spiky Devil"],
- "Sand Dunes (Stampede)<div style=\"font-size: 10px; font-weight: normal\">Dewthief Camembert with Grubling Chow</div>": ["Grubling"],
- "Seasonal Garden (Fall)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Harvest Harrier","Harvester","Pumpkin Head","Scarecrow","Whirleygig"],
- "Seasonal Garden (Fall)<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Fall Familiar"],
- "Seasonal Garden (Spring)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Hydrophobe","Puddlemancer","Tanglefoot","Vinetail"],
- "Seasonal Garden (Spring)<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Derpicorn","Spring Familiar"],
- "Seasonal Garden (Summer)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Firebreather","Stinger","Summer Mage"],
- "Seasonal Garden (Summer)<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Firefly","Hot Head","Monarch"],
- "Seasonal Garden (Winter)<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Bruticle","Icicle","Winter Mage"],
- "Seasonal Garden (Winter)<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Frostbite","Over-Prepared","Penguin"],
- "Slushy Shoreline<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Incompetent Ice Climber","Snow Bowler"],
- "Slushy Shoreline<div style=\"font-size: 10px; font-weight: normal\">Gouda with Softserve</div>": ["Saboteur","Snow Sniper","Yeti"],
- "Slushy Shoreline<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Living Ice","Snow Soldier"],
- "Sunken City (Carnivore Cove)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Carnivore","Derpshark"],
- "Sunken City (Coral Castle)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Coral Dragon","Coral Gardener","Coral Guard","Coral Queen","Turret Guard"],
- "Sunken City (Coral Garden)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Coral Harvester"],
- "Sunken City (Coral Reef)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Coral","Coral Cuddler","Seadragon"],
- "Sunken City (Deep Oxygen Stream)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Eel","Jellyfish"],
- "Sunken City (Docked)<div style=\"font-size: 10px; font-weight: normal\">Brie</div>": ["City Noble","Sunken Citizen"],
- "Sunken City (Docked)<div style=\"font-size: 10px; font-weight: normal\">Fishy Fromage</div>": ["Clumsy Carrier","Elite Guardian","Enginseer","Oxygen Baron"],
- "Sunken City (Docked)<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["City Worker","Hydrologist"],
- "Sunken City (Feeding Grounds)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Barracuda","Clownfish","Spear Fisher"],
- "Sunken City (Haunted Shipwreck)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Deep Sea Diver","Deranged Deckhand","Pirate Anchor","Sunken Banshee","Swashblade"],
- "Sunken City (Lair of the Ancients)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Ancient of the Deep","Tritus"],
- "Sunken City (Lost Ruins)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Angler","Mershark","Octomermaid","Old One","Urchin King"],
- "Sunken City (Magma Flow)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Treasure Keeper"],
- "Sunken City (Mermouse Den)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Mermousette"],
- "Sunken City (Monster Trench)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Serpent Monster"],
- "Sunken City (Murky Depths)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Betta","Koimaid","Angelfish"],
- "Sunken City (Oxygen Stream)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Stingray"],
- "Sunken City (Pearl Patch)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Pearl Diver","Sand Dollar Queen"],
- "Sunken City (Rocky Outcrop)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Barnacle Beautician","Bottom Feeder","Crabolia"],
- "Sunken City (Sand Dollar Sea Bar)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Saltwater Axolotl","Sand Dollar Diver"],
- "Sunken City (School of Mice)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Guppy","School of Mish","Tadpole"],
- "Sunken City (Shallow Shoals)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Cuttle","Manatee","Mlounder Flounder","Puffer"],
- "Sunken City (Shipwreck)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Dread Pirate Mousert"],
- "Sunken City (Sunken Treasure)<div style=\"font-size: 10px; font-weight: normal\">SB+/Gouda</div>": ["Pearl","Treasure Hoarder"],
- "Tournament Hall<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Crown Collector"],
- "Town of Digby<div style=\"font-size: 10px; font-weight: normal\">Limelight</div>": ["Big Bad Burroughs","Core Sample","Demolitions","Industrious Digger","Itty-Bitty Burroughs","Lambent Crystal","Miner","Nugget","Rock Muncher","Stone Cutter","Subterranean"],
- "Town of Gnawnia<div style=\"font-size: 10px; font-weight: normal\">Gilded</div>": ["Master Burglar"],
- "Town of Gnawnia<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Brown","Grey","White"],
- "Town of Gnawnia<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Nibbler"],
- "Town of Gnawnia<div style=\"font-size: 10px; font-weight: normal\">White Cheddar</div>": ["Cowardly","Dwarf"],
- "Toxic Spill<div style=\"font-size: 10px; font-weight: normal\">Rancid Radioactive Blue</div>": ["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)<div style=\"font-size: 10px; font-weight: normal\">Rancid Radioactive Blue</div>": ["Hazmat","Lab Technician"],
- "Toxic Spill (Knight)<div style=\"font-size: 10px; font-weight: normal\">Rancid Radioactive Blue</div>": ["Bog Beast","Monster Tail"],
- "Training Grounds<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Archer","Dumpling Chef","Kung Fu","Monk","Worker"],
- "Twisted Garden (Not Poured)<div style=\"font-size: 10px; font-weight: normal\">Duskshade Camembert</div>": ["Barkshell","Thorn","Twisted Hotcakes","Twisted Lilly"],
- "Twisted Garden (Not Poured)<div style=\"font-size: 10px; font-weight: normal\">Lunaria Camembert</div>": ["Camofusion","Fungal Spore","Twisted Carmine"],
- "Twisted Garden (Not Poured)<div style=\"font-size: 10px; font-weight: normal\">Lunaria Camembert with Shattering</div>": ["Shattered Carmine"],
- "Twisted Garden (Poured)<div style=\"font-size: 10px; font-weight: normal\">Duskshade Camembert</div>": ["Dehydrated"],
- "Whisker Woods Rift (Rage Level 0-24)<div style=\"font-size: 10px; font-weight: normal\">Magical String</div>": ["Bloomed Sylvan","Cranky Caterpillar","Crazed Goblin","Fungal Frog","Gilded Leaf","Karmachameleon","Mossy Moosker","Spirit of Balance","Twisted Treant","Water Sprite"],
- "Whisker Woods Rift (Rage Level 25+ Crazed Clearing)<div style=\"font-size: 10px; font-weight: normal\">Magical String</div>": ["Treant Queen", "Spirit Fox", "Red-Eyed Watcher Owl"],
- "Whisker Woods Rift (Rage Level 25+ Gigantic Gnarled Tree)<div style=\"font-size: 10px; font-weight: normal\">Magical String</div>": ["Red Coat Bear", "Rift Tiger", "Nomadic Warrior"],
- "Whisker Woods Rift (Rage Level 25+ Deep Lagoon)<div style=\"font-size: 10px; font-weight: normal\">Magical String</div>": ["Medicine", "Tree Troll", "Winged Harpy"],
- "Whisker Woods Rift (Crazed Clearing)<div style=\"font-size: 10px; font-weight: normal\">Magical String with Cherry</div>": ["Cherry Sprite"],
- "Whisker Woods Rift (Gigantic Gnarled Tree)<div style=\"font-size: 10px; font-weight: normal\">Magical String with Gnarled</div>": ["Naturalist"],
- "Whisker Woods Rift (Deep Lagoon)<div style=\"font-size: 10px; font-weight: normal\">Magical String with Stagnant</div>": ["Grizzled Silth"],
- "Whisker Woods Rift (Rage Level 50 Crazed Clearing)<div style=\"font-size: 10px; font-weight: normal\">Magical String</div>": ["Cyclops Barbarian"],
- "Whisker Woods Rift (Rage Level 50 Gigantic Gnarled Tree)<div style=\"font-size: 10px; font-weight: normal\">Magical String</div>": ["Centaur Ranger"],
- "Whisker Woods Rift (Rage Level 50 Deep Lagoon)<div style=\"font-size: 10px; font-weight: normal\">Magical String</div>": ["Tri-dra"],
- "Windmill<div style=\"font-size: 10px; font-weight: normal\">SB+</div>": ["Farmhand","Mole","Speedy"],
- "Windmill<div style=\"font-size: 10px; font-weight: normal\">White Cheddar</div>": ["Spud"],
- "Zugzwang's Tower<div style=\"font-size: 10px; font-weight: normal\">SB+/Checkmate</div>": ["Chess Master","Mystic King","Mystic Queen","Technic King","Technic Queen"],
- "Zugzwang's Tower<div style=\"font-size: 10px; font-weight: normal\">Gouda</div>": ["Mystic Bishop","Mystic Knight","Mystic Pawn","Mystic Rook","Technic Bishop","Technic Knight","Technic Pawn","Technic Rook"]
- };
- 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],
- uncaughtmice = miceContentDefault.getElementsByClassName('uncaughtmice')[0],
- miceGroupContainer = uncaughtmice.getElementsByClassName('treasureMapPopup-mice-group-miceContainer')[0],
- miceMapUncaugth = miceGroupContainer.getElementsByClassName('treasureMapPopup-mice-group-mouse');
- miceRows = {};
- miceGroups = {};
- miceImages = {};
- miceMap = [];
- for(var i=0; i<miceMapUncaugth.length; i++) {
- var mouseUncaughtElement = miceMapUncaugth[i],
- mouseName = mouseUncaughtElement.getAttribute("data-name"),
- mouseGroup = mouseUncaughtElement.getAttribute("data-group"),
- mouseImg = mouseUncaughtElement.getAttribute("data-image");
- miceRows[mouseName] = mouseUncaughtElement.innerHTML;
- miceGroups[mouseName] = mouseGroup;
- miceImages[mouseName] = mouseImg;
- miceMap.push(mouseName);
- }
- miceOrdered = '';
- remainingMice = '';
- }
- function rearrangeMice() {
- miceOrdered += '<div class="treasureMapPopup-mice-group-header" style="margin-top:10px">Uncaught Mice</div>';
- for(loc in LOCATIONS) {
- var mice = LOCATIONS[loc], miceList = '';
- for(key in mice) {
- var mouse = mice[key];
- if(arrayContains(miceMap, mouse)) {
- var mouseRawHtml = miceRows[mouse],
- mouseHtml = mouseRawHtml.replace(new RegExp(mouse, 'g'), loc),
- index = miceMap.indexOf(mouse);
- miceList += '<div onmouseout="app.views.TreasureMapView.map.removeHighlight(); return false;" onmouseover="app.views.TreasureMapView.map.highlightMouse(this);" data-name="'+mouse+'" data-group="'+miceGroups[mouse]+'" data-image="'+miceImages[mouse]+'" class="treasureMapPopup-mice-group-mouse treasureMapPopup-searchIndex" style="width: 33%">'+mouseHtml+'</div>';
- //miceList += '<div class="treasureMap-mice-group-row">'+mouseHtml+'</div>';
- miceMap.splice(index, 1);
- }
- }
- if(miceList.length > 0) {
- //miceOrdered += '<div class="treasureMapPopup-mice-group-header" style="margin-top:10px">'+loc+'</div>'+miceList;
- miceOrdered += miceList;
- }
- }
- for(var i=0; i<miceMap.length; i++) {
- var mouse = miceMap[i];
- //remainingMice += '<div class="treasureMap-mice-group-row">'+miceRows[mouse]+'</div>';
- remainingMice += '<div onmouseout="app.views.TreasureMapView.map.removeHighlight(); return false;" onmouseover="app.views.TreasureMapView.map.highlightMouse(this);" data-name="'+mouse+'" data-group="'+miceGroups[mouse]+'" data-image="'+miceImages[mouse]+'" class="treasureMapPopup-mice-group-mouse treasureMapPopup-searchIndex">'+miceRows[mouse]+'</div>';
- }
- if(remainingMice != '') {
- miceOrdered += '<div class="treasureMapPopup-mice-group-header" style="margin-top:10px">Unknow Location</div>'+remainingMice;
- }
- var firstMiceGroup = document.getElementsByClassName('uncaughtmice')[0];
- firstMiceGroup.innerHTML = miceOrdered;
- }
- function rearrangeMiceOld() {
- for(loc in LOCATIONS) {
- var mice = LOCATIONS[loc], miceList = '';
- for(key in mice) {
- var mouse = mice[key];
- if(arrayContains(miceMap, mouse)) {
- var mouseHtml = miceRows[mouse],
- index = miceMap.indexOf(mouse);
- miceList += '<div onmouseout="app.views.TreasureMapView.map.removeHighlight(); return false;" onmouseover="app.views.TreasureMapView.map.highlightMouse(this);" data-name="'+mouse+'" data-group="'+miceGroups[mouse]+'" data-image="'+miceImages[mouse]+'" class="treasureMapPopup-mice-group-mouse treasureMapPopup-searchIndex">'+mouseHtml+'</div>';
- //miceList += '<div class="treasureMap-mice-group-row">'+mouseHtml+'</div>';
- miceMap.splice(index, 1);
- }
- }
- if(miceList.length > 0) {
- miceOrdered += '<div class="treasureMapPopup-mice-group-header" style="margin-top:10px">'+loc+'</div>'+miceList;
- }
- }
- for(var i=0; i<miceMap.length; i++) {
- var mouse = miceMap[i];
- //remainingMice += '<div class="treasureMap-mice-group-row">'+miceRows[mouse]+'</div>';
- remainingMice += '<div onmouseout="app.views.TreasureMapView.map.removeHighlight(); return false;" onmouseover="app.views.TreasureMapView.map.highlightMouse(this);" data-name="'+mouse+'" data-group="'+miceGroups[mouse]+'" data-image="'+miceImages[mouse]+'" class="treasureMapPopup-mice-group-mouse treasureMapPopup-searchIndex">'+miceRows[mouse]+'</div>';
- }
- if(remainingMice != '') {
- miceOrdered += '<div class="treasureMapPopup-mice-group-header" style="margin-top:10px">Uncaught Mice</div>'+remainingMice;
- }
- var firstMiceGroup = document.getElementsByClassName('uncaughtmice')[0];
- firstMiceGroup.innerHTML = miceOrdered;
- }
- function arrayContains(a, obj) {
- var i = a.length;
- while(i--) {
- if(a[i] === obj) {
- return true;
- }
- }
- return false;
- }