Formulas

These are the formulas this server calculates with. They were written from the server's own code, so they describe this game and not any other version of it. The speeds and percentages that an administrator can change are listed on the Server Settings page.

In all formulas, L is the level of the building or research in question.

Production

Mines

Hourly production of the mines, before bonuses:

\text{Metal} = 30 \cdot L \cdot 1.1^{L}
\text{Crystal} = 20 \cdot L \cdot 1.1^{L}
\text{Deuterium} = 10 \cdot L \cdot 1.1^{L} \cdot (1.44 - 0.004 \cdot T)

T is the planet's maximum temperature: colder planets produce more deuterium.

The result is multiplied by the percentage set for the mine on the resource settings page, by the server's resource multiplier, and by the production factor when the planet is short of energy. On top of that come:

Every planet also has a basic income that needs no mine and no energy.

Energy

Energy used per hour:

\text{Metal Mine} = 10 \cdot L \cdot 1.1^{L}
\text{Crystal Mine} = 10 \cdot L \cdot 1.1^{L}
\text{Deuterium Synthesizer} = 20 \cdot L \cdot 1.1^{L}

Energy produced:

\text{Solar Plant} = 20 \cdot L \cdot 1.1^{L}
\text{Fusion Reactor} = 30 \cdot L \cdot (1.05 + 0.01 \cdot E)^{L}
\text{Solar Satellite} = \frac{T + 140}{6} \text{ each}

E is the level of Energy Technology. The Fusion Reactor burns 10 \cdot L \cdot 1.1^{L} deuterium per hour. The Engineer adds 10% to all energy produced.

Production factor

When a planet uses more energy than it produces, all its mines slow down by the same share:

\text{production factor} = \frac{\text{energy produced}}{\text{energy needed}}

rounded down to a whole percent and never above 100%.

Storage

Capacity of a Metal Storage, Crystal Storage or Deuterium Tank:

\text{capacity} = 5000 \cdot \left\lfloor 2.5 \cdot e^{20 L / 33} \right\rfloor

That is 10,000 at level 0, 20,000 at level 1, 40,000 at level 2 and 75,000 at level 3. Mines stop producing a resource when its storage is full.

Costs

The cost of level L of a building or research is its base cost multiplied by its factor for every level already built:

\text{cost} = \text{base cost} \cdot \text{factor}^{L - 1}

The base cost and the factor of each building and research are in the box on its article, with the cost of the first twenty levels below the text. Ships and defences always cost the same.

Demolishing a building

Tearing down a level costs what the level below it cost to build, less 4% for each level of Ion Technology.

Times

S is the server's game speed (1 on a normal-speed server).

Buildings

\text{hours} = \frac{\text{metal} + \text{crystal}}{2500 \cdot \max\left(4 - \frac{L + 1}{2},\ 1\right) \cdot (1 + R) \cdot 2^{N} \cdot S}

R is the level of the Robotics Factory and N the level of the Nanite Factory; L is the building's current level, so the term with L makes the first levels quicker. That term is left out (it counts as 1) for the Nanite Factory, the Lunar Base, the Sensor Phalanx and the Jump Gate.

Ships and defence

\text{hours} = \frac{\text{metal} + \text{crystal}}{2500 \cdot (1 + Y) \cdot 2^{N} \cdot S}

Y is the level of the Shipyard.

Research

\text{hours} = \frac{\text{metal} + \text{crystal}}{1000 \cdot (1 + \text{lab levels}) \cdot (1 + A) \cdot S}

"Lab levels" is the level of the Research Lab on the planet doing the research, plus the labs that the Intergalactic Research Network links to it. A is the level of Astrophysics, which on this server also speeds up research. The Technocrat shortens research by 25%.

Fleets

Speed

Each level of a ship's drive makes it faster: 10% of its base speed per level of Combustion Drive, 20% per level of Impulse Drive and 30% per level of Hyperspace Drive.

\text{speed} = \text{base speed} \cdot (1 + \text{drive level} \cdot \text{bonus})

A fleet flies at the speed of its slowest ship. Some ships change to a better drive once its research is high enough; the box on the ship's article says from which level.

Distance

  • To another galaxy: 20000 \cdot \text{galaxies apart}
  • To another solar system in the same galaxy: 2700 + 95 \cdot \text{systems apart}
  • To another planet in the same system: 1000 + 5 \cdot \text{positions apart}
  • Between a planet and its own moon or debris field: 5

Flight time

\text{seconds} = \frac{10 + \dfrac{35000}{p} \cdot \sqrt{\dfrac{10 \cdot \text{distance}}{\text{speed}}}}{F}

p is the speed chosen when sending the fleet, from 10 to 100 percent, and F is the server's fleet speed.

Fuel

For each kind of ship in the fleet:

\text{deuterium} = \text{ships} \cdot \text{consumption} \cdot \frac{\text{distance}}{35000} \cdot \left(\frac{v}{10} + 1\right)^{2}

where v is the chosen flight speed in percent, lowered for ships that are faster than the slowest ship of the fleet (they throttle back to stay with it). The amounts are added up, rounded, and one unit is added. Flying slower therefore saves fuel.

Holding at a target, as an ACS defender does, costs a tenth of the fleet's consumption per hour.

Cargo

Hyperspace Technology adds 5% of a ship's base cargo capacity per level.

Slots

  • Fleets in flight: 1 + \text{Computer Technology level}, plus 2 with the Admiral.
  • Expeditions at the same time: \lfloor \sqrt{\text{Astrophysics level}} \rfloor
  • Colonies: \lceil \text{Astrophysics level} / 2 \rceil

Combat

Plunder

An attacker who wins can take up to half of each resource on the planet. The cargo space of the surviving ships is filled in this order:

  1. metal, up to a third of the space;
  2. crystal, up to half of the space that is left;
  3. deuterium, into the rest;
  4. metal again, up to half of what is still free;
  5. crystal, into the rest.

Debris

A share of the metal and crystal of every destroyed ship, and of every destroyed defence, is left in a debris field. The two percentages are server settings.

Moon chance

\text{chance} = \min\left(\left\lfloor \frac{\text{debris}}{100000} \right\rfloor,\ 20\right) \%

One percent for every 100,000 units of debris from the battle, up to 20%. See Moonchance.

Destroying a moon

With D Deathstars against a moon of diameter d kilometres:

\text{moon destroyed} = (100 - \sqrt{d}) \cdot \sqrt{D} \ \%
\text{Deathstars lost} = \frac{\sqrt{d}}{2} \ \%

Planets and moons

Fields

\text{fields} = \left(\frac{\text{diameter}}{1000}\right)^{2}

Each level of the Terraformer adds fields to a planet, and each level of the Lunar Base adds fields to a moon; how many is on the Server Settings page.

A new moon has between 10 and 20 fields plus 3 for every percent of moon chance it was created with.

Ranges

See also

More in Gameplay