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