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