git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
01998de
)
sc: convert 'organic' bw data fields to attr options
author
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 22 Jun 2015 08:07:24 +0000
(10:07 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 22 Jun 2015 13:38:51 +0000
(15:38 +0200)
sc-units-bw.inc.pl
patch
|
blob
|
history
diff --git
a/sc-units-bw.inc.pl
b/sc-units-bw.inc.pl
index 0201ace650f35ae4b2569faefc0a81b7a6b01efa..dc90ec8bb2148d6307d56874bcd6449a57ab46ad 100644
(file)
--- a/
sc-units-bw.inc.pl
+++ b/
sc-units-bw.inc.pl
@@
-22,7
+22,9
@@
suit => 1,
pop => 1,
cargo => 1,
race => 'protoss',
pop => 1,
cargo => 1,
race => 'protoss',
-organic => 0,
+attr => {
+ mech => 1,
+},
hp => 20,
shield => 20,
armor => 0,
hp => 20,
shield => 20,
armor => 0,
@@
-52,6
+54,9
@@
gas => 0,
build => 50,
suit => 3,
race => 'protoss',
build => 50,
suit => 3,
race => 'protoss',
+attr => {
+ structure => 1,
+},
hp => 100,
shield => 100,
armor => 0,
hp => 100,
shield => 100,
armor => 0,
@@
-83,7
+88,9
@@
suit => 1,
pop => 2,
cargo => 2,
race => 'protoss',
pop => 2,
cargo => 2,
race => 'protoss',
-organic => 1,
+attr => {
+ organic => 1,
+},
hp => 100,
shield => 60,
armor => 1,
hp => 100,
shield => 60,
armor => 1,
@@
-125,7
+132,9
@@
suit => 3,
pop => 2,
cargo => 4,
race => 'protoss',
pop => 2,
cargo => 4,
race => 'protoss',
-organic => 0,
+attr => {
+ mech => 1,
+},
hp => 100,
shield => 80,
armor => 1,
hp => 100,
shield => 80,
armor => 1,
@@
-172,7
+181,9
@@
suit => 1,
pop => 2,
cargo => 2,
race => 'protoss',
pop => 2,
cargo => 2,
race => 'protoss',
-organic => 1,
+attr => {
+ organic => 1,
+},
hp => 40,
shield => 40,
armor => 0,
hp => 40,
shield => 40,
armor => 0,
@@
-228,7
+239,9
@@
suit => 1,
pop => 2,
cargo => 2,
race => 'protoss',
pop => 2,
cargo => 2,
race => 'protoss',
-organic => 1,
+attr => {
+ organic => 1,
+},
hp => 80,
shield => 40,
armor => 1,
hp => 80,
shield => 40,
armor => 1,
@@
-269,7
+282,9
@@
suit => 3,
pop => 4,
cargo => 4,
race => 'protoss',
pop => 4,
cargo => 4,
race => 'protoss',
-organic => 0,
+attr => {
+ mech => 1,
+},
hp => 10,
shield => 350,
armor => 0,
hp => 10,
shield => 350,
armor => 0,
@@
-303,7
+318,9
@@
suit => 3,
pop => 4,
cargo => 4,
race => 'protoss',
pop => 4,
cargo => 4,
race => 'protoss',
-organic => 0,
+attr => {
+ mech => 1,
+},
hp => 25,
shield => 200,
armor => 1,
hp => 25,
shield => 200,
armor => 1,
@@
-366,7
+383,9
@@
build => 80,
suit => 3,
pop => 3,
race => 'protoss',
suit => 3,
pop => 3,
race => 'protoss',
-organic => 0,
+attr => {
+ mech => 1,
+},
air => 1,
hp => 150,
shield => 100,
air => 1,
hp => 150,
shield => 100,
@@
-420,7
+439,9
@@
build => 40,
suit => 2,
pop => 2,
race => 'protoss',
suit => 2,
pop => 2,
race => 'protoss',
-organic => 0,
+attr => {
+ mech => 1,
+},
air => 1,
hp => 100,
shield => 80,
air => 1,
hp => 100,
shield => 80,
@@
-476,7
+497,9
@@
build => 140,
suit => 3,
pop => 6,
race => 'protoss',
suit => 3,
pop => 6,
race => 'protoss',
-organic => 0,
+attr => {
+ mech => 1,
+},
hp => 300,
shield => 150,
armor => 4,
hp => 300,
shield => 150,
armor => 4,
@@
-499,7
+522,9
@@
special => [
suit => 1,
pop => 0,
race => 'protoss',
suit => 1,
pop => 0,
race => 'protoss',
- organic => 0,
+ attr => {
+ mech => 1,
+ },
hp => 40,
shield => 40,
armor => 0,
hp => 40,
shield => 40,
armor => 0,
@@
-543,7
+568,9
@@
build => 160,
suit => 3,
pop => 4,
race => 'protoss',
suit => 3,
pop => 4,
race => 'protoss',
-organic => 0,
+attr => {
+ mech => 1,
+},
air => 1,
hp => 200,
shield => 150,
air => 1,
hp => 200,
shield => 150,
@@
-611,7
+638,9
@@
suit => 3,
pop => 4,
cargo => 4,
race => 'protoss',
pop => 4,
cargo => 4,
race => 'protoss',
-organic => 0,
+attr => {
+ mech => 1,
+},
hp => 100,
shield => 80,
armor => 0,
hp => 100,
shield => 80,
armor => 0,
@@
-674,7
+703,9
@@
build => 40,
suit => 1,
pop => 1,
race => 'protoss',
suit => 1,
pop => 1,
race => 'protoss',
-organic => 0,
+attr => {
+ mech => 1,
+},
air => 1,
hp => 40,
shield => 20,
air => 1,
hp => 40,
shield => 20,
@@
-721,7
+752,9
@@
suit => 3,
pop => 2,
cargo => -8,
race => 'protoss',
pop => 2,
cargo => -8,
race => 'protoss',
-organic => 0,
+attr => {
+ mech => 1,
+},
hp => 80,
shield => 60,
armor => 1,
hp => 80,
shield => 60,
armor => 1,
@@
-752,7
+785,9
@@
suit => 1,
pop => 1,
cargo => 1,
race => 'terran',
pop => 1,
cargo => 1,
race => 'terran',
-organic => 0,
+attr => {
+ mech => 1,
+},
hp => 60,
armor => 0,
attack => [
hp => 60,
armor => 0,
attack => [
@@
-778,6
+813,9
@@
gas => 0,
build => 30,
suit => 3,
race => 'terran',
build => 30,
suit => 3,
race => 'terran',
+attr => {
+ structure => 1,
+},
hp => 200,
armor => 0,
attack => [
hp => 200,
armor => 0,
attack => [
@@
-807,7
+845,9
@@
suit => 1,
pop => 1,
cargo => 1,
race => 'terran',
pop => 1,
cargo => 1,
race => 'terran',
-organic => 1,
+attr => {
+ organic => 1,
+},
hp => 40,
armor => 0,
attack => [
hp => 40,
armor => 0,
attack => [
@@
-864,7
+904,9
@@
suit => 1,
pop => 1,
cargo => 1,
race => 'terran',
pop => 1,
cargo => 1,
race => 'terran',
-organic => 1,
+attr => {
+ organic => 1,
+},
hp => 50,
armor => 1,
attack => [
hp => 50,
armor => 1,
attack => [
@@
-915,7
+957,9
@@
suit => 1,
pop => 1,
cargo => 1,
race => 'terran',
pop => 1,
cargo => 1,
race => 'terran',
-organic => 1,
+attr => {
+ organic => 1,
+},
hp => 45,
armor => 0,
attack => [
hp => 45,
armor => 0,
attack => [
@@
-998,7
+1042,9
@@
suit => 1,
pop => 1,
cargo => 1,
race => 'terran',
pop => 1,
cargo => 1,
race => 'terran',
-organic => 1,
+attr => {
+ organic => 1,
+},
hp => 60,
armor => 1,
sight => 9,
hp => 60,
armor => 1,
sight => 9,
@@
-1060,7
+1106,9
@@
suit => 2,
pop => 2,
cargo => 2,
race => 'terran',
pop => 2,
cargo => 2,
race => 'terran',
-organic => 0,
+attr => {
+ mech => 1,
+},
hp => 80,
armor => 0,
attack => [
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,
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,
hp => 20,
suit => 1,
armor => 0,
@@
-1126,7
+1176,9
@@
suit => 3,
pop => 2,
cargo => 4,
race => 'terran',
pop => 2,
cargo => 4,
race => 'terran',
-organic => 0,
+attr => {
+ mech => 1,
+},
hp => 150,
armor => 1,
attack => [
hp => 150,
armor => 1,
attack => [
@@
-1178,7
+1230,9
@@
suit => 3,
pop => 2,
cargo => 2,
race => 'terran',
pop => 2,
cargo => 2,
race => 'terran',
-organic => 0,
+attr => {
+ mech => 1,
+},
hp => 125,
armor => 1,
attack => [
hp => 125,
armor => 1,
attack => [
@@
-1225,7
+1279,9
@@
build => 60,
suit => 3,
pop => 2,
race => 'terran',
suit => 3,
pop => 2,
race => 'terran',
-organic => 0,
+attr => {
+ mech => 1,
+},
air => 1,
hp => 120,
armor => 0,
air => 1,
hp => 120,
armor => 0,
@@
-1284,7
+1340,9
@@
build => 133,
suit => 3,
pop => 6,
race => 'terran',
suit => 3,
pop => 6,
race => 'terran',
-organic => 0,
+attr => {
+ mech => 1,
+},
air => 1,
hp => 500,
armor => 3,
air => 1,
hp => 500,
armor => 3,
@@
-1341,7
+1399,9
@@
build => 80,
suit => 3,
pop => 2,
race => 'terran',
suit => 3,
pop => 2,
race => 'terran',
-organic => 0,
+attr => {
+ mech => 1,
+},
air => 1,
hp => 200,
armor => 1,
air => 1,
hp => 200,
armor => 1,
@@
-1407,7
+1467,9
@@
build => 50,
suit => 3,
pop => 3,
race => 'terran',
suit => 3,
pop => 3,
race => 'terran',
-organic => 0,
+attr => {
+ mech => 1,
+},
air => 1,
hp => 200,
armor => 2,
air => 1,
hp => 200,
armor => 2,
@@
-1437,7
+1499,9
@@
suit => 3,
pop => 2,
cargo => -8,
race => 'terran',
pop => 2,
cargo => -8,
race => 'terran',
-organic => 0,
+attr => {
+ mech => 1,
+},
air => 1,
hp => 150,
armor => 1,
air => 1,
hp => 150,
armor => 1,
@@
-1459,7
+1523,9
@@
suit => 1,
pop => 1,
cargo => 1,
race => 'zerg',
pop => 1,
cargo => 1,
race => 'zerg',
-organic => 1,
+attr => {
+ organic => 1,
+},
hp => 40,
armor => 0,
attack => [
hp => 40,
armor => 0,
attack => [
@@
-1484,7
+1550,9
@@
suit => 3,
pop => -9,
cargo => 0,
race => 'zerg',
pop => -9,
cargo => 0,
race => 'zerg',
-organic => 1,
+attr => {
+ organic => 1,
+},
air => 1,
hp => 200,
armor => 0,
air => 1,
hp => 200,
armor => 0,
@@
-1528,7
+1596,9
@@
build => 20,
suit => 1,
pop => 0,
race => 'zerg',
suit => 1,
pop => 0,
race => 'zerg',
-organic => 1,
+attr => {
+ organic => 1,
+},
hp => 25,
armor => 10,
sight => 4,
hp => 25,
armor => 10,
sight => 4,
@@
-1559,6
+1629,9
@@
gas => 0,
build => 20,
suit => 3,
race => 'zerg',
build => 20,
suit => 3,
race => 'zerg',
+attr => {
+ structure => 1,
+},
hp => 300,
armor => 2,
attack => [
hp => 300,
armor => 2,
attack => [
@@
-1582,6
+1655,9
@@
gas => 0,
build => 20,
suit => 3,
race => 'zerg',
build => 20,
suit => 3,
race => 'zerg',
+attr => {
+ structure => 1,
+},
hp => 400,
armor => 0,
attack => [
hp => 400,
armor => 0,
attack => [
@@
-1607,7
+1683,9
@@
suit => 1,
pop => 0.5,
cargo => 1,
race => 'zerg',
pop => 0.5,
cargo => 1,
race => 'zerg',
-organic => 1,
+attr => {
+ organic => 1,
+},
hp => 35,
armor => 0,
attack => [
hp => 35,
armor => 0,
attack => [
@@
-1654,7
+1732,9
@@
suit => 2,
pop => 1,
cargo => 2,
race => 'zerg',
pop => 1,
cargo => 2,
race => 'zerg',
-organic => 1,
+attr => {
+ organic => 1,
+},
hp => 80,
armor => 0,
attack => [
hp => 80,
armor => 0,
attack => [
@@
-1708,7
+1788,9
@@
suit => 2,
pop => 2,
cargo => 4,
race => 'zerg',
pop => 2,
cargo => 4,
race => 'zerg',
-organic => 1,
+attr => {
+ organic => 1,
+},
hp => 125,
armor => 1,
attack => [
hp => 125,
armor => 1,
attack => [
@@
-1734,7
+1816,9
@@
build => 50,
suit => 2,
pop => 2,
race => 'zerg',
suit => 2,
pop => 2,
race => 'zerg',
-organic => 1,
+attr => {
+ organic => 1,
+},
air => 1,
hp => 120,
armor => 0,
air => 1,
hp => 120,
armor => 0,
@@
-1780,7
+1864,9
@@
special => [
alt => 'Broodling',
suit => 1,
pop => 0,
alt => 'Broodling',
suit => 1,
pop => 0,
- organic => 1,
+ attr => {
+ organic => 1,
+ },
hp => 30,
armor => 0,
attack => [
hp => 30,
armor => 0,
attack => [
@@
-1807,7
+1893,9
@@
build => 40,
suit => 1,
pop => 1,
race => 'zerg',
suit => 1,
pop => 1,
race => 'zerg',
-organic => 1,
+attr => {
+ organic => 1,
+},
hp => 60,
armor => 0,
attack => [
hp => 60,
armor => 0,
attack => [
@@
-1832,7
+1920,9
@@
build => 30, # for 2
suit => 1,
pop => 0.5,
race => 'zerg',
suit => 1,
pop => 0.5,
race => 'zerg',
-organic => 1,
+attr => {
+ organic => 1,
+},
air => 1,
hp => 25,
armor => 0,
air => 1,
hp => 25,
armor => 0,
@@
-1857,7
+1947,9
@@
build => 40,
suit => 1,
pop => 2,
race => 'zerg',
suit => 1,
pop => 2,
race => 'zerg',
-organic => 1,
+attr => {
+ organic => 1,
+},
air => 1,
hp => 120,
armor => 0,
air => 1,
hp => 120,
armor => 0,
@@
-1877,7
+1969,9
@@
special => [
{
alt => 'Cocoon',
suit => 3,
{
alt => 'Cocoon',
suit => 3,
- organic => 1,
+ attr => {
+ organic => 1,
+ },
hp => 200,
armor => 0,
sight => 4,
hp => 200,
armor => 0,
sight => 4,
@@
-1898,7
+1992,9
@@
base => 'mutalisk',
suit => 3,
pop => 2,
race => 'zerg',
suit => 3,
pop => 2,
race => 'zerg',
-organic => 1,
+attr => {
+ organic => 1,
+},
air => 1,
hp => 150,
armor => 2,
air => 1,
hp => 150,
armor => 2,
@@
-1925,7
+2021,9
@@
base => 'mutalisk',
suit => 3,
pop => 2,
race => 'zerg',
suit => 3,
pop => 2,
race => 'zerg',
-organic => 1,
+attr => {
+ organic => 1,
+},
air => 1,
hp => 250,
armor => 2,
air => 1,
hp => 250,
armor => 2,
@@
-1954,7
+2052,9
@@
suit => 2,
pop => 2,
cargo => 2,
race => 'zerg',
pop => 2,
cargo => 2,
race => 'zerg',
-organic => 1,
+attr => {
+ organic => 1,
+},
hp => 80,
armor => 1,
sight => 10,
hp => 80,
armor => 1,
sight => 10,
@@
-2004,7
+2104,9
@@
suit => 3,
pop => 4,
cargo => 4,
race => 'zerg',
pop => 4,
cargo => 4,
race => 'zerg',
-organic => 1,
+attr => {
+ organic => 1,
+},
hp => 400,
armor => 1,
attack => [
hp => 400,
armor => 1,
attack => [