Skip to content

Commit

Permalink
Fix errors and contracts not completeing
Browse files Browse the repository at this point in the history
  • Loading branch information
pap1723 committed Mar 27, 2017
1 parent 8a38d74 commit 0710c83
Show file tree
Hide file tree
Showing 20 changed files with 92 additions and 137 deletions.
Binary file removed CareerEvolution-v02.zip
Binary file not shown.
Binary file added CareerEvolution-v03.zip
Binary file not shown.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,6 @@ CONTRACT_TYPE
title = Moon Impact Craft
define = MoonImpact

PARAMETER
{
name = NewVessel
type = NewVessel
title = Launch a New Vessel
hideChildren = true
}
PARAMETER
{
name = Crewmembers
Expand Down Expand Up @@ -284,13 +277,6 @@ CONTRACT_TYPE
title = Moon Satellite
define = MoonSat

PARAMETER
{
name = NewVessel
type = NewVessel
title = Launch a New Vessel
hideChildren = true
}
PARAMETER
{
name = Crewmembers
Expand Down Expand Up @@ -482,13 +468,6 @@ CONTRACT_TYPE
title = Moon Sample Return
define = MoonReturn

PARAMETER
{
name = NewVessel
type = NewVessel
title = Launch a New Vessel
hideChildren = true
}
PARAMETER
{
name = Crewmembers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,6 @@ CONTRACT_TYPE
title = Moon Impact Craft
define = MinmusImpact

PARAMETER
{
name = NewVessel
type = NewVessel
title = Launch a New Vessel
hideChildren = true
}
PARAMETER
{
name = Crewmembers
Expand Down Expand Up @@ -305,13 +298,6 @@ CONTRACT_TYPE
title = Moon Satellite
define = MinmusSat

PARAMETER
{
name = NewVessel
type = NewVessel
title = Launch a New Vessel
hideChildren = true
}
PARAMETER
{
name = Crewmembers
Expand Down Expand Up @@ -409,14 +395,7 @@ CONTRACT_TYPE
type = VesselParameterGroup
title = Moon Lander
define = MinmusLander

PARAMETER
{
name = NewVessel
type = NewVessel
title = Launch a New Vessel
hideChildren = true
}

PARAMETER
{
name = Crewmembers
Expand Down Expand Up @@ -509,13 +488,6 @@ CONTRACT_TYPE
title = Moon Sample Return
define = MinmusReturn

PARAMETER
{
name = NewVessel
type = NewVessel
title = Launch a New Vessel
hideChildren = true
}
PARAMETER
{
name = Crewmembers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1383,57 +1383,59 @@ CONTRACT_TYPE
hideChildren = true
}
PARAMETER
{
name = MoonAlpha
type = VisitWaypoint
index = 0
distance = 100.0
title = Land near or travel to Site Alpha
showMessages = true
disableOnStateChange = true
hideChildren = true
}
PARAMETER
{
name = PlantFlagOnMoon
type = PlantFlag
targetBody = HomeWorld().Children().First()
title = Plant a flag on @targetBody! Don't forget the picture
hideChildren = true
}
PARAMETER
{
name = MoonBeta
type = VisitWaypoint
index = 1
distance = 100.0
title = Visit Site Beta
showMessages = true
disableOnStateChange = true
hideChildren = true
}
PARAMETER
{
name = MoonCharlie
type = VisitWaypoint
index = 2
distance = 100.0
title = Visit Site Charlie
showMessages = true
disableOnStateChange = true
hideChildren = true
}
PARAMETER
{
name = ReturnHome
type = ReturnHome
targetBody = HomeWorld()
title = Return Home Safely
hideChildren = true
completeInSequence = true
}
}
PARAMETER
{
name = MoonAlpha
type = VisitWaypoint
index = 0
distance = 100.0
title = Land near or travel to Site Alpha
showMessages = true
disableOnStateChange = true
hideChildren = true
}

PARAMETER
{
name = MoonBeta
type = VisitWaypoint
index = 1
distance = 100.0
title = Visit Site Beta
showMessages = true
disableOnStateChange = true
hideChildren = true
}
PARAMETER
{
name = MoonCharlie
type = VisitWaypoint
index = 2
distance = 100.0
title = Visit Site Charlie
showMessages = true
disableOnStateChange = true
hideChildren = true
}
PARAMETER
{
name = ReturnHome
type = ReturnHome
targetBody = HomeWorld()
title = Return Home Safely
hideChildren = true
completeInSequence = true
}
PARAMETER
{
name = CollectScience
type = CollectScience
Expand Down Expand Up @@ -1570,57 +1572,59 @@ CONTRACT_TYPE
hideChildren = true
}
PARAMETER
{
name = MinmusAlpha
type = VisitWaypoint
index = 0
distance = 100.0
title = Land near or travel to Site Alpha
showMessages = true
disableOnStateChange = true
hideChildren = true
}
PARAMETER
{
name = PlantFlagOnMinmus
type = PlantFlag
targetBody = HomeWorld().Children().Last()
title = Plant a flag on @targetBody! Don't forget the picture
hideChildren = true
}
PARAMETER
{
name = MinmusBeta
type = VisitWaypoint
index = 1
distance = 100.0
title = Visit Site Beta
showMessages = true
disableOnStateChange = true
hideChildren = true
}
PARAMETER
{
name = MinmusCharlie
type = VisitWaypoint
index = 2
distance = 100.0
title = Visit Site Charlie
showMessages = true
disableOnStateChange = true
hideChildren = true
}
PARAMETER
{
name = ReturnHome
type = ReturnHome
targetBody = HomeWorld()
title = Return Home Safely
hideChildren = true
completeInSequence = true
}
}
PARAMETER
{
name = MinmusAlpha
type = VisitWaypoint
index = 0
distance = 100.0
title = Land near or travel to Site Alpha
showMessages = true
disableOnStateChange = true
hideChildren = true
}
PARAMETER
{
name = MinmusBeta
type = VisitWaypoint
index = 1
distance = 100.0
title = Visit Site Beta
showMessages = true
disableOnStateChange = true
hideChildren = true
}
PARAMETER
{
name = MinmusCharlie
type = VisitWaypoint
index = 2
distance = 100.0
title = Visit Site Charlie
showMessages = true
disableOnStateChange = true
hideChildren = true
}
PARAMETER
{
name = ReturnHome
type = ReturnHome
targetBody = HomeWorld()
title = Return Home Safely
hideChildren = true
completeInSequence = true
}
PARAMETER
{
name = CollectScience
type = CollectScience
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ CONTRACT_TYPE
{
type = Vessel
requiredValue = true
targetVessel1 = AllVessels().Where(v => v.VesselType() == Station && v.IsOrbiting() = true && v.CelestialBody() == @targetBody).SelectUnique()
targetVessel1 = AllVessels().Where(v => v.VesselType() == Station && v.IsOrbiting() == true && v.CelestialBody() == @targetBody).SelectUnique()
title = Get your space station
}

Expand Down Expand Up @@ -335,7 +335,7 @@ CONTRACT_TYPE
{
type = Vessel
requiredValue = true
targetVessel1 = AllVessels().Where(v => v.VesselType() == Station && v.IsOrbiting() = true && v.CelestialBody() == @targetBody).SelectUnique()
targetVessel1 = AllVessels().Where(v => v.VesselType() == Station && v.IsOrbiting() == true && v.CelestialBody() == @targetBody).SelectUnique()
title = Get your space station
}
Expand Down Expand Up @@ -475,7 +475,7 @@ CONTRACT_TYPE
{
type = Vessel
requiredValue = true
targetVessel1 = AllVessels().Where(v => v.VesselType() == Station && v.IsOrbiting() = true && v.CelestialBody() == @targetBody).SelectUnique()
targetVessel1 = AllVessels().Where(v => v.VesselType() == Station && v.IsOrbiting() == true && v.CelestialBody() == @targetBody).SelectUnique()
title = Get your space station
}

Expand Down Expand Up @@ -615,7 +615,7 @@ CONTRACT_TYPE
{
type = Vessel
requiredValue = true
targetVessel1 = AllVessels().Where(v => v.VesselType() == Station && v.IsOrbiting() = true && v.CelestialBody() == @targetBody).SelectUnique()
targetVessel1 = AllVessels().Where(v => v.VesselType() == Station && v.IsOrbiting() == true && v.CelestialBody() == @targetBody).SelectUnique()
title = Get your space station
}

Expand Down Expand Up @@ -932,7 +932,7 @@ CONTRACT_TYPE
DATA
{
type = CelestialBody
requiredValue = true
requiredValue = false
uniquenessCheck = CONTRACT_ACTIVE
targetBody1 = ReturnedFromBodies().Where(body => @/stations.Where(v => v.CelestialBody() == body).Count() == 0).SelectUnique()
title = Must have returned from a Celestial Body, but not have any stations deployed.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0710c83

Please sign in to comment.