-
Notifications
You must be signed in to change notification settings - Fork 96
/
Exceptional.cfg
120 lines (113 loc) · 2.66 KB
/
Exceptional.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
CONTRACT_TYPE
{
name = SCAN_Exceptional
title = Do a group of high resolution SCANsat surveys of @/targetBodyValid3.
genericTitle = Do a group of high resolution SCANsat surveys of @/targetBodyValid3.
group = ScanSatOfficial
topic = Science
subject = Kerbal
agent = SCAN: Scientific Committee on Advanced Navigation
notes = Scanning can take place while the vessel is not loaded.
synopsis = Perform several high resolution scans of @/targetBodyValid3
completedMessage = We now have a detailed map and survey for the surface of @/targetBodyValid3
minExpiry = 1
maxExpiry = 7
deadline = Random(300, 500) * @/targetBodyValid3.Multiplier()
cancellable = true
declinable = true
autoAccept = false
targetBody = @/targetBodyValid3
// Contract rewards
rewardScience = 0
rewardReputation = 1
rewardFunds = Random(60000, 80000.0)
failureReputation = 1
failureFunds = Random(1000, 10000.0)
advanceFunds = Random(10000, 20000.0)
prestige = Exceptional
DATA_EXPAND
{
type = CelestialBody
targetBody3 = @ScanSatOfficial:nonHomeBodies
}
DATA
{
type = CelestialBody
requiredValue = true
uniquenessCheck = CONTRACT_ALL
targetBodyValid3 = @/targetBody3
}
DATA
{
type = List<CelestialBody>
requiredValue = false
targetBodyList3 = @ScanSatOfficial:p3Bodies
targetBodyList4 = @ScanSatOfficial:p4Bodies
}
PARAMETER
{
name = SCANsatCoverage_1
type = SCANsatCoverage
targetBody = @/targetBodyValid3
coverage = 95
scanType = AltimetryHiRes
}
PARAMETER
{
name = SCANsatCoverage_2
type = SCANsatCoverage
targetBody = @/targetBodyValid3
coverage = 95
scanType = Ore
}
REQUIREMENT
{
name = AnyCoverage
type = Any
REQUIREMENT
{
name = SCANsatCoverage_1
type = SCANsatCoverage
targetBody = @/targetBodyValid3
minCoverage = 0.0
maxCoverage = 90
scanType = AltimetryHiRes
title = Must have less than a 90% high resolution altimetry scan of the target body.
}
REQUIREMENT
{
name = SCANsatCoverage_2
type = SCANsatCoverage
targetBody = @/targetBodyValid3
minCoverage = 0.0
maxCoverage = 90
scanType = Ore
title = Must have less than a 90% ore scan of the target body.
}
}
REQUIREMENT
{
name = Expression_1
type = Expression
title = Must have orbited the target body, or the target body must be next on the list.
expression = (@/targetBodyList3.Contains(@/targetBodyValid3) || @/targetBodyList4.Contains(@/targetBodyValid3)) == true
}
REQUIREMENT
{
name = Orbit
type = Orbit
targetBody = HomeWorld()
}
REQUIREMENT
{
name = PartUnlocked_1
type = PartUnlocked
part = SCANsat_Scanner2
}
REQUIREMENT
{
name = PartUnlocked_2
type = PartUnlocked
part = OrbitalScanner
}
}