diff -r b0f85ff1a503 -r 101603241531 fusion-lab/data-updates.lua --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fusion-lab/data-updates.lua Wed Jul 02 14:28:57 2025 +0300 @@ -0,0 +1,17 @@ +-- Using fluoroketones in a heat exchanger requires both fluoroketones +-- have the same default temperature, so we need to modify that here. +data.raw.fluid["fluoroketone-hot"].default_temperature = data.raw.fluid["fluoroketone-cold"].default_temperature +data.raw.fluid["fluoroketone-hot"].max_temperature = 180 + +-- We now need need to adjust any recipes that output fluoroketone at default temperature. +-- The cryogenic science pack is one. +for _, recipe in pairs(data.raw.recipe) +do + for _, result in pairs(recipe.results or {}) + do + if result.type == 'fluid' and result.name == 'fluoroketone-hot' and result.temperature == nil + then + result.temperature = 180 + end + end +end