How to use the sc2reader.old_data.Building function in sc2reader

To help you get started, we’ve selected a few sc2reader examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
    @Upgrade(0x030f00, 0x030f01)
    class PlanetaryFortress(TerranMain, Production, Terran):
        code = 0x9e01
        abilities = {
            0x012e00: 'Cancel', # Generic ESC cancel (only seen at PF)
        }

class SupplyDepot(GameObject, Building, Terran):
    code = 0x2e01

    @Mode(0x020e00, 0x020f00)
    class Lowered(Building):
        code = 0x4b01

class Refinery(GameObject, Building, Terran):
    code = 0x2f01

class Barracks(GameObject, Production, Terran):
    code = 0x3001
    abilities = {
        0x02c406: 'Cancel addon',
    } 
    train = {
        0x021000: 'Marine',
        0x021001: 'Reaper',
        0x021002: 'Ghost',
        0x021003: 'Marauder',
    }
    build = {
        0x020400: 'Techlab',
        0x020401: 'Reactor',
github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
code = 0x8c01
    spells = {
        0x003120: 'Corruption',
    }
    @Mode(0x023300, 0x023301)
    class BroodLordCocoon(object):
        code = 0x8d01
class BroodLord(GameObject, Unit, Army):
    code = 0x8e01
# Buildings
class SpineCrawler(GameObject, Building, Zerg):
    code = 0x7e01
    @Mode(0x033600, 0x033810, 0x033801)
    class Uprooted(object):
        code = 0xa601
class SporeCrawler(GameObject, Building, Zerg):
    code = 0x7f01
    @Mode(0x033700, 0x033910, 0x033901)
    class Uprooted(object):
        code = 0xa701

class ZergMain(Production, Main):
    abilities = {
        0x011b11: 'Set worker rally point',
        0x011b21: 'Set worker rally target',
        0x011b10: 'Set unit rally point',
        0x011b20: 'Set unit rally target',
    }
    train = {
        0x032400: 'Queen',
    }
    research = {
github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
0x021f03: 'Immortal',
    }
class Stargate(GameObject, Production, Protoss):
    code = 0x5f01
    train = {
        0x021e00: 'Phoenix',
        0x021e02: 'Carrier',
        0x021e04: 'Void Ray',
    }
class TwilightCouncil(GameObject, Building, Protoss):
    code = 0x5d01
    research = {
        0x031e00: 'Charge',
        0x031e01: 'Blink',
    }
class FleetBeacon(GameObject, Building, Protoss):
    code = 0x5c01
    research = {
        0x003601: 'Graviton Catapult',
    }
class TemplarArchives(GameObject, Building, Protoss):
    code = 0x6001
    research = {
        0x022700: 'Khaydarin Amulet',
        0x022704: 'Psionic Storm',
    }
class DarkShrine(GameObject, Building, Protoss):
    code = 0x6101
class RoboticsBay(GameObject, Building, Protoss):
    code = 0x6201
    research = {
        0x022601: 'Gravitic Booster',
github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
code = 0x7201
    @Upgrade(0x022b00, 0x022b01)
    class Lair(ZergMain):
        code = 0x8001
        research = {
            0x022e01: 'Pneumatized Carapace',
            0x022e02: 'Ventral Sacs',
        }
        @Upgrade(0x022c00, 0x022c01)
        class Hive(object):
            code = 0x8101
            inherit = True

class Extractor(GameObject, Building, Zerg):
    code = 0x7401
class SpawningPool(GameObject, Building, Zerg):
    code = 0x7501
    research = {
        0x022f00: 'Adrenal Glands',
        0x022f01: 'Metabolic Boost',
    }
class EvolutionChamber(GameObject, Building, Zerg):
    code = 0x7601
    research = {
        0x022a00: 'Melee Attacks Level 1',
        0x022a01: 'Melee Attacks Level 2',
        0x022a02: 'Melee Attacks Level 3',
        0x022a03: 'Ground Carapace Level 1',
        0x022a04: 'Ground Carapace Level 2',
        0x022a05: 'Ground Carapace Level 3',
        0x022a06: 'Missile Attacks Level 1',
        0x022a07: 'Missile Attacks Level 2',