Last active
April 5, 2018 05:45
-
-
Save LouisCyfer/89ccad938da43210b12ab70d59424899 to your computer and use it in GitHub Desktop.
without :FOR[KerbalHealth]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// KerbalHealth functions | |
// Authored by Fraz86 | |
@PART[sspx-habitation-125-1]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 0.8 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
resourceConsumptionPerKerbal = 0.75 | |
multiplyFactor = Crowded | |
multiplier = 0.4 | |
crewCap = 2 | |
} | |
} | |
@PART[sspx-utility-125-1]:NEEDS[KerbalHealth,!USILifeSupport] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 0.4 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
resourceConsumptionPerKerbal = 0.5 | |
multiplyFactor = Crowded | |
multiplier = 0.5 | |
crewCap = 1 | |
} | |
} | |
@PART[sspx-utility-125-1]:NEEDS[KerbalHealth,USILifeSupport] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 0.3 //reduced space with USI-LS due to life support system | |
} | |
} | |
@PART[sspx-inflatable-hab-125-1]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 2.7 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
resourceConsumptionPerKerbal = 0.61 | |
multiplyFactor = Crowded | |
multiplier = 0.45 | |
crewCap = 6 | |
} | |
} | |
@PART[sspx-inflatable-hab-125-2]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 1.3 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
resourceConsumptionPerKerbal = 0.61 | |
multiplyFactor = Crowded | |
multiplier = 0.45 | |
crewCap = 3 | |
} | |
} | |
@PART[sspx-inflatable-hab-125-3]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 1.3 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
resourceConsumptionPerKerbal = 0.61 | |
multiplyFactor = Crowded | |
multiplier = 0.45 | |
crewCap = 3 | |
} | |
} | |
@PART[sspx-inflatable-centrifuge-125-1]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 0.3 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
resourceConsumptionPerKerbal = 0.93 | |
multiplyFactor = Crowded | |
multiplier = 0.35 | |
crewCap = 6 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
multiplyFactor = Microgravity | |
multiplier = 0.2 | |
crewCap = 6 | |
resourceConsumption = 6 | |
} | |
RESOURCE | |
{ | |
name = RadiationShielding | |
amount = 0 | |
maxAmount = 3 | |
} | |
} | |
@PART[sspx-inflatable-centrifuge-125-2]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 0.6 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
resourceConsumptionPerKerbal = 0.75 | |
multiplyFactor = Crowded | |
multiplier = 0.4 | |
crewCap = 4 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
multiplyFactor = Microgravity | |
multiplier = 0.4 | |
crewCap = 4 | |
resourceConsumption = 1.5 | |
} | |
RESOURCE | |
{ | |
name = RadiationShielding | |
amount = 0 | |
maxAmount = 2 | |
} | |
} | |
@PART[sspx-core-125-1]:NEEDS[KerbalHealth,!USILifeSupport] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 1.7 | |
} | |
} | |
@PART[sspx-core-125-1]:NEEDS[KerbalHealth,USILifeSupport] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 0.8 //reduced space with USI-LS due to life support system | |
} | |
} | |
@PART[sspx-cupola-125-1]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 0.1 | |
} | |
} | |
@PART[sspx-habitation-25-1]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 2.0 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
resourceConsumptionPerKerbal = 1.17 | |
multiplyFactor = Crowded | |
multiplier = 0.3 | |
crewCap = 6 | |
} | |
} | |
@PART[sspx-inflatable-hab-25-1]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 1.8 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
resourceConsumptionPerKerbal = 4.5 | |
multiplyFactor = Crowded | |
multiplier = 0.1 | |
crewCap = 9 | |
} | |
} | |
@PART[sspx-inflatable-hab-25-2]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 2.3 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
resourceConsumptionPerKerbal = 1.5 | |
multiplyFactor = Crowded | |
multiplier = 0.25 | |
crewCap = 6 | |
} | |
} | |
@PART[sspx-inflatable-centrifuge-25-1]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
resourceConsumptionPerKerbal = 1.5 | |
multiplyFactor = Crowded | |
multiplier = 0.25 | |
crewCap = 8 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
multiplyFactor = Microgravity | |
multiplier = 0.1 | |
crewCap = 8 | |
resourceConsumption = 18 | |
} | |
RESOURCE | |
{ | |
name = RadiationShielding | |
amount = 0 | |
maxAmount = 4 | |
} | |
} | |
@PART[sspx-observation-25-1]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 1.1 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
recuperation = 1 | |
crewCap = 6 | |
resourceConsumptionPerKerbal = 1 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
multiplyFactor = Loneliness | |
multiplier = 0.5 | |
} | |
} | |
@PART[sspx-observation-25-1]:NEEDS[KerbalHealth] | |
{ | |
!RESOURCE[RadiationShielding] {} | |
} | |
@PART[sspx-core-25-1]:NEEDS[KerbalHealth,!USILifeSupport] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 4.0 | |
} | |
} | |
@PART[sspx-core-25-1]:NEEDS[KerbalHealth,USILifeSupport] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 1.7 //reduced space with USI-LS due to life support system | |
} | |
} | |
@PART[sspx-greenhouse-25-1]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 1.5 | |
} | |
RESOURCE | |
{ | |
name = RadiationShielding | |
amount = 0 | |
maxAmount = 1 | |
} | |
} | |
@PART[sspx-habitation-375-1]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 1.2 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
resourceConsumptionPerKerbal = 0.75 | |
multiplyFactor = Crowded | |
multiplier = 0.4 | |
crewCap = 12 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
multiplyFactor = Assigned | |
multiplier = 0.5 | |
crewCap = 12 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
shielding = 10 | |
} | |
} | |
@PART[sspx-habitation-375-2]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 0.6 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
resourceConsumptionPerKerbal = 0.75 | |
multiplyFactor = Crowded | |
multiplier = 0.4 | |
crewCap = 6 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
multiplyFactor = Assigned | |
multiplier = 0.5 | |
crewCap = 6 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
shielding = 5 | |
} | |
} | |
@PART[sspx-habitation-375-3]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 1.2 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
resourceConsumptionPerKerbal = 0.5 | |
multiplyFactor = Crowded | |
multiplier = 0.5 | |
crewCap = 3 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
shielding = 25 //equivalent to 2.5t of add-on shielding | |
} | |
} | |
@PART[sspx-expandable-centrifuge-375-1]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 2.1 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
resourceConsumptionPerKerbal = 4.5 | |
multiplyFactor = Crowded | |
multiplier = 0.1 | |
crewCap = 10 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
multiplyFactor = Assigned | |
multiplier = 0.5 | |
crewCap = 10 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
multiplyFactor = Microgravity | |
multiplier = 0.1 | |
crewCap = 14 | |
resourceConsumption = 31.5 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
recuperation = 1 | |
crewCap = 6 | |
resourceConsumptionPerKerbal = 1 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
multiplyFactor = Loneliness | |
multiplier = 0.5 | |
} | |
RESOURCE | |
{ | |
name = RadiationShielding | |
amount = 0 | |
maxAmount = 7 | |
} | |
} | |
@PART[sspx-expandable-centrifuge-375-2]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 1.5 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
resourceConsumptionPerKerbal = 4.5 | |
multiplyFactor = Crowded | |
multiplier = 0.1 | |
crewCap = 6 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
multiplyFactor = Assigned | |
multiplier = 0.5 | |
crewCap = 6 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
multiplyFactor = Microgravity | |
multiplier = 0.1 | |
crewCap = 10 | |
resourceConsumption = 22.5 | |
} | |
RESOURCE | |
{ | |
name = RadiationShielding | |
amount = 0 | |
maxAmount = 5 | |
} | |
} | |
@PART[sspx-core-375-1]:NEEDS[KerbalHealth,!USILifeSupport] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 5.5 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
shielding = 5 | |
} | |
} | |
@PART[sspx-core-375-1]:NEEDS[KerbalHealth,USILifeSupport] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 2.2 //reduced space with USI-LS due to life support system | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
shielding = 5 | |
} | |
} | |
@PART[sspx-cupola-375-1]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 2.2 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
recuperation = 1 | |
crewCap = 4 | |
resourceConsumptionPerKerbal = 1 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
multiplyFactor = Loneliness | |
multiplier = 0.5 | |
} | |
} | |
@PART[sspx-lab-375-1]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 1.1 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
resourceConsumptionPerKerbal = 0.1 | |
multiplyFactor = Connected | |
multiplier = 1.2 | |
crewCap = 3 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
resourceConsumptionPerKerbal = 1 | |
multiplyFactor = Sickness | |
multiplier = 0.5 | |
crewCap = 3 | |
partCrewOnly = true | |
} | |
} | |
@PART[sspx-greenhouse-375-1]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 2.3 | |
} | |
RESOURCE | |
{ | |
name = RadiationShielding | |
amount = 0 | |
maxAmount = 1.5 | |
} | |
} | |
@PART[sspx-aquaculture-375-1]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 2.4 | |
} | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
shielding = 25 | |
} | |
} | |
@PART[sspx-airlock-125-1]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 0 | |
} | |
} | |
@PART[sspx-airlock-25-1]:NEEDS[KerbalHealth] | |
{ | |
MODULE | |
{ | |
name = ModuleKerbalHealth | |
space = 0 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment