Skip to content

Commit

Permalink
Fix sub-orbital contracts.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrossignol committed May 5, 2015
1 parent c73e4f6 commit 8b57d6d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
ContractPack-Tourism 1.1.1
- Fix for sub-orbital contracts (thanks Enceos).

ContractPack-Tourism 1.1.0
- Disables stock tourism contracts.
- Added sub-orbital contract.
Expand Down
4 changes: 2 additions & 2 deletions GameData/ContractPacks/Tourism/ContractPack-Tourism.version
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"NAME":"Contract Pack: Tourism Plus",
"URL":"https://raw.githubusercontent.com/jrossignol/ContractPack-Tourism/master/GameData/ContractPacks/Tourism/ContractPack-Tourism.version",
"DOWNLOAD":"https://github.com/jrossignol/ContractPack-Tourism/releases",
"CHANGE_LOG_URL":"https://raw.githubusercontent.com/jrossignol/ContractPack-Tourism/1.1.0/CHANGES.txt",
"CHANGE_LOG_URL":"https://raw.githubusercontent.com/jrossignol/ContractPack-Tourism/1.1.1/CHANGES.txt",
"GITHUB":{
"USERNAME":"jrossignol",
"REPOSITORY":"ContractPack-Tourism",
Expand All @@ -11,7 +11,7 @@
"VERSION":{
"MAJOR":1,
"MINOR":1,
"PATCH":0,
"PATCH":1,
"BUILD":0
},
"KSP_VERSION":{
Expand Down
15 changes: 3 additions & 12 deletions GameData/ContractPacks/Tourism/SubOrbital.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ CONTRACT_TYPE
maxSimultaneous = 2

// Contract rewards
rewardFunds = 25000.0 * @/SpawnPassengers/count + Random(0.0, 10000.0)
rewardFunds = 50000.0 * @/SpawnPassengers/count + Random(0.0, 10000.0)
rewardReputation = 1.0
failureReputation = 20.0

Expand All @@ -43,9 +43,7 @@ CONTRACT_TYPE
name = VesselParameterGroup
type = VesselParameterGroup

title = Bring the tourists into orbit

duration = 1h
title = Bring the tourists to the waypoint

PARAMETER
{
Expand Down Expand Up @@ -75,6 +73,7 @@ CONTRACT_TYPE
type = VisitWaypoint

index = @/selectedWaypoint
distance = 50000
}
}

Expand Down Expand Up @@ -108,7 +107,6 @@ CONTRACT_TYPE
latitude = 86.7616543296163
longitude = 308.254415257669
altitude = @/targetBody.AtmosphereAltitude()
distance = 25000

hidden = @/selectedWaypoint != 0
}
Expand All @@ -122,7 +120,6 @@ CONTRACT_TYPE
latitude = -87.3751639299601
longitude = 49.2517261517926
altitude = @/targetBody.AtmosphereAltitude()
distance = 25000

hidden = @/selectedWaypoint != 1
}
Expand All @@ -136,7 +133,6 @@ CONTRACT_TYPE
latitude = 2.49024940694461
longitude = 218.604135349567
altitude = @/targetBody.AtmosphereAltitude()
distance = 25000

hidden = @/selectedWaypoint != 2
}
Expand All @@ -150,7 +146,6 @@ CONTRACT_TYPE
latitude = -18.2225120529206
longitude = 49.7359527722988
altitude = @/targetBody.AtmosphereAltitude()
distance = 25000

hidden = @/selectedWaypoint != 3
}
Expand All @@ -164,7 +159,6 @@ CONTRACT_TYPE
latitude = 18.2426228070652
longitude = 70.2853195264318
altitude = @/targetBody.AtmosphereAltitude()
distance = 25000

hidden = @/selectedWaypoint != 4
}
Expand All @@ -178,7 +172,6 @@ CONTRACT_TYPE
latitude = 38.5184489842882
longitude = -59.5459291301628
altitude = @/targetBody.AtmosphereAltitude()
distance = 25000

hidden = @/selectedWaypoint != 5
}
Expand All @@ -192,7 +185,6 @@ CONTRACT_TYPE
latitude = -31.5160511492187
longitude = -9.96582917744914
altitude = @/targetBody.AtmosphereAltitude()
distance = 25000

hidden = @/selectedWaypoint != 6
}
Expand All @@ -206,7 +198,6 @@ CONTRACT_TYPE
latitude = 8.69713980419879
longitude = 180.042508107154
altitude = @/targetBody.AtmosphereAltitude()
distance = 25000

hidden = @/selectedWaypoint != 7
}
Expand Down

0 comments on commit 8b57d6d

Please sign in to comment.