sc: indicate maintenance cost of specials
[sheet.git] / sc-units-hots.inc.pl
index fe82fba7fc88d980729e69a05c99118d8ca3c32b..8ce7d2cd051e2cf3f164e7ccc3ea0f4692018bd1 100644 (file)
@@ -20,8 +20,10 @@ use strict;
        armor => 0,
        hp => 20,
        shield => 20,
-       suit => 1, # light
-       organic => 0, # mech
+       attr => {
+               light => 1,
+               mech => 1,
+       },
        attack => {
                ground => {
                        damage => 5,
@@ -38,7 +40,6 @@ use strict;
        race => 'protoss',
        cat => 'base',
        name => 'Photon Cannon',
-       unit => 0,
        min => 150,
        gas => 0,
        build => 40,
@@ -46,8 +47,10 @@ use strict;
        armor => 1,
        hp => 150,
        shield => 150,
-       suit => 3, # armored
-       structure => 1,
+       attr => {
+               armored => 1,
+               structure => 1,
+       },
        attack => {
                ground => {
                        damage => 20,
@@ -74,9 +77,11 @@ use strict;
        armor => 1,
        hp => 130,
        shield => 60,
-       suit => 3, # armored
-       organic => 0, # mech
-       psionic => 1,
+       attr => {
+               armored => 1,
+               mech => 1,
+               psionic => 1,
+       },
        attack => {
                ground => {
                        damage => [8 .. 11],
@@ -102,10 +107,12 @@ use strict;
        armor => 2,
        hp => 350,
        shield => 350,
-       suit => 3, # armored
-       organic => 0, # mech
-       psionic => 1,
-       massive => 1,
+       attr => {
+               armored => 1,
+               mech => 1,
+               psionic => 1,
+               massive => 1,
+       },
        attack => {
                ground => {
                        damage => [6 .. 9],
@@ -124,7 +131,6 @@ use strict;
        race => 'protoss',
        cat => 'base',
        name => 'Nexus',
-       unit => 0,
        min => 400,
        gas => 0,
        build => 100,
@@ -133,8 +139,10 @@ use strict;
        armor => 1,
        hp => 1000,
        shield => 1000,
-       suit => 3, # armored
-       structure => 1,
+       attr => {
+               armored => 1,
+               structure => 1,
+       },
        attack => {
                ground => {
                        damage => 20,
@@ -162,8 +170,10 @@ use strict;
        armor => 1,
        hp => 100,
        shield => 50,
-       suit => 1, # light
-       organic => 1,
+       attr => {
+               light => 1,
+               organic => 1,
+       },
        attack => {
                ground => {
                        damage => [8 .. 11],
@@ -196,9 +206,11 @@ use strict;
        armor => 1,
        hp => 40,
        shield => 40,
-       suit => 1, # light
-       organic => 0, # mech
-       psionic => 1,
+       attr => {
+               light => 1,
+               mech => 1,
+               psionic => 1,
+       },
        attack => {
                ground => {
                        damage => [6 .. 9],
@@ -226,8 +238,10 @@ use strict;
        armor => 1,
        hp => 80,
        shield => 80,
-       suit => 3, # armored
-       organic => 0, # mech
+       attr => {
+               armored => 1,
+               mech => 1,
+       },
        attack => {
                ground => {
                        damage => [10 .. 13],
@@ -257,9 +271,11 @@ use strict;
        armor => 0,
        hp => 40,
        shield => 40,
-       suit => 1, # light
-       organic => 1,
-       psionic => 1,
+       attr => {
+               light => 1,
+               psionic => 1,
+               organic => 1,
+       },
        speed => 1.875,
        sight => 10,
 },
@@ -278,9 +294,11 @@ use strict;
        armor => 1,
        hp => 40,
        shield => 80,
-       suit => 1, # light
-       organic => 1,
-       psionic => 1,
+       attr => {
+               light => 1,
+               organic => 1,
+               psionic => 1,
+       },
        attack => {
                ground => {
                        damage => [45, 50, 55, 60],
@@ -307,8 +325,10 @@ use strict;
        armor => 0,
        hp => 10,
        shield => 350,
-       psionic => 1,
-       massive => 1,
+       attr => {
+               psionic => 1,
+               massive => 1,
+       },
        attack => {
                ground => {
                        damage => [25, 28, 31, 34],
@@ -337,8 +357,10 @@ use strict;
        armor => 1,
        hp => 200,
        shield => 100,
-       suit => 3, # armored
-       organic => 0, # mech
+       attr => {
+               armored => 1,
+               mech => 1,
+       },
        attack => {
                ground => {
                        damage => [20, 22, 24, 26],
@@ -365,9 +387,11 @@ use strict;
        armor => 1,
        hp => 200,
        shield => 150,
-       suit => 3, # armored
-       organic => 0, # mech
-       massive => 1,
+       attr => {
+               armored => 1,
+               mech => 1,
+               massive => 1,
+       },
        attack => {
                ground => {
                        damage => [15, 17, 19, 21],
@@ -400,8 +424,10 @@ use strict;
        armor => 0,
        hp => 40,
        shield => 20,
-       suit => 1, # light
-       organic => 0, # mech
+       attr => {
+               light => 1,
+               mech => 1,
+       },
        speed => 1.875,
        upgrade => [
                {
@@ -424,9 +450,11 @@ use strict;
        armor => 0,
        hp => 100,
        shield => 100,
-       suit => 3, # armored
-       organic => 0, # mech
-       psionic => 1,
+       attr => {
+               armored => 1,
+               mech => 1,
+               psionic => 1,
+       },
        speed => 2.9531,
        upgrade => [
                {
@@ -449,8 +477,10 @@ use strict;
        armor => 0,
        hp => 120,
        shield => 60,
-       suit => 1, # light
-       organic => 0, # mech
+       attr => {
+               light => 1,
+               mech => 1,
+       },
        attack => {
                air => {
                        damage => [5 .. 8],
@@ -484,8 +514,10 @@ use strict;
        armor => 0,
        hp => 150,
        shield => 100,
-       suit => 3, # armored
-       organic => 0, # mech
+       attr => {
+               armored => 1,
+               mech => 1,
+       },
        attack => {
                ground => {
                        damage => [6 .. 9],
@@ -513,9 +545,11 @@ use strict;
        armor => 0,
        hp => 100,
        shield => 60,
-       suit => 1, # light
-       organic => 0, # mech
-       psionic => 1,
+       attr => {
+               light => 1,
+               mech => 1,
+               psionic => 1,
+       },
        attack => {
                ground => {
                        name => 'Pulsar Beam',
@@ -544,9 +578,11 @@ use strict;
        armor => 2,
        hp => 120,
        shield => 60,
-       suit => 3, # armored
-       organic => 0, # mech
-       massive => 1,
+       attr => {
+               armored => 1,
+               mech => 1,
+               massive => 1,
+       },
        attack => {
                ground => {
                        damage => [30, 33, 36, 39],
@@ -575,9 +611,11 @@ use strict;
        armor => 2,
        hp => 300,
        shield => 150,
-       suit => 3, # armored
-       organic => 0, # mech
-       massive => 1,
+       attr => {
+               armored => 1,
+               mech => 1,
+               massive => 1,
+       },
        attack => {
                range => 8,
        },
@@ -595,8 +633,10 @@ use strict;
                        armor => 0,
                        hp => 40,
                        shield => 40,
-                       suit => 1, # light
-                       organic => 0, # mech
+                       attr => {
+                               light => 1,
+                               mech => 1,
+                       },
                        attack => {
                                ground => {
                                        damage => [5 .. 8],
@@ -629,9 +669,11 @@ use strict;
        cargo => 1,
        armor => 0,
        hp => 45,
-       suit => 1, # light
-       organic => 1,
-       organic => 0, # mech
+       attr => {
+               light => 1,
+               organic => 1,
+               mech => 1,
+       },
        attack => {
                ground => {
                        damage => 5,
@@ -654,8 +696,10 @@ use strict;
        size => 0.75,
        armor => 0,
        hp => 60,
-       suit => 1, # light
-       organic => 0, # mech
+       attr => {
+               light => 1,
+               mech => 1,
+       },
        speed => 2.8,
        sight => 8,
 },
@@ -664,7 +708,6 @@ use strict;
        race => 'terran',
        cat => 'base',
        name => 'Missile Turret',
-       unit => 0,
        min => 100,
        gas => 0,
        build => 25,
@@ -672,9 +715,11 @@ use strict;
        cargo => 0,
        armor => 0,
        hp => 250,
-       suit => 3, # armored
-       organic => 0, # mech
-       structure => 1,
+       attr => {
+               armored => 1,
+               mech => 1,
+               structure => 1,
+       },
        attack => {
                air => {
                        damage => 12,
@@ -700,7 +745,7 @@ use strict;
        cat => 'base',
        name => 'Planetary Fortress',
        base => ['Command Center'],
-       unit => 0,
+       unit => -11,
        min => 150,
        gas => 150,
        build => 50,
@@ -708,9 +753,11 @@ use strict;
        cargo => 0,
        armor => 3,
        hp => 1500,
-       suit => 3, # armored
-       organic => 0, # mech
-       structure => 1,
+       attr => {
+               armored => 1,
+               mech => 1,
+               structure => 1,
+       },
        attack => {
                ground => {
                        damage => 40,
@@ -746,8 +793,10 @@ use strict;
        cargo => 1,
        armor => 0,
        hp => 45,
-       suit => 1, # light
-       organic => 1,
+       attr => {
+               light => 1,
+               organic => 1,
+       },
        attack => {
                ground => {
                        damage => [6 .. 9],
@@ -795,8 +844,10 @@ use strict;
        cargo => 2,
        armor => 1,
        hp => 125,
-       suit => 3, # armored
-       organic => 1,
+       attr => {
+               armored => 1,
+               organic => 1,
+       },
        attack => {
                ground => {
                        damage => [10 .. 13],
@@ -838,8 +889,10 @@ use strict;
        cargo => 1,
        armor => 0,
        hp => 60,
-       suit => 1, # light
-       organic => 1,
+       attr => {
+               light => 1,
+               organic => 1,
+       },
        attack => {
                ground => {
                        damage => [4 .. 7],
@@ -865,8 +918,10 @@ use strict;
        cargo => 2,
        armor => 0,
        hp => 100,
-       organic => 1,
-       psionic => 1,
+       attr => {
+               organic => 1,
+               psionic => 1,
+       },
        attack => {
                ground => {
                        damage => [10 .. 13],
@@ -893,8 +948,10 @@ use strict;
        cargo => 2,
        armor => 0,
        hp => 90,
-       suit => 1, # light
-       organic => 0, # mech
+       attr => {
+               light => 1,
+               mech => 1,
+       },
        attack => {
                ground => {
                        damage => [8 .. 11],
@@ -921,9 +978,11 @@ use strict;
        cargo => 4,
        armor => 0,
        hp => 135,
-       suit => 1, # light
-       organic => 1,
-       organic => 0, # mech
+       attr => {
+               light => 1,
+               organic => 1,
+               mech => 1,
+       },
        attack => {
                ground => {
                        damage => [18, 20, 22, 24],
@@ -950,8 +1009,10 @@ use strict;
        cargo => 2,
        armor => 0,
        hp => 90,
-       suit => 1, # light
-       organic => 0, # mech
+       attr => {
+               light => 1,
+               mech => 1,
+       },
        attack => {
                ground => {
                        damage => 125,
@@ -977,8 +1038,10 @@ use strict;
        cargo => 4,
        armor => 1,
        hp => 160,
-       suit => 3, # armored
-       organic => 0, # mech
+       attr => {
+               armored => 1,
+               mech => 1,
+       },
        attack => {
                ground => {
                        damage => [15, 17, 19, 21],
@@ -1023,9 +1086,11 @@ use strict;
        cargo => 8,
        armor => 1,
        hp => 400,
-       suit => 3, # armored
-       organic => 0, # mech
-       massive => 1,
+       attr => {
+               armored => 1,
+               mech => 1,
+               massive => 1,
+       },
        attack => {
                ground => {
                        damage => [30, 33, 36, 39],
@@ -1069,8 +1134,10 @@ use strict;
        cargo => 0,
        armor => 0,
        hp => 125,
-       suit => 3, # armored
-       organic => 0, # mech
+       attr => {
+               armored => 1,
+               mech => 1,
+       },
        attack => {
                air => {
                        damage => [10 .. 13],
@@ -1115,8 +1182,10 @@ use strict;
        cargo => 0,
        armor => 1,
        hp => 150,
-       suit => 3, # armored
-       organic => 0, # mech
+       attr => {
+               armored => 1,
+               mech => 1,
+       },
        speed => 2.5,
        upgrade => [
                {
@@ -1138,8 +1207,10 @@ use strict;
        cargo => 0,
        armor => 0,
        hp => 140,
-       suit => 1, # light
-       organic => 0, # mech
+       attr => {
+               light => 1,
+               mech => 1,
+       },
        attack => {
                ground => {
                        damage => [12 .. 15],
@@ -1166,8 +1237,10 @@ use strict;
        cargo => 0,
        armor => 1,
        hp => 140,
-       suit => 1, # light
-       organic => 0, # mech
+       attr => {
+               light => 1,
+               mech => 1,
+       },
        speed => 2.25,
        sight => 11,
        special => [
@@ -1177,9 +1250,11 @@ use strict;
                        cargo => 0,
                        armor => 1,
                        hp => 150,
-                       suit => 3, # armored
-                       organic => 0, # mech
-                       structure => 1,
+                       attr => {
+                               armored => 1,
+                               mech => 1,
+                               structure => 1,
+                       },
                        attack => {
                                ground => {
                                        damage => 8,
@@ -1205,9 +1280,11 @@ use strict;
                        cargo => 0,
                        armor => 0,
                        hp => 50,
-                       suit => 1, # light
-                       organic => 0, # mech
-                       structure => 1,
+                       attr => {
+                               light => 1,
+                               mech => 1,
+                               structure => 1,
+                       },
                        cooldown => 0,
                        attack => {
                                range => 8,
@@ -1237,9 +1314,11 @@ use strict;
        cargo => 0,
        armor => 3,
        hp => 550,
-       suit => 3, # armored
-       organic => 0, # mech
-       massive => 1,
+       attr => {
+               armored => 1,
+               mech => 1,
+               massive => 1,
+       },
        attack => {
                ground => {
                        damage => [8 .. 11],
@@ -1271,8 +1350,10 @@ use strict;
        cargo => 1,
        armor => 0,
        hp => 40,
-       suit => 1, # light
-       organic => 1,
+       attr => {
+               light => 1,
+               organic => 1,
+       },
        attack => {
                ground => {
                        damage => 5,
@@ -1298,8 +1379,10 @@ use strict;
        cargo => 2,
        armor => 1,
        hp => 175,
-       organic => 1,
-       psionic => 1,
+       attr => {
+               organic => 1,
+               psionic => 1,
+       },
        attack => {
                ground => {
                        damage => [4 .. 7],
@@ -1334,8 +1417,10 @@ use strict;
        cargo => -8,
        armor => 0,
        hp => 200,
-       suit => 3, # armored
-       organic => 1,
+       attr => {
+               armored => 1,
+               organic => 1,
+       },
        speed => 0.586,
        creep => 0,
        sight => 11,
@@ -1359,8 +1444,10 @@ use strict;
        cargo => 0,
        armor => 1,
        hp => 200,
-       suit => 3, # armored
-       organic => 1,
+       attr => {
+               armored => 1,
+               organic => 1,
+       },
        speed => 1.875,
        creep => 0,
        sight => 11,
@@ -1372,8 +1459,10 @@ use strict;
                        cargo => 0,
                        armor => 0,
                        hp => 5,
-                       suit => 1, # light
-                       organic => 1,
+                       attr => {
+                               light => 1,
+                               organic => 1,
+                       },
                        speed => 2.25,
                        creep => 1.0,
                        sight => 8,
@@ -1396,8 +1485,10 @@ use strict;
        cargo => 0,
        armor => 10,
        hp => 25,
-       suit => 1, # light
-       organic => 1,
+       attr => {
+               light => 1,
+               organic => 1,
+       },
        speed => 0.5625,
        creep => 1.0,
        sight => 5,
@@ -1407,7 +1498,6 @@ use strict;
        race => 'zerg',
        cat => 'creep',
        name => 'Spine Crawler',
-       unit => 0,
        min => 100,
        gas => 0,
        build => 50,
@@ -1415,9 +1505,11 @@ use strict;
        cargo => 0,
        armor => 2,
        hp => 300,
-       suit => 3, # armored
-       organic => 1,
-       structure => 1,
+       attr => {
+               armored => 1,
+               organic => 1,
+               structure => 1,
+       },
        attack => {
                ground => {
                        damage => 25,
@@ -1436,7 +1528,6 @@ use strict;
        race => 'zerg',
        cat => 'creep',
        name => 'Spore Crawler',
-       unit => 0,
        min => 75,
        gas => 0,
        build => 30,
@@ -1444,9 +1535,11 @@ use strict;
        cargo => 0,
        armor => 1,
        hp => 400,
-       suit => 3, # armored
-       organic => 1,
-       structure => 1,
+       attr => {
+               armored => 1,
+               organic => 1,
+               structure => 1,
+       },
        attack => {
                air => {
                        damage => 15,
@@ -1474,8 +1567,10 @@ use strict;
        cargo => 1,
        armor => 0,
        hp => 35,
-       suit => 1, # light
-       organic => 1,
+       attr => {
+               light => 1,
+               organic => 1,
+       },
        attack => {
                ground => {
                        damage => [5 .. 8],
@@ -1515,7 +1610,9 @@ use strict;
        cargo => 2,
        armor => 0,
        hp => 30,
-       organic => 1,
+       attr => {
+               organic => 1,
+       },
        attack => {
                ground => {
                        damage => [20, 22, 24, 26],
@@ -1546,8 +1643,10 @@ use strict;
        cargo => 2,
        armor => 1,
        hp => 145,
-       suit => 3, # armored
-       organic => 1,
+       attr => {
+               armored => 1,
+               organic => 1,
+       },
        attack => {
                ground => {
                        damage => [16, 18, 20, 22],
@@ -1578,8 +1677,10 @@ use strict;
        cargo => 2,
        armor => 0,
        hp => 80,
-       suit => 1, # light
-       organic => 1,
+       attr => {
+               light => 1,
+               organic => 1,
+       },
        attack => {
                ground => {
                        damage => [12 .. 15],
@@ -1618,9 +1719,11 @@ use strict;
        cargo => 2,
        armor => 0,
        hp => 90,
-       suit => 3, # armored
-       organic => 1,
-       psionic => 1,
+       attr => {
+               armored => 1,
+               organic => 1,
+               psionic => 1,
+       },
        speed => 2.25,
        creep => 1.3,
        sight => 10,
@@ -1632,8 +1735,10 @@ use strict;
                        cargo => 0,
                        armor => 0,
                        hp => 50,
-                       suit => 1, # light
-                       organic => 1,
+                       attr => {
+                               light => 1,
+                               organic => 1,
+                       },
                        attack => {
                                ground => {
                                        damage => 8,
@@ -1654,7 +1759,6 @@ use strict;
        race => 'zerg',
        cat => 'lair',
        name => 'Nydus Worm',
-       unit => 0,
        min => 100,
        gas => 100,
        build => 20,
@@ -1662,9 +1766,11 @@ use strict;
        cargo => 0,
        armor => 1,
        hp => 200,
-       suit => 3, # armored
-       organic => 1,
-       structure => 1,
+       attr => {
+               armored => 1,
+               organic => 1,
+               structure => 1,
+       },
        speed => 0,
        sight => 10,
 },
@@ -1681,8 +1787,10 @@ use strict;
        cargo => 4,
        armor => 1,
        hp => 160,
-       suit => 3, # armored
-       organic => 1,
+       attr => {
+               armored => 1,
+               organic => 1,
+       },
        attack => {
                ground => {
                        dps => [27.9, 30.2, 32.5, 34.8],
@@ -1701,8 +1809,10 @@ use strict;
                        cargo => 0,
                        armor => 0,
                        hp => 65,
-                       suit => 1, # light
-                       organic => 1,
+                       attr => {
+                               light => 1,
+                               organic => 1,
+                       },
                        attack => {
                                ground => {
                                        damage => [12 .. 15],
@@ -1732,8 +1842,10 @@ use strict;
        cargo => 0,
        armor => 0,
        hp => 120,
-       suit => 1, # light
-       organic => 1,
+       attr => {
+               light => 1,
+               organic => 1,
+       },
        attack => {
                ground => {
                        damage => [9 .. 12],
@@ -1761,8 +1873,10 @@ use strict;
        cargo => 0,
        armor => 2,
        hp => 200,
-       suit => 3, # armored
-       organic => 1,
+       attr => {
+               armored => 1,
+               organic => 1,
+       },
        attack => {
                air => {
                        damage => [14 .. 17],
@@ -1790,9 +1904,11 @@ use strict;
        cargo => 0,
        armor => 1,
        hp => 225,
-       suit => 3, # armored
-       organic => 1,
-       massive => 1,
+       attr => {
+               armored => 1,
+               organic => 1,
+               massive => 1,
+       },
        attack => {
                ground => {
                        damage => [20, 22, 24, 26],
@@ -1813,8 +1929,10 @@ use strict;
                        cargo => 0,
                        armor => 0,
                        hp => 30,
-                       suit => 1, # light
-                       organic => 1,
+                       attr => {
+                               light => 1,
+                               organic => 1,
+                       },
                        attack => {
                                ground => {
                                        damage => [4 .. 7],
@@ -1842,9 +1960,11 @@ use strict;
        cargo => 0,
        armor => 1,
        hp => 150,
-       suit => 3, # armored
-       organic => 1,
-       psionic => 1,
+       attr => {
+               armored => 1,
+               organic => 1,
+               psionic => 1,
+       },
        speed => 2.9531,
        sight => 11,
 },
@@ -1861,9 +1981,11 @@ use strict;
        cargo => 8,
        armor => 1,
        hp => 500,
-       suit => 3, # armored
-       organic => 1,
-       massive => 1,
+       attr => {
+               armored => 1,
+               organic => 1,
+               massive => 1,
+       },
        attack => {
                ground => {
                        damage => [35, 38, 41, 44],