Repository navigation
feat(guns): Lance is the home gun; Scatter and Seekers run on a limited charge - #43
Merged
Merged
Conversation
…run on a charge The main gun is no longer a picked ship system. From sector 3 the ship flies Lance, and Q (or the touch swap key) steps Lance -> Scatter -> Seekers -> Lance. One charge meter (SPECIAL_GUN_CHARGE, gameplay clock) pays for the specials: it drains while one is out (full = 10 s) and hands back Lance at empty, refills on Lance over 30 s plus 0.02 per kill, needs 0.2 to leave Lance, and starts full every sector and after a respawn or checkpoint load. It is never saved. - ShipSystemsRuntime owns the gun and the charge; GUN_SWAP, the swap cooldown and the fire silence are gone. - HUD: gun name and charge bar under the reserve ships (amber draining, cyan refilling, tick at the threshold); the touch swap key mirrors it. - Removed the gun slot from ShipSystems, the sector-2 pick, the refit bay gun tile, the pause SYSTEMS gun row and the gun in save-slot labels. Old saves with a gun field load with it ignored. - Boss balance script measures Lance only (--guns removed). - Browser harness snapshot exposes the gun and charge for e2e. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…Lance Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Nov 13, 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.
Being able to swap freely between all three main guns made the game too easy, and the "CHOOSE YOUR MAIN GUN" window is no longer wanted.
Now Lance is always the home gun from sector 3.
Q(or the touch swap key) borrows Scatter or Seekers on a charge: a full meter lasts 10 s, the gun drops back to Lance when it is empty, and the meter refills only on Lance (30 s, a little faster per kill). Leaving Lance needs at least a fifth of the meter. Sectors 1–2 are unchanged.Q, follow in separate PRs.Proof: typecheck, lint, format, knip, unit tests, build and bundle check pass; Playwright desktop + mobile 97 passed (5 existing skips), including a new sector-3 test that drains a special gun back to Lance; HUD, pause panel and refit bay checked in screenshots on desktop and phone.
Reviewed with sol-loop: 1 round with gpt-6.1-sol. Sol verdict: approved
Created with Claude Opus 5.5 and Claude Fable 5.2 in Claude Code.
🤖 Generated with Claude Code