# Equations

 This section has details missing or obscure mechanics that need clarification. Description: This whole page could use some Haxus love. If you know the answer, please edit this page or state it on the talk page!
 An important note! Nota bene: This page is not intended for discussion or explanation. As derived from the page title, this page is strictly intended to be a reference list of known calculations. If you intend to expand on any of the topics mentioned, directly or indirectly, by this page, please create a new, separate article and provide a link to it from here, as appropriate.

## Preface

Unless otherwise specified, the mentioned value or equation is safe to use for related calculations, and producing results that either exactly the same as shown in game, or error margin is negligible.

## Legend

(*) - Experimentally proven value.

## Colonization

#### World population limit from planet size

PopulationLimit = ??? PlanetDiameter ???

#### World volume limit from planet size

VolumeLimit = ??? PlanetDiameter ???

#### Food consumption

Citizens eat 20% of their max hit points, in food value, per city report.

#### Liquor consumption

Citizens consume 20% of their max hit points, in intoxication points, per city report.

#### Air consumption

Each citizen breathe one unit of Air per city report.

## Ship design and construction

### Ship mass

One hull triangle mass:

24.947578125*(armorLevel+1) kg.
For fuel cell: add 126.859453125 kg per triangle regardless of TL or armor level.

Mass limit for design at specified TL

Ship mass < TL * 350'000kg

### Station service range

Service Range = TL * 100m
The range is calculated from the outer edge of station extents.

### TL affected by berths

Design TL >= (Crew Berths + Troop Berths + Passenger Berths) - 7

### Armor

Damage absorbed = FLOOR((20 + 50 * ArmorLevel) * (0.95 + 0.05 * TL))
Energy absorbed = FLOOR((5 + 2 * ArmorLevel) * (0.95 + 0.05 * TL))

### HP

HP of one hull triangle:

Metal Hull HP = 10 * FLOOR( 0.275 * (ArmorLevel + 1) * (0.95 + 0.05 * TL) )
Magmium Hull HP = 10 * FLOOR( 1.25 * 0.275 * (ArmorLevel + 1) * (0.95 + 0.05 * TL) )
Vulcium Hull HP = 10 * FLOOR( 1.5 * 0.275 * (ArmorLevel + 1) * (0.95 + 0.05 * TL) )

HP of equipment:

HP = 10 * ModuleAmount

### Capacitor

Capacitor capacity from TL

Capacitor = 0.95 + 0.05 * TL

Capacitor recharge rate

(?) Capacitor recharge time is assumed to be fixed at 30 seconds for any size of capacitor.

Capacitor conversion rate

(?) Probably, 1 unit of Hydrogen per cell per cycle. Cycle length is unknown.

Weapon bay consumption rate

Each weapon module consume 1 point of capacitor each shot (at max power)
(?) The Rate of Fire is assumed to be 1 shot per 5 seconds
Conclusion: For continuous fire, you need the figure of "capacitor enough for 6 shots at max power".

FTL drive consumption rate per activation
Note: FTL drive capacitor usage in design summary is wrong.
First, it only count capacitor for required, rather than installed, amount of engines.
Second, it simply miscalculating cap use at certain tech levels.

Wormhole Drive:
CapUsage = ModuleAmount / (0.95 + 0.05 * TL)
Warp Drive:
CapUsage = ModuleAmount * ( 2 * WarpFactor - 1 ) / (0.95 + 0.05 * TL)

### Weapon bay

Damage = ModuleAmount * 5 * (0.95 + 0.05 * TL)
$Range = \sqrt{ 25'000 * ModuleAmount } * ( 0.95 + 0.05 * TL )$

Note that this math is for optimal range (shown in design summary as "Damage XXXe at YYYm"). The maximum range (which is shown as "Range" in design summary, and at which point your weapon efficiency is halved) is double that.

### Sensor

Range = ModuleAmount * 6477 * (0.95 + 0.05 * TL)