Skip to content

Commit 16e7332

Browse files
author
Robin "sumghai" Chang
committed
Update TAC-LS patch (v0.10 compatibility)
1 parent 482558e commit 16e7332

1 file changed

Lines changed: 25 additions & 26 deletions

File tree

GameData/SDHI/Service Module System/Parts/MM_configs/SDHI_SMS_MMPatch_TACLifeSupport.cfg

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// TAC Life Support patch for SDHI Service Module System
22
// Author: Robin "sumghai" Chang
3-
// Revision: 2.0
3+
// Revision: 2.1
44
//
5-
// For use with TAC-LS 0.9 pre-release and later versions
5+
// For use with TAC-LS v0.10
66

77
// 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]
88
// of life support crew provisions for its three-Kerbal crew, in contrast to the TAC Life Support default of three (3) Kerbin days.
@@ -21,7 +21,6 @@
2121
// [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
2222
// I don't want to make it overpowered :P
2323
//
24-
// NOTE: All numbers have been rounded up to 1 decimal place, as that is the precision of the KSP tweakables system
2524
2625
2726
// Modifies the stock Mark 1-2 Pod to give, for its three-Kerbal crew, a total of:
@@ -39,33 +38,33 @@
3938
// Use replace (%) rather than edit (@), to ensure that the following values are loaded regardless of the presence/absence of MFT/RealFuels
4039
%RESOURCE[Food]
4140
{
42-
%amount = 5.7
43-
%maxAmount = 5.7
41+
%amount = 8.776
42+
%maxAmount = 8.776
4443
}
4544
%RESOURCE[Water]
4645
{
47-
%amount = 4.1
48-
%maxAmount = 4.1
46+
%amount = 2.175
47+
%maxAmount = 2.175
4948
}
5049
%RESOURCE[Oxygen]
5150
{
52-
%amount = 684.6
53-
%maxAmount = 684.6
51+
%amount = 333.114
52+
%maxAmount = 333.114
5453
}
5554
%RESOURCE[CarbonDioxide]
5655
{
5756
%amount = 0
58-
%maxAmount = 589.1
57+
%maxAmount = 287.739
5958
}
6059
%RESOURCE[Waste]
6160
{
6261
%amount = 0
63-
%maxAmount = 4.1
62+
%maxAmount = 0.8
6463
}
6564
%RESOURCE[WasteWater]
6665
{
6766
%amount = 0
68-
%maxAmount = 4.5
67+
%maxAmount = 2.772
6968
}
7069
}
7170
@@ -80,26 +79,26 @@
8079
RESOURCE
8180
{
8281
name = Water
83-
amount = 6.8
84-
maxAmount = 6.8
82+
amount = 3.625
83+
maxAmount = 3.625
8584
}
8685
RESOURCE
8786
{
8887
name = Oxygen
89-
amount = 1141
90-
maxAmount = 1141
88+
amount = 555.19
89+
maxAmount = 555.19
9190
}
9291
RESOURCE
9392
{
9493
name = WasteWater
9594
amount = 0
96-
maxAmount = 7.5
95+
maxAmount = 4.62
9796
}
9897
RESOURCE
9998
{
10099
name = CarbonDioxide
101100
amount = 0
102-
maxAmount = 981.7
101+
maxAmount = 479.565
103102
}
104103
105104
// Standard TAC-LS Carbon Extractor using the Bosch process
@@ -108,8 +107,8 @@
108107
name = TacGenericConverter
109108
converterName = Carbon Extractor
110109
conversionRate = 8.16
111-
inputResources = CarbonDioxide, 0.003500367198368, ElectricCharge, 0.081760489055638
112-
outputResources = Oxygen, 0.003521591846326, false, Waste, 0.000001863771901, true
110+
inputResources = CarbonDioxide, 0.001703210064733, ElectricCharge, 0.039783051310155
111+
outputResources = Oxygen, 0.001713537562385, false, Waste, 0.000001209166498, true
113112
}
114113
115114
// Standard TAC-LS Water Purifier
@@ -118,8 +117,8 @@
118117
name = TacGenericConverter
119118
converterName = Water Purifier
120119
conversionRate = 8.16
121-
inputResources = WasteWater, 0.000025418346862, ElectricCharge, 0.1
122-
outputResources = Water, 0.000020807576966, false, Waste, 0.000004610769896, true
120+
inputResources = WasteWater, 0.000014247685185, ElectricCharge, 0.007123842592593
121+
outputResources = Water, 0.000012822916667, false, Waste, 0.000001994675926, true
123122
}
124123
}
125124
@@ -133,8 +132,8 @@
133132
name = TacGenericConverter
134133
converterName = Carbon Extractor
135134
conversionRate = 8.16
136-
inputResources = CarbonDioxide, 0.003500367198368, ElectricCharge, 0.081760489055638
137-
outputResources = Oxygen, 0.003521591846326, false, Waste, 0.000001863771901, true
135+
inputResources = CarbonDioxide, 0.001703210064733, ElectricCharge, 0.039783051310155
136+
outputResources = Oxygen, 0.001713537562385, false, Waste, 0.000001209166498, true
138137
}
139138
140139
// Standard TAC-LS Water Purifier
@@ -143,7 +142,7 @@
143142
name = TacGenericConverter
144143
converterName = Water Purifier
145144
conversionRate = 8.16
146-
inputResources = WasteWater, 0.000025418346862, ElectricCharge, 0.1
147-
outputResources = Water, 0.000020807576966, false, Waste, 0.000004610769896, true
145+
inputResources = WasteWater, 0.000014247685185, ElectricCharge, 0.007123842592593
146+
outputResources = Water, 0.000012822916667, false, Waste, 0.000001994675926, true
148147
}
149148
}

0 commit comments

Comments
 (0)