Add artifact win condition #3
Reference in New Issue
Block a user
Delete Branch "feature/win-condition-artifacts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Artifacts: x/y.world.tomlunder[artifacts]:artifact_chance_formula(formula, x = station level) andartifact_win_count(integer).Changes
WorldConfig.h— newWorldArtifactssub-structConfigLoader.cpp— parses[artifacts]sectionworld.toml(app + test) — new[artifacts]sectionSchematicChoiceOption.h—Artifactadded toSchematicTypeenumSimulation.h/.cpp— artifact count + win state, accessors, reset,generateSchematicChoices,applySchematicChoiceArtifactCountChangedEvent.h,WinEvent.h— two new eventsGameWorldView.h/.cpp— polls artifact count and win state, fires eventsHeaderBar.h/.cpp— showsArtifacts: x/ylabelMainWindow.h/.cpp— handlesWinEvent, shows win screenSchematicChoiceDialog.cpp— renders Artifact card without unlock annotationsrc/test/ArtifactWinConditionTest.cpp— 11 new tests