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 all commits
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
238 changes: 174 additions & 64 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 All @@ -163,15 +163,6 @@ CONTRACT_TYPE
hideChildren = true
}

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

PARAMETER
{
Expand Down Expand Up @@ -205,6 +196,79 @@ CONTRACT_TYPE
targetBody = Moon
situation = LANDED
}

PARAMETER
{
title = Land within 10km of ANY target location
name = TargetedLanding
type = Any

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

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

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

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

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

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

PARAMETER
{
Expand All @@ -216,86 +280,132 @@ CONTRACT_TYPE
completionText = Exploration completed, you may return to Earth when ready.
}
}
}

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

PARAMETER
{
name = OptVesselGroup
type = VesselParameterGroup
title = Demonstrate precision landing
rewardReputation = 50
rewardScience = 5
optional = true
hideChildren = false

PARAMETER
{
name = LandCrewed
type = All
title = Land a crewed vessel within 3km of ANY target location
disableOnStateChange = true
hideChildren = true

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

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

PARAMETER
{
title = Land within 3km of ANY target location
name = TargetedLandingOptional
type = Any

hideChildren = true
completeInSequence = true

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

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

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

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

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

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

PARAMETER
{
name = ReturnHome
Expand Down