Skip to content

Commit 02fcfaa

Browse files
authored
Merge pull request #71 from GarwelGarwel/dev
v1.3.2 update
2 parents 9112694 + 993ecc9 commit 02fcfaa

18 files changed

Lines changed: 235 additions & 449 deletions

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,5 +251,5 @@ paket-files/
251251
.idea/
252252
*.sln.iml
253253
*.gsheet
254-
/FactorModifier.cs
255254
*.xlsx
255+
/Misc

ChanceModifier.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
53

64
namespace KerbalHealth
75
{

GameData/KerbalHealth/KerbalHealth.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ HEALTH_QUIRK
545545
}
546546
}
547547

548-
//// CUSTOM COFIGS FOR CELESTIAL BODIES ////
548+
//// CUSTOM CONFIGS FOR CELESTIAL BODIES ////
549549

550550
PLANET_HEALTH_CONFIG
551551
{
@@ -577,6 +577,7 @@ PLANET_HEALTH_CONFIG
577577
{
578578
name = Tylo
579579
magnetosphere = 0.5
580+
atmosphericAbsorption:NEEDS[RealisticAtmospheres] = 0.2
580581
}
581582

582583
PLANET_HEALTH_CONFIG
0 Bytes
Binary file not shown.

GameData/KerbalHealth/KerbalHealth.version

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"VERSION": {
66
"MAJOR": 1,
77
"MINOR": 3,
8-
"PATCH": 1,
8+
"PATCH": 2,
99
"BUILD": 0
1010
},
1111
"KSP_VERSION": {
1212
"MAJOR": 1,
1313
"MINOR": 5,
14-
"PATCH": 0
14+
"PATCH": 1
1515
},
1616
"KSP_VERSION_MIN": {
1717
"MAJOR": 1,
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
@PART[FTT_Command_375_01]:NEEDS[FTT]
2+
{
3+
MODULE
4+
{
5+
name = ModuleKerbalHealth
6+
space = 5.3
7+
}
8+
}
9+
10+
@PART[FTT_Pod_375_01]:NEEDS[FTT]
11+
{
12+
MODULE
13+
{
14+
name = ModuleKerbalHealth
15+
space = 7.9
16+
}
17+
}
18+
19+
@PART[FTT_Reactor_500_01]:NEEDS[FTT]
20+
{
21+
MODULE
22+
{
23+
name = ModuleKerbalHealth
24+
radioactivity = 962
25+
}
26+
}
27+
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
@PART[Lynx_Cockpit]:NEEDS[FelineUtilityRover]
2+
{
3+
MODULE
4+
{
5+
name = ModuleKerbalHealth
6+
space = 1.8
7+
}
8+
}
9+
10+
@PART[Lynx_CockpitTruck]:NEEDS[FelineUtilityRover]
11+
{
12+
MODULE
13+
{
14+
name = ModuleKerbalHealth
15+
space = 1.6
16+
}
17+
}
18+
19+
@PART[Lynx_MobileLab]:NEEDS[FelineUtilityRover]
20+
{
21+
MODULE
22+
{
23+
name = ModuleKerbalHealth
24+
space = 0.6
25+
}
26+
MODULE
27+
{
28+
name = ModuleKerbalHealth
29+
multiplyFactor = Confinement
30+
multiplier = 0.9
31+
resourceConsumptionPerKerbal = 0.03
32+
}
33+
MODULE
34+
{
35+
name = ModuleKerbalHealth
36+
multiplyFactor = Connected
37+
multiplier = 1.2
38+
resourceConsumptionPerKerbal = 0.1
39+
}
40+
MODULE
41+
{
42+
name = ModuleKerbalHealth
43+
multiplyFactor = Conditions
44+
multiplier = 0.4
45+
resourceConsumptionPerKerbal = 0.66
46+
partCrewOnly = true
47+
}
48+
}
49+
50+
@PART[Lynx_CrewCabin]:NEEDS[FelineUtilityRover]
51+
{
52+
MODULE
53+
{
54+
name = ModuleKerbalHealth
55+
space = 1
56+
}
57+
MODULE
58+
{
59+
name = ModuleKerbalHealth
60+
multiplyFactor = Confinement
61+
multiplier = 0.4
62+
resourceConsumptionPerKerbal = 0.75
63+
}
64+
}
65+
66+
@PART[Lynx_Dockingbay]:NEEDS[FelineUtilityRover]
67+
{
68+
MODULE
69+
{
70+
name = ModuleKerbalHealth
71+
space = 0
72+
}
73+
}
74+
75+
@PART[Lynx_RearAirlock]:NEEDS[FelineUtilityRover]
76+
{
77+
MODULE
78+
{
79+
name = ModuleKerbalHealth
80+
space = 0
81+
}
82+
}
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
@PART[KER_CrewCab]:NEEDS[Karibou]
2+
{
3+
MODULE
4+
{
5+
name = ModuleKerbalHealth
6+
space = 1.4
7+
}
8+
MODULE
9+
{
10+
name = ModuleKerbalHealth
11+
multiplyFactor = Confinement
12+
multiplier = 0.4
13+
resourceConsumptionPerKerbal = 0.75
14+
}
15+
}
16+
17+
@PART[KER_PassengerCab]:NEEDS[Karibou]
18+
{
19+
MODULE
20+
{
21+
name = ModuleKerbalHealth
22+
space = 4.7
23+
}
24+
MODULE
25+
{
26+
name = ModuleKerbalHealth
27+
multiplyFactor = Confinement
28+
multiplier = 0.75
29+
resourceConsumptionPerKerbal = 0.17
30+
}
31+
}
32+
33+
@PART[KER_RoverCab]:NEEDS[Karibou]
34+
{
35+
MODULE
36+
{
37+
name = ModuleKerbalHealth
38+
space = 3.6
39+
}
40+
}
41+
42+
@PART[KER_Shelter]:NEEDS[MKS]
43+
{
44+
MODULE
45+
{
46+
name = ModuleKerbalHealth
47+
space = 0
48+
}
49+
RESOURCE
50+
{
51+
name = RadiationShielding
52+
amount = 0
53+
maxAmount = 0.5
54+
}
55+
}
56+

GameData/KerbalHealth/Patches/KHMKS.cfg

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -463,16 +463,6 @@
463463
}
464464
}
465465

