Skip to content

Commit

Permalink
Fix to disable state change flight situations. Closes #180
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanKell committed Jul 28, 2015
1 parent 2e7e844 commit e04176c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion GameData/RP-0/Contracts/Milestones/FirstCrewedSupersonic.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ CONTRACT_TYPE
{
name = VesselGroup
type = VesselParameterGroup
title = Reach 350 m/s with a crewed craft.
title = Hold 350 m/s for 1 minute with a crewed craft.
define = crewedSoundBarrierCraft

PARAMETER
Expand All @@ -62,6 +62,17 @@ CONTRACT_TYPE
type = ReachState
minSpeed = 350
situation = FLYING
disableOnStateChange = true

PARAMETER
{
name = Duration
type = Duration
duration = 1m
preWaitText = Reach supersonic speed (>350m/s)
waitingText = Hold together...
completionText = You may slow down and land when ready.
}
}
PARAMETER
{
Expand Down
1 change: 0 additions & 1 deletion GameData/RP-0/Contracts/X-Planes/CrewedFlight.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ CONTRACT_TYPE
name = HasCrew
type = HasCrew
minCrew = 1
disableOnStateChange = true
}
PARAMETER
{
Expand Down
1 change: 1 addition & 0 deletions GameData/RP-0/Contracts/X-Planes/CrewedHighAtmo.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ CONTRACT_TYPE
name = ReachAlt
type = ReachState
minAltitude = Random(60000, 100000)
disableOnStateChange = true
}
PARAMETER
{
Expand Down

0 comments on commit e04176c

Please sign in to comment.