land#
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 = 2
theater = 'Land'
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 | |||||||||||||||||||||||||
| Spearman | 24 | 5 | 40 | Barracks | 5 | 85 | 0.600000 | 0.500000 | 15 | 53 | 2.000000 | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 2 | 3 | 30 | 0 | 0 | 30 | 0 |
| Clubman | 20 | 5 | 13 | Barracks | 19 | 135 | 0.600000 | 0.500000 | 8 | 48 | 2.000000 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 2 | 30 | 0 | 0 | 30 | 0 |
| Rock Thrower | 170 | 5 | 23 | Barracks | 23 | 75 | 0.550000 | 2.000000 | 5 | 0 | 2.000000 | 0 | 0 | 2 | 2 | 0 | 0 | 0 | 1 | 2 | 30 | 0 | 0 | 0 | 30 |
| Sampson | 262 | 5 | 31 | Barracks | 1 | 105 | 0.500000 | 1.300000 | 60 | 19 | 4.000000 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 3 | 0 | 65 | 0 | 0 | 65 |
| Slinger | 207 | 5 | 29 | Archery Range | 1 | 70 | 0.550000 | 3.000000 | 9 | 21 | 2.000000 | 1 | 0 | 0 | 2 | 0 | 0 | 0 | 2 | 2 | 0 | 30 | 0 | 0 | 30 |
| Tower - Primitive | 47 | 2 | 37 | Citizen | 20 | 1000 | 0.000000 | 4.000000 | 50 | 44 | 4.000000 | 5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 0 | 0 | 175 | 0 | 0 |
Damage Dealt per Hit#
empire_earth.units.relationships.matrices.matrix_damage_dealt_per_hit(units)
| Spearman | Clubman | Rock Thrower | Sampson | Slinger | Tower - Primitive | |
|---|---|---|---|---|---|---|
| Spearman | 15 | 22 | 20 | 15 | 13 | 15 |
| Clubman | 6 | 12 | 8 | 8 | 12 | 6 |
| Rock Thrower | 3 | 5 | 5 | 5 | 7 | 5 |
| Sampson | 0 | 0 | 0 | 0 | 0 | 60 |
| Slinger | 13 | 8 | 7 | 9 | 9 | 2 |
| Tower - Primitive | 50 | 50 | 30 | 6 | 50 | 50 |
Damage Dealt per Second#
empire_earth.units.relationships.matrices.matrix_damage_dealt_per_second(units)
| Spearman | Clubman | Rock Thrower | Sampson | Slinger | Tower - Primitive | |
|---|---|---|---|---|---|---|
| Spearman | 7.50 | 11.00 | 10.00 | 7.50 | 6.50 | 7.50 |
| Clubman | 3.00 | 6.00 | 4.00 | 4.00 | 6.00 | 3.00 |
| Rock Thrower | 1.50 | 2.50 | 2.50 | 2.50 | 3.50 | 2.50 |
| Sampson | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 15.00 |
| Slinger | 6.50 | 4.00 | 3.50 | 4.50 | 4.50 | 1.00 |
| Tower - Primitive | 12.50 | 12.50 | 7.50 | 1.50 | 12.50 | 12.50 |
Damage Dealt Out of Range#
empire_earth.units.relationships.matrices.matrix_damage_dealt_out_of_range(units)
| Spearman | Clubman | Rock Thrower | Sampson | Slinger | Tower - Primitive | |
|---|---|---|---|---|---|---|
| Spearman | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
| Clubman | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
| Rock Thrower | 3.75 | 6.25 | 0.00 | 3.50 | 0.00 | 0.00 |
| Sampson | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
| Slinger | 27.08 | 16.67 | 6.36 | 15.30 | 0.00 | 0.00 |
| Tower - Primitive | 72.92 | 72.92 | 27.27 | 8.10 | 22.73 | 0.00 |
Tactical Unit Relationships#
empire_earth.units.relationships.matrices.matrix_tactical(units)
| Spearman | Clubman | Rock Thrower | Sampson | Slinger | Tower - Primitive | |
|---|---|---|---|---|---|---|
| Spearman | 1.00 | 2.31 | 7.22 | inf | 0.83 | 0.01 |
| Clubman | 0.43 | 1.00 | 2.75 | inf | 2.54 | 0.01 |
| Rock Thrower | 0.14 | 0.36 | 1.00 | inf | 0.98 | 0.02 |
| Sampson | 0.00 | 0.00 | 0.00 | nan | 0.00 | 0.97 |
| Slinger | 1.21 | 0.39 | 1.02 | inf | 1.00 | 0.00 |
| Tower - Primitive | 137.93 | 67.11 | 62.86 | 1.03 | 264.42 | 1.00 |
Strategic Unit Relationships#
empire_earth.units.relationships.matrices.matrix_strategic(units)
| Spearman | Clubman | Rock Thrower | Sampson | Slinger | Tower - Primitive | |
|---|---|---|---|---|---|---|
| Spearman | 1.00 | 2.31 | 7.22 | inf | 0.83 | 0.02 |
| Clubman | 0.43 | 1.00 | 2.75 | inf | 2.54 | 0.04 |
| Rock Thrower | 0.14 | 0.36 | 1.00 | inf | 0.98 | 0.05 |
| Sampson | 0.00 | 0.00 | 0.00 | nan | 0.00 | 1.30 |
| Slinger | 1.21 | 0.39 | 1.02 | inf | 1.00 | 0.01 |
| Tower - Primitive | 47.29 | 23.01 | 21.55 | 0.77 | 90.66 | 1.00 |