Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make targeted moon landing easier #2425

Merged
merged 4 commits into from
Aug 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
165 changes: 149 additions & 16 deletions GameData/RP-1/Contracts/Lunar Crewed/CrewedMoonLandingTargeted.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CONTRACT_TYPE

description = <b>Program: Crewed Lunar Exploration<br>Type: <color=red>CAPSTONE</color></b><br><br>Design and launch a spacecraft with at least one crew member to land at a specific location on the Moon. Explore the area for at least @/LandDur and then return safely to Earth.&br;&br;<b>Number of Contracts Completed: @index / @maxCompletions</b>

genericDescription = Launch a crewed single-person spacecraft and land it on a specific lunar biome. Explore the area for the specified amount of time and then return safely to Earth.
genericDescription = Launch a spacecraft with at least one crew member and land it on a specific lunar biome. Explore the area for the specified amount of time and then return safely to Earth.

synopsis = Land a crew on a specific biome on the Moon and return safely to Earth

Expand All @@ -28,12 +28,12 @@ CONTRACT_TYPE
targetBody = Moon

// ************ REWARDS ************
prestige = Trivial // 1.0x
prestige = Trivial // 1.0x
advanceFunds = 0
rewardScience = 0
rewardFunds = 0
failureFunds = 0
rewardReputation = 1000+(250 * @/index)
rewardReputation = 750+(250 * @/index)
failureReputation = 0


Expand Down Expand Up @@ -153,7 +153,7 @@ CONTRACT_TYPE
{
name = vesselGroup
type = VesselParameterGroup
title = Crewed lunar landing
title = Crewed targeted lunar landing

PARAMETER
{
Expand Down Expand Up @@ -221,14 +221,15 @@ CONTRACT_TYPE
{
name = TargetedLanding
type = Any
completeInSequence = true
uriyuzhui marked this conversation as resolved.
Show resolved Hide resolved

PARAMETER
{
name = Mare Tranquillitatis
type = VisitWaypoint
index = 0
distance = 1000.0
title = Land within 1km of @/String11
distance = 25000.0
title = Land within 25km of @/String11
showMessages = true
disableOnStateChange = true
hideChildren = true
Expand All @@ -239,8 +240,8 @@ CONTRACT_TYPE
name = Oceanus Procellarum
type = VisitWaypoint
index = 1
distance = 1000.0
title = Land within 1km of @/String12
distance = 25000.0
title = Land within 25km of @/String12
showMessages = true
disableOnStateChange = true
hideChildren = true
Expand All @@ -251,8 +252,8 @@ CONTRACT_TYPE
name = Fra Mauro
type = VisitWaypoint
index = 2
distance = 1000.0
title = Land within 1km of @/String14
distance = 25000.0
title = Land within 25km of @/String14
showMessages = true
disableOnStateChange = true
hideChildren = true
Expand All @@ -263,8 +264,8 @@ CONTRACT_TYPE
name = Hadley-Apennines
type = VisitWaypoint
index = 3
distance = 1000.0
title = Land within 1km of @/String15
distance = 25000.0
title = Land within 25km of @/String15
showMessages = true
disableOnStateChange = true
hideChildren = true
Expand All @@ -275,8 +276,8 @@ CONTRACT_TYPE
name = Descartes
type = VisitWaypoint
index = 4
distance = 1000.0
title = Land within 1km of @/String16
distance = 25000.0
title = Land within 25km of @/String16
showMessages = true
disableOnStateChange = true
hideChildren = true
Expand All @@ -287,8 +288,8 @@ CONTRACT_TYPE
name = Taurus-Littrow
type = VisitWaypoint
index = 5
distance = 1000.0
title = Land within 1km of @/String17
distance = 25000.0
title = Land within 25km of @/String17
showMessages = true
disableOnStateChange = true
hideChildren = true
Expand All @@ -306,6 +307,138 @@ CONTRACT_TYPE
}
}

PARAMETER
{
name = OptVesselGroup
type = VesselParameterGroup
title = Demonstrate precision landing and land within 3km of target locations
uriyuzhui marked this conversation as resolved.
Show resolved Hide resolved
rewardReputation = 50
rewardScience = 5
optional = true
hideChildren = false

PARAMETER
{
name = LandCrewed
type = All
title = Land the crewed lander
disableOnStateChange = true
hideChildren = true

PARAMETER
{
title = Have at least 1 crewmember on board
name = TwoCrew
type = HasCrew
minCrew = 1
crewOnly = true
hideChildren = true
}

PARAMETER
{
title = Land the crewed lander
name = ReachState
type = ReachState
targetBody = Moon
disableOnStateChange = true
situation = LANDED
hideChildren = true
}
}


PARAMETER
{
title = Land within 3km of target locations
name = TargetedLandingOptional
type = Any
hideChildren = true
completeInSequence = true
uriyuzhui marked this conversation as resolved.
Show resolved Hide resolved

PARAMETER
{
name = Mare Tranquillitatis
type = VisitWaypoint
index = 0
distance = 3000.0
title = Land within 3km of @/String11
showMessages = true
disableOnStateChange = true
hideChildren = true
}

PARAMETER
{
name = Oceanus Procellarum
type = VisitWaypoint
index = 1
distance = 3000.0
title = Land within 3km of @/String12
showMessages = true
disableOnStateChange = true
hideChildren = true
}

PARAMETER
{
name = Fra Mauro
type = VisitWaypoint
index = 2
distance = 3000.0
title = Land within 3km of @/String14
showMessages = true
disableOnStateChange = true
hideChildren = true
}

PARAMETER
{
name = Hadley-Apennines
type = VisitWaypoint
index = 3
distance = 3000.0
title = Land within 3km of @/String15
showMessages = true
disableOnStateChange = true
hideChildren = true
}

PARAMETER
{
name = Descartes
type = VisitWaypoint
index = 4
distance = 3000.0
title = Land within 3km of @/String16
showMessages = true
disableOnStateChange = true
hideChildren = true
}

PARAMETER
{
name = Taurus-Littrow
type = VisitWaypoint
index = 5
distance = 3000.0
title = Land within 3km of @/String17
showMessages = true
disableOnStateChange = true
hideChildren = true
}
}

PARAMETER
{
name = ReturnHome
type = RP1ReturnHome
title = Return home safely
hideChildren = true
completeInSequence = true
}
}

BEHAVIOUR
{
name = WaypointGenerator
Expand Down