Skip to content

Commit d5ae254

Browse files
author
Robin Chang
committed
Add USI LS support
For #109.
1 parent 30e9148 commit d5ae254

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// USI Life Support patch for SDHI Service Module System
2+
// Author: Robin "sumghai" Chang
3+
// Revision: 1.0
4+
//
5+
// For use with USI LS v0.5.0 and above
6+
7+
// This modifies 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. This capability is equivalent to that specified for TAC-LS.
9+
//
10+
// As the USI LS Supplies, Mulch and Fertilizer resources are considered solids, they cannot be stored in or transferred to/from the Service Module
11+
// or Avionics Ring via any realistic umbilical system. Also, the short duration of the mission means no Recyclers, Greenhouses or Fertilizer are needed.
12+
//
13+
// 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.
14+
//
15+
// [1] 1 Kerbin day = 6 Earth hours
16+
//
17+
18+
19+
// Modifies the stock Mark 1-2 Pod to give, for its three-Kerbal crew, a total of:
20+
// - eight Kerbal days of Supplies
21+
// - eight Kerbal days of Mulch storage
22+
@PART[Mark1-2Pod]:FOR[USILifeSupport]:FINAL {
23+
24+
// Use replace (%) rather than edit (@), to ensure that the following values are loaded regardless of the presence/absence of any other patches
25+
%RESOURCE[Supplies]
26+
{
27+
%amount = 259.2
28+
%maxAmount = 259.2
29+
}
30+
%RESOURCE[Mulch]
31+
{
32+
%amount = 0
33+
%maxAmount = 259.2
34+
}
35+
}

0 commit comments

Comments
 (0)