How to use the sc2reader.old_data.Terran 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
0x021001: 'Reaper',
        0x021002: 'Ghost',
        0x021003: 'Marauder',
    }
    build = {
        0x020400: 'Techlab',
        0x020401: 'Reactor',
    }
    @Mode(0x020500, 0x020d10)
    class Flying(Moveable):
        code = 0x4a01
        build = {
            0x020410: 'Techlab',
            0x020411: 'Reactor',
        }
class EngineeringBay(GameObject, Building, Terran):
    code = 0x3101
    research = {
        0x021300: 'Hi-Sec Auto Tracking',
        0x021301: 'Building Armor',
        0x021302: 'Infantry Weapons Level 1',
        0x021303: 'Infantry Weapons Level 2',
        0x021304: 'Infantry Weapons Level 3',
        0x021305: 'Neosteel Frame',
        0x021306: 'Infantry Armor Level 1',
        0x021307: 'Infantry Armor Level 2',
        0x025300: 'Infantry Armor Level 3',
    }

@Transport(0x020001, None, 0x020033, 0x20020)
class Bunker(GameObject, Building, Terran):
    code = 0x3301
github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
}
class Starport(GameObject, Building, Terran):
    code = 0x4501
    name = "Techlab (Starport)"
    research = {
        0x021800: 'Cloaking Field',
        0x021802: 'Caduceus Reactor',
        0x021803: 'Corvid Rector',
        0x021806: 'Seeker Missile',
        0x021807: 'Durable Materials',
    }
    abilities = {
        0x012f00: 'Cancel Research',
        0x012f31: 'Cancel specific Research',
    }
class Reactor(GameObject, Building, Terran):
    code = 0x1f01
class Barracks(GameObject, Building, Terran):
    code = 0x4201
    name = "Reactor (Barracks)"
class Factory(GameObject, Building, Terran):
    code = 0x4401
    name = "Reactor (Factory)"
class Starport(GameObject, Building, Terran):
    code = 0x4601
    name = "Reactor (Starport)"
class FusionCore(GameObject, Building, Terran):
    code = 0x3a01
    research = {
        0x031c00: 'Weapon Refit',
        0x031c01: 'Behemoth Reactor',
    }
github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
0x021a02: 'Vehicle Plating Level 1',
        0x021a03: 'Vehicle Plating Level 2',
        0x021a04: 'Vehicle Plating Level 3',
        0x021a05: 'Vehicle Weapons Level 1',
        0x021a06: 'Vehicle Weapons Level 2',
        0x021a07: 'Vehicle Weapons Level 3',
        0x025a00: 'Ship Plating Level 1',
        0x025a01: 'Ship Plating Level 2',
        0x025a02: 'Ship Plating Level 3',
        0x025a03: 'Ship Weapons Level 1',
        0x025a04: 'Ship Weapons Level 2',
        0x025a05: 'Ship Weapons Level 3',
    }
class Techlab(GameObject, Building, Terran):
    code = 0x1e01
class TechlabBarracks(GameObject, Building, Terran):
    code = 0x4101
    name = "Techlab (Barracks)"
    research = {
        0x021403: 'Nitro Packs',
        0x021600: 'Stimpack',
        0x021601: 'Combat Shields',
        0x021602: 'Concussive Shells',
    }
    abilities = {
        0x012f00: 'Cancel Research',
        0x012f31: 'Cancel specific Research',
    }
class TechlabFactory(GameObject, Building, Terran):
    code = 0x4301
    name = "Techlab (Factory)"
    research = {
github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
code = 0x5201
    spells = {
        0x013700: 'Toggle Auto-Heal',
        0x020803: 'Heal'
    }

class Raven(GameObject, Unit, SpellCaster, Terran, Detector):
    code = 0x5401
    spells = {
        0x033b10: 'Auto Turret',
        0x003e10: 'Point Defense Drone',
        0x010a20: 'Seeker Missile',
    }

@Cloak(0x013a00, 0x013a01)
class Banshee(GameObject, Unit, Army, Terran):
    code = 0x5301

class Battlecruiser(GameObject, Unit, Army, Terran):
    code = 0x5501
    spells = {
        0x013d20: 'Yamato Cannon',
    }

# Terran GameObjects
class AutoTurret(GameObject, Terran):
    code = 0x3b01
    name = 'Auto-turret'
class PointDefenseDrone(GameObject, Terran):
    code = 0x2501

# Terran Buildings
github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
0x017210: 'Sensor Tower',
        0x017211: 'Ghost Academy',
        0x017212: 'Factory',
        0x017213: 'Starport',
        0x017215: 'Armory',
        0x017217: 'Fusion Core',
    }
class MULE(GameObject, Worker, Terran):
    code = 0xb901
    name = 'MULE'
    abilities = {
        0x003900: 'Toggle Auto-Repair',
        0x003920: 'Repair',
    }
# Barracks
class Marine(GameObject, Army, Terran):
    code = 0x4c01
    abilities = {
        0x013400: 'Use Stimpack (mixed)',
    }
class Marauder(GameObject, Unit, Army, Terran):
    code = 0x4f01
    abilities = {
        0x013400: 'Use Stimpack (mixed)',
        0x012100: 'Use Stimpack',
    }
class Reaper(GameObject, Unit, Army, Terran):
    code = 0x4d01

