Skip to content

Commit

Permalink
Sir Mortimer, Pls don't V2.0
Browse files Browse the repository at this point in the history
Proper fix. Turns out i was right in my initial guess. Patch ordering yo!
  • Loading branch information
UsernamesAreAlwaysTaken committed Jun 8, 2019
1 parent dfa3738 commit 2f61cdf
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions GameData/KerbalismConfig/System/ScienceRework/NewScience.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -543,14 +543,12 @@
// the surface experiments.
// ============================================================================

// add marker to all ROCScience_* experiments
@EXPERIMENT_DEFINITION:HAS[#id[ROCScience_*]]:NEEDS[SquadExpansion/Serenity,FeatureScience]:FOR[zzzKerbalism] { excludePatch = true }
// add marker to all deployed* experiments
@EXPERIMENT_DEFINITION:HAS[#id[deployed*]]:NEEDS[SquadExpansion/Serenity,FeatureScience]:FOR[zzzKerbalism] { excludePatch = true }
@EXPERIMENT_DEFINITION:HAS[#id[deployed*]]:NEEDS[SquadExpansion/Serenity,FeatureScience]:AFTER[zzzKerbalism] { excludePatch = true }
// patch all experiments without marker
@EXPERIMENT_DEFINITION:HAS[~excludePatch]:NEEDS[FeatureScience]:FOR[zzzKerbalism] { @scienceCap = #$baseValue$ }
@EXPERIMENT_DEFINITION:HAS[~excludePatch]:NEEDS[FeatureScience]:AFTER[zzzKerbalism] { @scienceCap = #$baseValue$ }
// remove marker
@EXPERIMENT_DEFINITION:HAS[#excludePatch]:NEEDS[SquadExpansion/Serenity,FeatureScience]:FOR[zzzKerbalism] { !excludePatch = true }
@EXPERIMENT_DEFINITION:HAS[#excludePatch]:NEEDS[SquadExpansion/Serenity,FeatureScience]:AFTER[zzzKerbalism] { !excludePatch = del }

// ============================================================================
// adds sensors to gravioli/radiation/temperature/pressure to all parts that use
Expand Down

0 comments on commit 2f61cdf

Please sign in to comment.