Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
research = {
0x031100: 'Centrifugal Hooks',
}
class CreepTumor(GameObject, Building, Zerg):
code = 0x7301
abilities = {
0x033a10: 'Spawn Creep Tumor',
0x03fa06: 'Cancel Creep Tumor',
}
class BurrowedCreepTumor(GameObject, Building, Zerg):
code = 0xa501
abilities = {
0x033a10: 'Spawn Creep Tumor',
0x03fa06: 'Cancel Creep Tumor',
}
class HydraliskDen(GameObject, Building, Zerg):
code = 0x7701
research = {
0x023002: 'Grooved Spines',
}
class InfestationPit(GameObject, Building, Zerg):
code = 0x7a01
research = {
0x031002: 'Pathogen Glands',
0x031003: 'Neural Parasite',
}
class NydusNetwork(GameObject, Building, Zerg):
code = 0x7b01
abilities = {
0x033d10: 'Spawn Nydus Worm',
}
class Spire(GameObject, Building, Zerg):
code = 0x7701
research = {
0x023002: 'Grooved Spines',
}
class InfestationPit(GameObject, Building, Zerg):
code = 0x7a01
research = {
0x031002: 'Pathogen Glands',
0x031003: 'Neural Parasite',
}
class NydusNetwork(GameObject, Building, Zerg):
code = 0x7b01
abilities = {
0x033d10: 'Spawn Nydus Worm',
}
class Spire(GameObject, Building, Zerg):
code = 0x7801
research = {
0x023100: 'Flyer Attacks Level 1',
0x023101: 'Flyer Attacks Level 2',
0x023102: 'Flyer Attacks Level 3',
0x023103: 'Flyer Carapace Level 1',
0x023104: 'Flyer Carapace Level 2',
0x023105: 'Flyer Carapace Level 3',
}
@Upgrade(0x022d00, 0x022d01)
class GreaterSpire(object):
code = 0x8201
inherit = True
class UltraliskCavern(GameObject, Building, Zerg):
code = 0x7901
code = 0x8b01
spells = {
0x003710: 'Fungal Growth',
0x011e10: 'Infested Terran',
0x011f20: 'Neural Paraiste',
}
@Mode(0x030c00, 0x030d00)
class Burrowed(Moveable):
code = 0x9b01
class Ultralisk(GameObject, Unit, Army, Zerg):
code = 0x8901
@Mode(0x031200, 0x031300)
class Burrowed(object):
code = 0x9f01
class Broodling(GameObject, Unit, Zerg):
code = 0xcf01
class Changeling(GameObject, Unit, Zerg):
code = 0x2601
# TODO insta-change beween them
class ChangelingZealot(GameObject):
code = 0x2701
class ChangelingMarine(GameObject):
code = 0x2801
description = 'Marine'
class ChangelingMarineShield(GameObject):
code = 0x2901
description = 'Marine'
class ChangelingZergling(GameObject):
code = 0x2a01
description = 'Zergling'
class ChangelingZerglingWings(GameObject):
0x033400: 'Generate Creep',
0x033401: 'Stop generating Creep',
0x030401: 'Unload all at',
}
@Mode(0x030e00, 0x030e01)
class OverseerCocoon(object):
code = 0x9c01
class Overseer(GameObject, Unit, Detector):
code = 0x9d01
spells = {
0x011000: 'Changeling',
0x040320: 'Contaminate',
}
class Mutalisk(GameObject, Unit, Army, Zerg):
code = 0x8801
class Corruptor(GameObject, Unit, Army, Zerg):
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):
description = 'Zergling'
class ChangelingZerglingWings(GameObject):
code = 0x2b01
description = 'Zergling'
class InfestedTerranEgg(GameObject, Zerg):
code = 0xb001
@Upgrade(0x0, 0x0) # TODO codes?
class InfestedTerran(Unit, Army):
code = 0x2101
@Mode(0x0, 0x0) # TODO codes?
class Burrowed(object):
code = 0x9401
@Transport(0x030a01, None, 0x030a33, 0x030a20)
class NydusWorm(GameObject, Building, Zerg):
code = 0xa901
@Transport(0x030412, 0x030422, 0x030433, 0x030404)
class Overlord(GameObject, Unit, Zerg):
code = 0x8601
abilities = {
0x033400: 'Generate Creep',
0x033401: 'Stop generating Creep',
0x030401: 'Unload all at',
}
@Mode(0x030e00, 0x030e01)
class OverseerCocoon(object):
code = 0x9c01
class Overseer(GameObject, Unit, Detector):
code = 0x9d01
spells = {
class Hydralisk(GameObject, Unit, Army, Zerg):
code = 0x8701
@Mode(0x023800, 0x023900)
class Burrowed(object):
code = 0x9101
class Infestor(GameObject, Unit, Army, Zerg):
code = 0x8b01
spells = {
0x003710: 'Fungal Growth',
0x011e10: 'Infested Terran',
0x011f20: 'Neural Paraiste',
}
@Mode(0x030c00, 0x030d00)
class Burrowed(Moveable):
code = 0x9b01
class Ultralisk(GameObject, Unit, Army, Zerg):
code = 0x8901
@Mode(0x031200, 0x031300)
class Burrowed(object):
code = 0x9f01
class Broodling(GameObject, Unit, Zerg):
code = 0xcf01
class Changeling(GameObject, Unit, Zerg):
code = 0x2601
# TODO insta-change beween them
class ChangelingZealot(GameObject):
code = 0x2701
class ChangelingMarine(GameObject):
code = 0x2801
description = 'Marine'
class ChangelingMarineShield(GameObject):
0x040320: 'Contaminate',
}
class Mutalisk(GameObject, Unit, Army, Zerg):
code = 0x8801
class Corruptor(GameObject, Unit, Army, Zerg):
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',
}
class Hatchery(GameObject, ZergMain, Zerg):
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',
class ChangelingZealot(GameObject):
code = 0x2701
class ChangelingMarine(GameObject):
code = 0x2801
description = 'Marine'
class ChangelingMarineShield(GameObject):
code = 0x2901
description = 'Marine'
class ChangelingZergling(GameObject):
code = 0x2a01
description = 'Zergling'
class ChangelingZerglingWings(GameObject):
code = 0x2b01
description = 'Zergling'
class InfestedTerranEgg(GameObject, Zerg):
code = 0xb001
@Upgrade(0x0, 0x0) # TODO codes?
class InfestedTerran(Unit, Army):
code = 0x2101
@Mode(0x0, 0x0) # TODO codes?
class Burrowed(object):
code = 0x9401
@Transport(0x030a01, None, 0x030a33, 0x030a20)
class NydusWorm(GameObject, Building, Zerg):
code = 0xa901
@Transport(0x030412, 0x030422, 0x030433, 0x030404)
class Overlord(GameObject, Unit, Zerg):
code = 0x8601
abilities = {
0x026817: 'Spore Crawler',
}
@Mode(0x023600, 0x023700)
class Burrowed(object):
code = 0x9001
class Queen(GameObject, Unit, Army, Zerg):
code = 0x9a01
spells = {
0x033510: 'Creep Tumor',
0x012020: 'Larva',
0x032620: 'Transfuse',
}
@Mode(0x030800, 0x030900)
class Burrowed(object):
code = 0x9901
class Zergling(GameObject, Unit, Army, Zerg):
code = 0x8501
@Upgrade(0x003a00, 0x012b00)
class BanelingCocoon(object):
code = 0x2201
@Mode(0x023c00, 0x023d00)
class Burrowed(object):
code = 0x9301
class Baneling(GameObject, Unit, Army):
code = 0x2301
abilities = {
0x003500: 'Explode',
0x011D20: 'Attack Structure'
}
@Mode(0x023400, 0x023500)
class Burrowed(object):
code = 0x8f01