Skip to content

Moons with Mondzitadelle, Auspex-Phalanx and Warp-Tor

Issue #53, milestone next release (owner, 2026-11-13). Sources: owiki.de „Mond“, „Mondbasis“, „Sensorphalanx“, „Sprungtor“ (read 2026-11-13) and the issue. Needs debris fields (#45, Trümmerfelder), the model of places (#119, O11) and fields (#51, Planet fields).

  • [E] Moons are no longer a non-goal (owner, 2026-11-13).
  • [E] Built in this release in three pull requests: moons with the Mondzitadelle, then the Auspex-Phalanx, then the Warp-Tor (owner, 2026-11-13).
  • [E, cap and divisor replaced by #433 on 2026-11-27] Moon chance after a battle at a planet: min(⌊debris / 100,000⌋, 20) %, counted from the whole Trümmerfeld at the position after the battle (owner, 2026-11-13; owiki.de counts only the new debris of the battle). At most one moon per planet; it belongs to the planet’s owner.
  • [E] Since #433 (owner, 2026-11-27, 207b): the chance is ⌊(Adamant + Psikristall) / resources per percent⌋ %, at most the cap, both round settings of the admin: „Mondchance höchstens (%)“ (211), 1 to 100 (208a), default 20; „Rohstoffe je 1 % Mondchance“ ([V], accepted with 211), 10,000 to 1,000,000 in steps of 10,000 (212a), default 100,000. The step is the setting’s own check (agrees) with its own refusal „Rohstoffe je 1 % Mondchance: ganze Zahl von 10.000 bis 1.000.000 in Schritten von 10.000.“, and the field has the step 10,000 (owner, 2026-11-27, 218a; step of a number entry, field only). The defaults give the chance of before. In the Endzeit of the first round no moon formed despite huge battles, which the owner found counter-intuitive.
  • [V] Both settings live in src/core/moon.ts (roundSettings, section „Monde“ in „Neue Runde“ [V], order 510 and 520) and are live rows of the universe settings: they take effect at once, for the next battle.
  • [E] Diameter = ⌊√(x + 3 · chance) · 1000⌋ km, x a whole number from 10 to 20, all equally likely (owiki.de „Mond“, Mondgröße): 3,605 to 8,944 km (owner, 2026-11-13). It decides the destruction chance of #95.
  • [E] For the diameter the chance counts at most up to 20 (#433, 209a): moons stay as big as before, also above 20 %, and the Mondbruch keeps working; breakChance is unchanged. The Lexikon formula reads „Durchmesser in km = ⌊√(x + 3 · Chance) · 1.000⌋, mit x ausgelost von 10 bis 20 und der Chance höchstens 20“, its table keeps 1, 5, 10 and 20 % (owner, 2026-11-27, 219a).
  • [E] Fields: a moon starts with 1 field, every Mondzitadelle level adds 3 and takes one itself, without an upper limit (owner, 2026-11-13; the diameter limit was removed in v0.77c).
  • [E] A moon behaves like a planet: resources, fleets and defense, no production. Attack, transport, espionage and Verlegung fly to and from moons; colonization and Bergung never target a moon; noob protection is the one of the owner (owner, 2026-11-13). The distance planet ↔ moon is 5 (distance() for the same coordinates).
  • [E] Buildings on a moon: Servitorenschmiede, Orbitale Schiffsschmiede, the three stores, Mondzitadelle, Auspex-Phalanx, Warp-Tor; not the mines, Sonnenkathedrale, Fusionssanktum, Scholarium, Machina-Schwarmhalle, Weltenschmiede. Defense takes no field. Sonnenreliquiare give energy there as everywhere (owner, 2026-11-13).
  • [E] Mondzitadelle (classic Mondbasis): 20,000 Adamant, 40,000 Psikristall, 20,000 Promethium, factor 2; no requirement; +3 fields per level, takes one; cannot be torn down (owner, 2026-11-13).
  • [E] Auspex-Phalanx (classic Sensorphalanx): 20,000 / 40,000 / 20,000, factor 2; needs Mondzitadelle 1; range level² − 1 systems; a scan costs 5,000 Promethium on the moon and shows every flight to and from the scanned foreign planet (ships, origin, target, arrival, no cargo); moons cannot be scanned; the scanned player is not told (owner, 2026-11-13, the classic simple rule).
  • [E] Warp-Tor (Sprungtor, modern levels): level 1 costs 2,000,000 / 4,000,000 / 2,000,000, factor 2; needs Mondzitadelle 1 and Warp-Theorie 7; moves ships only (no resources) at once and without fuel to another own moon with a Warp-Tor; both gates then cool down by the level of the starting gate (owner, 2026-11-13): owiki.de values 1: 60, 2: 53, 3: 47, 4: 41, 5: 36, 10: 17, 15 and more: 10 minutes; in between linear, rounded to whole minutes: 6: 32, 7: 28, 8: 25, 9: 21, 11: 16, 12: 14, 13: 13, 14: 11.
  • [E] Moons come from battles and from the admin: in the admin area, at a planet of a player without a moon, „Mond anlegen“ with a chance of 1 to 20 %; the diameter follows the formula; audited (owner, 2026-11-13). Since #433 it takes 1 % up to the cap of the round (210a), checked on the server and in the client.
  • [E] Display (owner, 2026-11-13, proposal A): a moon symbol at the planet in the Sternenkarte, visible to everyone, with a link; the moon is its own entry „<Planetenname> (Mond)“ in the planet list; the battle report shows „Mondchance: x %“ and, when a moon forms, „Die enormen Mengen an freiem Adamant und Psikristall ziehen sich an und formen einen Trabanten um den Planeten.“
  • [E] Names in the grimdark style of #127: Mondzitadelle, Auspex-Phalanx, Warp-Tor (owner, 2026-11-13).
  • [V] Short and long texts, abbreviations and art of the three buildings and of the moon are proposed in the pull requests (the Mondzitadelle and the moon in the first, the Auspex-Phalanx in the second, the Warp-Tor in the third, #230, below). The texts and the abbreviation of the Warp-Tor are [E] since 2026-11-17 (below).

Decided for the first pull request (moons and Mondzitadelle)

Section titled “Decided for the first pull request (moons and Mondzitadelle)”

The owner’s answers to the open questions of the first build (owner, 2026-11-14):

  • [E] Temperature: a new moon gets the temperature of its planet at creation, without an extra random draw.
  • [E] „Zusatzfelder pro Planet“ (#51) does not apply to moons: a moon has 1 field plus 3 per Mondzitadelle level, and the Mondzitadelle takes a field itself (owiki.de).
  • [E] A new moon starts with 0 Adamant, 0 Psikristall and 0 Promethium and has no base income (owiki.de: „auf dem Mond [können] keine Rohstoffe produziert werden“).
  • [E] The reference test of #116 (missions-reference.test.ts) gets the moon rule in its frozen reference, written there on its own as for #45, and keeps comparing everything bit for bit.
  • [E] Battle report: the line „Mondchance: x %“ appears only when x > 0 and the planet has no moon yet, that is only when the chance is rolled; when a moon forms, the sentence about the Trabant follows (the decided wording above with Adamant and Psikristall, [V] as the adaptation of the classic „Metall und Kristall“).
  • [E] Admin „Mond anlegen“ with 1 to 20 % (since #433: up to the cap of the round, 210a): always creates the moon; the chance only goes into the diameter formula. It sits at each planet in the player record of the admin tab „Spieler“.
  • [E] Name: a moon starts with the name „Mond“, can be renamed like a planet and is always shown as „<Name> (Mond)“.
  • [E] The Mondzitadelle can be built only on moons and is not offered on planets. The fleet form gets a select „Planet / Mond“ beside the coordinates, with the moon only where one exists. The moon symbol on the Sternenkarte opens the moon’s actions like a planet row: at an own moon „Wechseln“, „Versorgungsflug“ and „Verlegung“, at a foreign moon „Auspex-Erkundung“, „Sturmangriff“ and „Versorgungsflug“.

Built (first pull request: moons and Mondzitadelle)

Section titled “Built (first pull request: moons and Mondzitadelle)”

Stacked on the debris build (#45, Trümmerfelder), the places (#119) and the fields (#51).

  • Storage: a moon is a row of planets with kind = 'moon' and the id m<g>_<s>_<p>, as migration 15 allows; no new migration. A fleet’s target kind comes from the prefix of to_planet. planets.home() takes only a planet, so a moon is never the home planet.
  • Moon step: src/core/moon.ts (moonChance(field, rules) ⌊(Adamant + Psikristall) / moonPerPercent⌋ at most moonChanceMax of the round (#433), formsMoon one draw rng() < chance / 100, moonDiameter ⌊√(10 + ⌊draw · 11⌋ + 3 · min(chance, 20)) · 1000⌋, placeName „<Name> (Mond)“); src/server/game/moons.ts (addMoon, rollMoon, createMoon, moonAt, the start name „Mond“). The attack runs it after the debris step and before the rebuilt defense, at a planet without a moon, with the whole field at the position; a rolled chance goes into both battle reports as moonChance and moon. A battle at a moon rolls nothing. The moon lines are part of the battle reports, so they go with their push kinds of #192 (fleet for the attacker, attacked for the defender); „Mond anlegen“ sends no report and no push.
  • Fields: maxFields gives a moon 1 field plus the fields of its buildings, without the diameter and the „Zusatzfelder pro Planet“.
  • Production: baseIncome(kind) in src/core/components/produces.ts, none on a moon; prod() and producerRows() read the kind, so the resources page (ProducerTable) shows 0 as base income there. The Sonnenreliquiare give energy by the moon’s temperature.
  • Buildings: the component placement (src/core/components/placement.ts, the kinds of place; without it planets only) on the Servitorenschmiede, the Orbitale Schiffsschmiede and the three stores (planet and moon) and the Mondzitadelle (moon); catalog.ts derives PLACEMENT and buildable(key, kind). The build action refuses „Nur auf einem Mond baubar.“ and „Auf einem Mond nicht baubar.“ first; the requirements list says „nur auf einem Mond baubar“ and „auf einem Mond nicht baubar“; the buildings page lists only what can stand on the shown place.
  • Mondzitadelle: src/features/moonbase/ (key moonbase, order 140, after the stores), leveled 20,000 / 40,000 / 20,000, factor 2, no requirement, fields: 3, placement: ['moon']. No building can be torn down, so neither can it.
  • Missions: the fleet form sends to.kind (planet or moon); the server aims at the moon of the position for moon. sendError refuses a moon for the target kinds free and debris (moonTarget) and says noMoon when the position has none. Attack, transport, espionage and Verlegung arrive, report and come home at a moon like at a planet; their reports name the moon „<Name> (Mond)“.
  • Admin: the player record lists the player’s planets; at a planet without a moon „Mond anlegen“ with a chance of 1 % up to the cap of the round (POST /api/admin/moon; the client’s field takes max from the round, #433, audit admin.write / createMoon with the planet, the moon, the chance and the diameter).
  • Interface: the state lists moons in galaxy with their kind; the Sternenkarte shows a moon button at the planet for every player, which opens a row with the moon’s actions; the planet list shows „<Name> (Mond)“ after its planet; the overview shows „Mond“, the moon picture and its fields; the fleet form has the select „Zielart“ („Planet“, „Mond“, the moon disabled where there is none) and „kein Mond“ beside the target; the battle report shows „Mondchance: x %“ and the sentence about the Trabant. Renaming a moon says „Mond umbenennen“.
  • [V] Proposals of the pull request, for the owner to confirm:
    • Mondzitadelle: abbreviation MZ; short text „+3 Felder pro Stufe. Steht nur auf einem Mond.“; long text „Die Mondzitadelle gräbt Hallen, Schleusen und Luftreiniger in das tote Gestein eines Mondes. / So funktioniert es: Ein Mond hat nur ein Feld. Jede Stufe der Mondzitadelle schafft drei neue Felder für Gebäude und belegt selbst eines. Sie steht nur auf einem Mond und kann nicht abgerissen werden.“; art: the lunar base of the interface v2 icon set (docs/design/interface-v2/icons/moon/lunar_base.svg), renamed in <title> and aria-label; the key moonbase and its place after the stores;
    • the moon picture icons/moon.svg (a grey cratered disc in the gold frame of the icons), on the Sternenkarte, in its row and in the overview;
    • the sentence about the Trabant with Adamant and Psikristall instead of the classic „Metall und Kristall“ (above);
    • the messages „An dieser Position gibt es keinen Mond.“, „Ein Mond kann nicht das Ziel dieses Auftrags sein.“, „Nur auf einem Mond baubar.“, „Auf einem Mond nicht baubar.“, „Planet nicht gefunden.“, „Dieser Planet hat schon einen Mond.“, „Die Mondchance muss zwischen 1 und <cap> % liegen.“ (the cap of the round since #433), „Mond angelegt.“; „kein Mond“ beside the target; „Aktiver Mond“ on the Sternenkarte; „Zielart“ as the label of the select; the table „Planeten“ of the player record with „vorhanden“ and the field „Mondchance in %“.
  • Tests: src/core/moon.test.ts, src/core/components/placement.test.ts (contract), fields.test.ts, economy.test.ts, produces.test.ts, missions.test.ts, requirements.test.ts, catalog.test.ts, text.test.ts, src/test/naming.ts (classic name „Mondbasis“), src/server/game/moons.test.ts, attack.test.ts, fleet.test.ts, actions.test.ts, planets.test.ts, app.test.ts (the admin route), src/client/logic/moon.test.ts, src/client/logic/fields.test.ts, src/client/views/galaxy.test.ts, settle.test.ts (a moon settles without base income); the settle reference of #115 (settle-reference.test.ts) also generates moons and compares them bit for bit, because both versions read prod(); missions-reference.test.ts has the moon rule in its frozen reference, written there on its own (chance of the whole field, the draw, the diameter, the moon row and the report fields), compares everything bit for bit and checks that its generated battles roll chances and form moons; E2E e2e/moons.spec.ts (the admin’s „Mond anlegen“ and the moon’s actions on the Sternenkarte, the moon as an own place with its buildings, fields and no base income, a Verlegung to the own moon, the moon chance in a battle report, the moon on a phone) and axe on the Sternenkarte with an open moon, the fleet form, the moon’s overview, buildings and resources (e2e/a11y.spec.ts) and on the player record with „Mond anlegen“ (in e2e/moons.spec.ts, which runs after the admin test of game.spec.ts that counts the reads of a player record).
  • A moon from a battle forms by chance only; the E2E tests check the line „Mondchance“ of a real battle and make moons with the admin or e2e/seed.ts (option moon); the sentence about the Trabant is checked by the unit tests of the report and the attack.

Decided for the second pull request (Auspex-Phalanx)

Section titled “Decided for the second pull request (Auspex-Phalanx)”
  • [E] Endzeit gift (#161) and the moon buildings (owner, 2026-11-14, „Geklärt, Nachtrag 2“): the gift raises only buildings that may stand at its target, checked with the component placement; moonbase and every other moon-only building are skipped on the home planet. Research is not a building and is raised as before. Without it the gift would raise the Mondzitadelle on the home planet once the Auspex-Phalanx requires Mondzitadelle 1.
  • [E] Auspex-Phalanx (owner, 2026-11-15, „Geklärt, Nachtrag 3“):
    • the key is phalanx, ordered after moonbase;
    • the range is level² − 1 systems, counted only in the scanner’s own galaxy as |s − s₀|, without a wrap around the end of the galaxy, measured the same way as distance();
    • a free position is refused without charge; a planet without flights costs 5,000 Promethium and shows an empty result;
    • the scan is an action at a foreign planet row on the Sternenkarte, offered when the active place is a moon with a phalanx and the planet is in range; the result shows in a panel there;
    • a scan shows for each fleet only its ships, origin, target and arrival: no owner, mission, cargo or fuel.
  • [E] Fleets on their way (owner, 2026-11-15, „Geklärt, Nachtrag 4“): a scan shows only each fleet’s current leg. A fleet flying back shows the leg from its target to its start, arriving at its return; a recalled fleet shows from where it turned back; an outbound fleet shows only its arrival at its target. The Endzeit gift (#161) shows like any other fleet.
  • [V] Flights are sorted by arrival, the first first: not asked, taken as recommended (owner, 2026-11-15, the rule of Release loop for a recommendation consistent with earlier decisions; „Geklärt, Nachtrag 4“).

Built (second pull request: Auspex-Phalanx)

Section titled “Built (second pull request: Auspex-Phalanx)”
  • Endzeit gift: standing(levels, kind) in src/core/endzeit.ts keeps the levels that buildable allows on the kind of place; giftArrive raises standing(need.b, t.kind) on the home planet, the research unchanged. Since the phalanx requires Mondzitadelle 1, giftLevels() names moonbase, and the gift skips it on the home planet. Tests: src/core/endzeit.test.ts (moon-only skipped on a planet, planet-only skipped on a moon, a key without placement as a planet building, a property over the catalog), src/server/game/endzeit-placement.test.ts (failed before the change) and src/server/game/endzeit.test.ts (the arrival raises standing(giftLevels().b, 'planet'), without the Mondzitadelle).
  • Building: src/features/phalanx/ (key phalanx, order 150, after the Mondzitadelle at 140), leveled 20,000 / 40,000 / 20,000, factor 2, req: { b: { moonbase: 1 } }, placement: ['moon'], no fields. The build action, the requirements list and the buildings page treat it like the Mondzitadelle through buildable.
  • Rules in src/core/phalanx.ts (patterns, section 7): phalanxRange(level) level² − 1 (below 0 at level 0); phalanxLevel(p) the building on a moon, 0 on a planet, the one place that reads the key; inPhalanxRange(at, target, level) the same galaxy and |s − s₀| ≤ the range; SCAN_COST 5,000 Promethium and SCAN_PRICE as a cost; scanRefusal(kind, owner, scanner); scanReach(scanner, target) the error code without the price, in this order: notMoon, noPhalanx, a moon or a Trümmerfeld (moon, notPlanet), outOfRange, free, own; scanError(scanner, target) adds cost when the moon holds less than 5,000 Promethium; scanFlights(fleets, id) every fleet of every player whose start or target is the planet, as the leg it flies now (ships, origin, target, arrival), by arrival. A fleet has no position between two places, so a recalled fleet flies from the target it turned away from back to its start, arriving at its return, like any fleet flying back; the gift flies from and to the home planet. Flights of the planet’s moon are not the planet’s.
  • Server: the action scan in ACTIONS (src/server/game/phalanx.ts) with planet (the active place) and target (a place id such as p1_2_3); an id that is no place says „Unbekanntes Ziel.“. It runs inside the transaction of runAction, after the due fleets: it checks scanError, charges 5,000 Promethium on the moon and answers the flights as data.scan (by, target, flights). An action may now answer { msg, data } (Answer and answerOf in actions.ts); POST /api/action puts data beside msg and state, only when there is data. The scanned player gets no report and no push; the audit event game / scan names the moon, the target and the number of flights.
  • Interface: the Sternenkarte stays HTML. At a foreign planet row the button „Phalanx-Scan“ (aria-label „Phalanx-Scan von <Name>“) appears when canScan (src/client/logic/phalanx.ts, scanReach of the core) allows it, also without the Promethium (the server names the price). The client sends every action through act(), which now hands the answer’s data to answer before the state; scanOf reads the scan, and the panel scanPanel (src/client/views/galaxy.ts) shows it above the table while the moon it came from is the active place: the heading „Phalanx-Scan: <Name> [g:s:p]“ (focused after the scan), a table „Schiffe“, „Herkunft“, „Ziel“, „Ankunft“ (a countdown, as in the fleet list), a moon as „[g:s:p] (Mond)“, „Keine Flüge erfasst.“ for an empty scan, and „Schließen“, which puts the focus back on the scan button.
  • [V] Proposals of this pull request, taken as recommended (owner’s rule of 2026-11-15 in Release loop), for the owner to confirm:
    • abbreviation PX; short text „Erfasst die Flüge fremder Planeten in Reichweite. Steht nur auf einem Mond.“; long text „Die Auspex-Phalanx lauscht mit einem Wald aus Antennen in die Leere und hört jeden Antrieb zwischen den Welten. / So funktioniert es: Ein Scan vom Mond zeigt die Flüge zu und von einem fremden Planeten derselben Galaxie; die Reichweite wächst mit jeder Stufe. Jeder Scan kostet Promethium, der Erfasste merkt nichts. Monde sind nicht zu erfassen.“ (the long texts say no numbers, #94); art: the sensor phalanx of the interface v2 icon set (docs/design/interface-v2/icons/moon/sensor_phalanx.svg), renamed in <title> and aria-label; the classic name „Sensorphalanx“ joins the naming test data;
    • the short name „Phalanx-Scan“ of the action and the panel;
    • the messages „Ein Phalanx-Scan ist nur von einem Mond aus möglich.“, „Auf diesem Mond steht keine Auspex-Phalanx.“, „Das Ziel liegt außerhalb der Reichweite der Auspex-Phalanx.“, „An dieser Position gibt es keinen Planeten.“, „Monde lassen sich nicht erfassen.“, „Nur Planeten lassen sich erfassen.“, „Eigene Planeten lassen sich nicht erfassen.“, „Nicht genug Promethium für den Phalanx-Scan.“, „Unbekanntes Ziel.“; the panel texts „Keine Flüge erfasst.“ and „Schließen“;
    • the panel above the table of the systems, kept until „Schließen“, the next scan or a change of the active place; the arrival as a countdown.
  • Tests: src/core/phalanx.test.ts (range over galaxies and systems without wrap, the reach and the price, the legs of a returning, recalled and gift fleet, with properties), src/server/game/phalanx.test.ts (the action: flights by arrival, the charge also for an empty scan, every refusal free, due fleets first, a recall, no report and no push, the audit detail, the range as a property), src/server/http/app.test.ts (data beside the state), src/client/logic/phalanx.test.ts, src/client/logic/act.test.ts (answer), src/client/views/galaxy.test.ts (button and panel), the catalog, naming, text, icon and key tests; E2E e2e/phalanx.spec.ts (the building on the moon after the Mondzitadelle, the scan of an empty planet for 5,000 Promethium, a flight from the moon in the panel, „Schließen“ with the focus, the refusal without Promethium, the panel on a phone with axe and the width check) with axe on the panel.

Built (third pull request: Warp-Tor, #230)

Section titled “Built (third pull request: Warp-Tor, #230)”

Issue #230 is the rest of #53 (owner, 2026-11-15, epic #222); the rules are the [E] of the Warp-Tor above (owner, 2026-11-13, confirmed 2026-11-16 in #230). With it the three pull requests of #53 are built.

  • Building: src/features/jumpgate/ (key jumpgate, order 160, after the Auspex-Phalanx at 150), leveled 2,000,000 / 4,000,000 / 2,000,000, factor 2, req: { b: { moonbase: 1 }, r: { hyper: 7 } }, placement: ['moon'], no fields. The build action, the requirements list and the buildings page treat it like the other moon buildings through buildable. The Endzeit gift (#161) is unchanged: Warp-Theorie 7 is below the 8 of the Sternennetz, and the gift skips moon buildings on the home planet.
  • Rules in src/core/jump-gate.ts (patterns, section 7): gateCooldown(level) the decided table in minutes (10 from level 15 on, 0 without a gate), gateCooldownMs(level, u) the minutes divided by the universe speed in milliseconds, rounded up to a whole millisecond as the building and research times (Math.ceil); gateLevel(p) the building on a moon, 0 on a planet, the one place that reads the key; gateReady(gate, now); targetError(from, target, now) and jumpError(from, target, ships, now), the codes in this order: notMoon, noGate, cooling (the starting gate), noTarget (no own moon there, also a moon that is gone, #95), sameMoon, targetNoGate, targetCooling, noShips, stationary; moveShips. A jump starts from the gate of the active moon, and both gates then cool down by the level of that starting gate, whatever the level of the target gate.
  • Storage: migration 20261117T1158-jump-gate (src/server/db/migrations/230/, see SQLite storage), the table jump_gates with the time each gate is ready again; the planet repository reads and writes it (gateReady, setGateReady). It goes with its moon by the foreign key: a broken moon (#95, planets.delete) and a new round take it along.
  • Server: the action jump in ACTIONS (src/server/game/jump-gate.ts) with planet (the active moon), to (the id of the target moon, such as m1_2_3) and ships. It runs inside the transaction of runAction, after the due fleets: it picks at most the ships on the moon (pickedShips, shared with send), settles both moons to now, checks jumpError, moves the ships, saves both moons and stores the same ready time for both gates. The resources stay; no fleet, no fuel, no report, no push. Two requests run one after the other in their transactions, so the second finds the gate cooling and refuses. The answer has no message; the audit event game / jump names the moon, the target and the ships. The state lists the player’s Warp-Tore as gates (id, level, ready), of the moons moved to now and not saved, as the labs: a Warp-Tor finished since the last save is listed with its new level (review of #293).
  • Interface: in the view „Flotte“ of a moon with a Warp-Tor the box „Warp-Tor“ below „2. Ziel und Auftrag“ (jumpPanel of src/client/logic/jump-gate.ts, rendered in src/client/views/fleet.ts, the handlers in src/client/fleet-acts.ts, out of main.ts): the select „Zielmond“ with the player’s other moons with a Warp-Tor as „<Name> (Mond) [g:s:p]“, a cooling one disabled with „– Wieder bereit in …“; the button „Springen“, disabled while the own gate cools down or no target is ready, with „Wieder bereit in …“ (a countdown) beside it. The ships are the ones picked in „1. Schiffe auswählen“; without ships the box still shows the readiness. A long „Zielmond“ stays inside a phone (.jump-to). The clock of main.ts draws the view again once when an own Warp-Tor turns ready (viewDue, with the finished orders it asked before), so „Springen“ and the target are enabled without a click; a redraw keeps the picked „Zielmond“ only while its option is enabled (keeps), else the first ready one (review of #293).
  • Coordination with the branches not yet merged (read 2026-11-17):
    • #95 Mondbruch (claude/mission-mondbruch): destroyMoon deletes the moon row, and the gate time goes with it by the cascade; a moon that is gone is no target (noTarget). No change on either side.
    • #223 vacation mode (claude/vacation-mode): runAction refuses every action not on its list with „Im Urlaubsmodus nicht möglich.“, „an action added later is refused too“, so jump is refused in vacation mode without a change here. The jump goes between own moons only, so the protection of a target (vacationProtects) does not apply.
    • #202 demolition (claude/demolition): no demolition on a moon, so the Warp-Tor cannot be torn down.
  • [E] Cooldown (owner, 2026-11-17, #230): the minutes of the cooldown table are divided by the universe speed, so a faster universe cools faster. The server stores the ready time, and the countdown of the view „Flotte“ counts down to it, so both agree.
  • [E] Texts (owner, 2026-11-17, #230), confirmed as written:
    • the abbreviation WR (WT is taken);
    • the short text „Versetzt Schiffe sofort zu einem eigenen Mond mit Warp-Tor. Steht nur auf einem Mond.“;
    • the long text „Das Warp-Tor reißt einen Spalt in den Raum hinter dem Raum und stößt ganze Flotten hindurch. / So funktioniert es: Ausgewählte Schiffe springen sofort und ohne Treibstoff zu einem anderen eigenen Mond mit Warp-Tor, Rohstoffe bleiben zurück. Danach kühlen beide Tore ab; je höher die Stufe des Starttors, desto kürzer.“;
    • the eight refusals „Ein Sprung ist nur von einem Mond aus möglich.“, „Auf diesem Mond steht kein Warp-Tor.“, „Das Warp-Tor kühlt noch ab.“, „Der Zielmond muss ein eigener Mond sein.“, „Start und Zielmond sind derselbe Mond.“, „Auf dem Zielmond steht kein Warp-Tor.“, „Das Warp-Tor des Zielmonds kühlt noch ab.“ and „Sonnenreliquiare können nicht springen.“; without ships the existing „Keine Schiffe ausgewählt.“ of the fleet form.
  • [E] Changelog (owner, 2026-11-17, #230): the Warp-Tor has its own fragment changes/warp-tor.md, not a line in the fragment of the moons. It names no admin setting, since the Warp-Tor adds none (rule of #279).
  • [V] Proposals of this pull request, taken as recommended (owner’s rule of 2026-11-15 in Release loop), for the owner to confirm:
    • the UI texts „Zielmond“, „Springen“ and „Wieder bereit in …“ of #230 and the place of the box in the view „Flotte“, which picks the ships as the fleet form does;
    • Sonnenreliquiare cannot jump (they cannot fly, „can fly“ is „has mobile“, #114; classic: no solar satellites through the Sprungtor);
    • a jump that asks for more ships than stand on the moon moves those there, as send does;
    • the jump answers no message: the moved ships and the countdowns show it;
    • art: the jump gate of the interface v2 icon set (docs/design/interface-v2/icons/moon/jump_gate.svg), renamed in <title> and aria-label; the classic name „Sprungtor“ joins the naming test data.
  • Tests: src/core/jump-gate.test.ts (the table, level 15 and above, the interpolation, the cooldown at speed 1 and faster speeds with its rounding as a property, the checks and their order, both cooldowns as a property, every ship of the catalog, moving keeps the number of ships as a property), src/server/game/jump-gate.test.ts (the action: ships moved and resources kept, at most the ships there, both gates by the starting level, a second jump refused until ready in both directions, every refusal changes nothing, a moon that is gone, the cooldown at speed 1 and 7, the cooldown after a restart, the target settled first, the audit detail, the state), src/server/db/repos/planets.test.ts (the gate time and its cascade), the upgrade test, src/client/logic/jump-gate.test.ts (the box, the targets, the readiness, „Springen“ as a property), the catalog, naming, text and key tests; E2E e2e/jump-gate.spec.ts (the building after the Auspex-Phalanx with its requirements, the jump with the refusal without ships, the cooldown on both moons, the resources kept, the jump on a phone with the width check) with axe on the box; e2e/seed.ts has the option colonyMoon, and a moon left on the slot by an earlier test is made anew for its new owner, without the old cooldown; e2e/moons.spec.ts and e2e/phalanx.spec.ts list the Warp-Tor as the last moon building.

Issue #95, split off from #60 (owner, 2026-11-12); clarified 2026-11-13 with owiki.de „Mond“ (section Zerstörung, formula images). Built after the moons.

  • [E] Name „Mondbruch“ (classic „Zerstören“), grimdark style of #127 (owner, 2026-11-13).
  • [E] The fleet needs at least one Weltenbrecher; other ships fly along and fight (owner, 2026-11-13). Only against a moon.
  • [E] The fleet first fights the fleet and defense of the moon; only after a won battle (or an undefended moon) the rolls follow. Two independent rolls (owiki.de, owner, 2026-11-13):
    • moon destroyed with min(100, (100 − √d) · √n) %, d the diameter in km, n the Weltenbrecher of the fleet;
    • the Weltenbrecher of the fleet are lost with √d / 2 %; the other ships stay. Example: 4,000 km and one Weltenbrecher: 36.75 % and 31.6 %.
  • [E] No debris from a destroyed moon or from lost Weltenbrecher; fleets flying to a destroyed moon land at its planet (owiki.de, owner, 2026-11-13).
  • [E] Reports (owner, 2026-11-13, proposal A): „Der Mond ist zerbrochen (Chance x %).“, „Der Mond hält stand (Chance x %).“, „Die Weltenbrecher wurden vom eigenen Schuss zerrissen (Chance y %).“; for the owner „Dein Mond bei [g:s:p] wurde zerstört.“
  • [E] What is lost with a destroyed moon (owner, 2026-11-16, „Geklärt, Nachtrag“): everything on it, its stock, buildings, defense and queues. Fleets flying to it land at its planet.
  • [E] Held fleets (owner, 2026-11-19, #55): the fleets that hold at the moon defend it in the battle of the Mondbruch like any defender; one that holds at a moon that breaks moves to its planet and holds on there until its time ends. See Holding and ACS.
  • [E] Loot (owner, 2026-11-16): after a won battle the fleet plunders as in an attack.
  • [E] The mission needs a migration (owner, 2026-11-16): the CHECK of fleets.mission must allow it, so fleets and fleet_ships are rebuilt as in migration 16, in the folder layout of #213 (#238).
  • [V] Taken as recommended (owner, 2026-11-16, „Geklärt, Nachtrag“): fleets whose home is the destroyed moon return to its planet; a Mondbruch fleet whose target has become a planet turns back with the existing report „Flotte kehrt um“; the mission key and the send checks are code-only names.
  • Rules: src/core/moonbreak.ts (patterns, section 7): breakChance(d, n) min(100, (100 − √d) · √n), lossChance(d) √d / 2 and moonbreak(d, n, rng), two independent draws, the moon first, a hit when the draw is below chance / 100 (as formsMoon). The decided formulas only: no lower bound, which no diameter of the formula of #53 reaches (at most 8,944 km).
  • Mission src/features/missions/moonbreak/ (key moonbreak, „Mondbruch“, order 80, after the Wache stellen with 70): the new target kind foreignMoon (a foreign moon only, see Design patterns, section 4); canSend refuses a fleet without a Weltenbrecher (noWorldbreaker), the target kind a target that is no moon (notMoon); a foreign moon is then checked like a foreign target (own moon, noob protection).
  • Arrival: the steps of the Sturmangriff (battle with the moon’s fleet and defense, the battle’s Trümmerfeld, rebuilt defense, loot after a won battle with the free holds of the survivors, the audit entry battle, both battle reports). After a won battle (an undefended moon is one: the battle ends at once with the attacker as winner) with n surviving Weltenbrecher the two rolls follow with the moon’s diameter. A lost Weltenbrecher roll removes only the Weltenbrecher from the fleet; the cargo is cut to the holds of the ships left (cutLoot in src/server/game/fight.ts, in the order of the loot): first what the fleet carried, then the loot in the room that is free; what does not fit is lost, and a fleet without other ships is gone with it. The battle reports keep the loot of the battle; the report of the return names what came home. A broken moon is removed with its buildings, units, production and queues and the pushes of its queues (destroyMoon in src/server/game/moons.ts, planets.delete); the fleets flying to it fly to its planet, the fleets that hold there move to its planet and hold on, the fleets whose home it is come home there (fleets.reroute), but not the missiles of #54: they keep the moon as their target and are lost at the arrival [V]. Neither leaves a Trümmerfeld. The rolls go into the audit log (system / moonbreak: fleet, moon, both chances and outcomes).
  • Reports: the attacker’s battle report keeps moonbreak (chance, broken, loss, lost) and shows „Der Mond ist zerbrochen (Chance x %).“ or „Der Mond hält stand (Chance x %).“ and, when they are lost, „Die Weltenbrecher wurden vom eigenen Schuss zerrissen (Chance y %).“; the owner’s battle report of a broken moon keeps moonLost and shows „Dein Mond bei [g:s:p] wurde zerstört.“ (src/client/logic/moonbreak.ts, in the lines of the battle report after the moon chance). They go with the push kinds of every battle report (fleet, attacked).
  • Migration 20261119T0810-moonbreak (src/server/db/migrations/95/, see SQLite storage).
  • [E] The owner’s answers to the proposals of the pull request (owner, 2026-11-16):
    • guild alert like the attack: a Mondbruch launched at a member of a guild writes the same event into the chat of that guild at its launch, „⚔ Angriff auf [g:s:p] (Angreifer → Ziel), Ankunft hh:mm“ (#169), with the coordinates of the moon; its rules have alertsGuild;
    • loot when the Weltenbrecher are lost: cut to the cargo space of the ships left, the rest is lost as with battle losses; a fleet of Weltenbrecher alone that loses them carries nothing;
    • [E] the cargo the fleet already carried is cut to the holds of the ships left too, like the loot (owner, 2026-11-18, „Geklärt“ on #95): it stays whole when it fits, else the excess is lost and the loot gets nothing; the cut is the one of the loot (cutLoot, the order of the classic loot, rounded down), carried cargo first, then the loot;
    • the rolls count only the Weltenbrecher that survived the battle; none left, no roll (as built);
    • no action at the moon on the Sternenkarte for now; it comes with #253.
  • [V] Proposals of this pull request that stay as built (owner, 2026-11-16: unchanged unless they conflict with the answers above):
    • the three sentences of the rolls go into the attacker’s battle report, the owner’s sentence into the owner’s battle report, as lines after the moon chance (as #53 put the moon into the battle report); the owner does not read the rolls themselves;
    • a chance shows in German with at most two decimals („36,75 %“, „31,62 %“, „100 %“);
    • the messages „Mondbruch nur gegen einen Mond.“ (after „Verlegung nur zu einem eigenen Planeten.“) and „Du brauchst einen Weltenbrecher.“ (after „Du brauchst eine Kolonistenarche.“);
    • the rules data of the Sturmangriff: cargo, return, the ships visible to the defender (the field visible is gone since #228: the Mondbruch follows the thresholds like the attack);
    • fleets on their way home whose target was the moon keep it as their target (only their leg back is shown), only outbound fleets fly to the planet;
    • the audit entry moonbreak.
  • The action „Mondbruch“ at a foreign moon on the Sternenkarte [E] (owner, 2026-11-21; earlier „no own button now, it comes with #253“, #95 comment of 2026-11-16, and #253 did not deliver it): a link in the row of the moon and in the phone sheet „⋯“, after „Versorgungsflug“, built like „Sturmangriff“ (fleetTo, data-act="gfleet", data-m="moonbreak", data-k=“moon”); it opens the fleet form with the moon as the target and the Mondbruch chosen. It shows exactly when the list of the fleet form (offeredMissions of src/client/logic/fleet-target.ts, the rule missionsFor of src/core/mission-fit.ts) holds the Mondbruch for that target: the moon is a foreign moon. [E] It shows at every foreign moon, with or without a Weltenbrecher on the shown planet (owner, 2026-11-21; the first build asked for one, as „Landnahme“ asks for a colony ship); the fleet form refuses a send without one. [V] No own title or aria-label, like the neighbouring links; the label is the game term „Mondbruch“. Code: moonbreakLink in src/client/logic/galaxy.ts.
  • Tests: src/core/moonbreak.test.ts (the example of the owner, the formulas, properties, the draws with a seeded generator), src/core/missions.test.ts (the kind foreignMoon), src/features/missions/moonbreak/moonbreak.test.ts (rules, refusals, the arrival with seeded draws: broken, held, lost Weltenbrecher, lost battle, no Weltenbrecher left, a defended moon, the Trümmerfeld of the battle only, loot and its cut to the holds left, audit, pushes, the rerouted fleets and the turned back Mondbruch), src/server/game/jump-gate.test.ts (no jump to or from a broken moon, its gate time gone with it, a new moon at the position ready), src/server/game/missions.test.ts (the contract with a moon target), src/server/game/guild-events.test.ts (the event of a Mondbruch at a member’s moon), src/client/logic/moonbreak.test.ts, the upgrade test, and E2E e2e/moonbreak.spec.ts (desktop and phone, axe on the reports).
  • Giving up a moon on its own, tearing down a moon. Abfangraketen are decided with #54 (Missiles); a moon is lost with its given-up colony (owner, 2026-11-16, #224 Q1, Abandon a colony).