@Cloak(0x013500, 0x013501)
class Ghost(GameObject, Unit, Army, Terran):
    code = 0x4e01
github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
build = {
        0x013210: 'Command Center',
        0x013211: 'Supply Depot',
        0x013213: 'Barracks',
        0x013214: 'Engineering Bay',
        0x013215: 'Missile Turret',
        0x013216: 'Bunker',
        0x013222: 'Refinery',
        0x017210: 'Sensor Tower',
        0x017211: 'Ghost Academy',
        0x017212: 'Factory',
        0x017213: 'Starport',
        0x017215: 'Armory',
        0x017217: 'Fusion Core',
    }
class MULE(GameObject, Worker, Terran):
    code = 0xb901
    name = 'MULE'
    abilities = {
        0x003900: 'Toggle Auto-Repair',
        0x003920: 'Repair',
    }
# Barracks
class Marine(GameObject, Army, Terran):
    code = 0x4c01
    abilities = {
        0x013400: 'Use Stimpack (mixed)',
    }
class Marauder(GameObject, Unit, Army, Terran):
    code = 0x4f01
    abilities = {
        0x013400: 'Use Stimpack (mixed)',
github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
class Marine(GameObject, Army, Terran):
    code = 0x4c01
    abilities = {
        0x013400: 'Use Stimpack (mixed)',
    }
class Marauder(GameObject, Unit, Army, Terran):
    code = 0x4f01
    abilities = {
        0x013400: 'Use Stimpack (mixed)',
        0x012100: 'Use Stimpack',
    }
class Reaper(GameObject, Unit, Army, Terran):
    code = 0x4d01

@Cloak(0x013500, 0x013501)
class Ghost(GameObject, Unit, Army, Terran):
    code = 0x4e01
    abilities = {
        0x003200: 'Hold fire',
        0x003300: 'Weapons free',
        0x031f01: 'Cancel Tactical Nuclear Strike',
    }
    spells = {
        0x032210: 'EMP Round',
        0x013620: 'Sniper Round',
        0x031f10: 'Tactical Nuclear Strike',
    }

# Factory
class Hellion(GameObject, Unit, Army, Terran):
    code = 0x5101
github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
}
    build = {
        0x020800: 'Techlab',
        0x020801: 'Reactor',
    }
    abilities = {
        0x02c806: 'Cancel addon',
    }
    @Mode(0x020900, 0x020b10)
    class Flying(Moveable):
        code = 0x4801
        build = {
            0x020810: 'Techlab',
            0x020811: 'Reactor',
        }
class Armory(GameObject, Building, Terran):
    code = 0x3901
    research = {
        0x021a02: 'Vehicle Plating Level 1',
        0x021a03: 'Vehicle Plating Level 2',
        0x021a04: 'Vehicle Plating Level 3',
        0x021a05: 'Vehicle Weapons Level 1',
        0x021a06: 'Vehicle Weapons Level 2',
        0x021a07: 'Vehicle Weapons Level 3',
        0x025a00: 'Ship Plating Level 1',
        0x025a01: 'Ship Plating Level 2',
        0x025a02: 'Ship Plating Level 3',
        0x025a03: 'Ship Weapons Level 1',
        0x025a04: 'Ship Weapons Level 2',
        0x025a05: 'Ship Weapons Level 3',
    }
class Techlab(GameObject, Building, Terran):
github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
0x020600: 'Build Techlab',
        0x020601: 'Build Reactor',
    }
    abilities = {
        0x020700: 'Set rally point',
        0x02c606: 'Cancel addon',
    }
    @Mode(0x020700, 0x020a10)
    class Flying(Moveable):
        code = 0x4701
        build = {
            0x020610: 'Techlab',
            0x020611: 'Rector',
        }

class GhostAcademy(GameObject, Building, Terran):
    code = 0x3501
    abilities = {
        0x021500: 'Arm silo with Nuke',
    }
    research = {
        0x021900: 'Personal Cloaking',
        0x021901: 'Moebius Reactor',
    }

class Starport(GameObject, Production, Terran):
    code = 0x3701
    train = {
        0x021200: 'Medivac',
        0x021201: 'Banshee',
        0x021202: 'Raven',
        0x021203: 'Battlecruiser',
github GraylinKim / sc2reader / sc2reader / old_data.py View on Github external
0x021305: 'Neosteel Frame',
        0x021306: 'Infantry Armor Level 1',
        0x021307: 'Infantry Armor Level 2',
        0x025300: 'Infantry Armor Level 3',
    }

@Transport(0x020001, None, 0x020033, 0x20020)
class Bunker(GameObject, Building, Terran):
    code = 0x3301
    abilities = {
        0x032100: 'Salvage',
        0x032f20: 'Attack',
        0x033000: 'Stimpack',
        0x033300: 'Stop'
    }
class SensorTower(GameObject, Building, Terran):
    code = 0x3401
class MissileTurret(GameObject, Building, Terran):
    code = 0x3201

class Factory(GameObject, Production, Terran):
    code = 0x3601
    train = {
        0x021101: 'Siege Tank',
        0x021104: 'Thor',
        0x021105: 'Hellion',
    }
    build = {
        0x020600: 'Build Techlab',
        0x020601: 'Build Reactor',
    }
    abilities = {