Repository navigation
feat: add the Vashar Gate galaxy gate - #138
Merged
Merged
Conversation
Pilots collect Vashar gate parts from alien loot (guaranteed in M2 during the Signal Anomaly operation, random beyond Outpost 01), assemble the gate at the station and fight seven waves ending with a Vashar mothership in a separate arena map. Runs are server-owned with lives, group scaling, escorts, victory rewards and collapse. Allowlisted preview pilots can open a gate without parts. The Galaxy Gates page replaces the placeholder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every participant now also receives 15,000 x4 shots and has a 20% chance of an LF-4 laser in storage. All winners' rewards save together. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace the procedural Shardling, Spireguard and mothership with Blender models built from the approved concepts: faceted obsidian crystal hulls, purple armor, violet seams and hot-pink weapon and hangar glow. The GLBs use the shared alien export (one mesh, 2K atlas, generated LODs). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Irregular crystal facets, secondary growths, layered armor with lit slits and nodes, vents, conduits, barrel bands, drive petals, and for the mothership tiled deck plating, radial seams, spine collars, underside ribs and a hangar interior. Triangles: Shardling 14k, Spireguard 26k, mothership 36k. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Near-black obsidian crystal, darker muted armor and a lower armor emission lift give the stronger black and violet contrast of the concepts; the violet seams and hot-pink weapons keep their glow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Armor plates and machinery are polished dark metal (high metalness, low roughness) and the obsidian crystal is a glossy dielectric with beveled facet edges, replacing the soft generic atlas finish. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A centered countdown shows the time to the next wave in the Vashar Rift. The rift has no protected zone, its exit is sealed while a wave is alive and quitting to the station mid-wave costs a life, so pilots cannot kill one alien, repair and fly back in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 22, 2026
The boss wave reserves dormant Shardlings so the mothership can always launch escorts, its weapon range drops below pilot laser range, and the LF-4 shop note no longer repeats the provisional drop odds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Operation parts go to an in-range pilot running the operation and only parts from its map count; runs announce the public pilot label; dormant arena aliens skip random home searches; gate links are cached; alien homes keep clear of closed portals; occupancy changes republish the run state; rewards stay dedicated-only and publish scans ships once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Disconnecting mid-wave costs a life like quitting, quitting while already destroyed does not cost a second one, waves spawn clear of arena rocks, routing from an arena leads to its exit, the station page reports the between-wave break, the part stock cap rises to 999 and gate models reuse the endpoint helper. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Allocate each box's gate parts against every collector's remaining room, counting parts already assigned in the same pickup pass. Parts beyond every nearby pilot's 999 limit stay in the box instead of being clamped away. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A rollback build that preserves the unknown gates field can write a counter such as 7 as 7.0. The server accepts and normalizes it, so the provisioning tool now does too, instead of rejecting the whole ledger. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Victory and collapse both remove boxes left in the rift, so the next run starts with an empty arena. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Timerk
pushed a commit
that referenced
this pull request
Nov 25, 2026
Bring the #138 review fixes onto the multi-gate branch: per-gate part allocation against each collector's remaining stock, float gate counters accepted by pilots.py for both flat and per-gate records, and arena loot cleared for whichever gate's run closes. Each gate's parts in a box now go first to pilots running that gate's operation when the box lies on its operation map, so a mixed Vashar/Korrath drop no longer diverts the guaranteed Siege Manifest part to a closer Signal Anomaly pilot. Adds a two-pilot mixed-drop test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Timerk
pushed a commit
that referenced
this pull request
Nov 25, 2026
Bring the #138 and #141 review fixes onto the Sylith branch, keeping the arena-loot check beside the per-gate run checks. Adds an M4 pickup case: a box with Vashar, Korrath and Sylith parts sends the guaranteed Sylith part to the Relay Intercept pilot and the rest to the nearest pilot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Timerk
added a commit
that referenced
this pull request
Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
The first galaxy gate: the Vashar Gate, a wave-challenge instance named after an alien faction.
Story. The occupying aliens are ferrying gate parts through our sectors to summon their Vashar allies. Pilots capture the parts, assemble the gate themselves and strike the Vashar staging fleet. Destroying its mothership sets the Vashar invasion back, which is why the gate can be run again.
Getting parts (20 per gate)
Signal Anomaly (Dr. Sato, on the Galaxy Gates page): while it is active, every M2 kill you contribute to carries a guaranteed part. Recovering 8 parts decodes the courier cache for +4 parts, 10,000 CR and 2 RP. One operation is available per gate; assembling the gate makes the next one available.
Random drops: M2–M4 aliens carry a part 8–20% of the time. Home-map and arena aliens carry none.
Parts sit in the normal loot box (violet, labeled with the gate-part count), take no cargo space, and can be recovered even with a full hold.
Running the gate
At Outpost 01, Assemble and open gate consumes 20 parts and opens the violet Vashar Gate near the station. Any pilot can fly through it (J). One run exists on the server at a time.
The arena (Vashar Rift) is a separate map with its own backdrop, rocks and a protected return gate to M1. It is not part of the connected-maps network.
7 waves of new aliens, which never appear on normal maps: Shardlings, Spireguards, and a final Vashar mothership that launches Shardling escorts every 25 s. Each extra pilot inside (up to four) adds half the base count, capped by the arena pool.
3 lives per pilot per run. Dying uses the normal rescue to Outpost 01; pilots with lives left can fly back in.
Victory pays every participant 150,000 CR + 6 RP + 15,000 x4 shots, plus a 20% chance of an LF-4 laser (delivered to storage; LF-4 stays unavailable in the shop). The rift then closes and returns anyone still inside after 90 s. A run collapses (parts lost) if nobody is inside for 120 s or every participant is out of lives.
The HUD shows the wave and remaining lives. The radar shows
VG, and the open gate is a navigation contact.Preview testing: allowlisted preview pilots (
DORBIT_PREVIEW_TOOLS/DORBIT_PREVIEW_PILOTS) see Preview: open gate without parts on the Galaxy Gates page.Station page: Galaxy Gates is no longer "coming soon". It shows gate parts, the run status, the Signal Anomaly briefing, and the accept, assemble and preview actions.
Compatibility
Network schema 21; clients and servers must match.
Gate progress is an optional
equipment.gatesfield, so save schema 8 is unchanged. Older builds reject saves containing it, so take a backup before deploying if you may roll back.tools/pilots.pyvalidates the field.The run itself is session state: a server restart ends an open run, and its parts are lost.
Integration verification
Tested gate head
651e5bb402816030192130e10b1c65be22c67f5cwith Godot 4.7.2. The disposable checkouts used #136 at4a26bea, #139 at6ce4c72and #140 at9b7b332. Each pair passedgit merge-tree --write-tree. Starting at the gate head, merging #139, #140 and #136 in that order also completed without manual resolution. Only the gate fix was pushed.1 GATE PARTmarker. The combat-effects test also checks delayed reveal, plural count and removal of the marker when ore remains.desk. Both groups survive the automatic merge.--print-protocol182e2cd9ad5c0c996a32116741a1cc6671bffece76963aad5d630ae475263e351b818052b11f43e4c21876beb9a9daa24edcc434846ee714ed3f881787b1ebc692d38542c86d044c172a4b0c65fb35dfbc396da080ebe776f46b05e8157932f4No manual rebase resolution was needed at these heads. The gate-only and four-PR RPC fixtures each reported two ObjectDB instances at process exit after all assertions passed.
Validation
New
tests/galaxy_gates_test.gd(198 checks) covers:state validation and the reward rules
authenticated operation acceptance, guaranteed M2 parts and part pickup with a full hold
cache completion, the assembly blocker and assembly, and one run at a time
entering the gate, lives, death and rejoining
every wave with group scaling, mothership escorts and the victory payout (credits, research, x4 shots and a forced LF-4 roll)
closing and returning pilots home
the preview tool allowlist, the station page and collapse when abandoned
Full Windows suite (
tools/check-game.py --suite windows) run locally. Two failures (checkpoint_trace_test,extras_batch_test) came from the benchmark store adapter'scommitoverride; they pass after the fix included here. The affected UI and menu suites were rerun after the final edits, andtests/pilots_test.pypasses. Linux-only server process tests are left to CI.I rendered the open gate at Outpost 01, a full arena wave, close-ups of the three new models and the Galaxy Gates page, and inspected them by eye.
Limitations / follow-ups
The three Vashar aliens are Blender models built from the supplied concepts: faceted obsidian crystal hulls, purple armor, violet seams and hot-pink weapon and hangar glow. They ship as 2K-textured GLBs with generated LODs, through the same export as the map aliens. The editable
.blendsources, the 4K maps, the build script and review renders are in the art archive undervashar-review/. Each carries a detail pass: irregular crystal facets and growths, layered armor with lit slits and nodes, vents and conduits, and for the mothership a tiled deck, radial seams, underside ribs and a hangar interior. They have about 14k, 26k and 36k triangles.All part counts, chances, stats, wave sizes, lives, timings and rewards are provisional until playtested.
One gate only. Future work: further faction gates, other equipment rewards, and an on-map invasion event where the aliens manage to set up a gate.
Review fixes
tools/pilots.pyaccepts and normalizes whole-valued float gate counters (for example7.0after a rollback that preserved the field), so provisioning and credential rotation keep working. A rollback round-trip fixture covers it.Validation: galaxy_gates_test 219 passed, combat_effects_test 41, pilot_persistence_test 37 + combat_journal 50, rpc_compatibility_test 17,
tests/pilots_test.py18 tests OK. In one of five galaxy_gates runs the existing 0.1 s LF-4 client-delivery check timed out while other Godot sessions loaded the machine. That check is untouched here (#142 already lengthens its wait).🤖 Generated with Claude Code