index: release v1.18 with only altgr index linked
[sheet.git] / sc-units-bw.inc.pl
1 use utf8;
2 use strict;
3
4 my $PPT = 32;  # tile size in pixels
5 my $FPS = 1000 / 56;  # frames per second on fast
6 # energy      += 8HP/frame ≈ .74 per second
7 # toss shield += 7HP/frame ≈ .65/s
8 # zerg regen  += 4HP/frame ≈ .37/s
9 my $SM = $FPS / $PPT;  # pixels per frame to tiles per second multiplication
10
11 [
12 '<span title="no known changes as of v1.16.1">version≥1.08</span>',
13
14 # protoss
15
16 {
17 cat => 'base',
18 req => ['nexus'],
19 name => 'Probe',
20 min => 50,
21 gas => 0,
22 build => 20,
23 suit => 1,
24 size => 23 / $PPT,
25 pop => 1,
26 cargo => 1,
27 race => 'protoss',
28 attr => {
29         mech => 1,
30 },
31 hp => 20,
32 shield => 20,
33 armor => 0,
34 attack => [
35         {
36                 anti => 1,
37                 name => "Particle Beam",
38                 damage => 5,
39                 cooldown => 22 / $FPS,
40                 range => 1,
41         },
42 ],
43 sight => 8,
44 speed => 4.92 * $SM,
45 counter => ['vulture', 'dark templar'],
46 special => [
47         {
48                 name => 'worker',
49                 abbr => '⚒',
50                 desc => "warp-in buildings and gather minerals (65/minute) or gas (103/minute)",
51         },
52 ],
53 },
54
55 {
56 cat => 'base',
57 req => ['forge'],
58 name => 'Photon Cannon',
59 trans => {
60         nl => 'kanon',
61 },
62 min => 150,
63 gas => 0,
64 build => 50,
65 suit => 3,
66 size => 2, # 41x33
67 race => 'protoss',
68 attr => {
69         structure => 1,
70 },
71 hp => 100,
72 shield => 100,
73 armor => 0,
74 attack => [
75         {
76                 anti => 3,
77                 name => 'STS/A Photon Cannon',
78                 damage => 20,
79                 cooldown => 22 / $FPS,
80                 range => 7,
81         },
82 ],
83 sight => 11,
84 detect => 1,
85 speed => 0,
86 counter => ['zergling', 'tank'],
87 },
88
89 {
90 cat => 'ground',
91 req => ['gateway'],
92 name => 'Zealot',
93 trans => {
94         nl => 'zeloot',
95 },
96 min => 100,
97 gas => 0,
98 build => 40,
99 suit => 1,
100 size => 23 / $PPT, # x19
101 pop => 2,
102 cargo => 2,
103 race => 'protoss',
104 attr => {
105         organic => 1,
106 },
107 hp => 100,
108 shield => 60,
109 armor => 1,
110 attack => [
111         {
112                 anti => 1,
113                 name => "Psi Blades",
114                 damage => 8,
115                 count => 2,
116                 upgrade => 1,
117                 cooldown => 22 / $FPS,
118                 range => 15 / $PPT,
119         },
120 ],
121 sight => 7,
122 speed => 4 * $SM,
123 upgrade => [
124         {
125                 name => 'Leg Enhancements',
126                 speed => (6 - 4) * $SM,
127                 min => 150,
128                 gas => 150,
129                 build => 133,
130         },
131 ],
132 counter => ['vulture'],
133 },
134
135 {
136 cat => 'ground',
137 req => ['gateway', 'cybernetics core'],
138 name => 'Dragoon',
139 trans => {
140         nl => 'dragonder',
141 },
142 min => 125,
143 gas => 50,
144 build => 50,
145 suit => 3,
146 size => 32 / $PPT,
147 pop => 2,
148 cargo => 4,
149 race => 'protoss',
150 attr => {
151         mech => 1,
152 },
153 hp => 100,
154 shield => 80,
155 armor => 1,
156 attack => [
157         {
158                 anti => 3,
159                 name => "Phase Disruptor",
160                 damage => 20,
161                 upgrade => 2,
162                 type => 'explosive',
163                 cooldown => 30 / $FPS,
164                 range => 4,
165         },
166 ],
167 sight => 8,
168 speed => 5 * $SM,
169 upgrade => [
170         {
171                 name => 'Singularity Charge',
172                 min => 150,
173                 gas => 150,
174                 build => 166,
175                 attack => [
176                         {
177                                 range => 6 - 4,
178                         },
179                 ],
180         },
181 ],
182 counter => ['zergling', 'zealot', 'tank'],
183 },
184
185 {
186 cat => 'ground',
187 name => 'High Templar',
188 trans => {
189         nl => 'hoge tempelier',
190         eo => 'alta templano',
191 },
192 min => 50,
193 gas => 150,
194 build => 50,
195 suit => 1,
196 size => 24 / $PPT,
197 pop => 2,
198 cargo => 2,
199 race => 'protoss',
200 attr => {
201         organic => 1,
202 },
203 hp => 40,
204 shield => 40,
205 armor => 0,
206 sight => 7,
207 speed => 3.2 * $SM,
208 energy => 50,
209 capacity => 200,
210 upgrade => [
211         {
212                 name => "Khaydarin Amulet",
213                 min => 150,
214                 gas => 150,
215                 energy => 62.5-50,
216                 capacity => 250-200,
217         },
218 ],
219 special => [
220         {
221                 name => 'Psionic Storm',
222                 abbr => 'ps',
223                 min => 200,
224                 gas => 200,
225                 build => 120,
226                 desc => 'units in the area will receive upto 112 damage', # 14*8
227                 range => 9,
228                 cost => 75,
229                 duration => 3,
230         },
231         {
232                 name => 'Hallucination',
233                 abbr => 'hl',
234                 min => 150,
235                 gas => 150,
236                 build => 80,
237                 desc => 'creates two illusionary duplicates of a unit for 3 minutes',
238                 range => 7,
239                 cost => 80,
240                 duration => 3*60,
241         },
242 ],
243 counter => ['vulture', 'ultralisk'],
244 },
245
246 {
247 cat => 'ground',
248 name => 'Dark Templar',
249 trans => {
250         nl => 'donkere tempelier',
251         eo => 'malluma templano',
252 },
253 min => 125,
254 gas => 100,
255 build => 50,
256 suit => 1,
257 size => 25 / $PPT, # 24x26
258 pop => 2,
259 cargo => 2,
260 race => 'protoss',
261 attr => {
262         organic => 1,
263 },
264 hp => 80,
265 shield => 40,
266 armor => 1,
267 attack => [
268         {
269                 anti => 1,
270                 name => "Warp Blades",
271                 damage => 40,
272                 upgrade => 3,
273                 cooldown => 30 / $FPS,
274                 range => 15 / $PPT,
275         },
276 ],
277 sight => 7,
278 speed => 4.92 * $SM,
279 special => [
280         {
281                 name => 'Cloaked',
282                 abbr => 'cl',
283                 desc => 'cloaked at all times',
284                 duration => -1,
285         },
286 ],
287 },
288
289 {
290 cat => 'psionic',
291 name => 'Archon',
292 trans => {
293         nl => 'archont',
294         eo => 'arĥono',
295 },
296 min => 100,
297 gas => 300,
298 build => 20,
299 base => ['templar', 'templar'],
300 suit => 3,
301 size => 32 / $PPT,
302 pop => 4,
303 cargo => 4,
304 race => 'protoss',
305 attr => {
306         mech => 1,
307 },
308 hp => 10,
309 shield => 350,
310 armor => 0,
311 attack => [
312         {
313                 anti => 3,
314                 name => "Psionic Shockwave",
315                 damage => 30,
316                 upgrade => 3,
317                 cooldown => 20 / $FPS,
318                 splash => 1,
319                 range => 2,
320         },
321 ],
322 sight => 8,
323 speed => 4.92 * $SM,
324 },
325
326 {
327 cat => 'psionic',
328 name => 'Dark Archon',
329 trans => {
330         nl => 'donkere archont',
331         eo => 'malluma arĥono',
332 },
333 min => 250,
334 gas => 200,
335 build => 20,
336 base => ['dark templar', 'dark templar'],
337 suit => 3,
338 size => 32 / $PPT,
339 pop => 4,
340 cargo => 4,
341 race => 'protoss',
342 attr => {
343         mech => 1,
344 },
345 hp => 25,
346 shield => 200,
347 armor => 1,
348 sight => 10,
349 speed => 4.92 * $SM,
350 energy => 50,
351 capacity => 200,
352 upgrade => [
353         {
354                 name => "Argus Talisman",
355                 min => 150,
356                 gas => 150,
357                 build => 166,
358                 capacity => 250-200,
359         },
360 ],
361 special => [
362         {
363                 name => 'Feedback',
364                 abbr => 'fb',
365                 desc => 'targeted unit will lose its energy and receive damage equal to that amount',
366                 range => 10,
367                 cost => 50,
368                 duration => 0,
369         },
370         {
371                 name => 'Mind Control',
372                 abbr => 'mc',
373                 min => 200,
374                 gas => 200,
375                 build => 120,
376                 desc => 'permanently gives you control over any unit',
377                 range => 8,
378                 cost => 150,
379                 duration => 0,
380         },
381         {
382                 name => 'Maelstrom',
383                 abbr => 'ms',
384                 min => 100,
385                 gas => 100,
386                 build => 100,
387                 desc => 'field stunning all organic units for a few seconds',
388                 range => 10,
389                 cost => 100,
390                 duration => 180 / $FPS, # 7.5s fastest
391         },
392 ],
393 },
394
395 {
396 cat => 'aerial',
397 name => 'Scout',
398 trans => {
399         nl => 'verkenner',
400         eo => 'esploristo',
401 },
402 min => 275,
403 gas => 125,
404 build => 80,
405 suit => 3,
406 size => 36 / $PPT, # x32
407 pop => 3,
408 race => 'protoss',
409 attr => {
410         mech => 1,
411         flying => 1,
412 },
413 air => 1,
414 hp => 150,
415 shield => 100,
416 armor => 0,
417 attack => [
418         {
419                 anti => 1,
420                 name => 'Dual Photon Blasters',
421                 damage => 8,
422                 upgrade => 1,
423                 cooldown => 30 / $FPS,
424                 range => 4,
425         },
426         {
427                 anti => 2,
428                 name => 'Anti-Matter Missiles',
429                 damage => 14,
430                 count => 2,
431                 upgrade => 1,
432                 type => 'explosive',
433                 cooldown => 22 / $FPS,
434                 range => 4,
435         },
436 ],
437 sight => 8,
438 speed => 5 * $SM,
439 upgrade => [
440         {
441                 name => 'Apial Sensors',
442                 min => 100,
443                 gas => 100,
444                 build => 166,
445                 sight => 10 - 8,
446         },
447         {
448                 name => 'Gravitic Thrusters',
449                 min => 200,
450                 gas => 200,
451                 build => 166,
452                 speed => (6.67 - 5) * $SM,
453         },
454 ],
455 },
456
457 {
458 cat => 'aerial',
459 name => 'Corsair',
460 trans => {
461         de => 'Korsar',
462 },
463 min => 150,
464 gas => 100,
465 build => 40,
466 suit => 2,
467 size => 36 / $PPT, # x32
468 pop => 2,
469 race => 'protoss',
470 attr => {
471         mech => 1,
472         flying => 1,
473 },
474 air => 1,
475 hp => 100,
476 shield => 80,
477 armor => 1,
478 attack => [
479         {
480                 anti => 2,
481                 name => 'Neutron Flare',
482                 damage => 5,
483                 upgrade => 1,
484                 cooldown => 8 / $FPS,
485                 splash => 1,
486                 type => 'explosive',
487                 range => 5,
488         },
489 ],
490 sight => 9,
491 speed => 6.67 * $SM,
492 energy => 50,
493 capacity => 200,
494 upgrade => [
495         {
496                 name => 'Argus Jewel',
497                 min => 100,
498                 gas => 100,
499                 build => 166,
500                 energy => 62.5-50,
501                 capacity => 250-200,
502         },
503 ],
504 special => [
505         {
506                 name => 'Disruption Web',
507                 abbr => 'dw',
508                 min => 200,
509                 gas => 200,
510                 build => 80,
511                 desc => 'creates a field in which no ground unit/structure can attack',
512                 range => 9,
513                 cost => 125,
514                 duration => 24,
515         },
516 ],
517 counter => ['devourer', 'valkyrie'],
518 },
519
520 {
521 cat => 'aerial',
522 name => 'Carrier',
523 trans => {
524         nl => 'vliegdekschip',
525 },
526 min => 350,
527 gas => 250,
528 build => 140,
529 suit => 3,
530 size => 64 / $PPT,
531 pop => 6,
532 race => 'protoss',
533 attr => {
534         mech => 1,
535         flying => 1,
536 },
537 hp => 300,
538 shield => 150,
539 armor => 4,
540 attack => [
541         {
542                 anti => 3,
543                 dps => [17, undef, undef, 25],
544                 count => 4,
545                 range => 8,
546         },
547 ],
548 sight => 11,
549 speed => 3.33 * $SM,
550 special => [
551         {
552                 name => 'Build Interceptor',
553                 alt => 'Interceptor',
554                 min => 25,
555                 build => 20,
556                 suit => 1,
557                 size => 16 / $PPT,
558                 pop => 0,
559                 race => 'protoss',
560                 attr => {
561                         mech => 1,
562                         flying => 1,
563                 },
564                 hp => 40,
565                 shield => 40,
566                 armor => 0,
567                 attack => [
568                         {
569                                 anti => 3,
570                                 name => 'Pulse Cannon',
571                                 damage => 6,
572                                 upgrade => 1,
573                                 cooldown => 43 / $FPS, # approximately 37 according to liquipedia
574                                 build => 20,
575                                 range => 4,
576                         },
577                 ],
578                 sight => 6,
579                 speed => 13.33 * $SM,
580         },
581 ],
582 upgrade => [
583         {
584                 name => 'Carrier Capacity',
585                 attack => [
586                         {
587                                 dps => [17, undef, undef, 24],
588                                 count => 8-4,
589                         },
590                 ],
591         },
592 ],
593 counter => ['wraith', 'corsair', 'scourge'],
594 },
595
596 {
597 cat => 'aerial',
598 name => 'Arbiter',
599 trans => {
600         nl => 'arbiter',
601 },
602 min => 100,
603 gas => 350,
604 build => 160,
605 suit => 3,
606 size => 44 / $PPT,
607 pop => 4,
608 race => 'protoss',
609 attr => {
610         mech => 1,
611         flying => 1,
612 },
613 air => 1,
614 hp => 200,
615 shield => 150,
616 armor => 1,
617 attack => [
618         {
619                 anti => 3,
620                 name => 'Phase Disruptor Cannon',
621                 damage => 10,
622                 upgrade => 1,
623                 cooldown => 45 / $FPS,
624                 type => 'explosive',
625                 range => 5,
626         },
627 ],
628 sight => 9,
629 speed => 5 * $SM,
630 energy => 50,
631 capacity => 200,
632 upgrade => [
633         {
634                 name => 'Khaydarin Core',
635                 min => 150,
636                 gas => 150,
637                 build => 166,
638                 energy => 62.5-50,
639                 capacity => 250-200,
640         },
641 ],
642 special => [
643         {
644                 name => 'cloaks',
645                 abbr => 'cs',
646                 desc => 'cloaks nearby friendly units except for other Arbiters',
647                 duration => -1,
648         },
649         {
650                 name => 'Stasis Field',
651                 abbr => 'sf',
652                 min => 150,
653                 gas => 150,
654                 build => 100,
655                 desc => 'traps all non-burrowed units (3x3m) for 40 seconds, making them frozen and undamagable',
656                 cost => 100,
657                 range => 9,
658                 duration => 1000 / $FPS,
659         },
660         {
661                 name => 'Recall',
662                 abbr => 'rc',
663                 min => 150,
664                 gas => 150,
665                 build => 100,
666                 desc => 'creates a 5x5m wormhole which transports units to the Arbiter',
667                 cost => 150,
668                 duration => 0,
669         },
670 ],
671 },
672
673 {
674 cat => 'robotic',
675 name => 'Reaver',
676 min => 200,
677 gas => 100,
678 build => 70,
679 suit => 3,
680 size => 32 / $PPT,
681 pop => 4,
682 cargo => 4,
683 race => 'protoss',
684 attr => {
685         mech => 1,
686 },
687 hp => 100,
688 shield => 80,
689 armor => 0,
690 attack => [
691         {
692                 anti => 1,
693                 damage => 100,
694                 cooldown => 60 / $FPS, # 30 after drop
695                 splash => 1,
696                 min => 15,
697                 build => 7,
698                 max => 5,
699                 range => 8,
700         },
701 ],
702 sight => 10,
703 speed => 1.78 * $SM,
704 upgrade => [
705         {
706                 name => 'Scarab Damage',
707                 min => 200,
708                 gas => 200,
709                 build => 166,
710                 attack => [
711                         {
712                                 damage => 125 - 100,
713                         },
714                 ],
715         },
716         {
717                 attack => [
718                         {
719                                 splash => 2 - 1,
720                         },
721                 ],
722         },
723         {
724                 name => 'Increased Reaver Capacity',
725                 min => 200,
726                 gas => 200,
727                 build => 166,
728                 attack => [
729                         {
730                                 max => 10-5,
731                         },
732                 ],
733         },
734 ],
735 },
736
737 {
738 cat => 'robotic',
739 name => 'Observer',
740 trans => {
741         nl => 'observeerder',
742 },
743 min => 25,
744 gas => 75,
745 build => 40,
746 suit => 1,
747 size => 32 / $PPT,
748 pop => 1,
749 race => 'protoss',
750 attr => {
751         mech => 1,
752         flying => 1,
753 },
754 air => 1,
755 hp => 40,
756 shield => 20,
757 armor => 0,
758 sight => 9,
759 detect => 1,
760 speed => 3.33 * $SM,
761 upgrade => [
762         {
763                 name => "Sensor Array",
764                 min => 150,
765                 gas => 150,
766                 build => 133,
767                 sight => 11 - 9,
768         },
769         {
770                 name => "Gravitic Booster",
771                 min => 150,
772                 gas => 150,
773                 build => 166,
774                 speed => (5 - 3.33) * $SM,
775         },
776 ],
777 special => [
778         {
779                 name => 'Cloaked',
780                 abbr => 'cl',
781                 desc => 'cloaked at all times',
782                 duration => -1,
783         },
784 ],
785 },
786
787 {
788 cat => 'robotic',
789 name => 'Shuttle',
790 trans => {
791         fr => 'navette',
792 },
793 min => 200,
794 gas => 0,
795 build => 60,
796 suit => 3,
797 size => 40 / $PPT, # x32
798 pop => 2,
799 cargo => -8,
800 race => 'protoss',
801 attr => {
802         mech => 1,
803 },
804 hp => 80,
805 shield => 60,
806 armor => 1,
807 sight => 8,
808 speed => 4.43 * $SM,
809 transport => 1,
810 upgrade => [
811         {
812                 name => 'Gravitic Drive',
813                 min => 200,
814                 gas => 200,
815                 build => 166,
816                 speed => (6.67 - 4.43) * $SM,
817         }
818 ],
819 },
820
821 # terran
822
823 {
824 race => 'terran',
825 cat => 'base',
826 name => 'SCV', # T-280 Space Construction Vehicle
827 min => 50,
828 gas => 0,
829 build => 20,
830 suit => 1,
831 size => 23 / $PPT,
832 pop => 1,
833 cargo => 1,
834 race => 'terran',
835 attr => {
836         mech => 1,
837         organic => 1,
838 },
839 hp =>  60,
840 armor => 0,
841 attack => [
842         {
843                 anti => 1,
844                 name => 'Fusion Cutter',
845                 damage => 5,
846                 cooldown => 15 / $FPS,
847                 range => 10 / $PPT,
848         },
849 ],
850 sight => 7,
851 speed => 4.92 * $SM,
852 special => [
853         {
854                 name => 'worker',
855                 abbr => '⚒',
856                 desc => "construct or repair buildings and gather minerals (68/minute) or gas (103/minute)",
857         },
858 ],
859 },
860
861 {
862 cat => 'base',
863 name => 'Missile Turret',
864 trans => {
865         nl => 'toren',
866 },
867 min => 75,
868 gas => 0,
869 build => 30,
870 suit => 3,
871 size => 2, # 33x49
872 race => 'terran',
873 attr => {
874         structure => 1,
875 },
876 hp => 200,
877 armor => 0,
878 attack => [
879         {
880                 anti => 2,
881                 name => 'Longbolt Missile',
882                 damage => 20,
883                 cooldown => 15 / $FPS,
884                 type => 'explosive',
885                 range => 7,
886         },
887 ],
888 sight => 11,
889 detect => 1,
890 speed => 0,
891 },
892
893 {
894 cat => 'barracks',
895 name => 'Marine',
896 trans => {
897         nl => 'marinier',
898 },
899 min => 50,
900 gas => 0,
901 build => 24,
902 suit => 1,
903 size => 17 / $PPT, # x20
904 pop => 1,
905 cargo => 1,
906 race => 'terran',
907 attr => {
908         organic => 1,
909 },
910 hp =>  40,
911 armor => 0,
912 attack => [
913         {
914                 anti => 3,
915                 name => 'Gauss Rifle',
916                 damage => 6,
917                 upgrade => 1,
918                 cooldown => 15 / $FPS,
919                 range => 4,
920         },
921 ],
922 sight => 7,
923 speed => 4 * $SM,
924 upgrade => [
925         {
926                 name => 'U-238 Shells',
927                 min => 150,
928                 gas => 150,
929                 build => 100,
930                 attack => [
931                         {
932                                 range => 5 - 4,
933                         },
934                 ],
935         },
936 ],
937 special => [
938         {
939                 name => 'Stim Pack',
940                 abbr => 'sp',
941                 min => 100,
942                 gas => 100,
943                 build => 80,
944                 desc => 'doubles attack speed and faster movement for a few seconds at the cost of 10 health',
945                 speed => (6 - 4) * $SM,
946                 attack => [
947                         {
948                                 anti => 3,
949                                 cooldown => 7.5 / $FPS,
950                         },
951                 ],
952                 duration => 220 / $FPS,
953         },
954 ],
955 },
956
957 {
958 cat => 'barracks',
959 name => 'Firebat',
960 min => 50,
961 gas => 25,
962 build => 24,
963 suit => 1,
964 size => 23 / $PPT, # x22
965 pop => 1,
966 cargo => 1,
967 race => 'terran',
968 attr => {
969         organic => 1,
970 },
971 hp =>  50,
972 armor => 1,
973 attack => [
974         {
975                 anti => 1,
976                 name => 'Flame Thrower',
977                 damage => 16,
978                 upgrade => 2,
979                 cooldown => 22 / $FPS,
980                 splash => 1,
981                 type => 'implosive',
982                 range => 1,
983         },
984 ],
985 sight => 7,
986 speed => 4 * $SM,
987 upgrade => [
988 ],
989 special => [
990         {
991                 name => 'Stim Pack',
992                 abbr => 'sp',
993                 min => 100,
994                 gas => 100,
995                 build => 80,
996                 desc => 'doubles attack speed and faster movement for a few seconds at the cost of 10 health',
997                 speed => (6 - 4) * $SM,
998                 attack => [
999                         {
1000                                 anti => 1,
1001                                 cooldown => 11 / $FPS,
1002                         },
1003                 ],
1004                 duration => 220 / $FPS,
1005         },
1006 ],
1007 },
1008
1009 {
1010 cat => 'barracks',
1011 name => 'Ghost',
1012 trans => {
1013         nl => 'geest',
1014 },
1015 min => 25,
1016 gas => 75,
1017 build => 50,
1018 suit => 1,
1019 size => 15 / $PPT, # x22
1020 pop => 1,
1021 cargo => 1,
1022 race => 'terran',
1023 attr => {
1024         organic => 1,
1025 },
1026 hp =>  45,
1027 armor => 0,
1028 attack => [
1029         {
1030                 anti => 3,
1031                 name => 'C-10 Canister Rifle',
1032                 damage => 10,
1033                 upgrade => 1,
1034                 cooldown => 22 / $FPS,
1035                 type => 'implosive',
1036                 range => 7,
1037         },
1038 ],
1039 sight => 9,
1040 speed => 4 * $SM,
1041 energy => 50,
1042 capacity => 200,
1043 upgrade => [
1044         {
1045                 name => 'Ocular Implants',
1046                 min => 150,
1047                 gas => 150,
1048                 build => 166,
1049                 sight => 11 - 9,
1050 #               special => {
1051 #                       ns => {
1052 #                               # nuke
1053 #                               range => 10-8,
1054 #                       },
1055 #               },
1056         },
1057         {
1058                 name => 'Moebius Reactor',
1059                 min => 150,
1060                 gas => 150,
1061                 build => 166,
1062                 energy => 62.5-50,
1063                 capacity => 250-200,
1064         },
1065 ],
1066 special => [
1067         {
1068                 name => 'Personal Cloaking',
1069                 abbr => 'cl',
1070                 min => 100,
1071                 gas => 100,
1072                 build => 80,
1073                 desc => 'has the ability to cloak',
1074                 cost => 25,
1075                 maint => 1, # per second
1076         },
1077         {
1078                 name => 'Lockdown',
1079                 abbr => 'ld',
1080                 min => 200,
1081                 gas => 200,
1082                 build => 100,
1083                 desc => 'disables a mechanical unit completely for one minute',
1084                 range => 8,
1085                 cost => 100,
1086                 duration => 60,
1087         },
1088         {
1089                 name => 'Nuclear Strike',
1090                 abbr => 'ns',
1091                 min => 200,
1092                 gas => 200,
1093                 pop => 8,
1094                 desc => 'guides a nuclear missile which will do 500 damage',
1095                 duration => 14+3,
1096                 range => 8,
1097         },
1098 ],
1099 },
1100
1101 {
1102 cat => 'barracks',
1103 name => 'Medic',
1104 min => 50,
1105 gas => 25,
1106 build => 30,
1107 suit => 1,
1108 size => 17 / $PPT, # x20
1109 pop => 1,
1110 cargo => 1,
1111 race => 'terran',
1112 attr => {
1113         organic => 1,
1114 },
1115 hp =>  60,
1116 armor => 1,
1117 sight => 9,
1118 speed => 4 * $SM,
1119 energy => 50,
1120 capacity => 200,
1121 upgrade => [
1122         {
1123                 name => 'Caduceus Reactor',
1124                 min => 150,
1125                 gas => 150,
1126                 build => 166,
1127                 energy => 62.5-50,
1128                 capacity => 250-200,
1129         },
1130 ],
1131 special => [
1132         {
1133                 name => 'Healing',
1134                 abbr => 'hl',
1135                 desc => 'heals 2 HP of friendly biological units',
1136                 range => 2,
1137                 cost => 1,
1138                 duration => 1,
1139         },
1140         {
1141                 name => 'Restoration',
1142                 abbr => 'rs',
1143                 min => 100,
1144                 gas => 100,
1145                 build => 80,
1146                 desc => 'removes harmful effects (Lockdown, Flare, Irradiate, Plague, Ensnare, Parasite) from a unit',
1147                 range => 6,
1148                 cost => 50,
1149                 duration => 0,
1150         },
1151         {
1152                 name => 'Optic Flare',
1153                 abbr => 'of',
1154                 min => 100,
1155                 gas => 100,
1156                 build => 80,
1157                 desc => 'reduces the sight of target unit to 1',
1158                 range => 9,
1159                 cost => 75,
1160                 duration => 0,
1161         },
1162 ],
1163 },
1164
1165 {
1166 cat => 'factory',
1167 name => 'Vulture',
1168 trans => {
1169         nl => 'gier',
1170 },
1171 min => 75,
1172 gas => 0,
1173 build => 30,
1174 suit => 2,
1175 size => 32 / $PPT,
1176 pop => 2,
1177 cargo => 2,
1178 race => 'terran',
1179 attr => {
1180         mech => 1,
1181 },
1182 hp =>  80,
1183 armor => 0,
1184 attack => [
1185         {
1186                 anti => 1,
1187                 name => 'Fragmentation Grenade',
1188                 damage => 20,
1189                 upgrade => 2,
1190                 cooldown => 30 / $FPS,
1191                 type => 'implosive',
1192                 range => 5,
1193         },
1194 ],
1195 sight => 8,
1196 speed => 6.4 * $SM,
1197 upgrade => [
1198         {
1199                 name => 'Ion Thrusters',
1200                 min => 100,
1201                 gas => 100,
1202                 build => 100,
1203                 speed => (10 - 6.4) * $SM,
1204         },
1205 ],
1206 special => [
1207         {
1208                 name => 'Spider Mine',
1209                 abbr => 'sm',
1210                 min => 100,
1211                 gas => 100,
1212                 build => 80,
1213                 alt => 'Spider Mine',
1214                 desc => 'burrows a mine which will automaticaly target non-hovering enemy units',
1215                 amount => 3,
1216                 attr => {
1217                         mech => 1,
1218                 },
1219                 hp => 20,
1220                 suit => 1,
1221                 size => 15 / $PPT,
1222                 armor => 0,
1223                 attack => [
1224                         {
1225                                 anti => 1,
1226                                 damage => 125,
1227                                 splash => 1,
1228                                 type => 'explosive',
1229                                 range => 3, # to walk, melee to explode
1230                         },
1231                 ],
1232                 sight => 3,
1233                 speed => 16 * $SM,
1234     },
1235 ],
1236 },
1237
1238 {
1239 cat => 'factory',
1240 name => 'Tank',
1241 trans => {
1242         nl => 'tank',
1243 },
1244 min => 150,
1245 gas => 100,
1246 build => 50,
1247 suit => 3,
1248 size => 32 / $PPT,
1249 pop => 2,
1250 cargo => 4,
1251 race => 'terran',
1252 attr => {
1253         mech => 1,
1254 },
1255 hp => 150,
1256 armor => 1,
1257 attack => [
1258         {
1259                 anti => 1,
1260                 name => 'Arclite Cannon',
1261                 damage => 30,
1262                 upgrade => 3,
1263                 cooldown => 37 / $FPS, # 15 after drop
1264                 type => 'explosive',
1265                 range => 7,
1266         },
1267 ],
1268 sight => 10,
1269 speed => 4 * $SM,
1270 special => [
1271         {
1272                 name => 'Siege Mode',
1273                 abbr => 'sg',
1274                 min => 150,
1275                 gas => 150,
1276                 build => 80,
1277                 alt => 'Sieged Tank',
1278                 attack => [
1279                         {
1280                                 anti => 1,
1281                                 name => 'Arclite Shock Cannon',
1282                                 damage => 70,
1283                                 upgrade => 5,
1284                                 cooldown => 75 / $FPS,
1285                                 splash => 1,
1286                                 type => 'explosive',
1287                                 range => 12, # minimum 2
1288                         },
1289                 ],
1290                 speed => 0,
1291         },
1292 ],
1293 },
1294
1295 {
1296 cat => 'factory',
1297 name => 'Goliath',
1298 trans => {
1299         nl => 'goliat',
1300 },
1301 min => 100,
1302 gas => 50,
1303 build => 40,
1304 suit => 3,
1305 size => 32 / $PPT,
1306 pop => 2,
1307 cargo => 2,
1308 race => 'terran',
1309 attr => {
1310         mech => 1,
1311 },
1312 hp => 125,
1313 armor => 1,
1314 attack => [
1315         {
1316                 anti => 1,
1317                 name => 'Twin Autocannons',
1318                 damage => 12,
1319                 upgrade => 1,
1320                 cooldown => 22 / $FPS, # 15 after drop
1321                 range => 6,
1322         },
1323         {
1324                 anti => 2,
1325                 name => 'Hellfire Missile Pack',
1326                 damage => 10,
1327                 count => 2,
1328                 upgrade => 2,
1329                 type => 'explosive',
1330                 cooldown => 22 / $FPS,
1331                 range => 5,
1332         },
1333 ],
1334 sight => 8,
1335 speed => 4.57 * $SM,
1336 upgrade => [
1337         {
1338                 name => 'Charon Boosters',
1339                 min => 100,
1340                 gas => 100,
1341                 build => 133,
1342                 attack => [
1343                         {},
1344                         {
1345                                 range => 8 - 5,
1346                         },
1347                 ],
1348         },
1349 ],
1350 },
1351
1352 {
1353 cat => 'starport',
1354 name => 'Wraith',
1355 min => 150,
1356 gas => 100,
1357 build => 60,
1358 suit => 3,
1359 size => 38 / $PPT, # x30
1360 pop => 2,
1361 race => 'terran',
1362 attr => {
1363         mech => 1,
1364         flying => 1,
1365 },
1366 air => 1,
1367 hp => 120,
1368 armor => 0,
1369 attack => [
1370         {
1371                 anti => 1,
1372                 name => 'Burst Lasers',
1373                 damage => 8,
1374                 upgrade => 1,
1375                 cooldown => 30 / $FPS,
1376                 range => 5,
1377         },
1378         {
1379                 anti => 2,
1380                 name => 'Gemini Missiles',
1381                 damage => 20,
1382                 upgrade => 2,
1383                 cooldown => 22 / $FPS,
1384                 type => 'explosive',
1385                 range => 5,
1386         },
1387 ],
1388 sight => 7,
1389 speed => 6.67 * $SM,
1390 energy => 50,
1391 capacity => 200,
1392 special => [
1393         {
1394                 name => 'Cloak',
1395                 abbr => 'cl',
1396                 min => 150,
1397                 gas => 150,
1398                 build => 100,
1399                 desc => 'has the ability to cloak',
1400                 cost => 25,
1401                 maint => 1, # /second
1402         },
1403 ],
1404 upgrade => [
1405         {
1406                 name => 'Apollo Reactor',
1407                 min => 200,
1408                 gas => 200,
1409                 build => 166,
1410                 energy => 62.5-50,
1411                 capacity => 250-200,
1412         },
1413 ],
1414 },
1415
1416 {
1417 cat => 'starport',
1418 name => 'Battle Cruiser',
1419 trans => {
1420         nl => 'slagkruiser',
1421 },
1422 min => 400,
1423 gas => 300,
1424 build => 133,
1425 suit => 3,
1426 size => 75 / $PPT, # x59
1427 pop => 6,
1428 race => 'terran',
1429 attr => {
1430         mech => 1,
1431         flying => 1,
1432 },
1433 air => 1,
1434 hp => 500,
1435 armor => 3,
1436 attack => [
1437         {
1438                 anti => 3,
1439                 name => 'ATS/A Laser Battery',
1440                 damage => 25,
1441                 upgrade => 3,
1442                 cooldown => 30 / $FPS,
1443                 range => 6,
1444         },
1445 ],
1446 sight => 11,
1447 speed => 2.5 * $SM,
1448 energy => 50,
1449 capacity => 200,
1450 special => [
1451         {
1452                 name => 'Yamato Gun',
1453                 abbr => 'yg',
1454                 min => 100,
1455                 gas => 100,
1456                 build => 120,
1457                 desc => 'blast doing 260 explosive damage to a target',
1458                 attack => [
1459                         {
1460                                 anti => 3,
1461                                 damage => 260,
1462                                 type => 'explosive',
1463                                 range => 10,
1464                         },
1465                 ],
1466                 cost => 150,
1467         },
1468 ],
1469 upgrade => [
1470         {
1471                 name => 'Colossus Reactor',
1472                 min => 150,
1473                 gas => 150,
1474                 build => 166,
1475                 energy => 62.5-50,
1476                 capacity => 250-200,
1477         },
1478 ],
1479 },
1480
1481 {
1482 cat => 'starport',
1483 name => 'Science Vessel',
1484 trans => {
1485         nl => 'wetenschapsvaartuig',
1486 },
1487 min => 100,
1488 gas => 225,
1489 build => 80,
1490 suit => 3,
1491 size => 65 / $PPT, # x50
1492 pop => 2,
1493 race => 'terran',
1494 attr => {
1495         mech => 1,
1496         flying => 1,
1497 },
1498 air => 1,
1499 hp => 200,
1500 armor => 1,
1501 sight => 10,
1502 detect => 1,
1503 speed => 5 * $SM,
1504 energy => 50,
1505 capacity => 200,
1506 special => [
1507         {
1508                 name => 'Defensive Matrix',
1509                 abbr => 'dm',
1510                 desc => 'gives target unit a shield of 250HP for one minute',
1511                 range => 10,
1512                 cost => 100,
1513                 duration => 55,
1514         },
1515         {
1516                 name => 'EMP Shockwave',
1517                 abbr => 'ep',
1518                 min => 200,
1519                 gas => 200,
1520                 build => 120,
1521                 desc => 'units in 3-matrix radius will lose all energy and shields',
1522                 range => 8,
1523                 cost => 100,
1524         },
1525         {
1526         name => 'Irradiate',
1527                 abbr => 'ir',
1528                 min => 200,
1529                 gas => 200,
1530                 build => 80,
1531                 desc => 'organic units will suffer upto 250 damage over 30s',
1532                 range => 9,
1533                 cost => 75,
1534                 attack => {
1535                         damage => 250,
1536                         splash => 1,
1537                 },
1538                 duration => 25,
1539         },
1540 ],
1541 upgrade => [
1542         {
1543                 name => 'Titan Reactor',
1544                 min => 150,
1545                 gas => 150,
1546                 build => 166,
1547                 energy => 62.5-50,
1548                 capacity => 250-200,
1549         },
1550 ],
1551 },
1552
1553 {
1554 cat => 'starport',
1555 name => 'Valkyrie',
1556 trans => {
1557         nl => 'walkure',
1558 },
1559 min => 250,
1560 gas => 125,
1561 build => 50,
1562 suit => 3,
1563 size => 49 / $PPT, # x37
1564 pop => 3,
1565 race => 'terran',
1566 attr => {
1567         mech => 1,
1568         flying => 1,
1569 },
1570 air => 1,
1571 hp => 200,
1572 armor => 2,
1573 attack => [
1574         {
1575                 anti => 2,
1576                 name => 'Halo Rockets',
1577                 damage => 6,
1578                 upgrade => 1,
1579                 cooldown => 64 / $FPS,
1580                 splash => 1,
1581                 type => 'explosive',
1582                 count => 8,
1583                 range => 6,
1584         },
1585 ],
1586 sight => 8,
1587 speed => 6.6 * $SM,
1588 },
1589
1590 {
1591 cat => 'starport',
1592 name => 'Dropship',
1593 min => 100,
1594 gas => 100,
1595 build => 50,
1596 suit => 3,
1597 size => 49 / $PPT, # x37
1598 pop => 2,
1599 cargo => -8,
1600 race => 'terran',
1601 attr => {
1602         mech => 1,
1603         flying => 1,
1604 },
1605 air => 1,
1606 hp => 150,
1607 armor => 1,
1608 sight => 8,
1609 speed => 5.47 * $SM,
1610 transport => 1,
1611 },
1612
1613 # zerg
1614
1615 {
1616 race => 'zerg',
1617 cat => 'base',
1618 name => 'Drone',
1619 min => 50,
1620 gas => 0,
1621 build => 20,
1622 suit => 1,
1623 size => 23 / $PPT,
1624 pop => 1,
1625 cargo => 1,
1626 race => 'zerg',
1627 attr => {
1628         organic => 1,
1629 },
1630 hp => 40,
1631 armor => 0,
1632 attack => [
1633         {
1634                 anti => 1,
1635                 name => 'Spines',
1636                 damage => 5,
1637                 cooldown => 22 / $FPS,
1638                 range => 1,
1639         },
1640 ],
1641 sight => 7,
1642 speed => 4.92 * $SM,
1643 special => [
1644         {
1645                 name => 'worker',
1646                 abbr => '⚒',
1647                 desc => "morph into buildings and gather minerals (67/minute) or gas (103/minute)",
1648         },
1649 ],
1650 },
1651
1652 {
1653 cat => 'base',
1654 name => 'Overlord',
1655 min => 100,
1656 gas => 0,
1657 build => 40,
1658 suit => 3,
1659 size => 50 / $PPT,
1660 pop => -9,
1661 cargo => 0,
1662 race => 'zerg',
1663 attr => {
1664         organic => 1,
1665         flying => 1,
1666 },
1667 air => 1,
1668 hp => 200,
1669 armor => 0,
1670 cargo => 0,
1671 sight => 9,
1672 detect => 1,
1673 speed => .83 * $SM,
1674 transport => 1,
1675 upgrade => [
1676         {
1677                 name => 'Ventral Sacs',
1678                 min => 200,
1679                 gas => 200,
1680                 build => 160,
1681                 cargo => -8,
1682         },
1683         {
1684                 name => 'Antennae',
1685                 min => 150,
1686                 gas => 150,
1687                 build => 133,
1688                 sight => 11 - 9,
1689         },
1690         {
1691                 name => 'Pneumatized Carapace',
1692                 min => 150,
1693                 gas => 150,
1694                 build => 133,
1695                 speed => (3.33 - .83) * $SM,
1696         },
1697 ],
1698 },
1699
1700 {
1701 cat => 'creep',
1702 name => 'Larva',
1703 trans => {
1704         nl => 'larve',
1705 },
1706 build => 20,
1707 suit => 1,
1708 size => 16 / $PPT,
1709 pop => 0,
1710 race => 'zerg',
1711 attr => {
1712         organic => 1,
1713 },
1714 hp => 25,
1715 armor => 10,
1716 sight => 4,
1717 speed => 0.1, # more or less
1718 special => [
1719         {
1720                 name => 'transform',
1721                 alt => 'Egg',
1722                 trans => {
1723                         nl => 'ei',
1724                 },
1725                 suit => 3,
1726                 race => 'zerg',
1727                 organic => undef, # unchanged from parent
1728                 hp => 200,
1729                 armor => 10,
1730                 sight => 4,
1731                 speed => 0,
1732         },
1733 ],
1734 },
1735
1736 {
1737 cat => 'creep',
1738 name => 'Sunken Colony',
1739 min => 175,
1740 gas => 0,
1741 build => 20,
1742 suit => 3,
1743 size => 2, # 48x48
1744 race => 'zerg',
1745 attr => {
1746         structure => 1,
1747 },
1748 hp => 300,
1749 armor => 2,
1750 attack => [
1751         {
1752                 anti => 1,
1753                 name => 'Subterranean Tentacle',
1754                 damage => 40,
1755                 cooldown => 32 / $FPS,
1756                 type => 'explosive',
1757                 range => 7,
1758         },
1759 ],
1760 sight => 10,
1761 speed => 0,
1762 },
1763
1764 {
1765 cat => 'creep',
1766 name => 'Spore Colony',
1767 min => 175,
1768 gas => 0,
1769 build => 20,
1770 suit => 3,
1771 size => 2, # 48x48
1772 race => 'zerg',
1773 attr => {
1774         structure => 1,
1775 },
1776 hp => 400,
1777 armor => 0,
1778 attack => [
1779         {
1780                 anti => 2,
1781                 name => 'Seeker Spores',
1782                 damage => 15,
1783                 cooldown => 15 / $FPS,
1784                 range => 7,
1785         },
1786 ],
1787 sight => 10,
1788 detect => 1,
1789 speed => 0,
1790 },
1791
1792 {
1793 cat => 'hatchery',
1794 name => 'Zergling',
1795 min => 25,
1796 gas => 0,
1797 build => 28, # for 2
1798 suit => 1,
1799 size => 16 / $PPT,
1800 pop => 0.5,
1801 cargo => 1,
1802 race => 'zerg',
1803 attr => {
1804         organic => 1,
1805 },
1806 hp => 35,
1807 armor => 0,
1808 attack => [
1809         {
1810                 anti => 1,
1811                 name => 'Claws',
1812                 damage => 5,
1813                 upgrade => 1,
1814                 cooldown => 8 / $FPS,
1815                 range => 15 / $PPT,
1816         },
1817 ],
1818 sight => 5,
1819 speed => 5.49 * $SM,
1820 upgrade => [
1821         {
1822                 name => 'Metabolic Boost',
1823                 min => 100,
1824                 gas => 100,
1825                 build => 80,
1826                 speed => (8.36 - 5.49) * $SM,
1827         },
1828         {
1829                 name => 'Adrenal Glands',
1830                 min => 200,
1831                 gas => 200,
1832                 build => 80,
1833                 attack => [
1834                         {
1835                                 cooldown => (6 - 8) / $FPS,
1836                         },
1837                 ],
1838         },
1839 ],
1840 counter => ['archon', 'templar', 'firebat'],
1841 },
1842
1843 {
1844 cat => 'hatchery',
1845 name => 'Hydralisk',
1846 min => 75,
1847 gas => 25,
1848 build => 28,
1849 suit => 2,
1850 size => 21 / $PPT, # x23
1851 pop => 1,
1852 cargo => 2,
1853 race => 'zerg',
1854 attr => {
1855         organic => 1,
1856 },
1857 hp => 80,
1858 armor => 0,
1859 attack => [
1860         {
1861                 anti => 3,
1862                 name => 'Needle Spines',
1863                 damage => 10,
1864                 upgrade => 1,
1865                 cooldown => 15 / $FPS,
1866                 type => 'explosive',
1867                 range => 4,
1868         },
1869 ],
1870 sight => 6,
1871 speed => 3.66 * $SM,
1872 upgrade => [
1873         {
1874                 name => 'Grooved Spines',
1875                 min => 150,
1876                 gas => 150,
1877                 build => 100,
1878                 attack => [
1879                         {
1880                                 range => 5 - 4,
1881                         },
1882                 ],
1883         },
1884         {
1885                 name => 'Muscular Augments',
1886                 min => 150,
1887                 gas => 150,
1888                 build => 100,
1889                 speed => (5.57 - 3.66) * $SM,
1890         },
1891         {
1892                 name => 'Lurker Aspect',
1893                 min => 200,
1894                 gas => 200,
1895                 build => 120,
1896         },
1897 ],
1898 },
1899
1900 {
1901 cat => 'lair',
1902 name => 'Lurker',
1903 min => 125,
1904 gas => 125,
1905 base => ['hydralisk'],
1906 build => 40,
1907 suit => 2,
1908 size => 32 / $PPT,
1909 pop => 2,
1910 cargo => 4,
1911 race => 'zerg',
1912 attr => {
1913         organic => 1,
1914 },
1915 hp => 125,
1916 armor => 1,
1917 attack => [
1918         {
1919                 anti => 1,
1920                 name => 'Subterranean Spines',
1921                 damage => 20,
1922                 upgrade => 2,
1923                 cooldown => 37 / $FPS,
1924                 splash => 'line',
1925                 range => 6,
1926         },
1927 ],
1928 sight => 8,
1929 speed => 5.82 * $SM,
1930 },
1931
1932 {
1933 cat => 'lair',
1934 name => 'Queen',
1935 min => 100,
1936 gas => 100,
1937 build => 50,
1938 suit => 2,
1939 size => 48 / $PPT,
1940 pop => 2,
1941 race => 'zerg',
1942 attr => {
1943         organic => 1,
1944         flying => 1,
1945 },
1946 air => 1,
1947 hp => 120,
1948 armor => 0,
1949 sight => 10,
1950 speed => 6.67 * $SM,
1951 energy => 50,
1952 capacity => 200,
1953 special => [
1954         {
1955                 name => 'Infest CC',
1956                 abbr => 'ic',
1957                 desc => 'assimilate a damaged Terran Command Center to produce infested marines',
1958                 duration => 0,
1959         },
1960         {
1961                 name => 'Parasite',
1962                 abbr => 'ps',
1963                 desc => "shares an infected unit's vision",
1964                 range => 12,
1965                 cost => 75,
1966         },
1967         {
1968                 name => 'Ensnare',
1969                 abbr => 'es',
1970                 min => 100,
1971                 gas => 100,
1972                 build => 80,
1973                 desc => 'slows units downto half speed',
1974                 range => 9,
1975                 cost => 75,
1976                 duration => 25,
1977         },
1978         {
1979                 name => 'Spawn Broodling',
1980                 abbr => 'sb',
1981                 min => 100,
1982                 gas => 100,
1983                 build => 80,
1984                 desc => 'spawn one inside an enemy unit killing it',
1985                 range => 9,
1986                 cost => 150,
1987
1988                 count => 2,
1989                 alt => 'Broodling',
1990                 suit => 1,
1991                 size => 19 / $PPT,
1992                 pop => 0,
1993                 attr => {
1994                         organic => 1,
1995                 },
1996                 hp => 30,
1997                 armor => 0,
1998                 attack => [
1999                         {
2000                                 anti => 1,
2001                                 name => 'Toxic Spores',
2002                                 damage => 4,
2003                                 upgrade => 1,
2004                                 cooldown => 15 / $FPS,
2005                                 range => 2 / $PPT,
2006                         },
2007                 ],
2008                 sight => 5,
2009                 speed => 6 * $SM,
2010         },
2011 ],
2012 },
2013
2014 {
2015 cat => 'lair',
2016 name => 'Infested Terran',
2017 min => 100,
2018 gas => 50,
2019 build => 40,
2020 suit => 1,
2021 size => 17 / $PPT, # x20
2022 pop => 1,
2023 race => 'zerg',
2024 attr => {
2025         organic => 1,
2026 },
2027 hp => 60,
2028 armor => 0,
2029 attack => [
2030         {
2031                 anti => 1,
2032                 name => 'Suicide',
2033                 damage => 500,
2034                 splash => 1,
2035                 type => 'explosive',
2036                 range => 3 / $PPT,
2037         },
2038 ],
2039 sight => 5,
2040 speed => 5.82 * $SM,
2041 },
2042
2043 {
2044 cat => 'lair',
2045 name => 'Scourge',
2046 min => 12,
2047 gas => 38,
2048 build => 30, # for 2
2049 suit => 1,
2050 size => 24 / $PPT,
2051 pop => 0.5,
2052 race => 'zerg',
2053 attr => {
2054         organic => 1,
2055         flying => 1,
2056 },
2057 air => 1,
2058 hp => 25,
2059 armor => 0,
2060 attack => [
2061         {
2062                 anti => 2,
2063                 name => 'Suicide',
2064                 damage => 110,
2065                 range => 3 / $PPT,
2066         },
2067 ],
2068 sight => 5,
2069 speed => 6.67 * $SM,
2070 counter => ['cannon', 'goliath', 'hydralisk'],
2071 },
2072
2073 {
2074 cat => 'lair',
2075 name => 'Mutalisk',
2076 min => 100,
2077 gas => 100,
2078 build => 40,
2079 suit => 1,
2080 size => 44 / $PPT,
2081 pop => 2,
2082 race => 'zerg',
2083 attr => {
2084         organic => 1,
2085         flying => 1,
2086 },
2087 air => 1,
2088 hp => 120,
2089 armor => 0,
2090 attack => [
2091         {
2092                 anti => 3,
2093                 name => 'Glave Wurm',
2094                 damage => 9,
2095                 upgrade => 1,
2096                 cooldown => 30 / $FPS,
2097                 splash => 'bounce',
2098                 range => 3,
2099         },
2100 ],
2101 sight => 7,
2102 speed => 6.67 * $SM,
2103 special => [
2104         {
2105                 alt => 'Cocoon',
2106                 suit => 3,
2107                 size => 32 / $PPT,
2108                 attr => {
2109                         organic => 1,
2110                         flying => 1,
2111                 },
2112                 hp => 200,
2113                 armor => 0,
2114                 sight => 4,
2115                 speed => 0,
2116         },
2117         #TODO: glaive
2118 ],
2119 counter => ['templar', 'corsair', 'valkyrie'],
2120 },
2121
2122 {
2123 cat => 'hive',
2124 name => 'Guardian',
2125 min => 150,
2126 gas => 200,
2127 build => 40,
2128 base => ['mutalisk'],
2129 suit => 3,
2130 size => 44 / $PPT,
2131 pop => 2,
2132 race => 'zerg',
2133 attr => {
2134         organic => 1,
2135         flying => 1,
2136 },
2137 air => 1,
2138 hp => 150,
2139 armor => 2,
2140 attack => [
2141         {
2142                 anti => 1,
2143                 name => 'Acid Spore',
2144                 damage => 20,
2145                 upgrade => 2,
2146                 cooldown => 30 / $FPS,
2147                 range => 8,
2148         },
2149 ],
2150 sight => 11,
2151 speed => 2.5 * $SM,
2152 },
2153
2154 {
2155 cat => 'hive',
2156 name => 'Devourer',
2157 min => 250,
2158 gas => 150,
2159 build => 40,
2160 base => ['mutalisk'],
2161 suit => 3,
2162 size => 44 / $PPT,
2163 pop => 2,
2164 race => 'zerg',
2165 attr => {
2166         organic => 1,
2167         flying => 1,
2168 },
2169 air => 1,
2170 hp => 250,
2171 armor => 2,
2172 attack => [
2173         {
2174                 anti => 2,
2175                 name => 'Corrosive Acid',
2176                 damage => 25,
2177                 upgrade => 2,
2178                 cooldown => 100 / $FPS,
2179                 type => 'explosive',
2180                 range => 6,
2181         },
2182 ],
2183 sight => 10,
2184 speed => 5 * $SM,
2185 counter => ['goliath', 'dragoon', 'scourge'],
2186 },
2187
2188 {
2189 cat => 'hive',
2190 name => 'Defiler',
2191 min => 50,
2192 gas => 150,
2193 build => 50,
2194 suit => 2,
2195 size => 27 / $PPT, # x25
2196 pop => 2,
2197 cargo => 2,
2198 race => 'zerg',
2199 attr => {
2200         organic => 1,
2201 },
2202 hp => 80,
2203 armor => 1,
2204 sight => 10,
2205 speed => 4 * $SM,
2206 energy => 50,
2207 capacity => 200,
2208 special => [
2209         {
2210                 name => 'Consume',
2211                 abbr => 'cs',
2212                 min => 100,
2213                 gas => 100,
2214                 build => 100,
2215                 desc => 'gain energy by eating one of your own',
2216                 cost => -50,
2217                 duration => 0,
2218         },
2219         {
2220                 name => 'Dark Swarm',
2221                 abbr => 'ds',
2222                 desc => 'protect 6x6m from ranged attacks for 60s',
2223                 range => 9,
2224                 cost => 100,
2225                 duration => 60,
2226         },
2227         {
2228                 name => 'Plague',
2229                 abbr => 'pl',
2230                 min => 200,
2231                 gas => 200,
2232                 build => 100,
2233                 desc => 'anything in its radius will loose 25 HP per second for 12s or until 1 HP left',
2234                 range => 9,
2235                 cost => 150,
2236                 duration => 12,
2237         },
2238 ],
2239 upgrade => [
2240         {
2241                 name => 'Metasynaptic Node',
2242                 min => 150,
2243                 gas => 50,
2244                 build => 166,
2245                 energy => 62.5-50,
2246                 capacity => 250-200,
2247         },
2248 ],
2249 counter => ['archon', 'firebat'],
2250 },
2251
2252 {
2253 cat => 'hive',
2254 name => 'Ultralisk',
2255 min => 200,
2256 gas => 200,
2257 build => 60,
2258 suit => 3,
2259 size => 38 / $PPT, # x32
2260 pop => 4,
2261 cargo => 4,
2262 race => 'zerg',
2263 attr => {
2264         organic => 1,
2265 },
2266 hp => 400,
2267 armor => 1,
2268 attack => [
2269         {
2270                 anti => 1,
2271                 name => 'Kaiser Blades',
2272                 damage => 20,
2273                 upgrade => 3,
2274                 cooldown => 15 / $FPS,
2275                 range => 25 / $PPT,
2276         },
2277 ],
2278 sight => 7,
2279 speed => 5.12 * $SM,
2280 upgrade => [
2281         {
2282                 name => 'Chitinous Plating',
2283                 min => 150,
2284                 gas => 150,
2285                 build => 133,
2286                 armor => 2,
2287         },
2288         {
2289                 name => 'Anabolic Synthesis',
2290                 min => 200,
2291                 gas => 200,
2292                 build => 133,
2293                 speed => (8.1 - 5.12) * $SM,
2294         },
2295 ],
2296 },
2297
2298 ]