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 = 4
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 - Bronze 252 4 9 Dock 4 310 0.800000 5.000000 18 1 2.000000 5 0 7 7 0 0 0 4 4 0 125 0 125 0
Galley - Bronze 198 4 47 Dock 7 335 0.700000 5.000000 8 3 2.000000 5 0 0 0 0 0 0 4 4 0 125 0 125 0
Battleship - Bronze 257 4 21 Dock 2 1180 0.500000 6.000000 72 34 4.000000 5 0 7 7 0 0 0 4 4 0 250 0 0 250

Damage Dealt per Hit#

empire_earth.units.relationships.matrices.matrix_damage_dealt_per_hit(units)
  Frigate - Bronze Galley - Bronze Battleship - Bronze
Frigate - Bronze 18 18 18
Galley - Bronze 8 8 30
Battleship - Bronze 72 18 72

Damage Dealt per Second#

empire_earth.units.relationships.matrices.matrix_damage_dealt_per_second(units)
  Frigate - Bronze Galley - Bronze Battleship - Bronze
Frigate - Bronze 9.00 9.00 9.00
Galley - Bronze 4.00 4.00 15.00
Battleship - Bronze 18.00 4.50 18.00

Damage Dealt Out of Range#

empire_earth.units.relationships.matrices.matrix_damage_dealt_out_of_range(units)
  Frigate - Bronze Galley - Bronze Battleship - Bronze
Frigate - Bronze 0.00 0.00 0.00
Galley - Bronze 0.00 0.00 0.00
Battleship - Bronze 22.50 6.43 0.00

Tactical Unit Relationships#

empire_earth.units.relationships.matrices.matrix_tactical(units)
  Frigate - Bronze Galley - Bronze Battleship - Bronze
Frigate - Bronze 1.00 2.08 0.12
Galley - Bronze 0.48 1.00 0.93
Battleship - Bronze 8.21 1.08 1.00

Strategic Unit Relationships#

empire_earth.units.relationships.matrices.matrix_strategic(units)
  Frigate - Bronze Galley - Bronze Battleship - Bronze
Frigate - Bronze 1.00 2.08 0.24
Galley - Bronze 0.48 1.00 1.86
Battleship - Bronze 4.10 0.54 1.00