sc: convert 'organic' bw data fields to attr options
[sheet.git] / sc-units-bw.inc.pl
index 7d59dc4b17470c93101bf8376d06cc0d103e803e..dc90ec8bb2148d6307d56874bcd6449a57ab46ad 100644 (file)
@@ -20,8 +20,11 @@ gas => 0,
 build => 20,
 suit => 1,
 pop => 1,
+cargo => 1,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp => 20,
 shield => 20,
 armor => 0,
@@ -51,6 +54,9 @@ gas => 0,
 build => 50,
 suit => 3,
 race => 'protoss',
+attr => {
+       structure => 1,
+},
 hp => 100,
 shield => 100,
 armor => 0,
@@ -80,8 +86,11 @@ gas => 0,
 build => 40,
 suit => 1,
 pop => 2,
+cargo => 2,
 race => 'protoss',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 100,
 shield => 60,
 armor => 1,
@@ -121,8 +130,11 @@ gas => 50,
 build => 50,
 suit => 3,
 pop => 2,
+cargo => 4,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp => 100,
 shield => 80,
 armor => 1,
@@ -167,8 +179,11 @@ gas => 150,
 build => 50,
 suit => 1,
 pop => 2,
+cargo => 2,
 race => 'protoss',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 40,
 shield => 40,
 armor => 0,
@@ -222,8 +237,11 @@ gas => 100,
 build => 50,
 suit => 1,
 pop => 2,
+cargo => 2,
 race => 'protoss',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 80,
 shield => 40,
 armor => 1,
@@ -262,8 +280,11 @@ build => 20,
 base => ['templar', 'templar'],
 suit => 3,
 pop => 4,
+cargo => 4,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp => 10,
 shield => 350,
 armor => 0,
@@ -295,8 +316,11 @@ build => 20,
 base => ['dark templar', 'dark templar'],
 suit => 3,
 pop => 4,
+cargo => 4,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp => 25,
 shield => 200,
 armor => 1,
@@ -359,7 +383,9 @@ build => 80,
 suit => 3,
 pop => 3,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+},
 air => 1,
 hp => 150,
 shield => 100,
@@ -413,7 +439,9 @@ build => 40,
 suit => 2,
 pop => 2,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+},
 air => 1,
 hp => 100,
 shield => 80,
@@ -469,7 +497,9 @@ build => 140,
 suit => 3,
 pop => 6,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp => 300,
 shield => 150,
 armor => 4,
@@ -492,7 +522,9 @@ special => [
                suit => 1,
                pop => 0,
                race => 'protoss',
-               organic => 0,
+               attr => {
+                       mech => 1,
+               },
                hp => 40,
                shield => 40,
                armor => 0,
@@ -536,7 +568,9 @@ build => 160,
 suit => 3,
 pop => 4,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+},
 air => 1,
 hp => 200,
 shield => 150,
@@ -602,8 +636,11 @@ gas => 100,
 build => 70,
 suit => 3,
 pop => 4,
+cargo => 4,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp => 100,
 shield => 80,
 armor => 0,
@@ -666,7 +703,9 @@ build => 40,
 suit => 1,
 pop => 1,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+},
 air => 1,
 hp => 40,
 shield => 20,
@@ -711,8 +750,11 @@ gas => 0,
 build => 60,
 suit => 3,
 pop => 2,
+cargo => -8,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp => 80,
 shield => 60,
 armor => 1,
@@ -741,8 +783,11 @@ gas => 0,
 build => 20,
 suit => 1,
 pop => 1,
