sc: rename data files to append game release abbreviation
[sheet.git] / sc-units.inc.pl
diff --git a/sc-units.inc.pl b/sc-units.inc.pl
deleted file mode 100644 (file)
index 47658d1..0000000
+++ /dev/null
@@ -1,1942 +0,0 @@
-# time in fastest game seconds
-my $FPS = 24;  # frames per second
-# toss shield += .65 per second
-# zerg regen  += .37 per second
-[
-
-# protoss
-
-{
-cat => 'base',
-req => ['nexus'],
-name => 'Probe',
-min => 50,
-gas => 0,
-build => 20,
-suit => 1,
-unit => 1,
-race => 'protoss',
-organic => 0,
-hp => 20,
-shield => 20,
-armor => 0,
-attack => {
-       ground => {
-               name => "Particle Beam",
-               damage => 5,
-               cooldown => 22,
-       },
-       range => 1,
-},
-sight => 8,
-speed => 14,
-counter => ['vulture', 'dark templar'],
-},
-
-{
-cat => 'base',
-req => ['forge'],
-name => 'Photon Cannon',
-trans => {
-       nl => 'kanon',
-},
-min => 150,
-gas => 0,
-build => 50,
-suit => 3,
-race => 'protoss',
-hp => 100,
-shield => 100,
-armor => 0,
-attack => {
-       ground => {
-               damage => 20,
-               cooldown => 22,
-       },
-       air => 'ground',
-       range => 7,
-},
-sight => 11,
-detect => 1,
-speed => 0,
-counter => ['zergling', 'tank'],
-},
-
-{
-cat => 'ground',
-req => ['gateway'],
-name => 'Zealot',
-trans => {
-       nl => 'zeloot',
-},
-min => 100,
-gas => 0,
-build => 40,
-suit => 1,
-unit => 2,
-race => 'protoss',
-organic => 1,
-hp => 100,
-shield => 60,
-armor => 1,
-attack => {
-       ground => {
-               name => "Psi Blades",
-               damage => [16, 18, 20, 22],
-               cooldown => 22,
-       },
-       range => 1,
-},
-sight => 7,
-speed => 11,
-upgrade => [
-       {
-               name => 'Leg Enhancements',
-               speed => 16 - 11,
-               min => 150,
-               gas => 150,
-               build => 133,
-       },
-],
-counter => ['vulture'],
-},
-
-{
-cat => 'ground',
-req => ['gateway', 'cybernetics core'],
-name => 'Dragoon',
-trans => {
-       nl => 'dragonder',
-},
-min => 125,
-gas => 50,
-build => 50,
-suit => 3,
-unit => 2,
-race => 'protoss',
-organic => 0,
-hp => 100,
-shield => 80,
-armor => 1,
-attack => {
-       ground => {
-               name => "Phase Disruptor",
-               damage => [20, 22, 24, 26],
-               type => 'explosive',
-               cooldown => 30,
-       },
-       air => 'ground',
-       range => 4,
-},
-sight => 8,
-speed => 15,
-upgrade => [
-       {
-               name => 'Singularity Charge',
-               min => 150,
-               gas => 150,
-               build => 166,
-               attack => {
-                       range => 6 - 4,
-               },
-       },
-],
-counter => ['zergling', 'zealot', 'tank'],
-},
-
-{
-cat => 'ground',
-name => 'High Templar',
-trans => {
-       nl => 'hoge tempelier',
-       eo => 'alta templano',
-},
-min => 50,
-gas => 150,
-build => 50,
-suit => 1,
-unit => 2,
-race => 'protoss',
-organic => 1,
-hp => 40,
-shield => 40,
-armor => 0,
-sight => 7,
-speed => 9,
-energy => 200,
-upgrade => [
-       {
-               name => "Khaydarin Amulet",
-               min => 150,
-               gas => 150,
-               energy => 250-200,
-       },
-],
-special => [
-       {
-               name => 'Psionic Storm',
-               abbr => 'ps',
-               min => 200,
-               gas => 200,
-               build => 120,
-               desc => 'units in the area will receive upto 112 damage', # 14*8
-               range => 9,
-               cost => 75,
-               duration => 3,
-       },
-       {
-               name => 'Hallucination',
-               abbr => 'hl',
-               min => 150,
-               gas => 150,
-               build => 80,
-               desc => 'creates two illusionary duplicates of a unit for 3 minutes',
-               range => 7,
-               cost => 80,
-               duration => 3*60,
-       },
-],
-counter => ['vulture', 'ultralisk'],
-},
-
-{
-cat => 'ground',
-name => 'Dark Templar',
-trans => {
-       nl => 'donkere tempelier',
-       eo => 'malluma templano',
-},
-min => 125,
-gas => 100,
-build => 50,
-suit => 1,
-unit => 2,
-race => 'protoss',
-organic => 1,
-hp => 80,
-shield => 40,
-armor => 1,
-attack => {
-       ground => {
-               name => "Warp Blades",
-               damage => [40, 43, 46, 49],
-               cooldown => 30,
-       },
-       range => 1,
-},
-sight => 7,
-speed => 15,
-special => [
-       {
-               name => 'Cloaked',
-               abbr => 'cl',
-               desc => 'cloaked at all times',
-               duration => -1,
-       },
-],
-},
-
-{
-cat => 'psionic',
-name => 'Archon',
-trans => {
-       nl => 'archont',
-       eo => 'arĥono',
-},
-min => 100,
-gas => 300,
-build => 20,
-base => ['templar', 'templar'],
-suit => 3,
-unit => 4,
-race => 'protoss',
-organic => 0,
-hp => 10,
-shield => 350,
-armor => 0,
-attack => {
-       ground => {
-               name => "Psionic Shockwave",
-               damage => [30, 33, 36, 39],
-               cooldown => 20,
-               splash => 1,
-       },
-       air => 'ground',
-       range => 2,
-},
-sight => 8,
-speed => 14,
-},
-
-{
-cat => 'psionic',
-name => 'Dark Archon',
-trans => {
-       nl => 'donkere archont',
-       eo => 'malluma arĥono',
-},
-min => 250,
-gas => 200,
-build => 20,
-base => ['dark templar', 'dark templar'],
-suit => 3,
-unit => 4,
-race => 'protoss',
-organic => 0,
-hp => 25,
-shield => 200,
-armor => 1,
-attack => {
-},
-sight => 10,
-speed => 14,
-energy => 200,
-upgrade => [
-       {
-               name => "Argus Talisman",
-               min => 150,
-               gas => 150,
-               build => 166,
-               energy => 250-200,
-       },
-],
-special => [
-       {
-               name => 'Feedback',
-               abbr => 'fb',
-               desc => 'targeted unit will lose its mana and receive damage equal to that amount',
-               range => 10,
-               cost => 50,
-               duration => 0,
-       },
-       {
-               name => 'Mind Control',
-               abbr => 'mc',
-               min => 200,
-               gas => 200,
-               build => 120,
-               desc => 'permanently gives you control over any unit',
-               range => 8,
-               cost => 150,
-               duration => 0,
-       },
-       {
-               name => 'Maelstrom',
-               abbr => 'ms',
-               min => 100,
-               gas => 100,
-               build => 100,
-               desc => 'field stunning all organic units for a few seconds',
-               range => 10,
-               cost => 100,
-               duration => 180 / $FPS, # 7.5s fastest
-       },
-],
-},
-
-{
-cat => 'aerial',
-name => 'Scout',
-trans => {
-       nl => 'verkenner',
-       eo => 'esploristo',
-},
-min => 275,
-gas => 125,
-build => 80,
-suit => 3,
-unit => 3,
-race => 'protoss',
-organic => 0,
-air => 1,
-hp => 150,
-shield => 100,
-armor => 0,
-attack => {
-       ground => {
-               damage => [8, 9, 10, 11],
-               cooldown => 30,
-       },
-       air => {
-               damage => [28, 30, 32, 34],
-               type => 'explosive',
-               cooldown => 22,
-       },
-       range => 4,
-},
-sight => 8,
-speed => 13,
-upgrade => [
-       {
-               name => 'Apial Sensors',
-               min => 100,
-               gas => 100,
-               build => 166,
-               sight => 10 - 8,
-       },
-       {
-               name => 'Gravitic Thrusters',
-               min => 200,
-               gas => 200,
-               build => 166,
-               speed => 18 - 13,
-       },
-],
-},
-
-{
-cat => 'aerial',
-name => 'Corsair',
-trans => {
-       de => 'Korsar',
-},
-min => 150,
-gas => 100,
-build => 40,
-suit => 2,
-unit => 2,
-race => 'protoss',
-organic => 0,
-air => 1,
-hp => 100,
-shield => 80,
-armor => 1,
-attack => {
-       air => {
-               damage => [5, 6, 7, 8],
-               cooldown => 8,
-               splash => 1,
-               type => 'explosive',
-       },
-       range => 5,
-},
-sight => 9,
-speed => 17,
-energy => 200,
-upgrade => [
-       {
-               name => 'Argus Jewel',
-               min => 100,
-               gas => 100,
-               build => 166,
-               energy => 250-200,
-       },
-],
-special => [
-       {
-               name => 'Disruption web',
-               abbr => 'dw',
-               min => 200,
-               gas => 200,
-               build => 80,
-               desc => 'creates a field in which no ground unit/structure can attack',
-               range => 9,
-               cost => 62-50,
-               duration => undef, #XXX
-       },
-],
-counter => ['devourer', 'valkyrie'],
-},
-
-{
-cat => 'aerial',
-name => 'Carrier',
-trans => {
-       nl => 'vliegdekschip',
-},
-min => 350,
-gas => 250,
-build => 140,
-suit => 3,
-unit => 6,
-race => 'protoss',
-organic => 0,
-hp => 300,
-shield => 150,
-armor => 4,
-attack => {
-       ground => {
-               dps => [17, undef, undef, 49],
-               count => 4,
-       },
-       air => 'ground',
-       range => 8,
-},
-sight => 11,
-speed => 10,
-special => [
-       {
-               name => 'Build Interceptor',
-               alt => 'Interceptor',
-               min => 25,
-               build => 20,
-               suit => 1,
-               unit => 0,
-               race => 'protoss',
-               organic => 0,
-               hp => 40,
-               shield => 40,
-               armor => 0,
-               attack => {
-                       ground => {
-                               damage => [6, 7, 8, 9],
-                               cooldown => 43, # approximately 37 according to liquipedia
-                               build => 20,
-                       },
-                       air => 'ground',
-                       range => 0,
-               },
-               sight => 0,
-               range => 0,
-       },
-],
-upgrade => [
-       {
-               name => 'Carrier Capacity',
-               damage => {
-                       count => 8-4,
-               },
-       },
-],
-counter => ['wraith', 'corsair', 'scourge'],
-},
-
-{
-cat => 'aerial',
-name => 'Arbiter',
-trans => {
-       nl => 'arbiter',
-},
-min => 100,
-gas => 350,
-build => 160,
-suit => 3,
-unit => 4,
-race => 'protoss',
-organic => 0,
-air => 1,
-hp => 200,
-shield => 150,
-armor => 1,
-attack => {
-       ground => {
-               damage => [10, 11, 12, 13],
-               cooldown => 45,
-               type => 'explosive',
-       },
-       air => 'ground',
-       range => 5,
-},
-sight => 9,
-speed => 12,
-energy => 200,
-upgrade => [
-       {
-               name => 'Khaydarin Core',
-               min => 150,
-               gas => 150,
-               build => 166,
-               energy => 250-200,
-       },
-],
-special => [
-       {
-               name => 'cloaks',
-               abbr => 'cs',
-               desc => 'cloaks nearby friendly units except for other Arbiters',
-               duration => -1,
-       },
-       {
-               name => 'Stasis Field',
-               abbr => 'sf',
-               min => 150,
-               gas => 150,
-               build => 100,
-               desc => 'traps all non-burrowed units (3x3m) for 40 seconds, making them frozen and undamagable',
-               cost => 100,
-               range => 9,
-               duration => 1000 / $FPS,
-       },
-       {
-               name => 'Recall',
-               abbr => 'rc',
-               min => 150,
-               gas => 150,
-               build => 100,
-               desc => 'creates a 5x5m wormhole which transports units to the Arbiter',
-               cost => 150,
-               duration => 0,
-       },
-],
-},
-
-{
-cat => 'robotic',
-name => 'Reaver',
-min => 200,
-gas => 100,
-build => 70,
-suit => 3,
-unit => 4,
-race => 'protoss',
-organic => 0,
-hp => 100,
-shield => 80,
-armor => 0,
-attack => {
-       ground => {
-               damage => 100,
-               cooldown => 60,
-               splash => 1,
-               cost => 15,
-               build => 7,
-               max => 5,
-       },
-       range => 8,
-},
-sight => 10,
-speed => 5,
-upgrade => [
-       {
-               name => 'Scarab Damage',
-               min => 200,
-               gas => 200,
-               build => 166,
-               attack => {
-                       ground => {
-                               damage => 125 - 100,
-                       },
-               },
-       },
-       {
-               attack => {
-                       ground => {
-                               splash => 2 - 1,
-                       },
-               },
-       },
-       {
-               name => 'Increased Reaver Capacity',
-               min => 200,
-               gas => 200,
-               build => 166,
-               attack => {
-                       ground => {
-                               max => 10-5,
-                       },
-               },
-       },
-],
-},
-
-{
-cat => 'robotic',
-name => 'Observer',
-trans => {
-       nl => 'observeerder',
-},
-min => 25,
-gas => 75,
-build => 40,
-suit => 1,
-unit => 1,
-race => 'protoss',
-organic => 0,
-air => 1,
-hp => 40,
-shield => 20,
-armor => 0,
-sight => 9,
-detect => 1,
-speed => 9,
-upgrade => [
-       {
-               name => "Sensor Array",
-               min => 150,
-               gas => 150,
-               build => 133,
-               sight => 11 - 9,
-       },
-       {
-               name => "Gravitic Booster",
-               min => 150,
-               gas => 150,
-               build => 166,
-               speed => 13 - 9,
-       },
-],
-special => [
-       {
-               name => 'Cloaked',
-               abbr => 'cl',
-               desc => 'cloaked at all times',
-               duration => -1,
-       },
-],
-},
-
-{
-cat => 'robotic',
-name => 'Shuttle',
-trans => {
-       fr => 'navette',
-},
-min => 200,
-gas => 0,
-build => 60,
-suit => 3,
-unit => 2,
-race => 'protoss',
-organic => 0,
-hp => 80,
-shield => 60,
-armor => 1,
-attack => {
-},
-sight => 8,
-speed => 13,
-transport => 1,
-upgrade => [
-       {
-               name => 'Gravitic Drive',
-               min => 200,
-               gas => 200,
-               build => 166,
-               speed => 19 - 13,
-       }
-],
-},
-
-# terran
-
-{
-race => 'terran',
-cat => 'base',
-name => 'SCV', # T-280 Space Construction Vehicle
-min => 50,
-gas => 0,
-build => 20,
-suit => 1,
-unit => 1,
-race => 'terran',
-organic => 0,
-hp =>  60,
-armor => 0,
-attack => {
-       ground => {
-               damage => 5,
-               cooldown => 15,
-       },
-       range => 1,
-},
-sight => 7,
-speed => 15,
-},
-
-{
-cat => 'base',
-name => 'Missile Turret',
-trans => {
-       nl => 'toren',
-},
-min => 75,
-gas => 0,
-build => 30,
-suit => 3,
-race => 'terran',
-hp => 200,
-armor => 0,
-attack => {
-       air => {
-               damage => 20,
-               cooldown => 15,
-               type => 'explosive',
-       },
-       range => 7,
-},
-sight => 11,
-detect => 1,
-speed => 0,
-},
-
-{
-cat => 'barracks',
-name => 'Marine',
-trans => {
-       nl => 'marinier',
-},
-min => 50,
-gas => 0,
-build => 24,
-suit => 1,
-unit => 1,
-race => 'terran',
-organic => 1,
-hp =>  40,
-armor => 0,
-attack => {
-       ground => {
-               damage => [6, 7, 8, 9],
-               cooldown => 15,
-       },
-       air => 'ground',
-       range => 4,
-},
-sight => 7,
-speed => 11,
-upgrade => [
-       {
-               name => 'U-238 Shells',
-               min => 150,
-               gas => 150,
-               build => 100,
-               attack => {
-                       range => 5 - 4,
-               },
-       },
-],
-special => [
-       {
-               name => 'stim pack',
-               abbr => 'sp',
-               min => 100,
-               gas => 100,
-               build => 80,
-               desc => 'doubles attack speed and faster movement for a few seconds at the cost of 10 health',
-               speed => 17,
-               attack => {
-                       ground => {
-                               cooldown => 7.5,
-                       },
-                       air => 'ground',
-               },
-               duration => 220 / $FPS,
-       },
-],
-},
-
-{
-cat => 'barracks',
-name => 'Firebat',
-min => 50,
-gas => 25,
-build => 24,
-suit => 1,
-unit => 1,
-race => 'terran',
-organic => 1,
-hp =>  50,
-armor => 1,
-attack => {
-       ground => {
-               damage => [16, 18, 20, 22],
-               cooldown => 22,
-               splash => 1,
-               type => 'implosive',
-       },
-       range => 2,
-},
-sight => 7,
-speed => 11,
-upgrade => [
-],
-special => [
-       {
-               name => 'Stim Pack',
-               abbr => 'sp',
-               min => 100,
-               gas => 100,
-               build => 80,
-               desc => 'doubles attack speed and faster movement for a few seconds at the cost of 10 health',
-               speed => 17,
-               attack => {
-                       ground => {
-                               cooldown => 11,
-                       },
-               },
-               duration => 220 / $FPS,
-       },
-],
-},
-
-{
-cat => 'barracks',
-name => 'Ghost',
-trans => {
-       nl => 'geest',
-},
-min => 25,
-gas => 75,
-build => 50,
-suit => 1,
-unit => 1,
-race => 'terran',
-organic => 1,
-hp =>  45,
-armor => 0,
-attack => {
-       ground => {
-               damage => [10, 11, 12, 13],
-               cooldown => 22,
-               type => 'implosive',
-       },
-       air => 'ground',
-       range => 7,
-},
-sight => 9,
-speed => 11,
-upgrade => [
-       {
-               name => 'Ocular Implants',
-               min => 150,
-               gas => 150,
-               build => 166,
-               sight => 11 - 9,
-               special => {
-                       ns => {
-                               # nuke
-                               range => 10-8,
-                       },
-               },
-       },
-       {
-               name => 'Moebius Reactor',
-               min => 150,
-               gas => 150,
-               build => 166,
-               energy => 250-200,
-       },
-],
-energy => 200,
-special => [
-       {
-               name => 'Personal Cloaking',
-               abbr => 'cl',
-               min => 100,
-               gas => 100,
-               build => 80,
-               desc => 'has the ability to cloak',
-               cost => 25,
-               maint => 1, # per second
-       },
-       {
-               name => 'Lockdown',
-               abbr => 'ld',
-               min => 200,
-               gas => 200,
-               build => 100,
-               desc => 'disables a mechanical unit completely for one minute',
-               range => 8,
-               cost => 100,
-               duration => 60,
-       },
-       {
-               name => 'Nuclear Strike',
-               abbr => 'ns',
-               min => 200,
-               gas => 200,
-               unit => 8,
-               desc => 'guides a nuclear missile which will do 500 damage',
-               duration => 14+3,
-               range => 8,
-       },
-],
-},
-
-{
-cat => 'barracks',
-name => 'Medic',
-min => 50,
-gas => 25,
-build => 30,
-suit => 1,
-unit => 1,
-race => 'terran',
-organic => 1,
-hp =>  60,
-armor => 1,
-attack => {
-},
-sight => 9,
-speed => 11,
-energy => 200,
-update => [
-       {
-               name => 'Caduceus Reactor',
-               min => 150,
-               gas => 150,
-               build => 166,
-               energy => 250-200,
-       },
-],
-special => [
-       {
-               name => 'Healing',
-               abbr => 'hl',
-               desc => 'heals 2 HP of friendly biological units',
-               range => 2,
-               cost => 1,
-               duration => 1,
-       },
-       {
-               name => 'Restoration',
-               abbr => 'rs',
-               min => 100,
-               gas => 100,
-               build => 80,
-               desc => 'removes harmful effects (Lockdown, Flare, Irradiate, Plague, Ensnare, Parasite) from a unit',
-               range => 6,
-               cost => 50,
-               duration => 0,
-       },
-       {
-               name => 'Optic Flare',
-               abbr => 'of',
-               min => 100,
-               gas => 100,
-               build => 80,
-               desc => 'reduces the sight of target unit to 1',
-               range => 9,
-               cost => 75,
-               duration => 0,
-       },
-],
-},
-
-{
-cat => 'factory',
-name => 'Vulture',
-trans => {
-       nl => 'gier',
-},
-min => 75,
-gas => 0,
-build => 30,
-suit => 2,
-unit => 2,
-race => 'terran',
-organic => 0,
-hp =>  80,
-armor => 0,
-attack => {
-       ground => {
-               damage => [20, 22, 24, 26],
-               cooldown => 30,
-               type => 'implosive',
-       },
-       range => 5,
-},
-sight => 8,
-speed => 20,
-upgrade => [
-       {
-               name => 'Ion Thrusters',
-               min => 100,
-               gas => 100,
-               build => 100,
-               speed => 28 - 20,
-       },
-],
-special => [
-       {
-               name => 'Spider Mine',
-               abbr => 'sm',
-               min => 100,
-               gas => 100,
-               build => 80,
-               alt => 'Spider Mine',
-               desc => 'burrows a mine which will automaticaly target non-hovering enemy units',
-               amount => 3,
-               organic => 0,
-               hp => 20,
-               suit => 1,
-               armor => 0,
-               attack => {
-                       ground => {
-                               damage => 125,
-                               splash => 1,
-                               type => 'explosive',
-                       },
-                       range => 3,
-               },
-               sight => 3,
-               speed => 25,
-    },
-],
-},
-
-{
-cat => 'factory',
-name => 'Tank',
-trans => {
-       nl => 'tank',
-},
-min => 150,
-gas => 100,
-build => 50,
-suit => 3,
-unit => 2,
-race => 'terran',
-organic => 0,
-hp => 150,
-armor => 1,
-attack => {
-       ground => {
-               damage => [30, 33, 36, 39],
-               cooldown => 37,
-               type => 'explosive',
-       },
-       range => 7,
-},
-sight => 10,
-speed => 12,
-special => [
-       {
-               name => 'Siege Mode',
-               abbr => 'sg',
-               min => 150,
-               gas => 150,
-               build => 80,
-               alt => 'Sieged Tank',
-               attack => {
-                       ground => {
-                               damage => [70, 75, 80, 85],
-                               cooldown => 75,
-                               splash => 1,
-                               type => 'explosive',
-                       },
-                       range => 12,
-               },
-               speed => 0,
-       },
-],
-},
-
-{
-cat => 'factory',
-name => 'Goliath',
-trans => {
-       nl => 'goliat',
-},
-min => 100,
-gas => 50,
-build => 40,
-suit => 3,
-unit => 2,
-race => 'terran',
-organic => 0,
-hp => 125,
-armor => 1,
-attack => {
-       ground => {
-               damage => [12, 13, 14, 15],
-               cooldown => 22,
-       },
-       air => {
-               damage => [20, 24, 28, 32],
-               type => 'explosive',
-               cooldown => 22,
-       },
-       range => 5,
-},
-sight => 8,
-speed => 13,
-upgrade => [
-       {
-               name => 'Charon Boosters',
-               min => 100,
-               gas => 100,
-               build => 133,
-               attack => {
-#                      air => {
-                               range => 8 - 5,
-#                      },
-               },
-       },
-],
-},
-
-{
-cat => 'starport',
-name => 'Wraith',
-min => 150,
-gas => 100,
-build => 60,
-suit => 3,
-unit => 2,
-race => 'terran',
-organic => 0,
-air => 1,
-hp => 120,
-armor => 0,
-attack => {
-       ground => {
-               damage => [8, 9, 10, 11],
-               cooldown => 30,
-       },
-       air => {
-               damage => [20, 22, 24, 26],
-               cooldown => 22,
-               type => 'explosive',
-       },
-       range => 5,
-},
-sight => 7,
-speed => 17,
-energy => 200,
-special => [
-       {
-               name => 'Cloak',
-               abbr => 'cl',
-               min => 150,
-               gas => 150,
-               build => 100,
-               desc => 'has the ability to cloak',
-               cost => 25,
-               maint => 1, # /second
-       },
-],
-upgrade => [
-       {
-               name => 'Apollo Reactor',
-               min => 200,
-               gas => 200,
-               build => 166,
-               energy => 250-200,
-       },
-],
-},
-
-{
-cat => 'starport',
-name => 'Battle Cruiser',
-trans => {
-       nl => 'slagkruiser',
-},
-min => 400,
-gas => 300,
-build => 133,
-suit => 3,
-unit => 6,
-race => 'terran',
-organic => 0,
-air => 1,
-hp => 500,
-armor => 3,
-attack => {
-       ground => {
-               damage => [25, 28, 31, 34],
-               cooldown => 30,
-       },
-       air => 'ground',
-       range => 6,
-},
-sight => 11,
-speed => 7,
-energy => 200,
-special => [
-       {
-               name => 'Yamato Gun',
-               abbr => 'yg',
-               min => 100,
-               gas => 100,
-               build => 120,
-               desc => 'blast doing 260 damage to a target',
-               attack => {
-                       ground => {
-                               damage => 260,
-                       },
-                       air => 'ground',
-                       range => 10,
-               },
-               cost => 150,
-       },
-],
-upgrade => [
-       {
-               name => 'Colossus Reactor',
-               min => 150,
-               gas => 150,
-               build => 166,
-               energy => 250-200,
-       },
-],
-},
-
-{
-cat => 'starport',
-name => 'Science Vessel',
-trans => {
-       nl => 'wetenschapsvaartuig',
-},
-min => 100,
-gas => 225,
-build => 80,
-suit => 3,
-unit => 2,
-race => 'terran',
-organic => 0,
-air => 1,
-hp => 200,
-armor => 1,
-sight => 10,
-detect => 1,
-speed => 15,
-energy => 200,
-special => [
-       {
-               name => 'Defensive Matrix',
-               abbr => 'dm',
-               desc => 'gives target unit a shield of 250HP for one minute',
-               range => 10,
-               cost => 100,
-               duration => 55,
-       },
-       {
-               name => 'EMP Shockwave',
-               abbr => 'ep',
-               min => 200,
-               gas => 200,
-               build => 120,
-               desc => 'units in 3-matrix radius will lose all energy and shields',
-               range => 8,
-               cost => 100,
-       },
-       {
-       name => 'Irradiate',
-               abbr => 'ir',
-               min => 200,
-               gas => 200,
-               build => 80,
-               desc => 'organic units will suffer upto 250 damage over 30s',
-               range => 9,
-               cost => 75,
-               attack => {
-                       damage => 250,
-                       splash => 1,
-               },
-               duration => 25,
-       },
-],
-upgrade => [
-       {
-               name => 'Titan Reactor',
-               min => 150,
-               gas => 150,
-               build => 166,
-               energy => 250-200,
-       },
-],
-},
-
-{
-cat => 'starport',
-name => 'Valkyrie',
-trans => {
-       nl => 'walkure',
-},
-min => 250,
-gas => 125,
-build => 50,
-suit => 3,
-unit => 3,
-race => 'terran',
-organic => 0,
-air => 1,
-hp => 200,
-armor => 2,
-attack => {
-       air => {
-               damage => [6, 7, 8, 9],
-               cooldown => 64,
-               splash => 1,
-               type => 'explosive',
-               count => 8,
-       },
-       range => 6,
-},
-sight => 8,
-speed => 19,
-},
-
-{
-cat => 'starport',
-name => 'Dropship',
-min => 100,
-gas => 100,
-build => 50,
-suit => 3,
-unit => 2,
-race => 'terran',
-organic => 0,
-air => 1,
-hp => 150,
-armor => 1,
-sight => 8,
-speed => 15,
-transport => 1,
-},
-
-# zerg
-
-{
-race => 'zerg',
-cat => 'base',
-name => 'Drone',
-min => 50,
-gas => 0,
-build => 20,
-suit => 1,
-unit => 1,
-race => 'zerg',
-organic => 1,
-hp => 40,
-armor => 0,
-attack => {
-       ground => {
-               damage => 5,
-               cooldown => 22,
-       },
-       range => 1,
-},
-sight => 7,
-speed => 14,
-},
-
-{
-cat => 'base',
-name => 'Overlord',
-min => 100,
-gas => 0,
-build => 40,
-suit => 3,
-unit => -9,
-race => 'zerg',
-organic => 1,
-air => 1,
-hp => 200,
-armor => 0,
-cargo => 0,
-sight => 9,
-detect => 1,
-speed => 2,
-transport => 1,
-upgrade => [
-       {
-               name => 'Ventral Sacs',
-               min => 200,
-               gas => 200,
-               build => 160,
-               cargo => -8,
-       },
-       {
-               name => 'Antennae',
-               min => 150,
-               gas => 150,
-               build => 133,
-               sight => 11 - 9,
-       },
-       {
-               name => 'Pneumatized Carapace',
-               min => 150,
-               gas => 150,
-               build => 133,
-               speed => 10 - 2,
-       },
-],
-},
-
-{
-cat => 'creep',
-name => 'Larva',
-trans => {
-       nl => 'larve',
-},
-build => 20,
-suit => 1,
-unit => 0,
-race => 'zerg',
-organic => 1,
-hp => 25,
-armor => 10,
-sight => 4,
-speed => 0.1, # more or less
-special => [
-       {
-               name => 'transform',
-               alt => 'Egg',
-               trans => {
-                       nl => 'ei',
-               },
-               suit => 3,
-               race => 'zerg',
-               organic => undef, # unchanged from parent
-               hp => 200,
-               armor => 10,
-               sight => 4,
-               speed => 0,
-       },
-],
-},
-
-{
-cat => 'creep',
-name => 'Sunken Colony',
-min => 175,
-gas => 0,
-build => 20,
-suit => 3,
-race => 'zerg',
-hp => 300,
-armor => 2,
-attack => {
-       ground => {
-               damage => 40,
-               cooldown => 32,
-               type => 'explosive',
-       },
-       range => 7,
-},
-sight => 10,
-speed => 0,
-},
-
-{
-cat => 'creep',
-name => 'Spore Colony',
-min => 175,
-gas => 0,
-build => 20,
-suit => 3,
-race => 'zerg',
-hp => 400,
-armor => 0,
-attack => {
-       air => {
-               damage => 15,
-               cooldown => 15,
-       },
-       range => 7,
-},
-sight => 10,
-detect => 1,
-speed => 0,
-},
-
-{
-cat => 'hatchery',
-name => 'Zergling',
-min => 25,
-gas => 0,
-build => 28, # for 2
-suit => 1,
-unit => 0.5,
-race => 'zerg',
-organic => 1,
-hp => 35,
-armor => 0,
-attack => {
-       ground => {
-               damage => [5, 6, 7, 8],
-               cooldown => 8,
-       },
-       range => 1,
-},
-sight => 5,
-speed => 14,
-upgrade => [
-       {
-               name => 'Metabolic Boost',
-               min => 100,
-               gas => 100,
-               build => 80,
-               speed => 22 - 14,
-       },
-       {
-               name => 'Adrenal Glands',
-               min => 200,
-               gas => 200,
-               build => 80,
-               attack => {
-                       ground => {
-                               cooldown => 6,
-                       },
-               },
-       },
-],
-counter => ['archon', 'templar', 'firebat'],
-},
-
-{
-cat => 'hatchery',
-name => 'Hydralisk',
-min => 75,
-gas => 25,
-build => 28,
-suit => 2,
-unit => 1,
-race => 'zerg',
-organic => 1,
-hp => 80,
-armor => 0,
-attack => {
-       ground => {
-               damage => [10, 11, 12, 13],
-               cooldown => 15,
-               type => 'explosive',
-       },
-       air => 'ground',
-       range => 4,
-},
-sight => 6,
-speed => 11,
-upgrade => [
-       {
-               name => 'Grooved Spines',
-               min => 150,
-               gas => 150,
-               build => 100,
-               attack => {
-                       range => 5 - 4,
-               },
-       },
-       {
-               name => 'Muscular Augments',
-               min => 150,
-               gas => 150,
-               build => 100,
-               speed => 16 - 11,
-       },
-       {
-               name => 'Lurker Aspect',
-               min => 200,
-               gas => 200,
-               build => 120,
-       },
-],
-},
-
-{
-cat => 'lair',
-name => 'Lurker',
-min => 125,
-gas => 125,
-base => 'hydralisk',
-build => 40,
-suit => 2,
-unit => 2,
-race => 'zerg',
-organic => 1,
-hp => 125,
-armor => 1,
-attack => {
-       ground => {
-               damage => [20, 22, 24, 26],
-               cooldown => 37,
-               splash => 'line',
-       },
-       range => 6,
-},
-sight => 8,
-speed => 17,
-},
-
-{
-cat => 'lair',
-name => 'Queen',
-min => 100,
-gas => 100,
-build => 50,
-suit => 2,
-unit => 2,
-race => 'zerg',
-organic => 1,
-air => 1,
-hp => 120,
-armor => 0,
-sight => 10,
-speed => 18,
-energy => 200,
-special => [
-       {
-               name => 'Infest CC',
-               abbr => 'ic',
-               desc => 'assimilate a damaged Terran Command Center to produce infested marines',
-               duration => 0,
-       },
-       {
-               name => 'Parasite',
-               abbr => 'ps',
-               desc => "shares an infected unit's vision",
-               range => 12,
-               cost => 75,
-       },
-       {
-               name => 'Ensnare',
-               abbr => 'es',
-               min => 100,
-               gas => 100,
-               build => 80,
-               desc => 'slows units downto half speed',
-               range => 9,
-               cost => 75,
-               duration => 25,
-       },
-       {
-               name => 'Spawn Broodling',
-               abbr => 'sb',
-               min => 100,
-               gas => 100,
-               build => 80,
-               desc => 'spawn one inside an enemy unit killing it',
-               range => 9,
-               cost => 150,
-
-               count => 2,
-               alt => 'Broodling',
-               suit => 1,
-               unit => 0,
-               organic => 1,
-               hp => 30,
-               armor => 0,
-               attack => {
-                       ground => {
-                               damage => [4, 5, 6, 7],
-                               cooldown => 15,
-                       },
-                       range => 1,
-               },
-               sight => 5,
-               speed => 19,
-       },
-],
-},
-
-{
-cat => 'lair',
-name => 'Infested Terran',
-min => 100,
-gas => 50,
-build => 40,
-suit => 1,
-unit => 1,
-race => 'zerg',
-organic => 1,
-hp => 60,
-armor => 0,
-attack => {
-       ground => {
-               damage => 500,
-               splash => 1,
-               type => 'explosive',
-       },
-       range => 1,
-},
-sight => 5,
-speed => 17,
-},
-
-{
-cat => 'lair',
-name => 'Scourge',
-min => 12,
-gas => 38,
-build => 30, # for 2
-suit => 1,
-unit => 0.5,
-race => 'zerg',
-organic => 1,
-air => 1,
-hp => 25,
-armor => 0,
-attack => {
-       air => {
-               damage => 110,
-       },
-       range => 1,
-},
-sight => 5,
-speed => 18,
-counter => ['cannon', 'goliath', 'hydralisk'],
-},
-
-{
-cat => 'lair',
-name => 'Mutalisk',
-min => 100,
-gas => 100,
-build => 40,
-suit => 1,
-unit => 2,
-race => 'zerg',
-organic => 1,
-air => 1,
-hp => 120,
-armor => 0,
-attack => {
-       ground => {
-               damage => [9 .. 12],
-               cooldown => 30,
-               splash => 'bounce',
-       },
-       air => 'ground',
-       range => 3,
-},
-sight => 7,
-speed => 18,
-special => [
-       {
-               alt => 'Cocoon',
-               suit => 3,
-               organic => 1,
-               hp => 200,
-               armor => 0,
-               sight => 4,
-               speed => 0,
-       },
-       #TODO: glaive
-],
-counter => ['templar', 'corsair', 'valkyrie'],
-},
-
-{
-cat => 'hive',
-name => 'Guardian',
-min => 150,
-gas => 200,
-build => 40,
-base => 'mutalisk',
-suit => 3,
-unit => 2,
-race => 'zerg',
-organic => 1,
-air => 1,
-hp => 150,
-armor => 2,
-attack => {
-       ground => {
-               damage => [20, 22, 24, 26],
-               cooldown => 30,
-       },
-       range => 8,
-},
-sight => 11,
-speed => 7,
-},
-
-{
-cat => 'hive',
-name => 'Devourer',
-min => 250,
-gas => 150,
-build => 40,
-base => 'mutalisk',
-suit => 3,
-unit => 2,
-race => 'zerg',
-organic => 1,
-air => 1,
-hp => 250,
-armor => 2,
-attack => {
-       air => {
-               damage => [25, 27, 29, 31],
-               cooldown => 100,
-               type => 'explosive',
-       },
-       range => 6,
-},
-sight => 10,
-speed => 15,
-counter => ['goliath', 'dragoon', 'scourge'],
-},
-
-{
-cat => 'hive',
-name => 'Defiler',
-min => 50,
-gas => 150,
-build => 50,
-suit => 2,
-unit => 2,
-race => 'zerg',
-organic => 1,
-hp => 80,
-armor => 1,
-sight => 10,
-speed => 12,
-energy => 200,
-special => [
-       {
-               name => 'Consume',
-               abbr => 'cs',
-               min => 100,
-               gas => 100,
-               build => 100,
-               desc => 'gain energy by eating one of your own',
-               cost => -50,
-               duration => 0,
-       },
-       {
-               name => 'Dark Swarm',
-               abbr => 'ds',
-               desc => 'protect 6x6m from ranged attacks for 60s',
-               range => 9,
-               cost => 100,
-               duration => 60,
-       },
-       {
-               name => 'Plague',
-               abbr => 'pl',
-               min => 200,
-               gas => 200,
-               build => 100,
-               desc => 'anything in its radius will loose 25 HP per second for 12s or until 1 HP left',
-               range => 9,
-               cost => 150,
-               duration => 12,
-       },
-],
-counter => ['archon', 'firebat'],
-},
-
-{
-cat => 'hive',
-name => 'Ultralisk',
-min => 200,
-gas => 200,
-build => 60,
-suit => 3,
-unit => 4,
-race => 'zerg',
-organic => 1,
-hp => 400,
-armor => 1,
-attack => {
-       ground => {
-               damage => [20, 23, 26, 29],
-               cooldown => 15,
-       },
-       range => 1,
-},
-sight => 7,
-speed => 16,
-upgrade => [
-       {
-               name => 'Chitinous Plating',
-               min => 150,
-               gas => 150,
-               build => 133,
-               armor => 2,
-       },
-       {
-               name => 'Anabolic Synthesis',
-               min => 200,
-               gas => 200,
-               build => 133,
-               speed => 21 - 16,
-       },
-],
-},
-
-]