You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TAC Life Support patch for SDHI Service Module System
2
+
// Author: Robin "sumghai" Chang
3
+
// Revision: 2.0
4
+
//
5
+
// For use with TAC-LS 0.9 pre-release and later versions
6
+
7
+
// This modifies the Service Module and the stock Mark 1-2 Pod so that the combined Command/Service Module stack provides a total of eight (8) Kerbin days' worth[1]
8
+
// of life support crew provisions for its three-Kerbal crew, in contrast to the TAC Life Support default of three (3) Kerbin days.
9
+
//
10
+
// Eight days' of provisions allow the combined CSM spacecraft to operate indepedently for one week (seven days), plus one extra day as a emergency reserve.
11
+
//
12
+
// Based on known specifications and features of the real-life NASA Orion MPCV Service Module[2], the SDHI SM will provide an extra five days' worth of Water and Oxygen,
13
+
// the equivalent in WasteWater and CarbonDioxide storage, and built-in Carbon Extractors / Water Purifiers. Meanwhile, the Mark 1-2 Pod itself will hold the additional
14
+
// five days of Food and Waste storage on top of the default three days, since Food and solid fecal matter can't be transferred to/from the Pod/SM via any realistic
15
+
// umbilical system.
16
+
//
17
+
// The Avionics Ring alternative to the standard SDHI SM will only be equipped with the Carbon Extractor and Water Purifier, as there is no conceivable space to fit
18
+
// the added storage capacity for Water/Oxygen/WasteWater/CarbonDioxide.
19
+
//
20
+
// [1] 1 Kerbin day = 6 Earth hours
21
+
// [2] In reality, the baseline NASA Orion Service Module can provide up to 21 human days of provisions for four human astronauts; the SDHI SM is less capable because
22
+
// I don't want to make it overpowered :P
23
+
//
24
+
// NOTE: All numbers have been rounded up to 1 decimal place, as that is the precision of the KSP tweakables system
25
+
26
+
27
+
// Modifies the stock Mark 1-2 Pod to give, for its three-Kerbal crew, a total of:
28
+
// - eight Kerbal days of Food
29
+
// - three Kerbal days of Water
30
+
// - three Kerbal days of Oxygen
31
+
// - three Kerbal days of CarbonDioxide storage
32
+
// - eight Kerbal days of Waste storage
33
+
// - three Kerbal days of WasteWater storage
34
+
@PART[Mark1-2Pod]:FINAL {
35
+
36
+
// Remove MFT support
37
+
!MODULE[ModuleFuelTanks] {}
38
+
39
+
// Use replace (%) rather than edit (@), to ensure that the following values are loaded regardless of the presence/absence of MFT/RealFuels
40
+
%RESOURCE[Food]
41
+
{
42
+
%amount = 5.7
43
+
%maxAmount = 5.7
44
+
}
45
+
%RESOURCE[Water]
46
+
{
47
+
%amount = 4.1
48
+
%maxAmount = 4.1
49
+
}
50
+
%RESOURCE[Oxygen]
51
+
{
52
+
%amount = 684.6
53
+
%maxAmount = 684.6
54
+
}
55
+
%RESOURCE[CarbonDioxide]
56
+
{
57
+
%amount = 0
58
+
%maxAmount = 589.1
59
+
}
60
+
%RESOURCE[Waste]
61
+
{
62
+
%amount = 0
63
+
%maxAmount = 4.1
64
+
}
65
+
%RESOURCE[WasteWater]
66
+
{
67
+
%amount = 0
68
+
%maxAmount = 4.5
69
+
}
70
+
}
71
+
72
+
73
+
// Modifies the SDHI SM to provide an additional five Kerbal days of Water and Oxygen, the equivalent in WasteWater and CarbonDioxide storage, and built-in Carbon Extractors / Water Purifiers / Fuel Cell
74
+
@PART[SDHI_2.5_ServiceModule]:FINAL {
75
+
76
+
// Here, we *don't* apply a MM patch to remove MFT/Real Fuels, since:
77
+
// - MFT/Real Fuels is needed to allow users to have reconfigurable fuel tanks or non-stock fuels
78
+
// - The TAC LS patch that uses MFT/RealFuels doesn't cater for the unusual situation where a Service Module is used to hold life support provisions
79
+
80
+
RESOURCE
81
+
{
82
+
name = Water
83
+
amount = 6.8
84
+
maxAmount = 6.8
85
+
}
86
+
RESOURCE
87
+
{
88
+
name = Oxygen
89
+
amount = 1141
90
+
maxAmount = 1141
91
+
}
92
+
RESOURCE
93
+
{
94
+
name = WasteWater
95
+
amount = 0
96
+
maxAmount = 7.5
97
+
}
98
+
RESOURCE
99
+
{
100
+
name = CarbonDioxide
101
+
amount = 0
102
+
maxAmount = 981.7
103
+
}
104
+
105
+
// Standard TAC-LS Carbon Extractor using the Bosch process
0 commit comments