-
Notifications
You must be signed in to change notification settings - Fork 1
/
mk4cargo-cryo.cfg
48 lines (42 loc) · 981 Bytes
/
mk4cargo-cryo.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
@PART[mk4*]:HAS[@MODULE[ModuleB9PartSwitch]]:NEEDS[CryoTanks]:FOR[zzz_CryoTanks]
{
%totalCost = #$cost$
%massOffset = #$mass$
@massOffset *= -1
@MODULE[ModuleB9PartSwitch]
{
+SUBTYPE[LF]
{
@name = Cryogenic LH2/O
@title = LH2/O
@tankType = MkIVLH2OCryo
@addedMass = #$../../massOffset$
%costOffset = #$../baseVolume$
@costOffset *= 0.004
@costOffset += #$../../totalCost$
@addedCost = #$costOffset$
}
+SUBTYPE[LF]
{
@name = Cryogenic LH2
@title = LH2
@tankType = MkIVLH2Cryo
@addedMass = #$../../massOffset$
%costOffset = #$../baseVolume$
@costOffset *= 0.09386363636
@costOffset += #$../../totalCost$
@addedCost = #$costOffset$
}
}
&MODULE[ModuleCryoTank]
{
CoolingCost = 0.09
CoolingEnabled = False
BOILOFFCONFIG
{
FuelName = LqdHydrogen
// in % per hr
BoiloffRate = 0.05
}
}
}