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

Venus surface rework #2317

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
112 changes: 112 additions & 0 deletions GameData/RP-1/Contracts/Venus/Venus Cloud Probe.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
CONTRACT_TYPE
{
name = probeVenusClouds
title = Venus Cloud Probe
group = VenusSurfaceExp
agent = Surveys

description = <b>Program: Venus Surface Exploration<br>Type: <color=green>Required (3 of 5 Advanced)</color></b><br><br>Send a probe designed to loiter in the Venusian clouds through parachutes or other means. Note: This craft will be lost on completion since timewarp is limited in atmosphere. <br>Historical example: Vega 1 (1500kg, Proton 8K82K) launched in January of 1987<br>

synopsis = Send an uncrewed probe into the Venusian cloud layer

completedMessage = Congratulations! The probe is following the Venusian winds.

sortKey = 1100

cancellable = true
declinable = true
autoAccept = false
minExpiry = 0
maxExpiry = 0
maxCompletions = 1
maxSimultaneous = 1
deadline = 0

targetBody = Venus


// ************ REWARDS ************
prestige = Trivial // 1.0x
advanceFunds = 0
rewardScience = 0
rewardFunds = 0
failureFunds = 0
rewardReputation = 250
failureReputation = 0 // was @rewardReputation

// ************ REQUIREMENTS ************

REQUIREMENT
{
name = ProgramActive
type = ProgramActive
program = VenusSurfaceExp
}

// ************ PARAMETERS ************

PARAMETER
{
name = VesselGroup
type = VesselParameterGroup
title = Atmospheric probe Venus
define = ProbeVenusCloud

PARAMETER
{
name = Crewmembers
type = HasCrew
minCrew = 0
maxCrew = 0
title = Uncrewed
hideChildren = true
}
PARAMETER
{
name = SlowDescent
type = ReachState
maxAltitude = 60000
minAltitude = 45000
minRateOfClimb = -10
maxRateOfClimb = 10
situation = FLYING

title = Slow your descent to 10 m/s while within the Venus cloud layer.

disableOnStateChange = true

PARAMETER
{
name = Duration
type = Duration
duration = 2m
preWaitText = Slow descent.
waitingText = Gathering atmospheric data
}
}
}
BEHAVIOUR
{
name = TransferVessel
type = DestroyVessel
onState = CONTRACT_SUCCESS
vessel = ProbeVenusCloud
}

BEHAVIOUR
{
name = VesselDestroyed
type = DialogBox
DIALOG_BOX
{
title = Vessel Successfully Inserted
condition = CONTRACT_SUCCESS
position = CENTER
width = 0.5
TEXT
{
text = The probe is transmitting valuable wind data from the cloud layer.
}
}
}
}
83 changes: 83 additions & 0 deletions GameData/RP-1/Contracts/Venus/Venus Landing Adv.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
CONTRACT_TYPE
{
name = landingVenusAdv
title = Venus Advanced Landing
group = VenusSurfaceExp
agent = Surveys

description = <b>Program: Venus Surface Exploration<br>Type: <color=green>Required (3 of 5 Advanced)</color></b><br><br>Perform a more detailed analysis of the Venutian surface. &br;&br;It is very hot on Venus, so please be sure to account for this in the type of parachutes you choose to pack.<br>Historical example: Venera 9 (1560kg, Proton K/D) launched in June of 1975<br>

synopsis = Send an uncrewed probe to land on Venus

completedMessage = Congratulations! Landing a probe on another planetary body in our system is no easy feat! The science gathered from this lander will unlock some of the secrets of our Solar System.

sortKey = 1200

cancellable = true
declinable = true
autoAccept = false
minExpiry = 0
maxExpiry = 0
maxCompletions = 1
maxSimultaneous = 1
deadline = 0

targetBody = Venus

// ************ REWARDS ************
prestige = Trivial // 1.0x
advanceFunds = 0
rewardScience = 0
rewardFunds = 0
failureFunds = 0
rewardReputation = 250
failureReputation = 0 // was @rewardReputation

// ************ REQUIREMENTS ************

REQUIREMENT
{
name = ProgramActive
type = ProgramActive
program = VenusSurfaceExp
}

// ************ PARAMETERS ************

PARAMETER
{
name = CollectMS
type = RP1CollectScience
targetBody = Venus
situation = SrfLanded
experiment = RP0massSpec2
fractionComplete = 0.005
fractionCompleteBiome = 0.003
minSubjectsToComplete = 1
title = Transmit 1 hour of Mass Spectrometry 2 from a biome on the Venus surface.
}
PARAMETER
{
name = CollectRPWS
type = RP1CollectScience
targetBody = Venus
situation = SrfLanded
experiment = RP0RPWS1
fractionComplete = 0.01
fractionCompleteBiome = 0.006
minSubjectsToComplete = 1
title = Transmit 1 hour of RPWS Science from a biome on Venus.
}
PARAMETER
{
name = CollectVI
type = RP1CollectScience
targetBody = Venus
situation = SrfLanded
experiment = RP0visibleImaging3
fractionComplete = 0.1
fractionCompleteBiome = 0.5
minSubjectsToComplete = 1
title = Transmit 1 hour of Visual Imaging 3 Science from a biome on Venus.
}
}
Loading
Loading