From 51f4351333a46b51e93e27c294015e084c8ea243 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Mon, 22 Jun 2015 10:07:24 +0200 Subject: [PATCH] sc: convert 'organic' bw data fields to attr options --- sc-units-bw.inc.pl | 192 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 147 insertions(+), 45 deletions(-) diff --git a/sc-units-bw.inc.pl b/sc-units-bw.inc.pl index 0201ace..dc90ec8 100644 --- a/sc-units-bw.inc.pl +++ b/sc-units-bw.inc.pl @@ -22,7 +22,9 @@ suit => 1, pop => 1, cargo => 1, race => 'protoss', -organic => 0, +attr => { + mech => 1, +}, hp => 20, shield => 20, armor => 0, @@ -52,6 +54,9 @@ gas => 0, build => 50, suit => 3, race => 'protoss', +attr => { + structure => 1, +}, hp => 100, shield => 100, armor => 0, @@ -83,7 +88,9 @@ suit => 1, pop => 2, cargo => 2, race => 'protoss', -organic => 1, +attr => { + organic => 1, +}, hp => 100, shield => 60, armor => 1, @@ -125,7 +132,9 @@ suit => 3, pop => 2, cargo => 4, race => 'protoss', -organic => 0, +attr => { + mech => 1, +}, hp => 100, shield => 80, armor => 1, @@ -172,7 +181,9 @@ suit => 1, pop => 2, cargo => 2, race => 'protoss', -organic => 1, +attr => { + organic => 1, +}, hp => 40, shield => 40, armor => 0, @@ -228,7 +239,9 @@ suit => 1, pop => 2, cargo => 2, race => 'protoss', -organic => 1, +attr => { + organic => 1, +}, hp => 80, shield => 40, armor => 1, @@ -269,7 +282,9 @@ suit => 3, pop => 4, cargo => 4, race => 'protoss', -organic => 0, +attr => { + mech => 1, +}, hp => 10, shield => 350, armor => 0, @@ -303,7 +318,9 @@ suit => 3, pop => 4, cargo => 4, race => 'protoss', -organic => 0, +attr => { + mech => 1, +}, hp => 25, shield => 200, armor => 1, @@ -366,7 +383,9 @@ build => 80, suit => 3, pop => 3, race => 'protoss', -organic => 0, +attr => { + mech => 1, +}, air => 1, hp => 150, shield => 100, @@ -420,7 +439,9 @@ build => 40, suit => 2, pop => 2, race => 'protoss', -organic => 0, +attr => { + mech => 1, +}, air => 1, hp => 100, shield => 80, @@ -476,7 +497,9 @@ build => 140, suit => 3, pop => 6, race => 'protoss', -organic => 0, +attr => { + mech => 1, +}, hp => 300, shield => 150, armor => 4, @@ -499,7 +522,9 @@ special => [ suit => 1, pop => 0, race => 'protoss', - organic => 0, + attr => { + mech => 1, + }, hp => 40, shield => 40, armor => 0, @@ -543,7 +568,9 @@ build => 160, suit => 3, pop => 4, race => 'protoss', -organic => 0, +attr => { + mech => 1, +}, air => 1, hp => 200, shield => 150, @@ -611,7 +638,9 @@ suit => 3, pop => 4, cargo => 4, race => 'protoss', -organic => 0, +attr => { + mech => 1, +}, hp => 100, shield => 80, armor => 0, @@ -674,7 +703,9 @@ build => 40, suit => 1, pop => 1, race => 'protoss', -organic => 0, +attr => { + mech => 1, +}, air => 1, hp => 40, shield => 20, @@ -721,7 +752,9 @@ suit => 3, pop => 2, cargo => -8, race => 'protoss', -organic => 0, +attr => { + mech => 1, +}, hp => 80, shield => 60, armor => 1, @@ -752,7 +785,9 @@ suit => 1, pop => 1, cargo => 1, race => 'terran', -organic => 0, +attr => { + mech => 1, +}, hp => 60, armor => 0, attack => [ @@ -778,6 +813,9 @@ gas => 0, build => 30, suit => 3, race => 'terran', +attr => { + structure => 1, +}, hp => 200, armor => 0, attack => [ @@ -807,7 +845,9 @@ suit => 1, pop => 1, cargo => 1, race => 'terran', -organic => 1, +attr => { + organic => 1, +}, hp => 40, armor => 0, attack => [ @@ -864,7 +904,9 @@ suit => 1, pop => 1, cargo => 1, race => 'terran', -organic => 1, +attr => { + organic => 1, +}, hp => 50, armor => 1, attack => [ @@ -915,7 +957,9 @@ suit => 1, pop => 1, cargo => 1, race => 'terran', -organic => 1, +attr => { + organic => 1, +}, hp => 45, armor => 0, attack => [ @@ -998,7 +1042,9 @@ suit => 1, pop => 1, cargo => 1, race => 'terran', -organic => 1, +attr => { + organic => 1, +}, hp => 60, armor => 1, sight => 9, @@ -1060,7 +1106,9 @@ suit => 2, pop => 2, cargo => 2, race => 'terran', -organic => 0, +attr => { + mech => 1, +}, hp => 80, armor => 0, attack => [ @@ -1094,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, @@ -1126,7 +1176,9 @@ suit => 3, pop => 2, cargo => 4, race => 'terran', -organic => 0, +attr => { + mech => 1, +}, hp => 150, armor => 1, attack => [ @@ -1178,7 +1230,9 @@ suit => 3, pop => 2, cargo => 2, race => 'terran', -organic => 0, +attr => { + mech => 1, +}, hp => 125, armor => 1, attack => [ @@ -1225,7 +1279,9 @@ build => 60, suit => 3, pop => 2, race => 'terran', -organic => 0, +attr => { + mech => 1, +}, air => 1, hp => 120, armor => 0, @@ -1284,7 +1340,9 @@ build => 133, suit => 3, pop => 6, race => 'terran', -organic => 0, +attr => { + mech => 1, +}, air => 1, hp => 500, armor => 3, @@ -1341,7 +1399,9 @@ build => 80, suit => 3, pop => 2, race => 'terran', -organic => 0, +attr => { + mech => 1, +}, air => 1, hp => 200, armor => 1, @@ -1407,7 +1467,9 @@ build => 50, suit => 3, pop => 3, race => 'terran', -organic => 0, +attr => { + mech => 1, +}, air => 1, hp => 200, armor => 2, @@ -1437,7 +1499,9 @@ suit => 3, pop => 2, cargo => -8, race => 'terran', -organic => 0, +attr => { + mech => 1, +}, air => 1, hp => 150, armor => 1, @@ -1459,7 +1523,9 @@ suit => 1, pop => 1, cargo => 1, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, hp => 40, armor => 0, attack => [ @@ -1484,7 +1550,9 @@ suit => 3, pop => -9, cargo => 0, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, air => 1, hp => 200, armor => 0, @@ -1528,7 +1596,9 @@ build => 20, suit => 1, pop => 0, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, hp => 25, armor => 10, sight => 4, @@ -1559,6 +1629,9 @@ gas => 0, build => 20, suit => 3, race => 'zerg', +attr => { + structure => 1, +}, hp => 300, armor => 2, attack => [ @@ -1582,6 +1655,9 @@ gas => 0, build => 20, suit => 3, race => 'zerg', +attr => { + structure => 1, +}, hp => 400, armor => 0, attack => [ @@ -1607,7 +1683,9 @@ suit => 1, pop => 0.5, cargo => 1, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, hp => 35, armor => 0, attack => [ @@ -1654,7 +1732,9 @@ suit => 2, pop => 1, cargo => 2, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, hp => 80, armor => 0, attack => [ @@ -1708,7 +1788,9 @@ suit => 2, pop => 2, cargo => 4, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, hp => 125, armor => 1, attack => [ @@ -1734,7 +1816,9 @@ build => 50, suit => 2, pop => 2, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, air => 1, hp => 120, armor => 0, @@ -1780,7 +1864,9 @@ special => [ alt => 'Broodling', suit => 1, pop => 0, - organic => 1, + attr => { + organic => 1, + }, hp => 30, armor => 0, attack => [ @@ -1807,7 +1893,9 @@ build => 40, suit => 1, pop => 1, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, hp => 60, armor => 0, attack => [ @@ -1832,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, @@ -1857,7 +1947,9 @@ build => 40, suit => 1, pop => 2, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, air => 1, hp => 120, armor => 0, @@ -1877,7 +1969,9 @@ special => [ { alt => 'Cocoon', suit => 3, - organic => 1, + attr => { + organic => 1, + }, hp => 200, armor => 0, sight => 4, @@ -1898,7 +1992,9 @@ base => 'mutalisk', suit => 3, pop => 2, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, air => 1, hp => 150, armor => 2, @@ -1925,7 +2021,9 @@ base => 'mutalisk', suit => 3, pop => 2, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, air => 1, hp => 250, armor => 2, @@ -1954,7 +2052,9 @@ suit => 2, pop => 2, cargo => 2, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, hp => 80, armor => 1, sight => 10, @@ -2004,7 +2104,9 @@ suit => 3, pop => 4, cargo => 4, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, hp => 400, armor => 1, attack => [ -- 2.30.0