TechGuide ~ MM Patch Injection - Kerbalism/Kerbalism GitHub Wiki

Patch injection

Enabled features are specified by the user in the settings file and are detected automatically from the modifiers used in the current profile. They are then used to inject MM patches on-the-fly at loading time, so that it is possible to do conditional MM patching depending on the features enabled by using :NEEDS[FeatureXXX]. Likewise it is possible to use :NEEDS[ProfileXXX] to do conditional MM patching depending on the current profile.

FEATURE HOW IT IS DEFINED WHAT DOES IT ENABLE
Reliability user-specified in Settings file component malfunctions and critical failures
Deploy user-specified in Settings file the deployment system
Science user-specified in Settings file the science system
SpaceWeather user-specified in Settings file coronal mass ejections
Automation user-specified in Settings file script UI and automatic execution
Radiation detected from modifiers used simulation and rendering of radiation
Shielding detected from modifiers used shielding resource added to habitats
LivingSpace detected from modifiers used volume is calculated for habitats
Comfort detected from modifiers used comfort parts are added
Poisoning detected from modifiers used atmospheric CO2 is simulated in habitats
Pressure detected from modifiers used atmospheric pressure is simulated in habitats
Humidity detected from modifiers used atmospheric humidity is simulated in habitats
Habitat one or more features require it the habitat module is added to parts
⚠️ **GitHub.com Fallback** ⚠️