Repository navigation
Conversation
Move the official texts of StartCombatService up to the general combat buttons: the coexist-or-fight and remove-structures prompts, the combat thread intro and reminders, the Fog of War spectator thread, Space Cannon Offence and ANTI-FIGHTER BARRAGE buttons, start-of-space-combat buttons, Breach and Ahk Siever follow-ups and the official cards-info reminders. rollForDummyButton becomes spaceCannonForDummyButton(dummy, id, lang). Homebrew stays literal; English output is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Row 1-5a of the localization plan (
docs/LOCALIZATION_PLAN.md§5.0): the start of a combat. Stacked on #6306 (1-4d) → #6305 → #6302; this PR targets the 1-4d branch, so the diff shows 1-5a only.What moved (
combat.*keys,StartCombatService)selectfor Primacy or fleet pool), N'orr Supremacy, Nekro copy technology (and the Twilight's Fall singularity variant), The Reaping, Salvage Operations, the Mentak commander.Language: thread and Space Cannon texts follow the active player's channel language (
Lang.forCorrectChannel); cards-info reminders follow their owner (Lang.of(player)); per-player follow-ups go to that player's correct channel in their language.rollForDummyButton(dummy, id, label)is replaced byspaceCannonForDummyButton(dummy, id, lang)(an ICUselectover dummy or neutral);ButtonHelperTacticalActioncalls it. A private copy of the old helper stays for the Space Cannon Defence button insidegetGeneralCombatButtonsuntil 1-5b.Homebrew stays literal (Cymiae, War Stories, Kortali, Ghemina, Qhet, Moult, Secrets of the Weave, Ilyxum, Belkosea, Sarcosa, tk- units and the rest), as do the stored action summary and GM log. Not in this PR:
getGeneralCombatButtons(1-5b), the roll output and hit assignment.Ratchet
New class line
ti4.service.combat.StartCombatService 210(the remaining literals aregetGeneralCombatButtonsand homebrew).Visible changes
None: every English text is byte-identical.
Tests
StartCombatMessagesTest: each moved text against the old string expression, Fog of War off and on, the rebuilt thread intro and spectator messages, and the dummy Space Cannon button's id and label.mvn verifywith the Postgres tests: 3944 tests, 0 failures.🤖 Generated with Claude Code