Skip to content

Commit 503acea

Browse files
committed
added zerg codes from second replay. not done
1 parent 3b47183 commit 503acea

File tree

1 file changed

+88
-69
lines changed

1 file changed

+88
-69
lines changed

sc2reader/data/v140_.py

Lines changed: 88 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -518,15 +518,15 @@ class RoboticsBay(Research):
518518

519519
class Larva(DataObject):
520520
abilities = {
521-
0x0: 'Drone',
522-
0x0: 'Zergling',
523-
0x0: 'Overlord',
524-
0x0: 'Hydralisk',
525-
0x0: 'Mutalisk',
526-
0x0: 'Ultralisk',
527-
0x0: 'Roach',
528-
0x0: 'Infestor',
529-
0x0: 'Corruptor',
521+
0x13300: 'Drone',
522+
0x13301: 'Zergling',
523+
0x13302: 'Overlord',
524+
0x13303: 'Hydralisk',
525+
0x13304: 'Mutalisk',
526+
0x13306: 'Ultralisk',
527+
0x13309: 'Roach',
528+
0x1330a: 'Infestor',
529+
0x1330b: 'Corruptor',
530530
}
531531

532532
class Egg(Supporter):
@@ -539,60 +539,78 @@ class Drone(Worker):
539539
abilities = {
540540
0x0: 'Return cargo',
541541
0x0: 'Burrow',
542-
0x0: 'Hatchery',
543-
0x0: 'Spawning Pool',
544-
0x0: 'Evolution Chamber',
545-
0x0: 'Hydralisk Den',
546-
0x0: 'Spire',
547-
0x0: 'Ultralisk Cavern',
548-
0x0: 'Extractor',
549-
0x0: 'Infestation Pit',
550-
0x0: 'Nydus Network',
551-
0x0: 'Baneling Nest',
552-
0x0: 'Roach Warren',
553-
0x0: 'Spine Crawler',
554-
0x0: 'Spore Crawler',
542+
0x12920: 'Hatchery',
543+
0x12923: 'Spawning Pool',
544+
0x12924: 'Evolution Chamber',
545+
0x12925: 'Hydralisk Den',
546+
0x12926: 'Spire',
547+
0x12927: 'Ultralisk Cavern',
548+
0x12942: 'Extractor',
549+
0x12928: 'Infestation Pit',
550+
0x12929: 'Nydus Network',
551+
0x1292a: 'Baneling Nest',
552+
0x1292d: 'Roach Warren',
553+
0x1292e: 'Spine Crawler',
554+
0x1292f: 'Spore Crawler',
555+
556+
0x129a0: 'Hatchery',
557+
0x129a3: 'Spawning Pool',
558+
0x129a4: 'Evolution Chamber',
559+
0x129a5: 'Hydralisk Den',
560+
0x129a6: 'Spire',
561+
0x129a7: 'Ultralisk Cavern',
562+
0x129a2: 'Extractor',
563+
0x129a8: 'Infestation Pit',
564+
0x129a9: 'Nydus Network',
565+
0x129aa: 'Baneling Nest',
566+
0x129ad: 'Roach Warren',
567+
0x129ae: 'Spine Crawler',
568+
0x129af: 'Spore Crawler',
555569
}
556570

557571
@Burrows(0x0, 0x0)
558572
class Queen(Moveable, Attacker):
559573
abilities = {
560-
0x0: 'Creep Tumor',
561-
0x0: 'Larva',
562-
0x0: 'Transfuse',
574+
0x17620: 'Creep Tumor',
575+
0x6140: 'Larva',
576+
0x16740: 'Transfuse',
563577
}
564578

565-
@Burrows(0x0, 0x0)
579+
@Burrows(0x13d00, 0x13e00)
566580
class Zergling(Moveable, Attacker):
567581
pass
568582

