gas => 0,
build => 20,
suit => 1,
-unit => 1,
+pop => 1,
race => 'protoss',
organic => 0,
hp => 20,
gas => 0,
build => 40,
suit => 1,
-unit => 2,
+pop => 2,
race => 'protoss',
organic => 1,
hp => 100,
gas => 50,
build => 50,
suit => 3,
-unit => 2,
+pop => 2,
race => 'protoss',
organic => 0,
hp => 100,
gas => 150,
build => 50,
suit => 1,
-unit => 2,
+pop => 2,
race => 'protoss',
organic => 1,
hp => 40,
gas => 100,
build => 50,
suit => 1,
-unit => 2,
+pop => 2,
race => 'protoss',
organic => 1,
hp => 80,
build => 20,
base => ['templar', 'templar'],
suit => 3,
-unit => 4,
+pop => 4,
race => 'protoss',
organic => 0,
hp => 10,
build => 20,
base => ['dark templar', 'dark templar'],
suit => 3,
-unit => 4,
+pop => 4,
race => 'protoss',
organic => 0,
hp => 25,
gas => 125,
build => 80,
suit => 3,
-unit => 3,
+pop => 3,
race => 'protoss',
organic => 0,
air => 1,
gas => 100,
build => 40,
suit => 2,
-unit => 2,
+pop => 2,
race => 'protoss',
organic => 0,
air => 1,
gas => 250,
build => 140,
suit => 3,
-unit => 6,
+pop => 6,
race => 'protoss',
organic => 0,
hp => 300,
min => 25,
build => 20,
suit => 1,
- unit => 0,
+ pop => 0,
race => 'protoss',
organic => 0,
hp => 40,
gas => 350,
build => 160,
suit => 3,
-unit => 4,
+pop => 4,
race => 'protoss',
organic => 0,
air => 1,
gas => 100,
build => 70,
suit => 3,
-unit => 4,
+pop => 4,
race => 'protoss',
organic => 0,
hp => 100,
gas => 75,
build => 40,
suit => 1,
-unit => 1,
+pop => 1,
race => 'protoss',
organic => 0,
air => 1,
gas => 0,
build => 60,
suit => 3,
-unit => 2,
+pop => 2,
race => 'protoss',
organic => 0,
hp => 80,
gas => 0,
build => 20,
suit => 1,
-unit => 1,
+pop => 1,
race => 'terran',
organic => 0,
hp => 60,
gas => 0,
build => 24,
suit => 1,
-unit => 1,
+pop => 1,
race => 'terran',
organic => 1,
hp => 40,
gas => 25,
build => 24,
suit => 1,
-unit => 1,
+pop => 1,
race => 'terran',
organic => 1,
hp => 50,
gas => 75,
build => 50,
suit => 1,
-unit => 1,
+pop => 1,
race => 'terran',
organic => 1,
hp => 45,
abbr => 'ns',
min => 200,
gas => 200,
- unit => 8,
+ pop => 8,
desc => 'guides a nuclear missile which will do 500 damage',
duration => 14+3,
range => 8,
gas => 25,
build => 30,
suit => 1,
-unit => 1,
+pop => 1,
race => 'terran',
organic => 1,
hp => 60,
gas => 0,
build => 30,
suit => 2,
-unit => 2,
+pop => 2,
race => 'terran',
organic => 0,
hp => 80,
gas => 100,
build => 50,
suit => 3,
-unit => 2,
+pop => 2,
race => 'terran',
organic => 0,
hp => 150,
gas => 50,
build => 40,
suit => 3,
-unit => 2,
+pop => 2,
race => 'terran',
organic => 0,
hp => 125,
gas => 100,
build => 60,
suit => 3,
-unit => 2,
+pop => 2,
race => 'terran',
organic => 0,
air => 1,
gas => 300,
build => 133,
suit => 3,
-unit => 6,
+pop => 6,
race => 'terran',
organic => 0,
air => 1,
gas => 225,
build => 80,
suit => 3,
-unit => 2,
+pop => 2,
race => 'terran',
organic => 0,
air => 1,
gas => 125,
build => 50,
suit => 3,
-unit => 3,
+pop => 3,
race => 'terran',
organic => 0,
air => 1,
gas => 100,
build => 50,
suit => 3,
-unit => 2,
+pop => 2,
race => 'terran',
organic => 0,
air => 1,
gas => 0,
build => 20,
suit => 1,
-unit => 1,
+pop => 1,
race => 'zerg',
organic => 1,
hp => 40,
gas => 0,
build => 40,
suit => 3,
-unit => -9,
+pop => -9,
race => 'zerg',
organic => 1,
air => 1,
},
build => 20,
suit => 1,
-unit => 0,
+pop => 0,
race => 'zerg',
organic => 1,
hp => 25,
gas => 0,
build => 28, # for 2
suit => 1,
-unit => 0.5,
+pop => 0.5,
race => 'zerg',
organic => 1,
hp => 35,
gas => 25,
build => 28,
suit => 2,
-unit => 1,
+pop => 1,
race => 'zerg',
organic => 1,
hp => 80,
base => 'hydralisk',
build => 40,
suit => 2,
-unit => 2,
+pop => 2,
race => 'zerg',
organic => 1,
hp => 125,
gas => 100,
build => 50,
suit => 2,
-unit => 2,
+pop => 2,
race => 'zerg',
organic => 1,
air => 1,
count => 2,
alt => 'Broodling',
suit => 1,
- unit => 0,
+ pop => 0,
organic => 1,
hp => 30,
armor => 0,
gas => 50,
build => 40,
suit => 1,
-unit => 1,
+pop => 1,
race => 'zerg',
organic => 1,
hp => 60,
gas => 38,
build => 30, # for 2
suit => 1,
-unit => 0.5,
+pop => 0.5,
race => 'zerg',
organic => 1,
air => 1,
gas => 100,
build => 40,
suit => 1,
-unit => 2,
+pop => 2,
race => 'zerg',
organic => 1,
air => 1,
build => 40,
base => 'mutalisk',
suit => 3,
-unit => 2,
+pop => 2,
race => 'zerg',
organic => 1,
air => 1,
build => 40,
base => 'mutalisk',
suit => 3,
-unit => 2,
+pop => 2,
race => 'zerg',
organic => 1,
air => 1,
gas => 150,
build => 50,
suit => 2,
-unit => 2,
+pop => 2,
race => 'zerg',
organic => 1,
hp => 80,
gas => 200,
build => 60,
suit => 3,
-unit => 4,
+pop => 4,
race => 'zerg',
organic => 1,
hp => 400,
race => 'protoss',
cat => 'base',
name => 'Probe',
- unit => 1,
+ pop => 1,
min => 50,
gas => 0,
build => 17,
race => 'protoss',
cat => 'base',
name => 'Mothership Core',
- unit => 2,
+ pop => 2,
min => 100,
gas => 100,
build => 30,
race => 'protoss',
cat => 'base',
name => 'Mothership',
- unit => 8,
+ pop => 8,
min => 300,
gas => 300,
build => 100,
race => 'protoss',
cat => 'gateway',
name => 'Zealot',
- unit => 2,
+ pop => 2,
min => 100,
gas => 0,
build => 38,
race => 'protoss',
cat => 'gateway',
name => 'Sentry',
- unit => 2,
+ pop => 2,
min => 50,
gas => 100,
build => 37,
race => 'protoss',
cat => 'gateway',
name => 'Stalker',
- unit => 2,
+ pop => 2,
min => 125,
gas => 50,
build => 42,
race => 'protoss',
cat => 'gateway',
name => 'High Templar',
- unit => 2,
+ pop => 2,
min => 50,
gas => 150,
build => 55,
race => 'protoss',
cat => 'gateway',
name => 'Dark Templar',
- unit => 2,
+ pop => 2,
min => 125,
gas => 125,
build => 55,
name => 'Archon',
min => 100, # or 175 or 250
gas => 300, # or 275 or 250
- unit => 4,
+ pop => 4,
build => 12,
base => ['Templar', 'Templar'],
size => 1.5,
race => 'protoss',
cat => 'robotic',
name => 'Immortal',
- unit => 4,
+ pop => 4,
min => 250,
gas => 100,
build => 55,
race => 'protoss',
cat => 'robotic',
name => 'Colossus',
- unit => 6,
+ pop => 6,
min => 300,
gas => 200,
build => 75,
race => 'protoss',
cat => 'robotic',
name => 'Observer',
- unit => 1,
+ pop => 1,
min => 25,
gas => 75,
build => 30,
race => 'protoss',
cat => 'robotic',
name => 'Warp Prism',
- unit => 2,
+ pop => 2,
min => 200,
gas => 0,
build => 50,
race => 'protoss',
cat => 'stargate',
name => 'Phoenix',
- unit => 2,
+ pop => 2,
min => 150,
gas => 100,
build => 35,
race => 'protoss',
cat => 'stargate',
name => 'Void Ray',
- unit => 4,
+ pop => 4,
min => 250,
gas => 150,
build => 60,
race => 'protoss',
cat => 'stargate',
name => 'Oracle',
- unit => 3,
+ pop => 3,
min => 150,
gas => 150,
build => 50,
race => 'protoss',
cat => 'stargate',
name => 'Tempest',
- unit => 4,
+ pop => 4,
min => 300,
gas => 200,
build => 60,
race => 'protoss',
cat => 'stargate',
name => 'Carrier',
- unit => 6,
+ pop => 6,
min => 350,
gas => 250,
build => 120,
special => [
{
alt => 'Interceptor',
- unit => 0,
+ pop => 0,
min => 25,
gas => 0,
build => 8,
race => 'terran',
cat => 'base',
name => 'SCV', # T-280 Space Construction Vehicle
- unit => 1,
+ pop => 1,
min => 50,
gas => 0,
build => 17,
race => 'terran',
cat => 'base',
name => 'Mule',
- unit => 0,
+ pop => 0,
min => 0,
build => 0,
size => 0.75,
cat => 'base',
name => 'Planetary Fortress',
base => ['Command Center'],
- unit => -11,
+ pop => -11,
min => 150,
gas => 150,
build => 50,
race => 'terran',
cat => 'barracks',
name => 'Marine',
- unit => 1,
+ pop => 1,
min => 50,
gas => 0,
build => 25,
race => 'terran',
cat => 'barracks',
name => 'Marauder',
- unit => 2,
+ pop => 2,
min => 100,
gas => 25,
build => 30,
race => 'terran',
cat => 'barracks',
name => 'Reaper',
- unit => 1,
+ pop => 1,
min => 50,
gas => 50,
build => 40,
race => 'terran',
cat => 'barracks',
name => 'Ghost',
- unit => 2,
+ pop => 2,
min => 200,
gas => 100,
build => 40,
race => 'terran',
cat => 'factory',
name => 'Hellion',
- unit => 2,
+ pop => 2,
min => 100,
gas => 0,
build => 30,
race => 'terran',
cat => 'factory',
name => 'Hellbat',
- unit => 2,
+ pop => 2,
min => 100,
gas => 0,
build => 30,
race => 'terran',
cat => 'factory',
name => 'Widow Mine',
- unit => 2,
+ pop => 2,
min => 75,
gas => 25,
build => 40,
race => 'terran',
cat => 'factory',
name => 'Siege Tank',
- unit => 3,
+ pop => 3,
min => 150,
gas => 125,
build => 45,
race => 'terran',
cat => 'factory',
name => 'Thor',
- unit => 6,
+ pop => 6,
min => 300,
gas => 200,
build => 60,
race => 'terran',
cat => 'starport',
name => 'Viking',
- unit => 2,
+ pop => 2,
min => 150,
gas => 75,
build => 42,
race => 'terran',
cat => 'starport',
name => 'Medivac',
- unit => 2,
+ pop => 2,
min => 100,
gas => 100,
build => 42,
race => 'terran',
cat => 'starport',
name => 'Banshee', # AH/G-24
- unit => 3,
+ pop => 3,
min => 150,
gas => 100,
build => 60,
race => 'terran',
cat => 'starport',
name => 'Raven',
- unit => 2,
+ pop => 2,
min => 100,
gas => 200,
build => 60,
race => 'terran',
cat => 'starport',
name => 'Battlecruiser',
- unit => 6,
+ pop => 6,
min => 400,
gas => 300,
build => 90,
race => 'zerg',
cat => 'base',
name => 'Drone',
- unit => 1,
+ pop => 1,
min => 50,
gas => 0,
build => 17,
race => 'zerg',
cat => 'base',
name => 'Queen',
- unit => 2,
+ pop => 2,
min => 150,
gas => 0,
build => 50,
race => 'zerg',
cat => 'base',
name => 'Overlord',
- unit => -9,
+ pop => -9,
min => 100,
gas => 0,
build => 25,
cat => 'base',
name => 'Overseer',
base => ['Overlord'],
- unit => -9,
+ pop => -9,
min => 100+50,
gas => 50,
build => 17,
race => 'zerg',
cat => 'creep',
name => 'Larva',
- unit => 0,
+ pop => 0,
build => 15,
size => 0.25,
cargo => 0,
race => 'zerg',
cat => 'hatchery',
name => 'Zergling',
- unit => 0.5,
+ pop => 0.5,
min => 25,
gas => 0,
build => 24,
cat => 'hatchery',
name => 'Baneling',
base => ['Zergling'],
- unit => 0.5,
+ pop => 0.5,
min => 25+25,
gas => 25,
build => 20,
race => 'zerg',
cat => 'hatchery',
name => 'Roach',
- unit => 2,
+ pop => 2,
min => 75,
gas => 25,
build => 27,
race => 'zerg',
cat => 'lair',
name => 'Hydralisk',
- unit => 2,
+ pop => 2,
min => 100,
gas => 50,
build => 33,
race => 'zerg',
cat => 'lair',
name => 'Infestor',
- unit => 2,
+ pop => 2,
min => 100,
gas => 150,
build => 50,
race => 'zerg',
cat => 'lair',
name => 'Swarm Host',
- unit => 4,
+ pop => 4,
min => 100,
gas => 200,
build => 40,
race => 'zerg',
cat => 'lair',
name => 'Mutalisk',
- unit => 2,
+ pop => 2,
min => 100,
gas => 100,
build => 33,
race => 'zerg',
cat => 'lair',
name => 'Corruptor',
- unit => 2,
+ pop => 2,
min => 150,
gas => 100,
build => 40,
cat => 'hive',
name => 'Brood Lord',
base => ['Corruptor'],
- unit => 4,
+ pop => 4,
min => 150+150,
gas => 100+150,
build => 34,
desc => 'Broodlings are spawned upon each attack',
duration => -1,
alt => 'Broodling',
- unit => 0,
+ pop => 0,
# build => 1,
size => 0.75,
cargo => 0,
race => 'zerg',
cat => 'hive',
name => 'Viper',
- unit => 3,
+ pop => 3,
min => 100,
gas => 200,
build => 40,
race => 'zerg',
cat => 'hive',
name => 'Ultralisk',
- unit => 6,
+ pop => 6,
min => 300,
gas => 200,
build => 55,
&& '<span class="unit-massive" title="massive">⚓</span>',
),
'<td class="val unit">' . (
- defined $_->{unit} && $_->{unit} == .5 ? '½' : $_->{unit}
+ defined $_->{pop} && $_->{pop} == .5 ? '½' : $_->{pop}
),
'<td class="unit unit-type">' . join('', grep { $_ }
(defined $_->{organic} ? !$_->{organic} : $_->{attr}->{mech})
$get{order} ||= '';
if ($get{order} eq 'size') {
$_->{order} = (
- $_->{unit}*16 + ($_->{size} // $_->{suit}) + $_->{cargo}/8
+ $_->{pop}*16 + ($_->{size} // $_->{suit}) + $_->{cargo}/8
+ $_->{hp}/512 + $_->{min}/8192
) for @$units;
}
elsif ($get{order} eq 'cost') {
$_->{order} = (
- $_->{gas}*1.5 + $_->{min} + $_->{unit}/8 + $_->{build}/256/8
+ $_->{gas}*1.5 + $_->{min} + $_->{pop}/8 + $_->{build}/256/8
) for @$units;
}
elsif ($get{order} eq 'attack') {