+cargo => 1,
 race => 'terran',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp =>  60,
 armor => 0,
 attack => [
@@ -768,6 +813,9 @@ gas => 0,
 build => 30,
 suit => 3,
 race => 'terran',
+attr => {
+       structure => 1,
+},
 hp => 200,
 armor => 0,
 attack => [
@@ -795,8 +843,11 @@ gas => 0,
 build => 24,
 suit => 1,
 pop => 1,
+cargo => 1,
 race => 'terran',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp =>  40,
 armor => 0,
 attack => [
@@ -851,8 +902,11 @@ gas => 25,
 build => 24,
 suit => 1,
 pop => 1,
+cargo => 1,
 race => 'terran',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp =>  50,
 armor => 1,
 attack => [
@@ -901,8 +955,11 @@ gas => 75,
 build => 50,
 suit => 1,
 pop => 1,
+cargo => 1,
 race => 'terran',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp =>  45,
 armor => 0,
 attack => [
@@ -983,8 +1040,11 @@ gas => 25,
 build => 30,
 suit => 1,
 pop => 1,
+cargo => 1,
 race => 'terran',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp =>  60,
 armor => 1,
 sight => 9,
@@ -1044,8 +1104,11 @@ gas => 0,
 build => 30,
 suit => 2,
 pop => 2,
+cargo => 2,
 race => 'terran',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp =>  80,
 armor => 0,
 attack => [
@@ -1079,7 +1142,9 @@ special => [
                alt => 'Spider Mine',
                desc => 'burrows a mine which will automaticaly target non-hovering enemy units',
                amount => 3,
-               organic => 0,
+               attr => {
+                       mech => 1,
+               },
                hp => 20,
                suit => 1,
                armor => 0,
@@ -1109,8 +1174,11 @@ gas => 100,
 build => 50,
 suit => 3,
 pop => 2,
+cargo => 4,
 race => 'terran',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp => 150,
 armor => 1,
 attack => [
@@ -1160,8 +1228,11 @@ gas => 50,
 build => 40,
 suit => 3,
 pop => 2,
+cargo => 2,
 race => 'terran',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp => 125,
 armor => 1,
 attack => [
@@ -1208,7 +1279,9 @@ build => 60,
 suit => 3,
 pop => 2,
 race => 'terran',
-organic => 0,
+attr => {
+       mech => 1,
+},
 air => 1,
 hp => 120,
 armor => 0,
@@ -1267,7 +1340,9 @@ build => 133,
 suit => 3,
 pop => 6,
 race => 'terran',
-organic => 0,
+attr => {
+       mech => 1,
+},
 air => 1,
 hp => 500,
 armor => 3,
@@ -1324,7 +1399,9 @@ build => 80,
 suit => 3,
 pop => 2,
 race => 'terran',
-organic => 0,
+attr => {
+       mech => 1,
+},
 air => 1,
 hp => 200,
 armor => 1,
@@ -1390,7 +1467,9 @@ build => 50,
 suit => 3,
 pop => 3,
 race => 'terran',
-organic => 0,
+attr => {
+       mech => 1,
+},
 air => 1,
 hp => 200,
 armor => 2,
@@ -1418,8 +1497,11 @@ gas => 100,
 build => 50,
 suit => 3,
 pop => 2,
+cargo => -8,
 race => 'terran',
-organic => 0,
+attr => {
+       mech => 1,
+},
 air => 1,
 hp => 150,
 armor => 1,
@@ -1439,8 +1521,11 @@ gas => 0,
 build => 20,
 suit => 1,
 pop => 1,
+cargo => 1,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 40,
 armor => 0,
 attack => [
@@ -1463,8 +1548,11 @@ gas => 0,
 build => 40,
 suit => 3,
 pop => -9,
+cargo => 0,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 air => 1,
 hp => 200,
 armor => 0,
@@ -1508,7 +1596,9 @@ build => 20,
 suit => 1,
 pop => 0,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 25,
 armor => 10,
 sight => 4,
@@ -1539,6 +1629,9 @@ gas => 0,
 build => 20,
 suit => 3,
 race => 'zerg',
+attr => {
+       structure => 1,
+},
 hp => 300,
 armor => 2,
 attack => [
@@ -1562,6 +1655,9 @@ gas => 0,
 build => 20,
 suit => 3,
 race => 'zerg',
+attr => {
+       structure => 1,
+},
 hp => 400,
 armor => 0,
 attack => [
@@ -1585,8 +1681,11 @@ gas => 0,
 build => 28, # for 2
 suit => 1,
 pop => 0.5,
+cargo => 1,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 35,
 armor => 0,
 attack => [
@@ -1631,8 +1730,11 @@ gas => 25,
 build => 28,
 suit => 2,
 pop => 1,
+cargo => 2,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 80,
 armor => 0,
 attack => [
@@ -1684,8 +1786,11 @@ base => 'hydralisk',
 build => 40,
 suit => 2,
 pop => 2,
+cargo => 4,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 125,
 armor => 1,
 attack => [
@@ -1711,7 +1816,9 @@ build => 50,
 suit => 2,
 pop => 2,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 air => 1,
 hp => 120,
 armor => 0,
@@ -1757,7 +1864,9 @@ special => [
                alt => 'Broodling',
                suit => 1,
                pop => 0,
-               organic => 1,
+               attr => {
+                       organic => 1,
+               },
                hp => 30,
                armor => 0,
                attack => [
@@ -1784,7 +1893,9 @@ build => 40,
 suit => 1,
 pop => 1,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 60,
 armor => 0,
 attack => [
@@ -1809,7 +1920,9 @@ build => 30, # for 2
 suit => 1,
 pop => 0.5,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 air => 1,
 hp => 25,
 armor => 0,
@@ -1834,7 +1947,9 @@ build => 40,
 suit => 1,
 pop => 2,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 air => 1,
 hp => 120,
 armor => 0,
@@ -1854,7 +1969,9 @@ special => [
        {
                alt => 'Cocoon',
                suit => 3,
-               organic => 1,
+               attr => {
+                       organic => 1,
+               },
                hp => 200,
                armor => 0,
                sight => 4,
@@ -1875,7 +1992,9 @@ base => 'mutalisk',
 suit => 3,
 pop => 2,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 air => 1,
 hp => 150,
 armor => 2,
@@ -1902,7 +2021,9 @@ base => 'mutalisk',
 suit => 3,
 pop => 2,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 air => 1,
 hp => 250,
 armor => 2,
@@ -1929,8 +2050,11 @@ gas => 150,
 build => 50,
 suit => 2,
 pop => 2,
+cargo => 2,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 80,
 armor => 1,
 sight => 10,
@@ -1978,8 +2102,11 @@ gas => 200,
 build => 60,
 suit => 3,
 pop => 4,
+cargo => 4,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 400,
 armor => 1,
 attack => [