Skip to content

Commit

Permalink
Merge branch 'KSP-RO:master' into CrewedMars
Browse files Browse the repository at this point in the history
  • Loading branch information
CXG-2827 authored Aug 28, 2024
2 parents 546af23 + 6f14f3f commit 9ec1a79
Show file tree
Hide file tree
Showing 41 changed files with 3,623 additions and 1,748 deletions.
266 changes: 266 additions & 0 deletions GameData/RP-1/Contracts/Early Space Stations/Early Station Science.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,266 @@
CONTRACT_TYPE
{
name = CollectSecondGenerationStationScience
title = Collect Second Generation Station Science
group = EarlyEarthSpaceStation

description = <b>Program: Crewed Orbit<br>Type: <color=red>CAPSTONE</color></b><br><br>Humans staying in space for longer durations allows for different types of experiments from what we can do with unmanned probes. Utilize your stations to complete these experiments. NOTE: You may have already collected some or all of this science. If you have, you won't need to collect it again.
synopsis = Collect second generation station science
completedMessage = This is loads of data! Scientists are extremely happy with the results of your efforts.
sortKey = 603
cancellable = false
declinable = false
autoAccept = true
minExpiry = 0
maxExpiry = 0
maxCompletions = 1
maxSimultaneous = 1
deadline = 0
targetBody = HomeWorld()
DATA
{
type = int
optionalRep = 100 // Reputation for additional science.
index = $RepeatEarlySpaceStation_Count + 0
}
BEHAVIOUR // Iterate the repeat count to ensure that the next contract tests for an increase in science progress
{
name = IncrementTheCount
type = Expression
PARAMETER_COMPLETED
{
parameter = IteratorCheck1
RepeatEarlySpaceStation_Count = $RepeatEarlySpaceStation_Count + 1
}
}
BEHAVIOUR
{
name = IncrementTheCount
type = Expression
PARAMETER_COMPLETED
{
parameter = IteratorCheck2
RepeatEarlySpaceStation_Count = $RepeatEarlySpaceStation_Count + 1
}
}
BEHAVIOUR
{
name = IncrementTheCount
type = Expression
PARAMETER_COMPLETED
{
parameter = IteratorCheck3
RepeatEarlySpaceStation_Count = $RepeatEarlySpaceStation_Count + 1
}
}
// ************ REWARDS ************
prestige = Trivial // 1.0x
advanceFunds = 0
rewardScience = 0
rewardFunds = 0
failureFunds = 0
rewardReputation = 1000 // between 1000 and 2200 depending on optionals, likely minimum 1700
failureReputation = 0 // was @rewardReputation
// ************ REQUIREMENTS ************
REQUIREMENT
{
name = ProgramActive
type = ProgramActive
program = EarlyEarthSpaceStation
}
REQUIREMENT
{
name = CompleteContract
type = CompleteContract
contractType = CollectProtoStationScience
}
PARAMETER
{
name = nuclearEmulsion
type = RP1CollectScience
optional = true
rewardReputation = @/optionalRep
targetBody = HomeWorld()
situation = InSpaceLow
experiment = RP0nuclearEmulsion
fractionComplete = 1
}
PARAMETER
{
name = stellarAstronomy
type = RP1CollectScience
optional = true
rewardReputation = @/optionalRep
targetBody = HomeWorld()
situation = InSpaceLow
experiment = RP0uvStellarAstronomy
fractionComplete = 1
}
PARAMETER
{
name = stellarXRay
type = RP1CollectScience
optional = true
rewardReputation = @/optionalRep
targetBody = HomeWorld()
situation = InSpaceLow
experiment = RP0uvXRayStellarPhotography
fractionComplete = 1
}
PARAMETER
{
name = uvAirglow
type = RP1CollectScience
optional = true
rewardReputation = @/optionalRep
targetBody = HomeWorld()
situation = InSpaceLow
experiment = RP0uvAirglowHorizonPhotography
fractionComplete = 1
}
PARAMETER
{
name = particleCollection
type = RP1CollectScience
optional = true
rewardReputation = @/optionalRep
targetBody = HomeWorld()
situation = InSpaceLow
experiment = RP0particleCollection
fractionComplete = 1
}
PARAMETER
{
name = uvPanorama
type = RP1CollectScience
optional = true
rewardReputation = @/optionalRep
targetBody = HomeWorld()
situation = InSpaceLow
experiment = RP0uvPanorama
fractionComplete = 1
}
PARAMETER
{
name = circadianRhythm
type = RP1CollectScience
optional = true
rewardReputation = @/optionalRep
targetBody = HomeWorld()
situation = InSpaceLow
experiment = RP0gnatMiceCircadianRhythm
fractionComplete = 1
}
PARAMETER
{
name = xRayMapping
type = RP1CollectScience
optional = true
rewardReputation = @/optionalRep
targetBody = HomeWorld()
situation = InSpaceLow
experiment = RP0galacticXRayMapping
fractionComplete = 1
}
PARAMETER
{
name = zeroGFlammability
type = RP1CollectScience
optional = true
rewardReputation = @/optionalRep
targetBody = HomeWorld()
situation = InSpaceLow
experiment = RP0zeroGFlammability
fractionComplete = 1
}
PARAMETER
{
name = compositeCasting
type = RP1CollectScience
optional = true
rewardReputation = @/optionalRep
targetBody = HomeWorld()
situation = InSpaceLow
experiment = RP0compositeCasting
fractionComplete = 1
}
PARAMETER
{
name = crystalGrowth
type = RP1CollectScience
optional = true
rewardReputation = @/optionalRep
targetBody = HomeWorld()
situation = InSpaceLow
experiment = RP0galliumArsenideCrystalGrowth
fractionComplete = 1
}
PARAMETER
{
name = earthResource
type = RP1CollectScience
optional = true
rewardReputation = @/optionalRep
targetBody = HomeWorld()
situation = InSpaceLow
experiment = RP0earthResourcesExperimentPackage
fractionComplete = 1
}
PARAMETER // Check progress to keep the repeatable contract up to date
{
name = IteratorCheck1
type = RP1CollectScience
title = Complete the Multi-Month Space habitation experiment
targetBody = HomeWorld()
situation = InSpaceLow
experiment = RP0longDurationHabit2
fractionComplete = 0.3
hidden = true
}
PARAMETER
{
name = IteratorCheck2
type = RP1CollectScience
title = Complete the Multi-Month Space habitation experiment
targetBody = HomeWorld()
situation = InSpaceLow
experiment = RP0longDurationHabit2
fractionComplete = 0.45
hidden = true
}
PARAMETER
{
name = IteratorCheck3
type = RP1CollectScience
title = Complete the Multi-Month Space habitation experiment
targetBody = HomeWorld()
situation = InSpaceLow
experiment = RP0longDurationHabit2
fractionComplete = 0.6
hidden = true
}
PARAMETER
{
name = Multi-Month Habitation Analysis
type = RP1CollectScience
title = Complete 2 years worth of the Multi-Month Space habitation experiment
targetBody = HomeWorld()
situation = InSpaceLow
experiment = RP0longDurationHabit2
fractionComplete = 1
}
}
Loading

0 comments on commit 9ec1a79

Please sign in to comment.