-
Notifications
You must be signed in to change notification settings - Fork 2
/
SSPXR_SnacksStress.cfg
59 lines (51 loc) · 1.93 KB
/
SSPXR_SnacksStress.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
@PART[sspx-*]:HAS[@MODULE[ModuleDeployableCentrifuge]]:NEEDS[SnacksStress]
{
MODULE
{
// This part module is designed to negate one or more preconditions so long as the kerbal resides in the part.
// An example would be a centrifuge.
name = SnacksDisqualifier
//Contains the disqualified preconditions such as CheckGravityLevel.checkLesserOrEqual for low gravity checks.
// Separate disqualified preconditions by semicolon.
// Most of the preconditions can be disqualified simply by stating their name.
// If a precondition requires something different, be sure to check its documentation.
disqualifiedPreconditions = CheckGravityLevel
}
}
@PART[sspx-observation-*|sspx-cupola-*|sspx-expandable-centrifuge-*]:NEEDS[SnacksStress]
{
MODULE
{
name = SnacksConverter
ConverterName = Stargazing
StartActionName = Start Stargazing
StopActionName = Stop Stargazing
AutoShutdown = false
GeneratesHeat = false
UseSpecialistBonus = false
//At least one crew needs to be in the part to run the converter.
minimumCrew = 1
//Connection back home required to receive entertainment.
requiresHomeConnection = false
//This condition is set whenever the kerbal enters the part and the converter is active, and
//when the converter is started. Since it's registered as a SKILL_LOSS_CONDITION, the kerbals will lose their
//skills while the converter is running.
conditionSummary = Stargazing
INPUT_RESOURCE
{
ResourceName = ElectricCharge
Ratio = 0.05
FlowMode = STAGE_PRIORITY_FLOW
}
//Works like an INPUT_RESOURCE except:
// It applies to individual kerbals.
// You can specify an AmountPerDay or AmountPerSecond.
ROSTER_INPUT_RESOURCE
{
ResourceName = Stress
//AmountPerDay will be translated into: AmountPerDay / seconds per homeworld day
//This will override AmountPerSecond if it is defined in the node.
AmountPerDay = 1.5
}
}
}