Skip to content

Add contract-earned permanent training-rate bonus - #2875

Open
chambm wants to merge 1 commit into
KSP-RO:masterfrom
chambm:feat/training-rate-bonus
Open

Add contract-earned permanent training-rate bonus#2875
chambm wants to merge 1 commit into
KSP-RO:masterfrom
chambm:feat/training-rate-bonus

Conversation

@chambm

@chambm chambm commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Lets a contract permanently boost the astronaut training rate as a reward.

CrewHandler gains a persisted TrainingRateBonus multiplier (1.0 = none), contributed to the RateTraining currency query via OnCurrencyModifierQuery -- the same mechanism leader/strategy training effects use. It flows through CalculateBuildRate's existing rate line, so it composes with those modifiers and covers both proficiency and mission training. In-progress courses are recalculated when it changes, and it's saved with the game.

A new BoostTrainingRate contract behaviour multiplies the bonus on completion (multiplier cfg field, stacks multiplicatively across contracts).

Intended as a reward for non-exploration contracts that represent astronaut training.

CrewHandler gains a persisted TrainingRateBonus multiplier, contributed to
the RateTraining currency query (OnCurrencyModifierQuery) so it flows
through CalculateBuildRate's existing rate line and composes with
leader/strategy training modifiers. Covers proficiency and mission
training, and recalculates in-progress courses when it changes.

New BoostTrainingRate contract behaviour multiplies the bonus on
completion (cfg multiplier, stacks multiplicatively).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant