feat: add city-wide troop training pipelines - #24
Merged
Merged
Conversation
Move durable FIFO ownership to cities while barracks operate parallel speed-scaled lanes. Reserve costs on placement and support full refunds for unstarted cancellations.
Scale collateral losses from actual army and militia casualties at a moderate rate, and preserve at least thirty percent of the settlement core population.
Expose public per-round and cumulative casualties while keeping undisclosed force strength private. Raise the military casualty multiplier to 1.0 and include thorough live battle summaries. Persist owner-unique army names, assign generated defaults, and add an owner-only rename RPC.
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.
Outcome
Moves troop training from independent barracks queues to one durable FIFO pipeline per city. Completed barracks process that pipeline in parallel and spawn each finished army at the barracks lane that trained it.
It also makes active combat readable in real time and introduces durable, player-editable army names.
What changed
Combat visibility and balance
Army names
Compatibility
This intentionally changes unreleased proto and persistence contracts. The matching UI/client work is in web PR #19.
Verification