Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/pehvbot/LRTR
Browse files Browse the repository at this point in the history
  • Loading branch information
pehvbot committed Nov 18, 2021
2 parents 250497f + 45864b4 commit 9f1fd47
Show file tree
Hide file tree
Showing 54 changed files with 2,795 additions and 1,413 deletions.
17 changes: 10 additions & 7 deletions GameData/LRTR/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
// there are dependencies between features. I've tried to clean them up but use at your own risk.
//
// it uses the directory name NOT the mod name. This is to force these changes before ModuleManager patches.
// you can add 'enabledBy = <mod directory name>' to any of these features to enable them based on your install
// you can add 'disabledBy = <mod directory name>' to any of these features to disabled them based on your install
// you can also add 'disabledBy = !<mod directory name>' to disable a feature without the needed mod
// you can also add 'disabledBy = !<mod directory name>' to disable a feature without the needed mod (does not work with enabledBy)
// disabledBy superseeds enabledBy
//
LRTRCONFIG
{
Expand All @@ -23,8 +25,9 @@ LRTRCONFIG
}
Rescale
{
enabled = true
disabledBy = !RealSolarSystem
enabled = false
enabledBy = RealSolarSystem
disabledBy = SMURFF
}
CustomBarnKit
{
Expand All @@ -36,17 +39,17 @@ LRTRCONFIG
}
BreakingGround
{
enabled = false //work in progress, leave disabled.
enabled = true //work in progress, leave disabled.
}
BGRobotics
{
//Rescaled Breaking Ground robotic parts have a serious bug when using symmetry mode on 1.9.1 or less
//Recommend leaving disabled on older versions so robotic parts are not rescaled.
enabled = true
enabled = false
}
SimpleISRU
{
//reverts resources to just Ore for stock game, ore, water, and oxygen for LRTRKerbalism
enabled = true
//reverts resources to just Ore for stock game, ore, water, and oxygen for LRTRKerbalism Simple config
enabled = false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,6 @@ CONTRACT_TYPE:NEEDS[LRTRContracts]
hideChildren = true
}
PARAMETER
{
name = HasComSatPayload
type = PartValidation
part = RelayAntenna50
title = Have an RA-15 Relay Antenna.
hideChildren = true
}
PARAMETER
{
name = ReachSpecificOrbit
type = ReachSpecificOrbit
Expand Down Expand Up @@ -234,3 +226,32 @@ CONTRACT_TYPE:NEEDS[LRTRContracts]
}
}
}

