Skip to content

Commit

Permalink
Crew pods with ModuleNonReentryRated can no longer complete orbital f…
Browse files Browse the repository at this point in the history
…light contracts (#2324)
  • Loading branch information
siimav authored Feb 4, 2024
1 parent 4508327 commit 9fb0ef2
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 1 deletion.
13 changes: 13 additions & 0 deletions GameData/RP-1/Contracts/Earth Crewed/CrewedScienceBasic.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,19 @@ CONTRACT_TYPE
disableOnStateChange = true
}

PARAMETER
{
name = HasNonReentryRatedParts
type = PartValidation
hideChildren = true
title = Vessel has no parts with the tag "not rated for reentry"

NONE
{
partModule = ModuleNonReentryRated
}
}

PARAMETER
{
name = Orbit
Expand Down
14 changes: 13 additions & 1 deletion GameData/RP-1/Contracts/Earth Crewed/FirstOrbitCrewed.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ CONTRACT_TYPE
title = Don't have an active optional crewed orbit contract.
}
REQUIREMENT
{
name = AcceptContract
Expand Down Expand Up @@ -108,6 +107,19 @@ CONTRACT_TYPE
title = Have 1 crewmember on board
hideChildren = true
}
PARAMETER
{
name = HasNonReentryRatedParts
type = PartValidation
hideChildren = true
title = Vessel has no parts with the tag "not rated for reentry"
NONE
{
partModule = ModuleNonReentryRated
}
}
PARAMETER
{
Expand Down
13 changes: 13 additions & 0 deletions GameData/RP-1/Contracts/Earth Crewed/OrbitalFlight1.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,19 @@ CONTRACT_TYPE
disableOnStateChange = true
}

PARAMETER
{
name = HasNonReentryRatedParts
type = PartValidation
hideChildren = true
title = Vessel has no parts with the tag "not rated for reentry"

NONE
{
partModule = ModuleNonReentryRated
}
}

PARAMETER
{
name = Orbit
Expand Down
13 changes: 13 additions & 0 deletions GameData/RP-1/Contracts/Earth Crewed/OrbitalTestFlight.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,19 @@ CONTRACT_TYPE
}
}
PARAMETER
{
name = HasNonReentryRatedParts
type = PartValidation
hideChildren = true
title = Vessel has no parts with the tag "not rated for reentry"
NONE
{
partModule = ModuleNonReentryRated
}
}
PARAMETER
{
name = NoCrew
Expand Down
13 changes: 13 additions & 0 deletions GameData/RP-1/Contracts/Earth Crewed/OrbitalTestFlightAnimal.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,19 @@ CONTRACT_TYPE
hideChildren = true
}

PARAMETER
{
name = HasNonReentryRatedParts
type = PartValidation
hideChildren = true
title = Vessel has no parts with the tag "not rated for reentry"

NONE
{
partModule = ModuleNonReentryRated
}
}

PARAMETER
{
name = Orbit
Expand Down

0 comments on commit 9fb0ef2

Please sign in to comment.