569-
@Burrows(0x0, 0x0)
570-
@MorphedFrom(Zergling, 0x0, 0x0)
583+
@Burrows(0x13500, 0x13600)
584+
@MorphedFrom(Zergling, 0x3b00, 0x0)
571585
class Baneling(Moveable, Attacker):
572586
abilities = {
573587
0x0: 'Explode',
574588
0x0: 'Attack Structure'
575589
}
576590

577-
@Burrows(0x0, 0x0)
591+
@Burrows(0x13b00, 0x13c00)
578592
class Roach(Moveable, Attacker):
579593
pass
580594

581-
@Burrows(0x0, 0x0)
595+
@Burrows(0x13900, 0x13a00)
582596
class Hydralisk(Moveable, Attacker):
583597
pass
584598

585-
@Burrows(0x0, 0x0)
599+
@Burrows(0x14d00, 0x14e00)
586600
@Channels('Neural Parasite', 0x0, 0x0)
587601
class Infestor(Moveable, Supporter):
588602
abilities = {
589-
0x0: 'Fungal Growth',
590-
0x0: 'Infested Terran',
603+
0x3820: 'Fungal Growth',
604+
0x38a0: 'Fungal Growth',
605+
606+
0x5f20: 'Infested Terran',
607+
0x5fa0: 'Infested Terran',
591608
}
592609

593610
class Burrowed(Moveable, Supporter):
594611
abilities = {
595-
0x0: 'Infested Terran',
612+
0x5f20: 'Infested Terran',
613+
0x5fa0: 'Infested Terran',
596614
}
597615

598616
@Burrows(0x0, 0x0)
@@ -605,7 +623,8 @@ class InfestedTerran(Moveable, Attacker):
605623

606624
class Corruptor(Moveable, Attacker):
607625
abilities = {
608-
0x0: 'Corruption',
626+
0x3200: 'Corruption',
627+
0x3240: 'Corruption',
609628
}
610629

611630
@MorphedFrom(Corruptor, 0x0, 0x0)
@@ -631,80 +650,80 @@ class Overseer(Zerg, Moveable, Supporter):
631650
class NydusWorm(Building):
632651
pass
633652

634-
@Uproots(0x0, 0x0, 0x0)
653+
@Uproots(0x17700, 0x17920, 0x0)
635654
class SpineCrawler(Building, Attacker):
636655
pass
637656

638-
@Uproots(0x0, 0x0, 0x0)
657+
@Uproots(0x17800, 0x17a20, 0x0)
639658
class SporeCrawler(Building, Attacker):
640659
pass
641660

642661
class ZergMain(Production, Research):
643662
abilities = {
644663
0x0: 'Set worker rally point',
645-
0x0: 'Set worker rally target',
664+
0x5c41: 'Set worker rally target',
646665
0x0: 'Set unit rally point',
647666
0x0: 'Set unit rally target',
648-
0x0: 'Queen',
649-
0x0: 'Evolve Burrow',
650-
0x0: 'Evolve Pneumatized Carapace',
651-
0x0: 'Evolve Ventral Sacs',
667+
0x16500: 'Queen',
668+
0x12f03: 'Evolve Burrow',
669+
0x12f01: 'Evolve Pneumatized Carapace',
670+
0x12f02: 'Evolve Ventral Sacs',
652671
}
653672

654673
class Hatchery(ZergMain):
655674
pass
656675

657-
@UpgradeFrom(Hatchery,0x0, 0x0)
676+
@UpgradeFrom(Hatchery,0x12c00, 0x12c01)
658677
class Lair(ZergMain):
659678
pass
660679

661-
@UpgradeFrom(Lair, 0x0, 0x0)
680+
@UpgradeFrom(Lair, 0x12d00, 0x12d01)
662681
class Hive(ZergMain):
663682
pass
664683

665684
class SpawningPool(Research):
666685
abilities = {
667-
0x0: 'Evolve Adrenal Glands',
668-
0x0: 'Evolve Metabolic Boost',
686+
0x13000: 'Evolve Adrenal Glands',
687+
0x13001: 'Evolve Metabolic Boost',
669688
}
670689