@CONTRACT_TYPE[GEORepeatComSats]:NEEDS[LRTRContracts,!RealSolarSystem]
{
@PARAMETER[AdvComSat]
{
PARAMETER
{
name = HasAntenna
type = HasAntenna
minAntennaPower = 15000000000
antennaType = RELAY
title = Have a relay antenna of sufficiant power, such as an RA-15 Relay Antenna
}
}
}
@CONTRACT_TYPE[GEORepeatComSats]:NEEDS[LRTRContracts,RealSolarSystem]
{
@PARAMETER[AdvComSat]
{
PARAMETER
{
name = HasAntenna
type = HasAntenna
minAntennaPower = 300000000000
antennaType = RELAY
title = Have a relay antenna of sufficiant power, such as an RA-15 Relay Antenna
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,6 @@ CONTRACT_TYPE:NEEDS[LRTRContracts]

vessel = GEO CommSat IV
}
PARAMETER
{
name = HasComSatPayload
type = PartValidation
part = RelayAntenna5
title = Have an RA-2 Relay Antenna.
hideChildren = true
}
PARAMETER
{
name = ReachSpecificOrbit
Expand Down Expand Up @@ -183,14 +175,6 @@ CONTRACT_TYPE:NEEDS[LRTRContracts]
name = KSCConnectivity
type = KSCConnectivity
}
PARAMETER
{
name = HasComSatPayload
type = PartValidation
part = RelayAntenna5
title = Have an RA-2 Relay Antenna.
hideChildren = true
}
PARAMETER
{
name = ReachSpecificOrbit
Expand Down Expand Up @@ -250,14 +234,6 @@ CONTRACT_TYPE:NEEDS[LRTRContracts]
name = KSCConnectivity
type = KSCConnectivity
}
PARAMETER
{
name = HasComSatPayload
type = PartValidation
part = RelayAntenna5
title = Have an RA-2 Relay Antenna.
hideChildren = true
}
PARAMETER
{
name = ReachSpecificOrbit
Expand Down Expand Up @@ -317,14 +293,6 @@ CONTRACT_TYPE:NEEDS[LRTRContracts]
name = KSCConnectivity
type = KSCConnectivity
}
PARAMETER
{
name = HasComSatPayload
type = PartValidation
part = RelayAntenna5
title = Have an RA-2 Relay Antenna.
hideChildren = true
}
PARAMETER
{
name = ReachSpecificOrbit
Expand Down Expand Up @@ -367,3 +335,33 @@ CONTRACT_TYPE:NEEDS[LRTRContracts]
coverage = 0.8
}
}

@CONTRACT_TYPE[GeoComSatNetwork]:NEEDS[LRTRContracts,!RealSolarSystem]
{
@PARAMETER[GEOCommSat*],*
{
PARAMETER
{
name = HasAntenna
type = HasAntenna
minAntennaPower = 2000000000
antennaType = RELAY
title = Have a relay antenna of sufficiant power, such as an RA-2 Relay Antenna
}
}
}
@CONTRACT_TYPE[GeoComSatNetwork]:NEEDS[LRTRContracts,RealSolarSystem]
{
@PARAMETER[GEOCommSat*],*
{
PARAMETER
{
name = HasAntenna
type = HasAntenna
minAntennaPower = 40000000000
antennaType = RELAY
title = Have a relay antenna of sufficiant power, such as an RA-2 Relay Antenna
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ CONTRACT_TYPE:NEEDS[LRTRContracts]
title = Complete 'Commercial Communications Satellite (Early)' contract at least @minCount times
}

REQUIREMENT
{
name = PartUnlocked
type = PartUnlocked
part = RelayAntenna5
}
REQUIREMENT
{
name = AcceptContract
Expand Down Expand Up @@ -186,14 +180,6 @@ CONTRACT_TYPE:NEEDS[LRTRContracts]
hideChildren = true
}
PARAMETER
{
name = HasComSatPayload
type = PartValidation
part = RelayAntenna5
title = Have an RA-2 Relay Antenna.
hideChildren = true
}
PARAMETER
{
name = ReachSpecificOrbit
type = ReachSpecificOrbit
Expand Down Expand Up @@ -240,3 +226,32 @@ CONTRACT_TYPE:NEEDS[LRTRContracts]
}
}
}

@CONTRACT_TYPE[MolniyaRepeatComSats]:NEEDS[LRTRContracts,!RealSolarSystem]
{
@PARAMETER[AdvComSat]
{
PARAMETER
{
name = HasAntenna
type = HasAntenna
minAntennaPower = 2000000000
antennaType = RELAY
title = Have a relay antenna of sufficiant power, such as an RA-2 Relay Antenna
}
}
}
@CONTRACT_TYPE[MolniyaRepeatComSats]:NEEDS[LRTRContracts,RealSolarSystem]
{
@PARAMETER[AdvComSat]
{
PARAMETER
{
name = HasAntenna
type = HasAntenna
minAntennaPower = 40000000000
antennaType = RELAY
title = Have a relay antenna of sufficiant power, such as an RA-2 Relay Antenna
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@ CONTRACT_TYPE:NEEDS[LRTRContracts]
type = CompleteContract
contractType = FirstTundraSat
}
REQUIREMENT
{
name = PartUnlocked
type = PartUnlocked
part = RelayAntenna5
}
REQUIREMENT
{
name = CompleteContract
Expand Down Expand Up @@ -186,14 +180,6 @@ CONTRACT_TYPE:NEEDS[LRTRContracts]
hideChildren = true
}
PARAMETER
{
name = HasComSatPayload
type = PartValidation
part = RelayAntenna5
title = Have an RA-2 Relay Antenna.
hideChildren = true
}
PARAMETER
{
name = ReachSpecificOrbit
type = ReachSpecificOrbit
Expand Down Expand Up @@ -240,3 +226,32 @@ CONTRACT_TYPE:NEEDS[LRTRContracts]
}
}
}

@CONTRACT_TYPE[TundraRepeatComSats]:NEEDS[LRTRContracts,!RealSolarSystem]
{
@PARAMETER[AdvComSat]
{
PARAMETER
{
name = HasAntenna
type = HasAntenna
minAntennaPower = 2000000000
antennaType = RELAY
title = Have a relay antenna of sufficiant power, such as an RA-2 Relay Antenna
}
}
}
@CONTRACT_TYPE[TundraRepeatComSats]:NEEDS[LRTRContracts,RealSolarSystem]
{
@PARAMETER[AdvComSat]
{
PARAMETER
{
name = HasAntenna
type = HasAntenna
minAntennaPower = 40000000000
antennaType = RELAY
title = Have a relay antenna of sufficiant power, such as an RA-2 Relay Antenna
}
}
}
22 changes: 11 additions & 11 deletions GameData/LRTR/contracts/Early Satellites/Atmosphere Analysis.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,6 @@ CONTRACT_TYPE:NEEDS[LRTRContracts]
minApA = Round(Random( Round(HomeWorld().AtmosphereAltitude() * 3, 50000), Round(HomeWorld().AtmosphereAltitude() * 3.5, 50000)), 1000)
disableOnStateChange = true
title = Reach orbit within the parameters
}
PARAMETER
{
name = CollectScience
type = CollectScience
situation = InSpaceLow
experiment = barometerScan
experiment = temperatureScan
recoveryMethod = RecoverOrTransmit
title = Run a Temperature Scan and Barometer Scan and return the science to the KSC

PARAMETER
{
name = Duration
Expand All @@ -102,5 +91,16 @@ CONTRACT_TYPE:NEEDS[LRTRContracts]
completionText = Stable Orbit: Confirmed
}
}
PARAMETER
{
name = CollectScience
type = CollectScience
situation = InSpaceLow
experiment = barometerScan
experiment = temperatureScan
recoveryMethod = RecoverOrTransmit
title = Run a Temperature Scan and Barometer Scan and return the science to the KSC

}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -198,15 +198,6 @@ CONTRACT_TYPE:NEEDS[LRTRContracts]
hideChildren = true
}
PARAMETER
{
name = HasComSatPayload
type = PartValidation
part = HighGainAntenna5
part = HighGainAntenna5_v2
title = Have an HG-5 High Gain Antenna.
hideChildren = true
}
PARAMETER
{
name = Orbit
type = Orbit
Expand Down Expand Up @@ -257,3 +248,26 @@ CONTRACT_TYPE:NEEDS[LRTRContracts]
}
}
}

@CONTRACT_TYPE[EarlyComSat]:NEEDS[LRTRContracts,!RealSolarSystem]
{
PARAMETER
{
name = HasAntenna
type = HasAntenna
minAntennaPower = 5000000
antennaType = RELAY
title = Deploy a relay antenna of sufficiant power, such as an HG-5 High Gain Antenna
}
}
@CONTRACT_TYPE[EarlyComSat]:NEEDS[LRTRContracts,RealSolarSystem]
{
PARAMETER
{
name = HasAntenna
type = HasAntenna
minAntennaPower = 100000000
antennaType = RELAY
title = Deploy a relay antenna of sufficiant power, such as an HG-5 High Gain Antenna
}
}
Loading

0 comments on commit 9f1fd47

Please sign in to comment.