#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
Copyright (c) 2014 trgk

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
"""

DefLocationDict = {"Location %u" % i: i for i in range(1, 256) if i != 64}
DefLocationDict["Anywhere"] = 64

DefSwitchDict = {"Switch %d" % (i + 1): i for i in range(256)}

# ======================================

DefUnitDict = {
    "Terran Marine": 0,
    "Terran Ghost": 1,
    "Terran Vulture": 2,
    "Terran Goliath": 3,
    "Goliath Turret": 4,
    "Terran Siege Tank (Tank Mode)": 5,
    "Siege Tank Turret (Tank Mode)": 6,
    "Tank Turret type   1": 6,
    "Terran SCV": 7,
    "Terran Wraith": 8,
    "Terran Science Vessel": 9,
    "Gui Montag": 10,
    "Gui Montag (Firebat)": 10,
    "Terran Dropship": 11,
    "Terran Battlecruiser": 12,
    "Spider Mine": 13,
    "Vulture Spider Mine": 13,
    "Nuclear Missile": 14,
    "Terran Civilian": 15,
    "Sarah Kerrigan": 16,
    "Sarah Kerrigan (Ghost)": 16,
    "Alan Schezar": 17,
    "Alan Schezar (Goliath)": 17,
    "Alan Schezar Turret": 18,
    "Alan Turret": 18,
    "Jim Raynor (Vulture)": 19,
    "Jim Raynor (Marine)": 20,
    "Tom Kazansky": 21,
    "Tom Kazansky (Wraith)": 21,
    "Magellan": 22,
    "Magellan (Science Vessel)": 22,
    "Edmund Duke (Tank Mode)": 23,
    "Edmund Duke (Siege Tank)": 23,
    "Edmund Duke Turret (Tank Mode)": 24,
    "Duke Turret type   1": 24,
    "Edmund Duke (Siege Mode)": 25,
    "Edmund Duke Turret (Siege Mode)": 26,
    "Duke Turret type   2": 26,
    "Arcturus Mengsk": 27,
    "Arcturus Mengsk (Battlecruiser)": 27,
    "Hyperion": 28,
    "Hyperion (Battlecruiser)": 28,
    "Norad II (Battlecruiser)": 29,
    "Terran Siege Tank (Siege Mode)": 30,
    "Siege Tank Turret (Siege Mode)": 31,
    "Tank Turret type   2": 31,
    "Terran Firebat": 32,
    "Scanner Sweep": 33,
    "Terran Medic": 34,
    "Zerg Larva": 35,
    "Zerg Egg": 36,
    "Zerg Zergling": 37,
    "Zerg Hydralisk": 38,
    "Zerg Ultralisk": 39,
    "Zerg Broodling": 40,
    "Zerg Drone": 41,
    "Zerg Overlord": 42,
    "Zerg Mutalisk": 43,
    "Zerg Guardian": 44,
    "Zerg Queen": 45,
    "Zerg Defiler": 46,
    "Zerg Scourge": 47,
    "Torrasque": 48,
    "Torrasque (Ultralisk)": 48,
    "Matriarch": 49,
    "Matriarch (Queen)": 49,
    "Infested Terran": 50,
    "Infested Kerrigan": 51,
    "Infested Kerrigan (Infested Terran)": 51,
    "Unclean One": 52,
    "Unclean One (Defiler)": 52,
    "Hunter Killer": 53,
    "Hunter Killer (Hydralisk)": 53,
    "Devouring One": 54,
    "Devouring One (Zergling)": 54,
    "Kukulza (Mutalisk)": 55,
    "Kukulza (Guardian)": 56,
    "Yggdrasill": 57,
    "Yggdrasill (Overlord)": 57,
    "Terran Valkyrie": 58,
    "Mutalisk Cocoon": 59,
    "Cocoon": 59,
    "Protoss Corsair": 60,
    "Protoss Dark Templar": 61,
    "Protoss Dark Templar (Unit)": 61,
    "Zerg Devourer": 62,
    "Protoss Dark Archon": 63,
    "Protoss Probe": 64,
    "Protoss Zealot": 65,
    "Protoss Dragoon": 66,
    "Protoss High Templar": 67,
    "Protoss Archon": 68,
    "Protoss Shuttle": 69,
    "Protoss Scout": 70,
    "Protoss Arbiter": 71,
    "Protoss Carrier": 72,
    "Protoss Interceptor": 73,
    "Dark Templar": 74,
    "Dark Templar (Hero)": 74,
    "Protoss Dark Templar (Hero)": 74,
    "Zeratul": 75,
    "Zeratul (Dark Templar)": 75,
    "Tassadar/Zeratul": 76,
    "Tassadar/Zeratul (Archon)": 76,
    "Fenix (Zealot)": 77,
    "Fenix (Dragoon)": 78,
    "Tassadar": 79,
    "Tassadar (Templar)": 79,
    "Mojo": 80,
    "Mojo (Scout)": 80,
    "Warbringer": 81,
    "Warbringer (Reaver)": 81,
    "Gantrithor": 82,
    "Gantrithor (Carrier)": 82,
    "Protoss Reaver": 83,
    "Protoss Observer": 84,
    "Protoss Scarab": 85,
    "Danimoth": 86,
    "Danimoth (Arbiter)": 86,
    "Aldaris": 87,
    "Aldaris (Templar)": 87,
    "Artanis": 88,
    "Artanis (Scout)": 88,
    "Rhynadon": 89,
    "Rhynadon (Badlands)": 89,
    "Rhynadon (Badlands Critter)": 89,
    "Bengalaas": 90,
    "Bengalaas (Jungle)": 90,
    "Bengalaas (Jungle Critter)": 90,
    "Cargo Ship": 91,
    "Cargo Ship (Unused)": 91,
    "Unused type   1": 91,
    "Unused type   2": 92,
    "Mercenary Gunship": 92,
    "Mercenary Gunship (Unused)": 92,
    "Scantid": 93,
    "Scantid (Desert)": 93,
    "Scantid (Desert Critter)": 93,
    "Kakaru": 94,
    "Kakaru (Twilight)": 94,
    "Kakaru (Twilight Critter)": 94,
    "Ragnasaur": 95,
    "Ragnasaur (Ashworld)": 95,
    "Ragnasaur (Ashworld Critter)": 95,
    "Ursadon": 96,
    "Ursadon (Ice World)": 96,
    "Ursadon (Ice World Critter)": 96,
    "Lurker Egg": 97,
    "Zerg Lurker Egg": 97,
    "Raszagal": 98,
    "Raszagal (Corsair)": 98,
    "Samir Duran": 99,
    "Samir Duran (Ghost)": 99,
    "Alexei Stukov": 100,
    "Alexei Stukov (Ghost)": 100,
    "Map Revealer": 101,
    "Gerard DuGalle": 102,
    "Gerard DuGalle (Ghost)": 102,
    "Gerard DuGalle (BattleCruiser)": 102,
    "Zerg Lurker": 103,
    "Infested Duran": 104,
    "Infested Duran (Infested Terran)": 104,
    "Disruption Web": 105,
    "Disruption Field": 105,
    "Terran Command Center": 106,
    "Terran Comsat Station": 107,
    "Terran Nuclear Silo": 108,
    "Terran Supply Depot": 109,
    "Terran Refinery": 110,
    "Terran Barracks": 111,
    "Terran Academy": 112,
    "Terran Factory": 113,
    "Terran Starport": 114,
    "Terran Control Tower": 115,
    "Terran Science Facility": 116,
    "Terran Covert Ops": 117,
    "Terran Physics Lab": 118,
    "Starbase": 119,
    "Starbase (Unused)": 119,
    "Unused Terran Bldg type   1": 119,
    "Terran Machine Shop": 120,
    "Repair Bay": 121,
    "Repair Bay (Unused)": 121,
    "Unused Terran Bldg type   2": 121,
    "Terran Engineering Bay": 122,
    "Terran Armory": 123,
    "Terran Missile Turret": 124,
    "Terran Bunker": 125,
    "Norad II (Crashed)": 126,
    "Norad II (Crashed Battlecruiser)": 126,
    "Ion Cannon": 127,
    "Uraj Crystal": 128,
    "Khalis Crystal": 129,
    "Infested Command Center": 130,
    "Zerg Hatchery": 131,
    "Zerg Lair": 132,
    "Zerg Hive": 133,
    "Zerg Nydus Canal": 134,
    "Zerg Hydralisk Den": 135,
    "Zerg Defiler Mound": 136,
    "Zerg Greater Spire": 137,
    "Zerg Queen's Nest": 138,
    "Zerg Evolution Chamber": 139,
    "Zerg Ultralisk Cavern": 140,
    "Zerg Spire": 141,
    "Zerg Spawning Pool": 142,
    "Zerg Creep Colony": 143,
    "Zerg Spore Colony": 144,
    "Unused Zerg Bldg": 145,
    "Unused Zerg Building1": 145,
    "Zerg Sunken Colony": 146,
    "Zerg Overmind (With Shell)": 147,
    "Zerg Overmind": 148,
    "Zerg Extractor": 149,
    "Mature Chrysalis": 150,
    "Mature Crysalis": 150,
    "Zerg Cerebrate": 151,
    "Zerg Cerebrate Daggoth": 152,
    "Unused Zerg Building2": 153,
    "Protoss Nexus": 154,
    "Protoss Robotics Facility": 155,
    "Protoss Pylon": 156,
    "Protoss Assimilator": 157,
    "Protoss Unused type   1": 158,
    "Unused Protoss Building1": 158,
    "Protoss Observatory": 159,
    "Protoss Gateway": 160,
    "Protoss Unused type   2": 161,
    "Unused Protoss Building2": 161,
    "Protoss Photon Cannon": 162,
    "Protoss Citadel of Adun": 163,
    "Protoss Cybernetics Core": 164,
    "Protoss Templar Archives": 165,
    "Protoss Forge": 166,
    "Protoss Stargate": 167,
    "Stasis Cell/Prison": 168,
    "Protoss Fleet Beacon": 169,
    "Protoss Arbiter Tribunal": 170,
    "Protoss Robotics Support Bay": 171,
    "Protoss Shield Battery": 172,
    "Khaydarin Crystal Formation": 173,
    "Protoss Temple": 174,
    "Xel'Naga Temple": 175,
    "Mineral Field (Type 1)": 176,
    "Mineral Field (Type 2)": 177,
    "Mineral Field (Type 3)": 178,
    "Cave": 179,
    "Cave (Unused)": 179,
    "Cave-in": 180,
    "Cave-in (Unused)": 180,
    "Cantina": 181,
    "Cantina (Unused)": 181,
    "Mining Platform": 182,
    "Mining Platform (Unused)": 182,
    "Independent Command Center": 183,
    "Independent Command Center (Unused)": 183,
    "Independent Starport": 184,
    "Independent Starport (Unused)": 184,
    "Jump Gate": 185,
    "Independent Jump Gate (Unused)": 185,
    "Ruins": 186,
    "Ruins (Unused)": 186,
    "Kyadarin Crystal Formation": 187,
    "Khaydarin Crystal Formation (Unused)": 187,
    "Vespene Geyser": 188,
    "Warp Gate": 189,
    "Psi Disrupter": 190,
    "Zerg Marker": 191,
    "Terran Marker": 192,
    "Protoss Marker": 193,
    "Zerg Beacon": 194,
    "Terran Beacon": 195,
    "Protoss Beacon": 196,
    "Zerg Flag Beacon": 197,
    "Terran Flag Beacon": 198,
    "Protoss Flag Beacon": 199,
    "Power Generator": 200,
    "Overmind Cocoon": 201,
    "Dark Swarm": 202,
    "Floor Missile Trap": 203,
    "Floor Hatch (Unused)": 204,
    "Floor Hatch (UNUSED)": 204,
    "Left Upper Level Door": 205,
    "Right Upper Level Door": 206,
    "Left Pit Door": 207,
    "Right Pit Door": 208,
    "Floor Gun Trap": 209,
    "Left Wall Missile Trap": 210,
    "Left Wall Flame Trap": 211,
    "Right Wall Missile Trap": 212,
    "Right Wall Flame Trap": 213,
    "Start Location": 214,
    "Flag": 215,
    "Young Chrysalis": 216,
    "Psi Emitter": 217,
    "Data Disc": 218,
    "Khaydarin Crystal": 219,
    "Mineral Chunk (Type 1)": 220,
    "Mineral Chunk (Type 2)": 221,
    "Mineral Cluster Type 1": 220,
    "Mineral Cluster Type 2": 221,
    "Vespene Orb (Protoss Type 1)": 222,
    "Vespene Orb (Protoss Type 2)": 223,
    "Protoss Vespene Gas Orb Type 1": 222,
    "Protoss Vespene Gas Orb Type 2": 223,
    "Vespene Sac (Zerg Type 1)": 224,
    "Vespene Sac (Zerg Type 2)": 225,
    "Zerg Vespene Gas Sac Type 1": 224,
    "Zerg Vespene Gas Sac Type 2": 225,
    "Vespene Tank (Terran Type 1)": 226,
    "Vespene Tank (Terran Type 2)": 227,
    "Terran Vespene Gas Tank Type 1": 226,
    "Terran Vespene Gas Tank Type 2": 227,
    "Unused unit 228": 228,
    "Any unit": 229,
    "(any unit)": 229,
    "Men": 230,
    "(men)": 230,
    "Buildings": 231,
    "(buildings)": 231,
    "Factories": 232,
    "(factories)": 232,
}

# ======================================

# Data from http://cafe.daum.net/rpgguild/6cWR/158
# Original data from ScAIEdit
DefAIScriptDict = {
    # Custom AI Scripts
    b"Terran Custom Level": b"TMCu",
    b"Zerg Custom Level": b"ZMCu",
    b"Protoss Custom Level": b"PMCu",
    b"Terran Expansion Custom Level": b"TMCx",
    b"Zerg Expansion Custom Level": b"ZMCx",
    b"Protoss Expansion Custom Level": b"PMCx",
    b"Terran Campaign Easy": b"TLOf",
    b"Terran Campaign Medium": b"TMED",
    b"Terran Campaign Difficult": b"THIf",
    b"Terran Campaign Insane": b"TSUP",
    b"Terran Campaign Area Town": b"TARE",
    b"Zerg Campaign Easy": b"ZLOf",
    b"Zerg Campaign Medium": b"ZMED",
    b"Zerg Campaign Difficult": b"ZHIf",
    b"Zerg Campaign Insane": b"ZSUP",
    b"Zerg Campaign Area Town": b"ZARE",
    b"Protoss Campaign Easy": b"PLOf",
    b"Protoss Campaign Medium": b"PMED",
    b"Protoss Campaign Difficult": b"PHIf",
    b"Protoss Campaign Insane": b"PSUP",
    b"Protoss Campaign Area Town": b"PARE",
    b"Expansion Terran Campaign Easy": b"TLOx",
    b"Expansion Terran Campaign Medium": b"TMEx",
    b"Expansion Terran Campaign Difficult": b"THIx",
    b"Expansion Terran Campaign Insane": b"TSUx",
    b"Expansion Terran Campaign Area Town": b"TARx",
    b"Expansion Zerg Campaign Easy": b"ZLOx",
    b"Expansion Zerg Campaign Medium": b"ZMEx",
    b"Expansion Zerg Campaign Difficult": b"ZHIx",
    b"Expansion Zerg Campaign Insane": b"ZSUx",
    b"Expansion Zerg Campaign Area Town": b"ZARx",
    b"Expansion Protoss Campaign Easy": b"PLOx",
    b"Expansion Protoss Campaign Medium": b"PMEx",
    b"Expansion Protoss Campaign Difficult": b"PHIx",
    b"Expansion Protoss Campaign Insane": b"PSUx",
    b"Expansion Protoss Campaign Area Town": b"PARx",
    b"Send All Units on Strategic Suicide Missions": b"Suic",
    b"Send All Units on Random Suicide Missions": b"SuiR",
    b"Switch Computer Player to Rescue Passive": b"Rscu",
    b"Turn ON Shared Vision for Player 1": b"+Vi0",
    b"Turn ON Shared Vision for Player 2": b"+Vi1",
    b"Turn ON Shared Vision for Player 3": b"+Vi2",
    b"Turn ON Shared Vision for Player 4": b"+Vi3",
    b"Turn ON Shared Vision for Player 5": b"+Vi4",
    b"Turn ON Shared Vision for Player 6": b"+Vi5",
    b"Turn ON Shared Vision for Player 7": b"+Vi6",
    b"Turn ON Shared Vision for Player 8": b"+Vi7",
    b"Turn OFF Shared Vision for Player 1": b"-Vi0",
    b"Turn OFF Shared Vision for Player 2": b"-Vi1",
    b"Turn OFF Shared Vision for Player 3": b"-Vi2",
    b"Turn OFF Shared Vision for Player 4": b"-Vi3",
    b"Turn OFF Shared Vision for Player 5": b"-Vi4",
    b"Turn OFF Shared Vision for Player 6": b"-Vi5",
    b"Turn OFF Shared Vision for Player 7": b"-Vi6",
    b"Turn OFF Shared Vision for Player 8": b"-Vi7",
    b"Move Dark Templars to Region": b"MvTe",
    b"Clear Previous Combat Data": b"ClrC",
    b"Set Player to Enemy": b"Enmy",
    b"Set Player to Ally  ": b"y   ",
    b"Value This Area Higher": b"VluA",
    b"Enter Closest Bunker": b"EnBk",
    b"Set Generic Command Target": b"StTg",
    b"Make These Units Patrol": b"StPt",
    b"Enter Transport": b"EnTr",
    b"Exit Transport": b"ExTr",
    b"AI Nuke Here": b"NuHe",
    b"AI Harass Here": b"HaHe",
    b"Set Unit Order To: Junk Yard Dog": b"JYDg",
    b"Disruption Web Here": b"DWHe",
    b"Recall Here": b"ReHe",
    # StarCraft AI Scripts
    b"Terran 3 - Zerg Town": b"Ter3",
    b"Terran 5 - Terran Main Town": b"Ter5",
    b"Terran 5 - Terran Harvest Town": b"Te5H",
    b"Terran 6 - Air Attack Zerg": b"Ter6",
    b"Terran 6 - Ground Attack Zerg": b"Te6b",
    b"Terran 6 - Zerg Support Town": b"Te6c",
    b"Terran 7 - Bottom Zerg Town": b"Ter7",
    b"Terran 7 - Right Zerg Town": b"Te7s",
    b"Terran 7 - Middle Zerg Town": b"Te7m",
    b"Terran 8 - Confederate Town": b"Ter8",
    b"Terran 9 - Light Attack": b"Tr9L",
    b"Terran 9 - Heavy Attack": b"Tr9H",
    b"Terran 10 - Confederate Towns": b"Te10",
    b"Terran 11 - Zerg Town": b"T11z",
    b"Terran 11 - Lower Protoss Town": b"T11a",
    b"Terran 11 - Upper Protoss Town": b"T11b",
    b"Terran 12 - Nuke Town": b"T12N",
    b"Terran 12 - Phoenix Town": b"T12P",
    b"Terran 12 - Tank Town": b"T12T",
    b"Terran 1 - Electronic Distribution": b"TED1",
    b"Terran 2 - Electronic Distribution": b"TED2",
    b"Terran 3 - Electronic Distribution": b"TED3",
    b"Terran 1 - Shareware": b"TSW1",
    b"Terran 2 - Shareware": b"TSW2",
    b"Terran 3 - Shareware": b"TSW3",
    b"Terran 4 - Shareware": b"TSW4",
    b"Terran 5 - Shareware": b"TSW5",
    b"Zerg 1 - Terran Town": b"Zer1",
    b"Zerg 2 - Protoss Town": b"Zer2",
    b"Zerg 3 - Terran Town": b"Zer3",
    b"Zerg 4 - Right Terran Town": b"Zer4",
    b"Zerg 4 - Lower Terran Town": b"Ze4S",
    b"Zerg 6 - Protoss Town": b"Zer6",
    b"Zerg 7 - Air Town": b"Zr7a",
    b"Zerg 7 - Ground Town": b"Zr7g",
    b"Zerg 7 - Support Town": b"Zr7s",
    b"Zerg 8 - Scout Town": b"Zer8",
    b"Zerg 8 - Templar Town": b"Ze8T",
    b"Zerg 9 - Teal Protoss": b"Zer9",
    b"Zerg 9 - Left Yellow Protoss": b"Z9ly",
    b"Zerg 9 - Right Yellow Protoss": b"Z9ry",
    b"Zerg 9 - Left Orange Protoss": b"Z9lo",
    b"Zerg 9 - Right Orange Protoss": b"Z9ro",
    b"Zerg 10 - Left Teal (Attack": b"Z10a",
    b"Zerg 10 - Right Teal (Support": b"Z10b",
    b"Zerg 10 - Left Yellow (Support": b"Z10c",
    b"Zerg 10 - Right Yellow (Attack": b"Z10d",
    b"Zerg 10 - Red Protoss": b"Z10e",
    b"Protoss 1 - Zerg Town": b"Pro1",
    b"Protoss 2 - Zerg Town": b"Pro2",
    b"Protoss 3 - Air Zerg Town": b"Pr3R",
    b"Protoss 3 - Ground Zerg Town": b"Pr3G",
    b"Protoss 4 - Zerg Town": b"Pro4",
    b"Protoss 5 - Zerg Town Island": b"Pr5I",
    b"Protoss 5 - Zerg Town Base": b"Pr5B",
    b"Protoss 7 - Left Protoss Town": b"Pro7",
    b"Protoss 7 - Right Protoss Town": b"Pr7B",
    b"Protoss 7 - Shrine Protoss": b"Pr7S",
    b"Protoss 8 - Left Protoss Town": b"Pro8",
    b"Protoss 8 - Right Protoss Town": b"Pr8B",
    b"Protoss 8 - Protoss Defenders": b"Pr8D",
    b"Protoss 9 - Ground Zerg": b"Pro9",
    b"Protoss 9 - Air Zerg": b"Pr9W",
    b"Protoss 9 - Spell Zerg": b"Pr9Y",
    b"Protoss 10 - Mini-Towns": b"Pr10",
    b"Protoss 10 - Mini-Town Master": b"P10C",
    b"Protoss 10 - Overmind Defenders": b"P10o",
    # Brood Wars AI Scripts
    b"Brood Wars Protoss 1 - Town A": b"PB1A",
    b"Brood Wars Protoss 1 - Town B": b"PB1B",
    b"Brood Wars Protoss 1 - Town C": b"PB1C",
    b"Brood Wars Protoss 1 - Town D": b"PB1D",
    b"Brood Wars Protoss 1 - Town E": b"PB1E",
    b"Brood Wars Protoss 1 - Town F": b"PB1F",
    b"Brood Wars Protoss 2 - Town A": b"PB2A",
    b"Brood Wars Protoss 2 - Town B": b"PB2B",
    b"Brood Wars Protoss 2 - Town C": b"PB2C",
    b"Brood Wars Protoss 2 - Town D": b"PB2D",
    b"Brood Wars Protoss 2 - Town E": b"PB2E",
    b"Brood Wars Protoss 2 - Town F": b"PB2F",
    b"Brood Wars Protoss 3 - Town A": b"PB3A",
    b"Brood Wars Protoss 3 - Town B": b"PB3B",
    b"Brood Wars Protoss 3 - Town C": b"PB3C",
    b"Brood Wars Protoss 3 - Town D": b"PB3D",
    b"Brood Wars Protoss 3 - Town E": b"PB3E",
    b"Brood Wars Protoss 3 - Town F": b"PB3F",
    b"Brood Wars Protoss 4 - Town A": b"PB4A",
    b"Brood Wars Protoss 4 - Town B": b"PB4B",
    b"Brood Wars Protoss 4 - Town C": b"PB4C",
    b"Brood Wars Protoss 4 - Town D": b"PB4D",
    b"Brood Wars Protoss 4 - Town E": b"PB4E",
    b"Brood Wars Protoss 4 - Town F": b"PB4F",
    b"Brood Wars Protoss 5 - Town A": b"PB5A",
    b"Brood Wars Protoss 5 - Town B": b"PB5B",
    b"Brood Wars Protoss 5 - Town C": b"PB5C",
    b"Brood Wars Protoss 5 - Town D": b"PB5D",
    b"Brood Wars Protoss 5 - Town E": b"PB5E",
    b"Brood Wars Protoss 5 - Town F": b"PB5F",
    b"Brood Wars Protoss 6 - Town A": b"PB6A",
    b"Brood Wars Protoss 6 - Town B": b"PB6B",
    b"Brood Wars Protoss 6 - Town C": b"PB6C",
    b"Brood Wars Protoss 6 - Town D": b"PB6D",
    b"Brood Wars Protoss 6 - Town E": b"PB6E",
    b"Brood Wars Protoss 6 - Town F": b"PB6F",
    b"Brood Wars Protoss 7 - Town A": b"PB7A",
    b"Brood Wars Protoss 7 - Town B": b"PB7B",
    b"Brood Wars Protoss 7 - Town C": b"PB7C",
    b"Brood Wars Protoss 7 - Town D": b"PB7D",
    b"Brood Wars Protoss 7 - Town E": b"PB7E",
    b"Brood Wars Protoss 7 - Town F": b"PB7F",
    b"Brood Wars Protoss 8 - Town A": b"PB8A",
    b"Brood Wars Protoss 8 - Town B": b"PB8B",
    b"Brood Wars Protoss 8 - Town C": b"PB8C",
    b"Brood Wars Protoss 8 - Town D": b"PB8D",
    b"Brood Wars Protoss 8 - Town E": b"PB8E",
    b"Brood Wars Protoss 8 - Town F": b"PB8F",
    b"Brood Wars Terran 1 - Town A": b"TB1A",
    b"Brood Wars Terran 1 - Town B": b"TB1B",
    b"Brood Wars Terran 1 - Town C": b"TB1C",
    b"Brood Wars Terran 1 - Town D": b"TB1D",
    b"Brood Wars Terran 1 - Town E": b"TB1E",
    b"Brood Wars Terran 1 - Town F": b"TB1F",
    b"Brood Wars Terran 2 - Town A": b"TB2A",
    b"Brood Wars Terran 2 - Town B": b"TB2B",
    b"Brood Wars Terran 2 - Town C": b"TB2C",
    b"Brood Wars Terran 2 - Town D": b"TB2D",
    b"Brood Wars Terran 2 - Town E": b"TB2E",
    b"Brood Wars Terran 2 - Town F": b"TB2F",
    b"Brood Wars Terran 3 - Town A": b"TB3A",
    b"Brood Wars Terran 3 - Town B": b"TB3B",
    b"Brood Wars Terran 3 - Town C": b"TB3C",
    b"Brood Wars Terran 3 - Town D": b"TB3D",
    b"Brood Wars Terran 3 - Town E": b"TB3E",
    b"Brood Wars Terran 3 - Town F": b"TB3F",
    b"Brood Wars Terran 4 - Town A": b"TB4A",
    b"Brood Wars Terran 4 - Town B": b"TB4B",
    b"Brood Wars Terran 4 - Town C": b"TB4C",
    b"Brood Wars Terran 4 - Town D": b"TB4D",
    b"Brood Wars Terran 4 - Town E": b"TB4E",
    b"Brood Wars Terran 4 - Town F": b"TB4F",
    b"Brood Wars Terran 5 - Town A": b"TB5A",
    b"Brood Wars Terran 5 - Town B": b"TB5B",
    b"Brood Wars Terran 5 - Town C": b"TB5C",
    b"Brood Wars Terran 5 - Town D": b"TB5D",
    b"Brood Wars Terran 5 - Town E": b"TB5E",
    b"Brood Wars Terran 5 - Town F": b"TB5F",
    b"Brood Wars Terran 6 - Town A": b"TB6A",
    b"Brood Wars Terran 6 - Town B": b"TB6B",
    b"Brood Wars Terran 6 - Town C": b"TB6C",
    b"Brood Wars Terran 6 - Town D": b"TB6D",
    b"Brood Wars Terran 6 - Town E": b"TB6E",
    b"Brood Wars Terran 6 - Town F": b"TB6F",
    b"Brood Wars Terran 7 - Town A": b"TB7A",
    b"Brood Wars Terran 7 - Town B": b"TB7B",
    b"Brood Wars Terran 7 - Town C": b"TB7C",
    b"Brood Wars Terran 7 - Town D": b"TB7D",
    b"Brood Wars Terran 7 - Town E": b"TB7E",
    b"Brood Wars Terran 7 - Town F": b"TB7F",
    b"Brood Wars Terran 8 - Town A": b"TB8A",
    b"Brood Wars Terran 8 - Town B": b"TB8B",
    b"Brood Wars Terran 8 - Town C": b"TB8C",
    b"Brood Wars Terran 8 - Town D": b"TB8D",
    b"Brood Wars Terran 8 - Town E": b"TB8E",
    b"Brood Wars Terran 8 - Town F": b"TB8F",
    b"Brood Wars Zerg 1 - Town A": b"ZB1A",
    b"Brood Wars Zerg 1 - Town B": b"ZB1B",
    b"Brood Wars Zerg 1 - Town C": b"ZB1C",
    b"Brood Wars Zerg 1 - Town D": b"ZB1D",
    b"Brood Wars Zerg 1 - Town E": b"ZB1E",
    b"Brood Wars Zerg 1 - Town F": b"ZB1F",
    b"Brood Wars Zerg 2 - Town A": b"ZB2A",
    b"Brood Wars Zerg 2 - Town B": b"ZB2B",
    b"Brood Wars Zerg 2 - Town C": b"ZB2C",
    b"Brood Wars Zerg 2 - Town D": b"ZB2D",
    b"Brood Wars Zerg 2 - Town E": b"ZB2E",
    b"Brood Wars Zerg 2 - Town F": b"ZB2F",
    b"Brood Wars Zerg 3 - Town A": b"ZB3A",
    b"Brood Wars Zerg 3 - Town B": b"ZB3B",
    b"Brood Wars Zerg 3 - Town C": b"ZB3C",
    b"Brood Wars Zerg 3 - Town D": b"ZB3D",
    b"Brood Wars Zerg 3 - Town E": b"ZB3E",
    b"Brood Wars Zerg 3 - Town F": b"ZB3F",
    b"Brood Wars Zerg 4 - Town A": b"ZB4A",
    b"Brood Wars Zerg 4 - Town B": b"ZB4B",
    b"Brood Wars Zerg 4 - Town C": b"ZB4C",
    b"Brood Wars Zerg 4 - Town D": b"ZB4D",
    b"Brood Wars Zerg 4 - Town E": b"ZB4E",
    b"Brood Wars Zerg 4 - Town F": b"ZB4F",
    b"Brood Wars Zerg 5 - Town A": b"ZB5A",
    b"Brood Wars Zerg 5 - Town B": b"ZB5B",
    b"Brood Wars Zerg 5 - Town C": b"ZB5C",
    b"Brood Wars Zerg 5 - Town D": b"ZB5D",
    b"Brood Wars Zerg 5 - Town E": b"ZB5E",
    b"Brood Wars Zerg 5 - Town F": b"ZB5F",
    b"Brood Wars Zerg 6 - Town A": b"ZB6A",
    b"Brood Wars Zerg 6 - Town B": b"ZB6B",
    b"Brood Wars Zerg 6 - Town C": b"ZB6C",
    b"Brood Wars Zerg 6 - Town D": b"ZB6D",
    b"Brood Wars Zerg 6 - Town E": b"ZB6E",
    b"Brood Wars Zerg 6 - Town F": b"ZB6F",
    b"Brood Wars Zerg 7 - Town A": b"ZB7A",
    b"Brood Wars Zerg 7 - Town B": b"ZB7B",
    b"Brood Wars Zerg 7 - Town C": b"ZB7C",
    b"Brood Wars Zerg 7 - Town D": b"ZB7D",
    b"Brood Wars Zerg 7 - Town E": b"ZB7E",
    b"Brood Wars Zerg 7 - Town F": b"ZB7F",
    b"Brood Wars Zerg 8 - Town A": b"ZB8A",
    b"Brood Wars Zerg 8 - Town B": b"ZB8B",
    b"Brood Wars Zerg 8 - Town C": b"ZB8C",
    b"Brood Wars Zerg 8 - Town D": b"ZB8D",
    b"Brood Wars Zerg 8 - Town E": b"ZB8E",
    b"Brood Wars Zerg 8 - Town F": b"ZB8F",
    b"Brood Wars Zerg 9 - Town A": b"ZB9A",
    b"Brood Wars Zerg 9 - Town B": b"ZB9B",
    b"Brood Wars Zerg 9 - Town C": b"ZB9C",
    b"Brood Wars Zerg 9 - Town D": b"ZB9D",
    b"Brood Wars Zerg 9 - Town E": b"ZB9E",
    b"Brood Wars Zerg 9 - Town F": b"ZB9F",
    b"Brood Wars Zerg 10 - Town A": b"ZB0A",
    b"Brood Wars Zerg 10 - Town B": b"ZB0B",
    b"Brood Wars Zerg 10 - Town C": b"ZB0C",
    b"Brood Wars Zerg 10 - Town D": b"ZB0D",
    b"Brood Wars Zerg 10 - Town E": b"ZB0E",
    b"Brood Wars Zerg 10 - Town F": b"ZB0F",
}

DefTBLDict = {
    # unit names
    "Terran Marine": 1,
    "Terran Ghost": 2,
    "Terran Vulture": 3,
    "Terran Goliath": 4,
    "Goliath Turret": 5,
    "Terran Siege Tank (Tank Mode)": 6,
    "Siege Tank Turret (Tank Mode)": 7,
    "Tank Turret type   1": 7,
    "Terran SCV": 8,
    "Terran Wraith": 9,
    "Terran Science Vessel": 10,
    "Gui Montag": 11,
    "Gui Montag (Firebat)": 11,
    "Terran Dropship": 12,
    "Terran Battlecruiser": 13,
    "Spider Mine": 14,
    "Vulture Spider Mine": 14,
    "Nuclear Missile": 15,
    "Terran Civilian": 16,
    "Sarah Kerrigan": 17,
    "Sarah Kerrigan (Ghost)": 17,
    "Alan Schezar": 18,
    "Alan Schezar (Goliath)": 18,
    "Alan Schezar Turret": 19,
    "Alan Turret": 19,
    "Jim Raynor (Vulture)": 20,
    "Jim Raynor (Marine)": 21,
    "Tom Kazansky": 22,
    "Tom Kazansky (Wraith)": 22,
    "Magellan": 23,
    "Magellan (Science Vessel)": 23,
    "Edmund Duke (Tank Mode)": 24,
    "Edmund Duke (Siege Tank)": 24,
    "Edmund Duke Turret (Tank Mode)": 25,
    "Duke Turret type   1": 25,
    "Edmund Duke (Siege Mode)": 26,
    "Edmund Duke Turret (Siege Mode)": 27,
    "Duke Turret type   2": 27,
    "Arcturus Mengsk": 28,
    "Arcturus Mengsk (Battlecruiser)": 28,
    "Hyperion": 29,
    "Hyperion (Battlecruiser)": 29,
    "Norad II (Battlecruiser)": 30,
    "Terran Siege Tank (Siege Mode)": 31,
    "Siege Tank Turret (Siege Mode)": 32,
    "Tank Turret type   2": 32,
    "Terran Firebat": 33,
    "Scanner Sweep (Unit)": 34,
    "Terran Medic": 35,
    "Zerg Larva": 36,
    "Zerg Egg": 37,
    "Zerg Zergling": 38,
    "Zerg Hydralisk": 39,
    "Zerg Ultralisk": 40,
    "Zerg Broodling": 41,
    "Zerg Drone": 42,
    "Zerg Overlord": 43,
    "Zerg Mutalisk": 44,
    "Zerg Guardian": 45,
    "Zerg Queen": 46,
    "Zerg Defiler": 47,
    "Zerg Scourge": 48,
    "Torrasque": 49,
    "Torrasque (Ultralisk)": 49,
    "Matriarch": 50,
    "Matriarch (Queen)": 50,
    "Infested Terran": 51,
    "Infested Kerrigan": 52,
    "Infested Kerrigan (Infested Terran)": 52,
    "Unclean One": 53,
    "Unclean One (Defiler)": 53,
    "Hunter Killer": 54,
    "Hunter Killer (Hydralisk)": 54,
    "Devouring One": 55,
    "Devouring One (Zergling)": 55,
    "Kukulza (Mutalisk)": 56,
    "Kukulza (Guardian)": 57,
    "Yggdrasill": 58,
    "Yggdrasill (Overlord)": 58,
    "Terran Valkyrie": 59,
    "Mutalisk Cocoon": 60,
    "Cocoon": 60,
    "Protoss Corsair": 61,
    "Protoss Dark Templar": 62,
    "Protoss Dark Templar (Unit)": 62,
    "Zerg Devourer": 63,
    "Protoss Dark Archon": 64,
    "Protoss Probe": 65,
    "Protoss Zealot": 66,
    "Protoss Dragoon": 67,
    "Protoss High Templar": 68,
    "Protoss Archon": 69,
    "Protoss Shuttle": 70,
    "Protoss Scout": 71,
    "Protoss Arbiter": 72,
    "Protoss Carrier": 73,
    "Protoss Interceptor": 74,
    "Dark Templar": 75,
    "Dark Templar (Hero)": 75,
    "Protoss Dark Templar (Hero)": 75,
    "Zeratul": 76,
    "Zeratul (Dark Templar)": 76,
    "Tassadar/Zeratul": 77,
    "Tassadar/Zeratul (Archon)": 77,
    "Fenix (Zealot)": 78,
    "Fenix (Dragoon)": 79,
    "Tassadar (Unit)": 80,
    "Tassadar (Templar)": 80,
    "Mojo": 81,
    "Mojo (Scout)": 81,
    "Warbringer": 82,
    "Warbringer (Reaver)": 82,
    "Gantrithor": 83,
    "Gantrithor (Carrier)": 83,
    "Protoss Reaver": 84,
    "Protoss Observer": 85,
    "Protoss Scara": 86,
    "Danimoth": 87,
    "Danimoth (Arbiter)": 87,
    "Aldaris": 88,
    "Aldaris (Templar)": 88,
    "Artanis": 89,
    "Artanis (Scout)": 89,
    "Rhynadon": 90,
    "Rhynadon (Badlands)": 90,
    "Rhynadon (Badlands Critter)": 90,
    "Bengalaas": 91,
    "Bengalaas (Jungle)": 91,
    "Bengalaas (Jungle Critter)": 91,
    "Cargo Ship": 92,
    "Cargo Ship (Unused)": 92,
    "Unused type   1": 92,
    "Unused type   2": 93,
    "Mercenary Gunship": 93,
    "Mercenary Gunship (Unused)": 93,
    "Scantid": 94,
    "Scantid (Desert)": 94,
    "Scantid (Desert Critter)": 94,
    "Kakaru": 95,
    "Kakaru (Twilight)": 95,
    "Kakaru (Twilight Critter)": 95,
    "Ragnasaur": 96,
    "Ragnasaur (Ashworld)": 96,
    "Ragnasaur (Ashworld Critter)": 96,
    "Ursadon": 97,
    "Ursadon (Ice World)": 97,
    "Ursadon (Ice World Critter)": 97,
    "Lurker Egg": 98,
    "Zerg Lurker Egg": 98,
    "Raszagal": 99,
    "Raszagal (Corsair)": 99,
    "Samir Duran": 100,
    "Samir Duran (Ghost)": 100,
    "Alexei Stukov": 101,
    "Alexei Stukov (Ghost)": 101,
    "Map Revealer": 102,
    "Gerard DuGalle": 103,
    "Gerard DuGalle (Ghost)": 103,
    "Gerard DuGalle (BattleCruiser)": 103,
    "Zerg Lurker": 104,
    "Infested Duran": 105,
    "Infested Duran (Infested Terran)": 105,
    "Disruption Web (Unit)": 106,
    "Disruption Field": 106,
    "Terran Command Center": 107,
    "Terran Comsat Station": 108,
    "Terran Nuclear Silo": 109,
    "Terran Supply Depot": 110,
    "Terran Refinery": 111,
    "Terran Barracks": 112,
    "Terran Academy": 113,
    "Terran Factory": 114,
    "Terran Starport": 115,
    "Terran Control Tower": 116,
    "Terran Science Facility": 117,
    "Terran Covert Ops": 118,
    "Terran Physics La": 119,
    "Starbase": 120,
    "Starbase (Unused)": 120,
    "Unused Terran Bldg type   1": 120,
    "Terran Machine Shop": 121,
    "Repair Bay": 122,
    "Repair Bay (Unused)": 122,
    "Unused Terran Bldg type   2": 122,
    "Terran Engineering Bay": 123,
    "Terran Armory": 124,
    "Terran Missile Turret": 125,
    "Terran Bunker": 126,
    "Norad II (Crashed)": 127,
    "Norad II (Crashed Battlecruiser)": 127,
    "Ion Cannon": 128,
    "Uraj Crystal": 129,
    "Khalis Crystal": 130,
    "Infested Command Center": 131,
    "Zerg Hatchery": 132,
    "Zerg Lair": 133,
    "Zerg Hive": 134,
    "Zerg Nydus Canal": 135,
    "Zerg Hydralisk Den": 136,
    "Zerg Defiler Mound": 137,
    "Zerg Greater Spire": 138,
    "Zerg Queen's Nest": 139,
    "Zerg Evolution Chamber": 140,
    "Zerg Ultralisk Cavern": 141,
    "Zerg Spire": 142,
    "Zerg Spawning Pool": 143,
    "Zerg Creep Colony": 144,
    "Zerg Spore Colony": 145,
    "Unused Zerg Bldg": 146,
    "Unused Zerg Building1": 146,
    "Zerg Sunken Colony": 147,
    "Zerg Overmind (With Shell)": 148,
    "Zerg Overmind": 149,
    "Zerg Extractor": 150,
    "Mature Chrysalis": 151,
    "Mature Crysalis": 151,
    "Zerg Cerebrate": 152,
    "Zerg Cerebrate Daggoth": 153,
    "Unused Zerg Building2": 154,
    "Protoss Nexus": 155,
    "Protoss Robotics Facility": 156,
    "Protoss Pylon": 157,
    "Protoss Assimilator": 158,
    "Protoss Unused type   1": 159,
    "Unused Protoss Building1": 159,
    "Protoss Observatory": 160,
    "Protoss Gateway": 161,
    "Protoss Unused type   2": 162,
    "Unused Protoss Building2": 162,
    "Protoss Photon Cannon": 163,
    "Protoss Citadel of Adun": 164,
    "Protoss Cybernetics Core": 165,
    "Protoss Templar Archives": 166,
    "Protoss Forge": 167,
    "Protoss Stargate": 168,
    "Stasis Cell/Prison": 169,
    "Protoss Fleet Beacon": 170,
    "Protoss Arbiter Tribunal": 171,
    "Protoss Robotics Support Bay": 172,
    "Protoss Shield Battery": 173,
    "Khaydarin Crystal Formation": 174,
    "Protoss Temple": 175,
    "Xel'Naga Temple": 176,
    "Mineral Field (Type 1)": 177,
    "Mineral Field (Type 2)": 178,
    "Mineral Field (Type 3)": 179,
    "Cave": 180,
    "Cave (Unused)": 180,
    "Cave-in": 181,
    "Cave-in (Unused)": 181,
    "Cantina": 182,
    "Cantina (Unused)": 182,
    "Mining Platform": 183,
    "Mining Platform (Unused)": 183,
    "Independent Command Center": 184,
    "Independent Command Center (Unused)": 184,
    "Independent Starport": 185,
    "Independent Starport (Unused)": 185,
    "Jump Gate": 186,
    "Independent Jump Gate (Unused)": 186,
    "Ruins (Unused)": 187,
    "Kyadarin Crystal Formation": 188,
    "Khaydarin Crystal Formation (Unused)": 188,
    "Vespene Geyser": 189,
    "Warp Gate": 190,
    "Psi Disrupter": 191,
    "Zerg Marker": 192,
    "Terran Marker": 193,
    "Protoss Marker": 194,
    "Zerg Beacon": 195,
    "Terran Beacon": 196,
    "Protoss Beacon": 197,
    "Zerg Flag Beacon": 198,
    "Terran Flag Beacon": 199,
    "Protoss Flag Beacon": 200,
    "Power Generator": 201,
    "Overmind Cocoon": 202,
    "Dark Swarm (Unit)": 203,
    "Floor Missile Trap": 204,
    "Floor Hatch (Unused)": 205,
    "Floor Hatch (UNUSED)": 205,
    "Left Upper Level Door": 206,
    "Right Upper Level Door": 207,
    "Left Pit Door": 208,
    "Right Pit Door": 209,
    "Floor Gun Trap": 210,
    "Left Wall Missile Trap": 211,
    "Left Wall Flame Trap": 212,
    "Right Wall Missile Trap": 213,
    "Right Wall Flame Trap": 214,
    "Start Location": 215,
    "Flag": 216,
    "Young Chrysalis": 217,
    "Psi Emitter": 218,
    "Data Disc": 219,
    "Khaydarin Crystal": 220,
    "Mineral Chunk (Type 1)": 221,
    "Mineral Chunk (Type 2)": 222,
    "Mineral Cluster Type 1": 221,
    "Mineral Cluster Type 2": 222,
    "Vespene Orb (Protoss Type 1)": 223,
    "Vespene Orb (Protoss Type 2)": 224,
    "Protoss Vespene Gas Orb Type 1": 223,
    "Protoss Vespene Gas Orb Type 2": 224,
    "Vespene Sac (Zerg Type 1)": 225,
    "Vespene Sac (Zerg Type 2)": 226,
    "Zerg Vespene Gas Sac Type 1": 225,
    "Zerg Vespene Gas Sac Type 2": 226,
    "Vespene Tank (Terran Type 1)": 227,
    "Vespene Tank (Terran Type 2)": 228,
    "Terran Vespene Gas Tank Type 1": 227,
    "Terran Vespene Gas Tank Type 2": 228,
    # weapon names
    "Gauss Rifle (Marine)": 229,
    "Gauss Rifle (Jim Raynor)": 230,
    "C-10 Canister Rifle (Ghost)": 231,
    "C-10 Canister Rifle (Sarah Kerrigan)": 232,
    "Fragmentation Grenade (Vulture)": 233,
    "Fragmentation Grenade (Jim Raynor)": 234,
    "Twin Autocannons (Goliath)": 235,
    "Hellfire Missile Pack (Goliath)": 236,
    "Twin Autocannons (Alan Schezar)": 237,
    "Hellfire Missile Pack (Alan Schezar)": 238,
    "Arclite Cannon (Siege Tank)": 239,
    "Arclite Cannon (Edmund Duke)": 240,
    "Fusion Cutter": 241,
    "Fusion Cutter (Harvest)": 242,
    "Gemini Missiles (Wraith)": 243,
    "Burst Lasers (Wraith)": 244,
    "Gemini Missiles (Tom Kazansky)": 245,
    "Burst Lasers (Tom Kazansky)": 246,
    "ATS Laser Battery (Battlecruiser)": 247,
    "ATA Laser Battery (Battlecruiser)": 248,
    "ATS Laser Battery (Norad II)": 249,
    "ATA Laser Battery (Norad II)": 250,
    "ATS Laser Battery (Hyperion)": 251,
    "ATA Laser Battery (Hyperion)": 252,
    "Flame Thrower (Firebat)": 253,
    "Flame Thrower (Gui Montag)": 254,
    "Arclite Shock Cannon (Siege Tank)": 255,
    "Arclite Shock Cannon (Edmund Duke)": 256,
    "Longbolt Missile": 257,
    "Nuclear Strike (Weapon)": 258,
    "EMP Shockwave (Weapon)": 259,
    "Claws (Zergling)": 260,
    "Claws (Devouring One)": 261,
    "Claws (Infested Kerrigan)": 262,
    "Needle Spines (Hydralisk)": 263,
    "Needle Spines (Hunter Killer)": 264,
    "Kaiser Blades (Ultralisk)": 265,
    "Kaiser Blades (Torrasque)": 266,
    "Toxic Spores": 267,
    "Spines": 268,
    "Acid Spray (Unused 1)": 269,
    "Acid Spray (Unused 2)": 270,
    "Acid Spore (Guardian)": 271,
    "Acid Spore (Kukulza)": 272,
    "Glave Wurm (Mutalisk)": 273,
    "Glave Wurm (Kukulza)": 274,
    "Venom (Defiler)": 275,
    "Venom (Unclean One)": 276,
    "Suicide (Infested Terran)": 277,
    "Seeker Spores": 278,
    "Subterranean Tentacle": 279,
    "Suicide (Scourge)": 280,
    "Particle Beam": 281,
    "Psi Blades (Zealot)": 282,
    "Psi Blades (Fenix)": 283,
    "Warp Blades (Dark Templar Hero)": 284,
    "Warp Blades (Zeratul)": 285,
    "Phase Disruptor (Dragoon)": 286,
    "Phase Disruptor (Fenix)": 287,
    "Psi Assault (High Templar)": 288,
    "Psi Assault (Tassadar)": 289,
    "Psionic Shockwave (Archon)": 290,
    "Psionic Shockwave (Tassadar/Zeratul)": 291,
    "Unused72": 292,
    "Dual Photon Blasters (Scout)": 293,
    "Anti-matter Missiles (Scout)": 294,
    "Dual Photon Blasters (Mojo)": 295,
    "Anti-matter Missiles (Mojo)": 296,
    "Phase Disruptor Cannon (Arbiter)": 297,
    "Phase Disruptor Cannon (Danimoth)": 298,
    "Pulse Cannon": 299,
    "STS Photon Cannon": 300,
    "STA Photon Cannon": 301,
    "Scarab (Weapon)": 302,
    "Missiles": 303,
    "Laser Battery": 304,
    "Tormentor Missiles": 305,
    "Bombs": 306,
    "Raider Gun": 307,
    "Flechette Grenade": 308,
    "Twin Autocannons": 309,
    "Hellfire Missile Pack": 310,
    "Flame Thrower": 311,
    "Undefined Weapon Name": 312,
    # spell names
    "Stim Packs (Tech)": 313,
    "Lockdown (Weapon)": 314,
    "EMP Shockwave (Tech)": 315,
    "Spider Mines (Weapon)": 316,
    "Scanner Sweep (Tech)": 317,
    "Tank Siege Mode": 318,
    "Defensive Matrix (Tech)": 319,
    "Irradiate (Tech)": 320,
    "Yamato Gun (Weapon)": 321,
    "Cloaking Field": 322,
    "Personnel Cloaking": 323,
    "Research Stim Pack Tech": 324,
    "Research Lockdown": 325,
    "Research EMP Shockwave": 326,
    "Research Spider Mines": 327,
    "Research Siege Tech": 328,
    "Research Defensive Matrix": 329,
    "Research Irradiate": 330,
    "Research Yamato Gun": 331,
    "Research Cloaking Field": 332,
    "Research Personnel Cloaking": 333,
    "Use Stim Packs": 334,
    "Lockdown (Cast)": 335,
    "Use Spider Mines": 336,
    "Scanner Sweep (Cast)": 337,
    "Siege Mode (Cast)": 338,
    "Tank Mode (Cast)": 339,
    "Activate Defensive Matrix": 340,
    "Activate EMP Shockwave": 341,
    "Irradiate (Cast)": 342,
    "Yamato Gun (Cast)": 343,
    "Cloak (Cast)": 344,
    "Decloak (Cast)": 345,
    "Stim Packs:": 346,
    "Stim Packs: Research at Academy": 346,
    "Lockdown:": 347,
    "Lockdown: Research at Covert Ops": 347,
    "Spider Mines:": 348,
    "Spider Mines: Research at Machine Shop": 348,
    "Siege Mode:": 349,
    "Siege Mode: Research at Machine Shop": 349,
    "Defensive Matrix:": 350,
    "Defensive Matrix: Research at Science Facility": 350,
    "EMP Shockwave:": 351,
    "EMP Shockwave: Research at Science Facility": 351,
    "Irradiate:": 352,
    "Irradiate: Research at Science Facility": 352,
    "Yamato Gun:": 353,
    "Yamato Gun: Research at Physics La": 353,
    "Cloaking Field:": 354,
    "Cloaking Field: Research at Control Tower": 354,
    "Personnel Cloaking:": 355,
    "Personnel Cloaking: Research at Covert Ops": 355,
    "Burrowing": 356,
    "Infestation": 357,
    "Spawn Broodling (Tech)": 358,
    "Dark Swarm (Tech)": 359,
    "Parasite (Tech)": 360,
    "Plague (Tech)": 361,
    "Consume (Tech)": 362,
    "Ensnare (Tech)": 363,
    "Evolve Burrow": 364,
    "Evolve Infestation": 365,
    "Evolve Spawn Broodling": 366,
    "Evolve Dark Swarm": 367,
    "Evolve Parasite": 368,
    "Evolve Plague": 369,
    "Evolve Ensnare": 370,
    "Evolve Consume": 371,
    "Burrow (Cast)": 372,
    "Unburrow (Cast)": 373,
    "Infest Terran Command Center": 374,
    "Spawn Broodling (Cast)": 375,
    "Dark Swarm (Cast)": 376,
    "Parasite (Cast)": 377,
    "Plague (Cast)": 378,
    "Consume (Defiler)": 379,
    "Consume (Infested Kerrigan)": 380,
    "Ensnare (Cast)": 381,
    "Burrow:": 382,
    "Burrow: Evolve at Hatchery": 382,
    "Infest:": 383,
    "Infest: Evolve at Queen's Nest": 383,
    "Spawn Broodlings:": 384,
    "Spawn Broodlings: Evolve at Queen's Nest": 384,
    "Dark Swarm:": 385,
    "Dark Swarm: Evolve at Defiler Mound": 385,
    "Parasite:": 386,
    "Parasite: Evolve at Queen's Nest": 386,
    "Plague:": 387,
    "Plague: Evolve at Defiler Mound": 387,
    "Consume:": 388,
    "Consume: Evolve at Defiler Mound": 388,
    "Ensnare:": 389,
    "Ensnare: Evolve at Queen's Nest": 389,
    "Psionic Storm (Unused)": 390,
    "Hallucination (Unused)": 391,
    "Recall (Unused)": 392,
    "Stasis Field (Unused)": 393,
    "Archon Warp (Unused)": 394,
    "Develop Psionic Storm": 395,
    "Develop Hallucination": 396,
    "Develop Recall": 397,
    "Develop Stasis Field": 398,
    "Develop Archon Warp": 399,
    "Psionic Storm (Cast)": 400,
    "Hallucination (Cast)": 401,
    "Recall (Cast)": 402,
    "Stasis Field (Cast)": 403,
    "Archon Warp (Cast)": 404,
    "Psionic Storm:": 405,
    "Psionic Storm: Develop at Templar Archives": 405,
    "Hallucination:": 406,
    "Hallucination: Develop at Templar Archives": 406,
    "Recall:": 407,
    "Recall: Develop at Arbiter Tribunal": 407,
    "Stasis Field:": 408,
    "Stasis Field: Develop at Arbiter Tribunal": 408,
    "Archon Warp: (Templar Archives)": 409,
    "Archon Warp: Research at Templar Archives": 409,
    "Archon Warp: (High Templar)": 410,
    "Archon Warp: Select 2 or more Templars": 410,
    # upgrade
    "Terran Infantry Armor": 411,
    "Terran Vehicle Plating": 412,
    "Terran Ship Plating": 413,
    "Zerg Carapace": 414,
    "Zerg Flyer Carapace": 415,
    "Protoss Armor": 416,
    "Protoss Plating": 417,
    "Terran Infantry Weapons": 418,
    "Terran Vehicle Weapons": 419,
    "Terran Ship Weapons": 420,
    "Zerg Melee Attacks": 421,
    "Zerg Missile Attacks": 422,
    "Zerg Flyer Attacks": 423,
    "Protoss Ground Weapons": 424,
    "Protoss Air Weapons": 425,
    "Protoss Plasma Shields": 426,
    "U-238 Shells": 427,
    "Ion Thrusters": 428,
    "Burst Lasers": 429,
    "Titan Reactor": 430,
    "Ocular Implants": 431,
    "Moebius Reactor": 432,
    "Apollo Reactor": 433,
    "Colossus Reactor": 434,
    "Ventral Sacs": 435,
    "Antennae": 436,
    "Pneumatized Carapace": 437,
    "Metabolic Boost": 438,
    "Adrenal Glands": 439,
    "Muscular Augments": 440,
    "Grooved Spines": 441,
    "Gamete Meiosis": 442,
    "Metasynaptic Node": 443,
    "Singularity Charge": 444,
    "Leg Enhancements": 445,
    "Scarab Damage": 446,
    "Reaver Capacity": 447,
    "Gravitic Drive": 448,
    "Sensor Array": 449,
    "Gravitic Boosters": 450,
    "Khaydarin Amulet": 451,
    "Apial Sensors": 452,
    "Gravitic Thrusters": 453,
    "Carrier Capacity": 454,
    "Khaydarin Core": 455,
    "Upgrade Infantry Armor": 456,
    "Upgrade Vehicle Plating": 457,
    "Upgrade Ship Plating": 458,
    "Evolve Carapace": 459,
    "Evolve Flyer Carapace": 460,
    "Upgrade Ground Armor": 461,
    "Upgrade Air Armor": 462,
    "Upgrade Infantry Weapons": 463,
    "Upgrade Vehicle Weapons": 464,
    "Upgrade Ship Weapons": 465,
    "Upgrade Melee Attacks": 466,
    "Upgrade Missile Attacks": 467,
    "Upgrade Flyer Attacks": 468,
    "Upgrade Ground Weapons": 469,
    "Upgrade Air Weapons": 470,
    "Upgrade Plasma Shields": 471,
    "Research U-238 Shells": 472,
    "Research Ion Thrusters": 473,
    "Research Burst Lasers": 474,
    "Research Titan Reactor": 475,
    "Research Ocular Implants": 476,
    "Research Moebius Reactor": 477,
    "Research Apollo Reactor": 478,
    "Research Colossus Reactor": 479,
    "Evolve Ventral Sacs": 480,
    "Evolve Antennae": 481,
    "Evolve Pneumatized Carapace": 482,
    "Evolve Metabolic Boost": 483,
    "Evolve Adrenal Glands": 484,
    "Evolve Muscular Augments": 485,
    "Evolve Grooved Spines": 486,
    "Evolve Gamete Meiosis": 487,
    "Evolve Metasynaptic Node": 488,
    "Develop Singularity Charge": 489,
    "Develop Leg Enhancements": 490,
    "Upgrade Scarab Damage": 491,
    "Increase Reaver Capacity": 492,
    "Develop Gravitic Drive": 493,
    "Develop Sensor Array": 494,
    "Develop Gravitic Booster": 495,
    "Develop Khaydarin Amulet": 496,
    "Develop Apial Sensors": 497,
    "Develop Gravitic Thrusters": 498,
    "Increase Carrier Capacity": 499,
    "Develop Khaydarin Core": 500,
    "Infantry Armor L1 Require:": 501,
    "Infantry Armor L2 Require:": 502,
    "Infantry Armor L3 Require:": 503,
    "Infantry Weapons L1 Require:": 504,
    "Infantry Weapons L2 Require:": 505,
    "Infantry Weapons L3 Require:": 506,
    "Vehicle Weapons L1 Require:": 507,
    "Vehicle Weapons L2 Require:": 508,
    "Vehicle Weapons L3 Require:": 509,
    "Vehicle Plating L1 Requires:": 510,
    "Vehicle Plating L2 Requires:": 511,
    "Vehicle Plating L3 Requires:": 512,
    "Ship Weapons L1 Require:": 513,
    "Ship Weapons L2 Require:": 514,
    "Ship Weapons L3 Require:": 515,
    "Ship Plating L1 Requires:": 516,
    "Ship Plating L2 Requires:": 517,
    "Ship Plating L3 Requires:": 518,
    "Melee Attacks L1 Require:": 519,
    "Melee Attacks L2 Require:": 520,
    "Melee Attacks L3 Require:": 521,
    "Missile Attacks L1 Require:": 522,
    "Missile Attacks L2 Require:": 523,
    "Missile Attacks L3 Require:": 524,
    "Carapace L1 Requires:": 525,
    "Carapace L2 Requires:": 526,
    "Carapace L3 Requires:": 527,
    "Flyer Attacks L1 Require:": 528,
    "Flyer Attacks L2 Require:": 529,
    "Flyer Attacks L3 Require:": 530,
    "Flyer Carapace L1 Requires:": 531,
    "Flyer Carapace L2 Requires:": 532,
    "Flyer Carapace L3 Requires:": 533,
    "Adrenal Glands Require:": 534,
    "Ground Weapons L1 Require:": 535,
    "Ground Weapons L2 Require:": 536,
    "Ground Weapons L3 Require:": 537,
    "Air Weapons L1 Require:": 538,
    "Air Weapons L2 Require:": 539,
    "Air Weapons L3 Require:": 540,
    "Ground Armor L1 Requires:": 541,
    "Ground Armor L2 Requires:": 542,
    "Ground Armor L3 Requires:": 543,
    "Air Armor L1 Requires:": 544,
    "Air Armor L2 Requires:": 545,
    "Air Armor L3 Requires:": 546,
    "Shields L1 Require:": 547,
    "Shields L2 Require:": 548,
    "Shields L3 Require:": 549,
    "Recruit (Unused)": 550,
    "Private (Marine Unused)": 551,
    "Private (SCV Unused)": 552,
    "Corporal (Unused)": 553,
    "Specialist (Unused)": 554,
    "Sergeant (Unused)": 555,
    "First Sergeant (Goliath Unused)": 556,
    "Master Sergeant (Unused)": 557,
    "Warrant Officer (Unused)": 558,
    "Captain (Unused)": 559,
    "Major (Unused)": 560,
    "Lt Commander (Unused)": 561,
    "First Sergeant (Gui Montag Unused)": 562,
    "Sergeant Major (Unused)": 563,
    "Colonel (Unused)": 564,
    "Commodore (Unused)": 565,
    "Marshal (Unused)": 566,
    "Lieutenant (Unused)": 567,
    "General (Unused)": 568,
    "Captain Raynor (Unused)": 569,
    "General Duke (Unused)": 570,
    "Admiral (Unused)": 571,
    "Tassadar (Unused)": 572,
    "Interceptors (Unused)": 573,
    "ESC": 574,
    "Morph to Zerglings": 575,
    "Morph to Hydralisk": 576,
    "Morph to Ultralisk": 577,
    "Morph to Drone": 578,
    "Morph to Overlord": 579,
    "Morph to Mutalisk": 580,
    "Guardian Aspect (Cast)": 581,
    "Morph to Queen": 582,
    "Morph to Defiler": 583,
    "Morph to Scourge": 584,
    "Train Infested Terran": 585,
    "Train Marine": 586,
    "Train Ghost": 587,
    "Train Firebat": 588,
    "Build Vulture": 589,
    "Build Goliath": 590,
    "Build Siege Tank": 591,
    "Build SCV": 592,
    "Build Wraith": 593,
    "Build Science Vessel": 594,
    "Build Dropship": 595,
    "Build Battlecruiser": 596,
    "Arm Nuclear Silo": 597,
    "Build Observer": 598,
    "Build Probe": 599,
    "Warp in Zealot": 600,
    "Warp in Dragoon": 601,
    "Warp in High Templar": 602,
    "Build Shuttle": 603,
    "Warp in Scout": 604,
    "Warp in Arbiter": 605,
    "Warp in Carrier": 606,
    "Build Interceptor": 607,
    "Build Reaver": 608,
    "Build Scara": 609,
    "Hire Merc Biker": 610,
    "Hire Merc Gunship": 611,
    "Hire Raider": 612,
    "Mutate into Hatchery": 613,
    "Mutate into Creep Colony": 614,
    "Mutate into Extractor": 615,
    "Mutate into Spawning Pool": 616,
    "Mutate into Evolution Chamber": 617,
    "Mutate into Hydralisk Den": 618,
    "Mutate into Nydus Canal": 619,
    "Mutate into Spire": 620,
    "Mutate into Queen's Nest": 621,
    "Mutate into Ultralisk Cavern": 622,
    "Mutate into Defiler Mound": 623,
    "Mutate into Lair": 624,
    "Mutate into Hive": 625,
    "Mutate into Greater Spire": 626,
    "Mutate into Spore Colony": 627,
    "Mutate into Sunken Colony": 628,
    "Place Nydus Canal Exit": 629,
    "Warp in Nexus": 630,
    "Warp in Pylon": 631,
    "Warp in Assimilator": 632,
    "Warp in Gateway": 633,
    "Warp in Forge": 634,
    "Warp in Photon Cannon": 635,
    "Warp in Cybernetics Core": 636,
    "Warp in Shield Battery": 637,
    "Warp in Robotics Facility": 638,
    "Warp in Observatory": 639,
    "Warp in Citadel of Adun": 640,
    "Warp in Templar Archives": 641,
    "Warp in Stargate": 642,
    "Warp in Fleet Beacon": 643,
    "Warp in Arbiter Tribunal": 644,
    "Warp in Robotics Support Bay": 645,
    "Build Command Center": 646,
    "Build Supply Depot": 647,
    "Build Refinery": 648,
    "Build Barracks": 649,
    "Build Engineering Bay": 650,
    "Build Missile Turret": 651,
    "Build Academy": 652,
    "Build Bunker": 653,
    "Build Factory": 654,
    "Build Starport": 655,
    "Build Science Facility": 656,
    "Build Armory": 657,
    "Build Comsat Station": 658,
    "Build Nuclear Silo": 659,
    "Build Control Tower": 660,
    "Build Covert Ops": 661,
    "Build Physics La": 662,
    "Build Machine Shop": 663,
    "Move": 664,
    "Stop (Cast)": 665,
    "Attack (Cast)": 666,
    "Patrol (Cast)": 667,
    "Hold Position (Cast)": 668,
    "Way Points": 669,
    "Land": 670,
    "Liftoff": 671,
    "Set Rally Point": 672,
    "Recharge Shields (Cast)": 673,
    "Select Larva": 674,
    "Gather": 675,
    "Return Cargo": 676,
    "Repair (Cast)": 677,
    "Build Structure": 678,
    "Build Advanced Structure": 679,
    "Basic Mutation": 680,
    "Advanced Mutation": 681,
    "Advanced Morph": 682,
    "Load": 683,
    "Unload All": 684,
    "Nuclear Strike (Cast)": 685,
    "Place COP": 686,
    "ESC - Cancel (Unknown)": 687,
    "ESC - Cancel (Normal)": 688,
    "ESC - Cancel Construction": 689,
    "ESC - Cancel Unit Training": 690,
    "ESC - Cancel Upgrade": 691,
    "ESC - Cancel Research": 692,
    "ESC - Cancel Last": 693,
    "ESC - Cancel Addon": 694,
    "ESC - Cancel Morph": 695,
    "ESC - Cancel Mutation (Build)": 696,
    "ESC - Cancel Infestation": 697,
    "ESC - Cancel Mutation (Lair)": 698,
    "ESC - Cancel Nuclear Strike": 699,
    "ESC - Halt Construction": 700,
    "Ghost Requires:": 701,
    "Firebat Requires:": 702,
    "Goliath Requires:": 703,
    "Siege Tank Requires:": 704,
    "Science Vessel Requires:": 705,
    "Dropship Requires:": 706,
    "Battlecruiser Requires:": 707,
    "Comsat Station Requires:": 708,
    "Nuclear Silo Requires:": 709,
    "Barracks Requires:": 710,
    "Academy Requires:": 711,
    "Factory Requires:": 712,
    "Starport Requires:": 713,
    "Science Facility Requires:": 714,
    "Engineering Bay Requires:": 715,
    "Armory Requires:": 716,
    "Missile Turret Requires:": 717,
    "Bunker Requires:": 718,
    "Dragoon Requires:": 719,
    "Templar Requires:": 720,
    "Arbiter Requires:": 721,
    "Carrier Requires:": 722,
    "Reaver Requires:": 723,
    "Observer Requires:": 724,
    "Gateway Requires:": 725,
    "Forge Requires:": 726,
    "Photon Cannon Requires:": 727,
    "Shield Battery Requires:": 728,
    "Cybernetics Core Requires:": 729,
    "Robotics Facility Requires:": 730,
    "Stargate Requires:": 731,
    "Citadel of Adun Requires:": 732,
    "Observatory Requires:": 733,
    "Robotics Support Bay Requires:": 734,
    "Fleet Beacon Requires:": 735,
    "Templar Archives Require:": 736,
    "Arbiter Tribunal Requires:": 737,
    "Zerglings Require:": 738,
    "Hydralisk Requires:": 739,
    "Ultralisk Requires:": 740,
    "Mutalisk Requires:": 741,
    "Guardian Aspect Requires:": 742,
    "Queen Requires:": 743,
    "Defiler Requires:": 744,
    "Scourge Require:": 745,
    "Lair Requires:": 746,
    "Hive Requires:": 747,
    "Nydus Canal Requires:": 748,
    "Hydralisk Den Requires:": 749,
    "Spire Requires:": 750,
    "Greater Spire Requires:": 751,
    "Queen's Nest Requires:": 752,
    "Evolution Chamber Requires:": 753,
    "Ultralisk Cavern Requires:": 754,
    "Defiler Mound Requires:": 755,
    "Spawning Pool Requires:": 756,
    "Spawning Pool Requires: Hatchery": 756,
    "Spore Colony Requires:": 757,
    "Spore Colony Requires: Evolution Chamber": 757,
    "Sunken Colony Requires:": 758,
    "Sunken Colony Requires: Spawning Pool": 758,
    "Carrier Attack:": 759,
    "Carrier Attack: Build Interceptors": 759,
    "Reaver Attack:": 760,
    "Reaver Attack: Build Scarabs": 760,
    "Nuclear Strike Requires:": 761,
    "Nuclear Strike Requires: Armed Nuclear Silo": 761,
    "Not Implemented": 762,
    "mk": 763,
    "Kills:": 764,
    "Evolving (1)": 765,
    "Upgrading (1)": 766,
    "Upgrading (2)": 767,
    "Evolving (2)": 768,
    "Researching": 769,
    "Developing": 770,
    "Morphing (1)": 771,
    "Building (1)": 772,
    "Opening Warp Gate": 773,
    "Morphing (2)": 774,
    "Building (2)": 775,
    "Building (3)": 776,
    "Damage:": 777,
    "Armor:": 778,
    "Shields:": 779,
    "Mining Delay:": 780,
    "Production": 781,
    "Unit Ptr:": 782,
    "Current Order:": 783,
    "Next Order:": 784,
    "% Complete": 785,
    "Order:": 786,
    "Mutating (1)": 787,
    "Adding On": 788,
    "Opening Warp Rift (1)": 789,
    "Summoning": 790,
    "Interceptors (Count)": 791,
    "Scarabs": 792,
    "Nukes": 793,
    "Spider Mines (Count)": 794,
    "Next Level:": 795,
    "Minerals:": 796,
    "Vespene Gas:": 797,
    "Depleted": 798,
    "Mutating (2)": 799,
    "Under Construction": 800,
    "Opening Warp Rift (2)": 801,
    "Cancel Morph (%s)": 802,
    "Cancel Construction (%s)": 803,
    "Cancel Warp (%s)": 804,
    "Cancel Upgrade": 805,
    "Cancel Research": 806,
    "Cancel Morph": 807,
    "Unload Unit (%s)": 808,
    "Click: Select Unit": 809,
    "Show Terrain in Minimap (Tab)": 810,
    "Hide Terrain in Minimap (Tab)": 811,
    "Diplomacy": 812,
    "Messaging": 813,
    "Game Menu (F10)": 814,
    "Control Provided:": 815,
    "Supplies Provided:": 816,
    "Psi Provided:": 817,
    "Total Control:": 818,
    "Total Supplies:": 819,
    "Total Psi:": 820,
    "Control Used:": 821,
    "Supplies Used:": 822,
    "Psi Used:": 823,
    "Control Max:": 824,
    "Supplies Max:": 825,
    "Psi Max:": 826,
    "Parasite Detected": 827,
    "Disabled (1)": 828,
    "Disabled (2)": 829,
    "Unpowered": 830,
    "Detector": 831,
    "Hallucination (Status)": 832,
    "Units (1)": 833,
    "Units (2)": 834,
    "Resources": 835,
    "Kills": 836,
    "Score": 837,
    "Units to go (1)": 838,
    "Units to go (2)": 839,
    "Resources to go": 840,
    "Kills to go": 841,
    "Score to go": 842,
    "Nowhere to return to...can't return.": 843,
    "Too many underlings...create more Overlords.": 844,
    "Not enough supplies...build more Supply Depots.": 845,
    "Not enough psi...build more Pylons.": 846,
    "Underling limit exceeded.": 847,
    "Supply limit exceeded.": 848,
    "Psi limit exceeded.": 849,
    "Not enough minerals...mine more minerals.": 850,
    "Not enough Vespene gases....harvest more gas.": 851,
    "You can't build next to minerals or geysers.": 852,
    "An undetected unit is in the way.": 853,
    "You can't build off the map.": 854,
    "You can't build near the edge of the map.": 855,
    "You can't build there.": 856,
    "You must explore there first.": 857,
    "You must currently be able to see the location.": 858,
    "Could not build there, find a Vespene Geyser to build on.": 859,
    "You must build on the Creep.": 860,
    "You must build near a Pylon.": 861,
    "Couldn't reach the building site.": 862,
    "You can't land there.": 863,
    "Not enough energy. (1)": 864,
    "Not enough energy. (2)": 865,
    "Not enough energy. (3)": 866,
    "Nothing to harvest. Find a Mine or a Vespene Geyser.": 867,
    "Nothing to harvest. Find a Mine, or build a Refinery at a Vespene Geyser.": 868,
    "Nothing to harvest. Find a Mine, or build an Assimilator at a Vespene Geyser.": 869,
    "Must target severely damaged Terran Command Center.": 870,
    "Unit's waypoint list is full.": 871,
    "Unable to add order.": 872,
    "Running low on orders, your last order was not processed.": 873,
    "Not enough life remaining.": 874,
    "Vespene Geyser depleted.": 875,
    "Invalid target. (1)": 876,
    "Unable to target structure. (1)": 877,
    "Must target units.": 878,
    "Unable to attack target.": 879,
    "Invalid target. (2)": 880,
    "Must target mechanical units.": 881,
    "Invalid target. (3)": 882,
    "Must target damaged mechanical units or damaged complete buildings.": 883,
    "Must target Terran units.": 884,
    "Invalid target. (4)": 885,
    "Must target non-robotic ground units.": 886,
    "Must target ground.": 887,
    "Target out of range.": 888,
    "Target is too close.": 889,
    "Can only pick up your own transportable units.": 890,
    "Not enough room for unit.": 891,
    "Must gather from a Mineral Field or Vespene Geyser.": 892,
    "Morph an Extractor there first.": 893,
    "Build a Refinery there first.": 894,
    "Build an Assimilator there first.": 895,
    "Must gather gases from your own geyser.": 896,
    "Invalid target. (5)": 897,
    "Invalid target. (6)": 898,
    "Invalid target. (7)": 899,
    "Units in stasis can't be targeted.": 900,
    "Must target non-hovering ground units.": 901,
    "Must target passable terrain.": 902,
    # order names
    "Die": 903,
    "Fizzle": 904,
    "Stop (Order)": 905,
    "Guard": 906,
    "Player Guard": 907,
    "Turret Guard": 908,
    "Bunker Guard": 909,
    "Ignore": 910,
    "Carrier Ignore": 911,
    "Carrier Stop": 912,
    "Reaver Stop": 913,
    "Attack (Order)": 914,
    "Attack Unit": 915,
    "Attack Fixed Range": 916,
    "Move Attack Unit": 917,
    "Attack Tile": 918,
    "Hover": 919,
    "Attack Move": 920,
    "Atk Move EP": 921,
    "Harass Move": 922,
    "AI Patrol": 923,
    "Tower": 924,
    "Vulture Mine": 925,
    "Carrier Attack": 926,
    "Carrier Attack Move": 927,
    "Stay In Range": 928,
    "Turret Attack": 929,
    "Nothing": 930,
    "Drone Start Build": 931,
    "Drone Build": 932,
    "Drone Attack Unit": 933,
    "Infest Mine": 934,
    "Build": 935,
    "Build Protoss": 936,
    "Pylon Build": 937,
    "Construct Building": 938,
    "Repair (Order)": 939,
    "Place Add-On": 940,
    "Build Add-On": 941,
    "Train": 942,
    "Zerg Birth": 943,
    "Morph": 944,
    "Zerg Building Morph": 945,
    "Build Self": 946,
    "Zerg Build Self": 947,
    "Enter Nydus Canal": 948,
    "Protoss Build Self": 949,
    "Follow": 950,
    "Carrier": 951,
    "Carrier Fight": 952,
    "Reaver": 953,
    "Reaver Attack": 954,
    "Reaver Fight": 955,
    "Reaver Hold": 956,
    "Train Fighter": 957,
    "Strafe Unit": 958,
    "Scarab (Order)": 959,
    "Return": 960,
    "Drone Land": 961,
    "Building Land": 962,
    "Building Lift Off": 963,
    "Drone Lift Off": 964,
    "Lift Off": 965,
    "Reasearch Tech": 966,
    "Upgrade": 967,
    "Larva": 968,
    "Spawning Larva": 969,
    "Harvest": 970,
    "Harvest Gas": 971,
    "Return Gas": 972,
    "Harvest Minerals": 973,
    "Return Minerals": 974,
    "Enter Transport (Order)": 975,
    "Pick Up": 976,
    "Powerup": 977,
    "Siege Mode (Order)": 978,
    "Tank Mode (Order)": 979,
    "Watch Target": 980,
    "Initing Creep Growth": 981,
    "Stopping Creep Growth": 982,
    "Spread Creep": 983,
    "Guardian Aspect (Order)": 984,
    "Warping Archon": 985,
    "Completing Archon Summon": 986,
    "Hold Position (Order)": 987,
    "Cloak (Order)": 988,
    "Decloak (Order)": 989,
    "Unload": 990,
    "Move Unload": 991,
    "Fire Yamato Gun": 992,
    "Magna Pulse": 993,
    "Burrow (Order)": 994,
    "Burrowed": 995,
    "Unburrow (Order)": 996,
    "Cast Parasite": 997,
    "Summon Broodlings": 998,
    "EMP Shockwave (Order)": 999,
    "Lockdown (Order)": 1000,
    "Nuke Wait": 1001,
    "Nuke Train": 1002,
    "Nuke Launch": 1003,
    "Nuke Paint": 1004,
    "Nuke Unit": 1005,
    "Nuke Ground": 1006,
    "Nuke Track": 1007,
    "Initializing Arbiter": 1008,
    "Cloaking nearby units": 1009,
    "Place Mine": 1010,
    "Right Click Action": 1011,
    "Left Click Action": 1012,
    "Sap Unit": 1013,
    "Sap Location": 1014,
    "Teleport": 1015,
    "Teleport to Location": 1016,
    "Place Scanner": 1017,
    "Scanner": 1018,
    "Defensive Matrix (Order)": 1019,
    "Reset Collision (1)": 1020,
    "Reset Collision (2)": 1021,
    "Patrol (Order)": 1022,
    "Computer AI": 1023,
    "Guard Post": 1024,
    "Rescue Passive": 1025,
    "Neutral": 1026,
    "Computer Return": 1027,
    "Initing Psi Provider": 1028,
    "Self Destructing": 1029,
    "Decaying creep": 1030,
    "Recharge Shields (Order)": 1031,
    "Shield Battery": 1032,
    "Rally Point": 1033,
    "CTF COP Init": 1034,
    "CTF COP": 1035,
    "Critter": 1036,
    "Hidden Gun": 1037,
    "Open Door": 1038,
    "Close Door": 1039,
    "Hide Trap": 1040,
    "Reveal Trap": 1041,
    "Enable Doodad": 1042,
    "Disable Doodad": 1043,
    "Warp In": 1044,
    "Hide and Suicide": 1045,
    "Fatal": 1046,
    # aiscript names
    "Nuclear launch detected.": 1047,
    "Terran Custom Level": 1048,
    "Terran Campaign Easy": 1049,
    "Terran Campaign Medium": 1050,
    "Terran Campaign Difficult": 1051,
    "Terran Campaign Area Town": 1052,
    "Terran 3 - Zerg Town": 1053,
    "Terran 5 - Terran Main Town": 1054,
    "Terran 5 - Terran Harvest Town": 1055,
    "Terran 6 - Air Attack Zerg": 1056,
    "Terran 6 - Ground Attack Zerg": 1057,
    "Terran 6 - Zerg Support Town": 1058,
    "Terran 7 - Bottom Zerg Town": 1059,
    "Terran 7 - Right Zerg Town": 1060,
    "Terran 7 - Middle Zerg Town": 1061,
    "Terran 8 - Confederate Town": 1062,
    "Terran 9 - Light Attack": 1063,
    "Terran 9 - Heavy Attack": 1064,
    "Terran 10 - Confederate Towns": 1065,
    "Terran 11 - Zerg Town": 1066,
    "Terran 11 - Lower Protoss Town": 1067,
    "Terran 11 - Upper Protoss Town": 1068,
    "Terran 12 - Nuke Town": 1069,
    "Terran 12 - Phoenix Town": 1070,
    "Terran 12 - Tank Town": 1071,
    "Protoss Custom Level": 1072,
    "Protoss Campaign Easy": 1073,
    "Protoss Campaign Medium": 1074,
    "Protoss Campaign Difficult": 1075,
    "Protoss Campaign Area Town": 1076,
    "Protoss 1 - Zerg Town": 1077,
    "Protoss 2 - Zerg Town": 1078,
    "Protoss 3 - Unused": 1079,
    "Protoss 3 - Air Zerg Town": 1080,
    "Protoss 3 - Ground Zerg Town": 1081,
    "Protoss 4 - Zerg Town": 1082,
    "Protoss 4 - Zerg Town (unused?)": 1083,
    "Protoss 5 - Zerg Town Island": 1084,
    "Protoss 5 - Zerg Town Base": 1085,
    "Protoss 6 - incomplete": 1086,
    "Protoss 7 - Left Protoss Town": 1087,
    "Protoss 7 - Right Protoss Town": 1088,
    "Protoss 7 - Shrine Protoss": 1089,
    "Protoss 8 - Left Protoss Town": 1090,
    "Protoss 8 - Right Protoss Town": 1091,
    "Protoss 8 - Protoss Defenders": 1092,
    "Protoss 9 - Ground Zerg": 1093,
    "Protoss 9 - Air Zerg": 1094,
    "Protoss 9 - Spell Zerg": 1095,
    "Protoss 10 - Mini-Towns": 1096,
    "Protoss 10 - Mini-Town Master": 1097,
    "Protoss 10 - Overmind Defenders": 1098,
    "Zerg Custom Level": 1099,
    "Zerg Campaign Easy": 1100,
    "Zerg Campaign Medium": 1101,
    "Zerg Campaign Difficult": 1102,
    "Zerg Campaign Area Town": 1103,
    "Zerg 1 - Terran Town": 1104,
    "Zerg 2 - Protoss Town": 1105,
    "Zerg 3 - Terran Town": 1106,
    "Zerg 4 - Right Terran Town": 1107,
    "Zerg 4 - Lower Terran Town": 1108,
    "Zerg 5 - incomplete": 1109,
    "Zerg 6 - Protoss Town": 1110,
    "Zerg 7 - Ground Town": 1111,
    "Zerg 7 - Air Town": 1112,
    "Zerg 7 - Support Town": 1113,
    "Zerg 8 - Scout Town": 1114,
    "Zerg 8 - Templar Town": 1115,
    "Zerg 9 - Teal Protoss": 1116,
    "Zerg 9 - Left Yellow Protoss": 1117,
    "Zerg 9 - Right Yellow Protoss": 1118,
    "Zerg 9 - Left Orange Protoss": 1119,
    "Zerg 9 - Right Orange Protoss": 1120,
    "Zerg 10 - Left Teal (Attack)": 1121,
    "Zerg 10 - Right Teal (Support)": 1122,
    "Zerg 10 - Left Yellow (Support)": 1123,
    "Zerg 10 - Right Yellow (Attack)": 1124,
    "Zerg 10 - Red Protoss": 1125,
    "Set a Default Staging Area": 1126,
    "Send All Units on Strategic Suicide Missions": 1127,
    "Send All Units on Random Suicide Missions": 1128,
    "Set Player to Enemy": 1129,
    "Set Player to Ally": 1130,
    "Move Dark Templars to Region": 1131,
    "Switch Computer Player to Rescue Passive": 1132,
    "Enter Closest Bunker": 1133,
    "Value This Area Higher": 1134,
    "Clear Previous Combat Data": 1135,
    "Debug Script 1 (general)": 1136,
    "Debug Script 2 (general)": 1137,
    "Debug Script 3 (general)": 1138,
    "Debug Script 4 (general)": 1139,
    "Debug Script 5 (general)": 1140,
    "Debug Script 1 (location)": 1141,
    "Debug Script 2 (location)": 1142,
    "Debug Script 3 (location)": 1143,
    "Debug Script 4 (location)": 1144,
    "Debug Script 5 (location)": 1145,
    # doodad names
    "Structure": 1146,
    "Structure Wall": 1147,
    "Cliff (Badlands)": 1148,
    "High Dirt (Badlands)": 1149,
    "Grass (Badlands)": 1150,
    "High Grass (Badlands)": 1151,
    "Dirt (Badlands)": 1152,
    "Rocky Ground (Badlands)": 1153,
    "Asphalt": 1154,
    "Water (Badlands)": 1155,
    "Coastal Cliff": 1156,
    "Jungle": 1157,
    "High Jungle": 1158,
    "Ruins (Jungle)": 1159,
    "High Ruins": 1160,
    "Temple Wall": 1161,
    "High Temple Wall": 1162,
    "Dark Platform": 1163,
    "High Plating": 1164,
    "Plating (Space)": 1165,
    "Platform": 1166,
    "Platform Wall": 1167,
    "Low Platform": 1168,
    "Low Platform Wall": 1169,
    "Rusty Pit Wall": 1170,
    "Rusty Pit": 1171,
    "Solar Array": 1172,
    "Dirt (Ashworld)": 1173,
    "High Dirt (Ashworld)": 1174,
    "Shale": 1175,
    "Cliff (Ashworld)": 1176,
    "Floor": 1177,
    "Wall": 1178,
    "Substructure": 1179,
    "Substructure Wall": 1180,
    "Plating (Installation)": 1181,
    "Bridges (1)": 1182,
    "Bridges (2)": 1183,
    "Elevated Catwalk Ramps": 1184,
    "Bridges (3)": 1185,
    "Tar": 1186,
    "Tar Cliff": 1187,
    "Dirt (Desert)": 1188,
    "Dried Mud": 1189,
    "Sand Dunes": 1190,
    "Rocky Ground (Desert)": 1191,
    "Crags": 1192,
    "Sandy Sunken Pit": 1193,
    "Compound": 1194,
    "High Dirt (Desert)": 1195,
    "High Sand Dunes": 1196,
    "High Crags": 1197,
    "High Sandy Sunken Pit": 1198,
    "High Compound": 1199,
    "Water (Ice World)": 1200,
    "Snow": 1201,
    "Moguls": 1202,
    "Dirt (Ice World)": 1203,
    "Rocky Snow": 1204,
    "Grass (Ice World)": 1205,
    "Ice": 1206,
    "Outpost": 1207,
    "High Snow": 1208,
    "High Dirt (Ice World)": 1209,
    "High Grass (Ice World)": 1210,
    "High Ice": 1211,
    "High Outpost": 1212,
    "Water (Twilight)": 1213,
    "Dirt (Twilight)": 1214,
    "Mud": 1215,
    "Crushed Rock": 1216,
    "Crevices": 1217,
    "Flagstones": 1218,
    "Sunken Ground": 1219,
    "Basilica": 1220,
    "High Dirt (Twilight)": 1221,
    "High Crushed Rock": 1222,
    "High Flagstones": 1223,
    "High Sunken Ground": 1224,
    "High Basilica": 1225,
    "Terran Campaign Insane": 1226,
    "Protoss Campaign Insane": 1227,
    "Zerg Campaign Insane": 1228,
    "Terran 1 - Electronic Distribution": 1229,
    "Terran 2 - Electronic Distribution": 1230,
    "Terran 3 - Electronic Distribution": 1231,
    "Terran 1 - Shareware": 1232,
    "Terran 2 - Shareware": 1233,
    "Terran 3 - Shareware": 1234,
    "Terran 4 - Shareware": 1235,
    "Terran 5 - Shareware": 1236,
    "Halo Rockets": 1237,
    "Corrosive Acid": 1238,
    "Subterranean Spines": 1239,
    "Neutron Flare": 1240,
    "Mind Control (Weapon)": 1241,
    "Healing": 1242,
    "Restoration (Tech)": 1243,
    "Optical Flare (Tech)": 1244,
    "Research Restoration": 1245,
    "Research Optical Flare": 1246,
    "Heal": 1247,
    "Restoration (Cast)": 1248,
    "Optical Flare (Cast)": 1249,
    "Restoration:": 1250,
    "Restoration: Research at Academy": 1250,
    "Optical Flare:": 1251,
    "Optical Flare: Research at Academy": 1251,
    "Lurker Aspect": 1252,
    "Evolve Lurker Aspect": 1253,
    "Lurker Aspect: (Hydralisk Den)": 1254,
    "Lurker Aspect: Requires Lair": 1254,
    "Disruption Web (Tech)": 1255,
    "Mind Control (Tech)": 1256,
    "Dark Archon Meld (Tech)": 1257,
    "Feedback (Tech)": 1258,
    "Maelstrom (Tech)": 1259,
    "Develop Disruption We": 1260,
    "Develop Mind Control": 1261,
    "Develop Feedback": 1262,
    "Develop Maelstrom": 1263,
    "Dark Archon Meld (Cast)": 1264,
    "Disruption Web (Cast)": 1265,
    "Mind Control (Cast)": 1266,
    "Feedback (Cast)": 1267,
    "Maelstrom (Cast)": 1268,
    "Disruption Web:": 1269,
    "Disruption Web: Develop at Fleet Beacon": 1269,
    "Mind Control:": 1270,
    "Mind Control: Research at Templar Archives": 1270,
    "Dark Archon Meld:": 1271,
    "Dark Archon Meld: Research at Templar Archives": 1271,
    "Dark Archon Warp:": 1272,
    "Dark Archon Warp: Select 2 or more Dark Templars": 1272,
    "Feedback:": 1273,
    "Feedback: No requirement": 1273,
    "Maelstrom:": 1274,
    "Maelstrom: Develop at Templar Archives": 1274,
    "Caduceus Reactor": 1275,
    "Charon Booster": 1276,
    "Anabolic Synthesis": 1277,
    "Chitinous Plating": 1278,
    "Argus Jewel": 1279,
    "Argus Talisman": 1280,
    "Research Caduceus Reactor": 1281,
    "Research Charon Booster": 1282,
    "Evolve Anabolic Synthesis": 1283,
    "Evolve Chitinous Plating": 1284,
    "Develop Argus Jewel": 1285,
    "Develop Argus Talisman": 1286,
    "Research Charon Booster:": 1287,
    "Research Charon Booster: Requires Armory": 1287,
    "Devourer Aspect": 1288,
    "Morph to Lurker": 1289,
    "Train Medic": 1290,
    "Build Valkyrie": 1291,
    "Warp in Corsair": 1292,
    "Warp in Dark Templar": 1293,
    "Medic Requires:": 1294,
    "Medic Requires: Academy": 1294,
    "Valkyrie Requires:": 1295,
    "Valkyrie Requires: Attached Control Tower Armory": 1295,
    "Dark Templar Requires:": 1296,
    "Dark Templar Requires: Templar Archives": 1296,
    "Devourer Aspect Requires:": 1297,
    "Devourer Aspect Requires: Greater Spire": 1297,
    "Lurker Aspect: (Hydralisk)": 1298,
    "Lurker Aspect: Evolve at Hydralisk Den": 1298,
    "Blind": 1299,
    "Acid Spores": 1300,
    "per rocket": 1301,
    "Recruit (Rank)": 1302,
    "Private (Marine Rank)": 1303,
    "Private (SCV Rank)": 1304,
    "1st Lieutenant (Rank)": 1305,
    "Corporal (Rank)": 1306,
    "Specialist (Rank)": 1307,
    "Sergeant (Rank)": 1308,
    "First Sergeant (Goliath Rank)": 1309,
    "Master Sergeant (Rank)": 1310,
    "Warrant Officer (Rank)": 1311,
    "Captain (Rank)": 1312,
    "Major (Rank)": 1313,
    "First Sergeant (Gui Montag Rank)": 1314,
    "Sergeant Major (Rank)": 1315,
    "Colonel (Rank)": 1316,
    "Commodore (Rank)": 1317,
    "Lt Commander (Rank)": 1318,
    "Marshal (Rank)": 1319,
    "Lieutenant (Rank)": 1320,
    "General (Rank)": 1321,
    "Captain Raynor (Rank)": 1322,
    "General Duke (Rank)": 1323,
    "Admiral (Rank)": 1324,
    "Must target injured non-mechanical ground units": 1325,
    "Invalid target. (8)": 1326,
    "Must target enemy units": 1327,
    "Must target non-mechanical units.": 1328,
    "Unable to target structure. (2)": 1329,
    "Must target units with energy.": 1330,
    "Medic": 1331,
    "Medic Heal": 1332,
    "Restoration (Order)": 1333,
    "Cast Disruption We": 1334,
    "Mind Control (Order)": 1335,
    "Warping Dark Archon": 1336,
    "Cast Feedback": 1337,
    "Cast Optical Flare": 1338,
    "Cast Shockwave": 1339,
    "Heal Move": 1340,
    "Medic Hold Position": 1341,
    "Junk Yard Dog": 1342,
    "Terran Expansion Custom Level": 1343,
    "Protoss Expansion Custom Level": 1344,
    "Zerg Expansion Custom Level": 1345,
    "Brood Wars Protoss 1 - Town A": 1346,
    "Brood Wars Protoss 1 - Town ": 1347,
    "Brood Wars Protoss 1 - Town C": 1348,
    "Brood Wars Protoss 1 - Town D": 1349,
    "Brood Wars Protoss 1 - Town E": 1350,
    "Brood Wars Protoss 1 - Town F": 1351,
    "Brood Wars Protoss 2 - Town A": 1352,
    "Brood Wars Protoss 2 - Town ": 1353,
    "Brood Wars Protoss 2 - Town C": 1354,
    "Brood Wars Protoss 2 - Town D": 1355,
    "Brood Wars Protoss 2 - Town E": 1356,
    "Brood Wars Protoss 2 - Town F": 1357,
    "Brood Wars Protoss 3 - Town A": 1358,
    "Brood Wars Protoss 3 - Town ": 1359,
    "Brood Wars Protoss 3 - Town C": 1360,
    "Brood Wars Protoss 3 - Town D": 1361,
    "Brood Wars Protoss 3 - Town E": 1362,
    "Brood Wars Protoss 3 - Town F": 1363,
    "Brood Wars Protoss 4 - Town A": 1364,
    "Brood Wars Protoss 4 - Town ": 1365,
    "Brood Wars Protoss 4 - Town C": 1366,
    "Brood Wars Protoss 4 - Town D": 1367,
    "Brood Wars Protoss 4 - Town E": 1368,
    "Brood Wars Protoss 4 - Town F": 1369,
    "Brood Wars Protoss 5 - Town A": 1370,
    "Brood Wars Protoss 5 - Town ": 1371,
    "Brood Wars Protoss 5 - Town C": 1372,
    "Brood Wars Protoss 5 - Town D": 1373,
    "Brood Wars Protoss 5 - Town E": 1374,
    "Brood Wars Protoss 5 - Town F": 1375,
    "Brood Wars Protoss 6 - Town A": 1376,
    "Brood Wars Protoss 6 - Town ": 1377,
    "Brood Wars Protoss 6 - Town C": 1378,
    "Brood Wars Protoss 6 - Town D": 1379,
    "Brood Wars Protoss 6 - Town E": 1380,
    "Brood Wars Protoss 6 - Town F": 1381,
    "Brood Wars Protoss 7 - Town A": 1382,
    "Brood Wars Protoss 7 - Town ": 1383,
    "Brood Wars Protoss 7 - Town C": 1384,
    "Brood Wars Protoss 7 - Town D": 1385,
    "Brood Wars Protoss 7 - Town E": 1386,
    "Brood Wars Protoss 7 - Town F": 1387,
    "Brood Wars Protoss 8 - Town A": 1388,
    "Brood Wars Protoss 8 - Town ": 1389,
    "Brood Wars Protoss 8 - Town C": 1390,
    "Brood Wars Protoss 8 - Town D": 1391,
    "Brood Wars Protoss 8 - Town E": 1392,
    "Brood Wars Protoss 8 - Town F": 1393,
    "Brood Wars Terran 1 - Town A": 1394,
    "Brood Wars Terran 1 - Town ": 1395,
    "Brood Wars Terran 1 - Town C": 1396,
    "Brood Wars Terran 1 - Town D": 1397,
    "Brood Wars Terran 1 - Town E": 1398,
    "Brood Wars Terran 1 - Town F": 1399,
    "Brood Wars Terran 2 - Town A": 1400,
    "Brood Wars Terran 2 - Town ": 1401,
    "Brood Wars Terran 2 - Town C": 1402,
    "Brood Wars Terran 2 - Town D": 1403,
    "Brood Wars Terran 2 - Town E": 1404,
    "Brood Wars Terran 2 - Town F": 1405,
    "Brood Wars Terran 3 - Town A": 1406,
    "Brood Wars Terran 3 - Town ": 1407,
    "Brood Wars Terran 3 - Town C": 1408,
    "Brood Wars Terran 3 - Town D": 1409,
    "Brood Wars Terran 3 - Town E": 1410,
    "Brood Wars Terran 3 - Town F": 1411,
    "Brood Wars Terran 4 - Town A": 1412,
    "Brood Wars Terran 4 - Town ": 1413,
    "Brood Wars Terran 4 - Town C": 1414,
    "Brood Wars Terran 4 - Town D": 1415,
    "Brood Wars Terran 4 - Town E": 1416,
    "Brood Wars Terran 4 - Town F": 1417,
    "Brood Wars Terran 5 - Town A": 1418,
    "Brood Wars Terran 5 - Town ": 1419,
    "Brood Wars Terran 5 - Town C": 1420,
    "Brood Wars Terran 5 - Town D": 1421,
    "Brood Wars Terran 5 - Town E": 1422,
    "Brood Wars Terran 5 - Town F": 1423,
    "Brood Wars Terran 6 - Town A": 1424,
    "Brood Wars Terran 6 - Town ": 1425,
    "Brood Wars Terran 6 - Town C": 1426,
    "Brood Wars Terran 6 - Town D": 1427,
    "Brood Wars Terran 6 - Town E": 1428,
    "Brood Wars Terran 6 - Town F": 1429,
    "Brood Wars Terran 7 - Town A": 1430,
    "Brood Wars Terran 7 - Town ": 1431,
    "Brood Wars Terran 7 - Town C": 1432,
    "Brood Wars Terran 7 - Town D": 1433,
    "Brood Wars Terran 7 - Town E": 1434,
    "Brood Wars Terran 7 - Town F": 1435,
    "Brood Wars Terran 8 - Town A": 1436,
    "Brood Wars Terran 8 - Town ": 1437,
    "Brood Wars Terran 8 - Town C": 1438,
    "Brood Wars Terran 8 - Town D": 1439,
    "Brood Wars Terran 8 - Town E": 1440,
    "Brood Wars Terran 8 - Town F": 1441,
    "Brood Wars Zerg 1 - Town A": 1442,
    "Brood Wars Zerg 1 - Town ": 1443,
    "Brood Wars Zerg 1 - Town C": 1444,
    "Brood Wars Zerg 1 - Town D": 1445,
    "Brood Wars Zerg 1 - Town E": 1446,
    "Brood Wars Zerg 1 - Town F": 1447,
    "Brood Wars Zerg 2 - Town A": 1448,
    "Brood Wars Zerg 2 - Town ": 1449,
    "Brood Wars Zerg 2 - Town C": 1450,
    "Brood Wars Zerg 2 - Town D": 1451,
    "Brood Wars Zerg 2 - Town E": 1452,
    "Brood Wars Zerg 2 - Town F": 1453,
    "Brood Wars Zerg 3 - Town A": 1454,
    "Brood Wars Zerg 3 - Town ": 1455,
    "Brood Wars Zerg 3 - Town C": 1456,
    "Brood Wars Zerg 3 - Town D": 1457,
    "Brood Wars Zerg 3 - Town E": 1458,
    "Brood Wars Zerg 3 - Town F": 1459,
    "Brood Wars Zerg 4 - Town A": 1460,
    "Brood Wars Zerg 4 - Town ": 1461,
    "Brood Wars Zerg 4 - Town C": 1462,
    "Brood Wars Zerg 4 - Town D": 1463,
    "Brood Wars Zerg 4 - Town E": 1464,
    "Brood Wars Zerg 4 - Town F": 1465,
    "Brood Wars Zerg 5 - Town A": 1466,
    "Brood Wars Zerg 5 - Town ": 1467,
    "Brood Wars Zerg 5 - Town C": 1468,
    "Brood Wars Zerg 5 - Town D": 1469,
    "Brood Wars Zerg 5 - Town E": 1470,
    "Brood Wars Zerg 5 - Town F": 1471,
    "Brood Wars Zerg 6 - Town A": 1472,
    "Brood Wars Zerg 6 - Town ": 1473,
    "Brood Wars Zerg 6 - Town C": 1474,
    "Brood Wars Zerg 6 - Town D": 1475,
    "Brood Wars Zerg 6 - Town E": 1476,
    "Brood Wars Zerg 6 - Town F": 1477,
    "Brood Wars Zerg 7 - Town A": 1478,
    "Brood Wars Zerg 7 - Town ": 1479,
    "Brood Wars Zerg 7 - Town C": 1480,
    "Brood Wars Zerg 7 - Town D": 1481,
    "Brood Wars Zerg 7 - Town E": 1482,
    "Brood Wars Zerg 7 - Town F": 1483,
    "Brood Wars Zerg 8 - Town A": 1484,
    "Brood Wars Zerg 8 - Town ": 1485,
    "Brood Wars Zerg 8 - Town C": 1486,
    "Brood Wars Zerg 8 - Town D": 1487,
    "Brood Wars Zerg 8 - Town E": 1488,
    "Brood Wars Zerg 8 - Town F": 1489,
    "Brood Wars Zerg 9 - Town A": 1490,
    "Brood Wars Zerg 9 - Town ": 1491,
    "Brood Wars Zerg 9 - Town C": 1492,
    "Brood Wars Zerg 9 - Town D": 1493,
    "Brood Wars Zerg 9 - Town E": 1494,
    "Brood Wars Zerg 9 - Town F": 1495,
    "Brood Wars Zerg 10 - Town A": 1496,
    "Brood Wars Zerg 10 - Town ": 1497,
    "Brood Wars Zerg 10 - Town C": 1498,
    "Brood Wars Zerg 10 - Town D": 1499,
    "Brood Wars Zerg 10 - Town E": 1500,
    "Brood Wars Zerg 10 - Town F": 1501,
    "Expansion Zerg Campaign Easy": 1502,
    "Expansion Zerg Campaign Medium": 1503,
    "Expansion Zerg Campaign Difficult": 1504,
    "Expansion Zerg Campaign Area Town": 1505,
    "Expansion Protoss Campaign Easy": 1506,
    "Expansion Protoss Campaign Medium": 1507,
    "Expansion Protoss Campaign Difficult": 1508,
    "Expansion Protoss Campaign Area Town": 1509,
    "Expansion Terran Campaign Easy": 1510,
    "Expansion Terran Campaign Medium": 1511,
    "Expansion Terran Campaign Difficult": 1512,
    "Expansion Terran Campaign Area Town": 1513,
    "Expansion Terran Campaign Insane": 1514,
    "Expansion Protoss Campaign Insane": 1515,
    "Expansion Zerg Campaign Insane": 1516,
    "Set Generic Command Target": 1517,
    "Make These Units Patrol": 1518,
    "Enter Transport (AIScript)": 1519,
    "Exit Transport": 1520,
    "Turn ON Shared Vision for Player 1": 1521,
    "Turn ON Shared Vision for Player 2": 1522,
    "Turn ON Shared Vision for Player 3": 1523,
    "Turn ON Shared Vision for Player 4": 1524,
    "Turn ON Shared Vision for Player 5": 1525,
    "Turn ON Shared Vision for Player 6": 1526,
    "Turn ON Shared Vision for Player 7": 1527,
    "Turn ON Shared Vision for Player 8": 1528,
    "Turn OFF Shared Vision for Player 1": 1529,
    "Turn OFF Shared Vision for Player 2": 1530,
    "Turn OFF Shared Vision for Player 3": 1531,
    "Turn OFF Shared Vision for Player 4": 1532,
    "Turn OFF Shared Vision for Player 5": 1533,
    "Turn OFF Shared Vision for Player 6": 1534,
    "Turn OFF Shared Vision for Player 7": 1535,
    "Turn OFF Shared Vision for Player 8": 1536,
    "AI Nuke Here": 1537,
    "AI Harass Here": 1538,
    "Set Unit Order To: Junk Yard Dog": 1539,
    "View Players": 1540,
    "Speed Up": 1541,
    "Play": 1542,
    "Pause": 1543,
    "Slow Down": 1544,
    "Replay Progress": 1545,
    "Paused": 1546,
    "Unlimited": 1547,
}
