From 1aa5dcff06115d383545b6c5f54b6090873cf261 Mon Sep 17 00:00:00 2001 From: Grimmas Date: Tue, 7 Mar 2023 20:15:26 +0100 Subject: [PATCH] Create MM-SystemHeat.cfg --- .../StationScience/Patches/MM-SystemHeat.cfg | 79 +++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 GameData/StationScience/Patches/MM-SystemHeat.cfg diff --git a/GameData/StationScience/Patches/MM-SystemHeat.cfg b/GameData/StationScience/Patches/MM-SystemHeat.cfg new file mode 100644 index 0000000..884b068 --- /dev/null +++ b/GameData/StationScience/Patches/MM-SystemHeat.cfg @@ -0,0 +1,79 @@ +// System Heat patch for MOAR Station Science +// +// author: Grimmas +// + +// parts balance is also affected (only when using SystemHeat): +// required cooling per part increased from 2kw to a more reasonable 200kw, so that the parts cannot be simply cooled with the smallest radiator + + +@PART[StnSciSpectro,StnSciLab,StnSciCyclo,StnSciZoo]:NEEDS[SystemHeat]:FOR[StationScience] +{ + // remove core heat modules + !MODULE[ModuleCoreHeat] {} + !MODULE[ModuleOverheatDisplay] {} + !TemperatureModifier {} + + // add system heat main module + MODULE + { + name = ModuleSystemHeat + // Cubic metres + volume = 5.0 + moduleID = heat + iconName = Icon_Gears + } +} + +// change SampleAnalyzer parts to use system heat +@PART[StnSciSpectro]:NEEDS[SystemHeat]:FOR[StationScience] +{ + // FIXME the SampleAnalyzer / Spectrometron in StationScience does not actually generate any heat so we won't generate any here either for now + !MODULE[ModuleSystemHeat] {} + + // @MODULE[SampleAnalyzer] + // { + // @GeneratesHeat = False + // @AutoShutdown = False + // } + +} + +// change StationScienceModule parts to use system heat +@PART[StnSciLab,StnSciCyclo,StnSciZoo]:NEEDS[SystemHeat]:FOR[StationScience] +{ + @MODULE[StationScienceModule] + { + @name = ModuleSystemHeatConverter + + // must be unique + moduleID = converter1 + // ModuleSystemHeat moduleID to link to + systemHeatModuleID = heat + + // The shutdown temperature of the part + shutdownTemperature = 354 + + // The temperature the system contributes to loops + systemOutletTemperature = 320 + + // Map loop temperature to system efficiency (0-1.0) + systemEfficiency + { + key = 0 0.0 + key = 320 1.0 + key = 354 0.0 + } + + // Heat generation (kW) + systemPower = 200 + + !ThermalEfficiency {} + !TemperatureModifier {} + + @GeneratesHeat = False + + } + +} +