466-
@PART[KER_Shelter]:NEEDS[MKS]
467-
{
468-
RESOURCE
469-
{
470-
name = RadiationShielding
471-
amount = 0
472-
maxAmount = 0.5
473-
}
474-
}
475-
476466
@PART[USI_Nuke_625]:NEEDS[MKS]
477467
{
478468
MODULE
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
@PART[Malemute_RoverCab]:NEEDS[Malemute]
2+
{
3+
MODULE
4+
{
5+
name = ModuleKerbalHealth
6+
space = 2
7+
}
8+
}
9+
10+
@PART[Malemute_RoverCrewCab]:NEEDS[Malemute]
11+
{
12+
MODULE
13+
{
14+
name = ModuleKerbalHealth
15+
space = 1.8
16+
}
17+
MODULE
18+
{
19+
name = ModuleKerbalHealth
20+
multiplyFactor = Confinement
21+
multiplier = 0.75
22+
resourceConsumptionPerKerbal = 0.17
23+
}
24+
}
25+
26+
@PART[Malemute_RoverScienceLab]:NEEDS[Malemute]
27+
{
28+
MODULE
29+
{
30+
name = ModuleKerbalHealth
31+
space = 0.6
32+
}
33+
MODULE
34+
{
35+
name = ModuleKerbalHealth
36+
multiplyFactor = Connected
37+
multiplier = 1.2
38+
resourceConsumptionPerKerbal = 0.1
39+
}
40+
}

0 commit comments

Comments
 (0)