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 = 3
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 - Copper 253 4 9 Dock 4 240 0.750000 5.000000 15 1 2.000000 5 0 6 6 0 0 0 3 3 0 125 0 125 0
Galley - Copper 97 4 47 Dock 7 260 0.600000 5.000000 6 3 2.000000 5 0 0 0 0 0 0 3 3 0 125 0 125 0
Battleship - Copper 115 4 21 Dock 2 900 0.500000 5.000000 62 34 4.000000 5 0 6 6 0 0 0 3 3 0 250 0 0 250

Damage Dealt per Hit#

empire_earth.units.relationships.matrices.matrix_damage_dealt_per_hit(units)
  Frigate - Copper Galley - Copper Battleship - Copper
Frigate - Copper 15 15 15
Galley - Copper 6 6 22
Battleship - Copper 62 15 62

Damage Dealt per Second#

empire_earth.units.relationships.matrices.matrix_damage_dealt_per_second(units)
  Frigate - Copper Galley - Copper Battleship - Copper
Frigate - Copper 7.50 7.50 7.50
Galley - Copper 3.00 3.00 11.00
Battleship - Copper 15.50 3.75 15.50

Damage Dealt Out of Range#

empire_earth.units.relationships.matrices.matrix_damage_dealt_out_of_range(units)
  Frigate - Copper Galley - Copper Battleship - Copper
Frigate - Copper 0.00 0.00 0.00
Galley - Copper 0.00 0.00 0.00
Battleship - Copper 0.00 0.00 0.00

Tactical Unit Relationships#

empire_earth.units.relationships.matrices.matrix_tactical(units)
  Frigate - Copper Galley - Copper Battleship - Copper
Frigate - Copper 1.00 2.31 0.13
Galley - Copper 0.43 1.00 0.85
Battleship - Copper 7.75 1.18 1.00

Strategic Unit Relationships#

empire_earth.units.relationships.matrices.matrix_strategic(units)
  Frigate - Copper Galley - Copper Battleship - Copper
Frigate - Copper 1.00 2.31 0.26
Galley - Copper 0.43 1.00 1.69
Battleship - Copper 3.88 0.59 1.00