671690
class EvolutionChamber(Research):
672691
abilities = {
673-
0x0: 'Evolve Melee Attacks Level 1',
674-
0x0: 'Evolve Melee Attacks Level 2',
675-
0x0: 'Evolve Melee Attacks Level 3',
676-
0x0: 'Evolve Ground Carapace Level 1',
677-
0x0: 'Evolve Ground Carapace Level 2',
678-
0x0: 'Evolve Ground Carapace Level 3',
679-
0x0: 'Evolve Missile Attacks Level 1',
680-
0x0: 'Evolve Missile Attacks Level 2',
681-
0x0: 'Evolve Missile Attacks Level 3',
692+
0x12b00: 'Evolve Melee Attacks Level 1',
693+
0x12b01: 'Evolve Melee Attacks Level 2',
694+
0x12b02: 'Evolve Melee Attacks Level 3',
695+
0x12b03: 'Evolve Ground Carapace Level 1',
696+
0x12b04: 'Evolve Ground Carapace Level 2',
697+
0x12b05: 'Evolve Ground Carapace Level 3',
698+
0x12b06: 'Evolve Missile Attacks Level 1',
699+
0x12b07: 'Evolve Missile Attacks Level 2',
700+
0x12b08: 'Evolve Missile Attacks Level 3',
682701
}
683702

684703
class RoachWarren(Research):
685704
abilities = {
686-
0x0: 'Evolve Glial Reconstitution',
687-
0x0: 'Evolve Tunneling Claws',
705+
0x5d01: 'Evolve Glial Reconstitution',
706+
0x5d02: 'Evolve Tunneling Claws',
688707
}
689708

690709
class BanelingNest(Research):
691710
abilities = {
692-
0x0: 'Evolve Centrifugal Hooks',
711+
0x15200: 'Evolve Centrifugal Hooks',
693712
}
694713

695-
@Channels('Creep Tumor', 0x0, 0x0)
714+
@Channels('Creep Tumor', 0x17b20, 0x0)
696715
class CreepTumorBurrowed(Building):
697716
pass
698717

699718
class HydraliskDen(Research):
700719
abilities = {
701-
0x0: 'Evolve Grooved Spines',
720+
0x13102: 'Evolve Grooved Spines',
702721
}
703722

704723
class InfestationPit(Research):
705724
abilities = {
706-
0x0: 'Evolve Pathogen Glands',
707-
0x0: 'Evolve Neural Parasite',
725+
0x15102: 'Evolve Pathogen Glands',
726+
0x15103: 'Evolve Neural Parasite',
708727
}
709728

710729
@Transports(0x0, 0x0, 0x0, 0x0)
@@ -715,12 +734,12 @@ class NydusNetwork(Building):
715734

716735
class Spire(Research):
717736
abilities = {
718-
0x0: 'Evolve Flyer Attacks Level 1',
719-
0x0: 'Evolve Flyer Attacks Level 2',
720-
0x0: 'Evolve Flyer Attacks Level 3',
721-
0x0: 'Evolve Flyer Carapace Level 1',
722-
0x0: 'Evolve Flyer Carapace Level 2',
723-
0x0: 'Evolve Flyer Carapace Level 3',
737+
0x13200: 'Evolve Flyer Attacks Level 1',
738+
0x13201: 'Evolve Flyer Attacks Level 2',
739+
0x13202: 'Evolve Flyer Attacks Level 3',
740+
0x13203: 'Evolve Flyer Carapace Level 1',
741+
0x13204: 'Evolve Flyer Carapace Level 2',
742+
0x13205: 'Evolve Flyer Carapace Level 3',
724743
}
725744

726745
@UpgradeFrom(Spire, 0x0, 0x0)
@@ -729,5 +748,5 @@ class GreaterSpire(Spire):
729748

730749
class UltraliskCavern(Research):
731750
abilities = {
732-
0x0: 'Chitinous Plating',
751+
0x6702: 'Chitinous Plating',
733752
}

0 commit comments

Comments
 (0)