sea#

Units#

import pandas
pandas.set_option('display.max_columns', 1000)
pandas.set_option('display.max_rows', 1000)
pandas.set_option('display.max_colwidth', 200)

import empire_earth.units.relationships.matrices

epoch = 8
theater = 'Sea'
units = empire_earth.units.attackers(epoch).values()
units = [unit for unit in units if unit.theater == theater]

pandas.DataFrame(units).set_index('name').style.set_sticky('rows')
  id type_id family building button_id hitpoints speed range attack attack_mode seconds_per_attack weapon_hit_id armor_shock armor_arrow armor_pierce armor_gun armor_laser armor_missile epoch_start epoch_stop cost_food cost_wood cost_stone cost_iron cost_gold
name                                                  
Frigate - Imperial 249 4 9 Dock 4 750 0.850000 7.000000 38 1 2.000000 5 0 18 18 20 0 0 8 8 0 125 0 125 0
Galleon - Imperial 57 4 47 Dock 7 825 0.750000 7.000000 18 3 2.000000 5 0 0 0 0 0 0 8 8 0 125 0 125 0
Battleship - Imperial 117 4 21 Dock 2 3060 0.550000 8.000000 175 34 4.000000 5 0 18 18 20 0 0 8 8 0 250 0 0 250

Damage Dealt per Hit#

empire_earth.units.relationships.matrices.matrix_damage_dealt_per_hit(units)
  Frigate - Imperial Galleon - Imperial Battleship - Imperial
Frigate - Imperial 38 38 38
Galleon - Imperial 18 18 68
Battleship - Imperial 175 43 175

Damage Dealt per Second#

empire_earth.units.relationships.matrices.matrix_damage_dealt_per_second(units)
  Frigate - Imperial Galleon - Imperial Battleship - Imperial
Frigate - Imperial 19.00 19.00 19.00
Galleon - Imperial 9.00 9.00 34.00
Battleship - Imperial 43.75 10.75 43.75

Damage Dealt Out of Range#

empire_earth.units.relationships.matrices.matrix_damage_dealt_out_of_range(units)
  Frigate - Imperial Galleon - Imperial Battleship - Imperial
Frigate - Imperial 0.00 0.00 0.00
Galleon - Imperial 0.00 0.00 0.00
Battleship - Imperial 51.47 14.33 0.00

Tactical Unit Relationships#

empire_earth.units.relationships.matrices.matrix_tactical(units)
  Frigate - Imperial Galleon - Imperial Battleship - Imperial
Frigate - Imperial 1.00 1.92 0.10
Galleon - Imperial 0.52 1.00 0.84
Battleship - Imperial 10.09 1.19 1.00

Strategic Unit Relationships#

empire_earth.units.relationships.matrices.matrix_strategic(units)
  Frigate - Imperial Galleon - Imperial Battleship - Imperial
Frigate - Imperial 1.00 1.92 0.20
Galleon - Imperial 0.52 1.00 1.68
Battleship - Imperial 5.04 0.60 1.00