-
Notifications
You must be signed in to change notification settings - Fork 4
/
cost_dict.py
143 lines (142 loc) · 5.8 KB
/
cost_dict.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
from sc2.game_data import Cost
from sc2.ids.unit_typeid import UnitTypeId
COST_DICT: dict[UnitTypeId, Cost] = {
UnitTypeId.SCV: Cost(50, 0),
UnitTypeId.MARINE: Cost(50, 0),
UnitTypeId.MARAUDER: Cost(100, 25),
UnitTypeId.REAPER: Cost(50, 50),
UnitTypeId.GHOST: Cost(150, 125),
UnitTypeId.HELLION: Cost(100, 0),
UnitTypeId.HELLIONTANK: Cost(100, 0),
UnitTypeId.WIDOWMINE: Cost(75, 25),
UnitTypeId.WIDOWMINEBURROWED: Cost(75, 25),
UnitTypeId.SIEGETANK: Cost(150, 125),
UnitTypeId.SIEGETANKSIEGED: Cost(150, 125),
UnitTypeId.CYCLONE: Cost(125, 50),
UnitTypeId.THOR: Cost(300, 200),
UnitTypeId.THORAP: Cost(300, 200),
UnitTypeId.VIKINGASSAULT: Cost(150, 75),
UnitTypeId.VIKINGFIGHTER: Cost(150, 75),
UnitTypeId.MEDIVAC: Cost(100, 100),
UnitTypeId.LIBERATOR: Cost(150, 125),
UnitTypeId.LIBERATORAG: Cost(150, 125),
UnitTypeId.BANSHEE: Cost(150, 100),
UnitTypeId.RAVEN: Cost(100, 150),
UnitTypeId.BATTLECRUISER: Cost(400, 300),
UnitTypeId.PROBE: Cost(50, 0),
UnitTypeId.ZEALOT: Cost(100, 0),
UnitTypeId.SENTRY: Cost(50, 100),
UnitTypeId.STALKER: Cost(125, 50),
UnitTypeId.ADEPT: Cost(100, 25),
UnitTypeId.HIGHTEMPLAR: Cost(50, 150),
UnitTypeId.DARKTEMPLAR: Cost(125, 125),
UnitTypeId.ARCHON: Cost(175, 275),
UnitTypeId.OBSERVER: Cost(25, 75),
UnitTypeId.OBSERVERSIEGEMODE: Cost(25, 75),
UnitTypeId.WARPPRISM: Cost(250, 0),
UnitTypeId.WARPPRISMPHASING: Cost(250, 0),
UnitTypeId.IMMORTAL: Cost(275, 100),
UnitTypeId.COLOSSUS: Cost(300, 200),
UnitTypeId.DISRUPTOR: Cost(150, 150),
UnitTypeId.PHOENIX: Cost(150, 100),
UnitTypeId.VOIDRAY: Cost(250, 150),
UnitTypeId.ORACLE: Cost(150, 150),
UnitTypeId.TEMPEST: Cost(250, 175),
UnitTypeId.CARRIER: Cost(350, 250),
UnitTypeId.MOTHERSHIP: Cost(300, 300),
UnitTypeId.DRONE: Cost(50, 0),
UnitTypeId.DRONEBURROWED: Cost(50, 0),
UnitTypeId.QUEEN: Cost(150, 0),
UnitTypeId.QUEENBURROWED: Cost(150, 0),
UnitTypeId.ZERGLING: Cost(50, 0),
UnitTypeId.ZERGLINGBURROWED: Cost(25, 0),
UnitTypeId.BANELING: Cost(25, 25),
UnitTypeId.BANELINGBURROWED: Cost(50, 25),
UnitTypeId.ROACH: Cost(75, 25),
UnitTypeId.ROACHBURROWED: Cost(75, 25),
UnitTypeId.RAVAGER: Cost(25, 75),
UnitTypeId.RAVAGERBURROWED: Cost(100, 100),
UnitTypeId.HYDRALISK: Cost(100, 50),
UnitTypeId.HYDRALISKBURROWED: Cost(100, 50),
UnitTypeId.LURKERMP: Cost(50, 100),
UnitTypeId.LURKERMPBURROWED: Cost(150, 150),
UnitTypeId.INFESTOR: Cost(100, 150),
UnitTypeId.INFESTORTERRAN: Cost(0, 0),
UnitTypeId.SWARMHOSTMP: Cost(100, 75),
UnitTypeId.SWARMHOSTBURROWEDMP: Cost(100, 75),
UnitTypeId.ULTRALISK: Cost(275, 200),
UnitTypeId.ULTRALISKBURROWED: Cost(275, 200),
UnitTypeId.OVERLORD: Cost(100, 0),
UnitTypeId.OVERLORDTRANSPORT: Cost(100, 0),
UnitTypeId.OVERSEER: Cost(50, 50),
UnitTypeId.OVERSEERSIEGEMODE: Cost(50, 50),
UnitTypeId.MUTALISK: Cost(100, 100),
UnitTypeId.CORRUPTOR: Cost(150, 100),
UnitTypeId.VIPER: Cost(100, 200),
UnitTypeId.BROODLORD: Cost(150, 150),
UnitTypeId.COMMANDCENTER: Cost(400, 0),
UnitTypeId.ORBITALCOMMAND: Cost(150, 0),
UnitTypeId.PLANETARYFORTRESS: Cost(150, 150),
UnitTypeId.SUPPLYDEPOT: Cost(100, 0),
UnitTypeId.SUPPLYDEPOTLOWERED: Cost(0, 0),
UnitTypeId.REFINERY: Cost(75, 0),
UnitTypeId.BARRACKS: Cost(150, 0),
UnitTypeId.ENGINEERINGBAY: Cost(125, 0),
UnitTypeId.BUNKER: Cost(100, 0),
UnitTypeId.MISSILETURRET: Cost(100, 0),
UnitTypeId.AUTOTURRET: Cost(100, 0),
UnitTypeId.SENSORTOWER: Cost(125, 100),
UnitTypeId.FACTORY: Cost(150, 100),
UnitTypeId.GHOSTACADEMY: Cost(150, 50),
UnitTypeId.ARMORY: Cost(150, 100),
UnitTypeId.STARPORT: Cost(150, 100),
UnitTypeId.FUSIONCORE: Cost(150, 150),
UnitTypeId.TECHLAB: Cost(50, 25),
UnitTypeId.BARRACKSTECHLAB: Cost(50, 25),
UnitTypeId.FACTORYTECHLAB: Cost(50, 25),
UnitTypeId.STARPORTTECHLAB: Cost(50, 25),
UnitTypeId.REACTOR: Cost(50, 50),
UnitTypeId.BARRACKSREACTOR: Cost(50, 50),
UnitTypeId.FACTORYREACTOR: Cost(50, 50),
UnitTypeId.STARPORTREACTOR: Cost(50, 50),
UnitTypeId.NEXUS: Cost(400, 0),
UnitTypeId.PYLON: Cost(100, 0),
UnitTypeId.ASSIMILATOR: Cost(75, 0),
UnitTypeId.GATEWAY: Cost(150, 0),
UnitTypeId.FORGE: Cost(150, 0),
UnitTypeId.PHOTONCANNON: Cost(150, 0),
UnitTypeId.SHIELDBATTERY: Cost(100, 0),
UnitTypeId.WARPGATE: Cost(150, 0),
UnitTypeId.CYBERNETICSCORE: Cost(150, 0),
UnitTypeId.TWILIGHTCOUNCIL: Cost(150, 100),
UnitTypeId.ROBOTICSFACILITY: Cost(150, 100),
UnitTypeId.STARGATE: Cost(150, 150),
UnitTypeId.TEMPLARARCHIVE: Cost(150, 200),
UnitTypeId.DARKSHRINE: Cost(150, 150),
UnitTypeId.ROBOTICSBAY: Cost(150, 150),
UnitTypeId.FLEETBEACON: Cost(300, 200),
UnitTypeId.ORACLESTASISTRAP: Cost(0, 0),
UnitTypeId.HATCHERY: Cost(300, 0),
UnitTypeId.EXTRACTOR: Cost(25, 0),
UnitTypeId.SPAWNINGPOOL: Cost(200, 0),
UnitTypeId.EVOLUTIONCHAMBER: Cost(75, 0),
UnitTypeId.SPINECRAWLER: Cost(100, 0),
UnitTypeId.SPINECRAWLERUPROOTED: Cost(100, 0),
UnitTypeId.SPORECRAWLER: Cost(75, 0),
UnitTypeId.SPORECRAWLERUPROOTED: Cost(75, 0),
UnitTypeId.ROACHWARREN: Cost(150, 0),
UnitTypeId.BANELINGNEST: Cost(100, 50),
UnitTypeId.INFESTATIONPIT: Cost(100, 100),
UnitTypeId.LAIR: Cost(150, 100),
UnitTypeId.HIVE: Cost(200, 150),
UnitTypeId.HYDRALISKDEN: Cost(100, 100),
UnitTypeId.LURKERDENMP: Cost(100, 150),
UnitTypeId.SPIRE: Cost(200, 200),
UnitTypeId.NYDUSNETWORK: Cost(150, 150),
UnitTypeId.NYDUSCANAL: Cost(25, 75),
UnitTypeId.ULTRALISKCAVERN: Cost(150, 200),
UnitTypeId.GREATERSPIRE: Cost(100, 150),
UnitTypeId.CREEPTUMOR: Cost(-50, 0),
UnitTypeId.CREEPTUMORBURROWED: Cost(-50, 0),
UnitTypeId.CREEPTUMORQUEEN: Cost(-50, 0),
}