From 75170b86a32a7e2c84cdd90abd1f2df4db221f4b Mon Sep 17 00:00:00 2001 From: Capkirk123 Date: Sat, 9 Mar 2024 15:04:48 -0500 Subject: [PATCH] Improve drain valve behavior more --- GameData/RealismOverhaul/RO_Resources.cfg | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/GameData/RealismOverhaul/RO_Resources.cfg b/GameData/RealismOverhaul/RO_Resources.cfg index 8ab02f7bdb..1eaa4dd0ed 100644 --- a/GameData/RealismOverhaul/RO_Resources.cfg +++ b/GameData/RealismOverhaul/RO_Resources.cfg @@ -766,10 +766,29 @@ RESOURCE_DEFINITION { !amountUnit = DEL } +//Set drain Isp very low to prevent exploits? @RESOURCE_DEFINITION[*]:LAST[RealismOverhaul] { %RESOURCE_DRAIN_DEFINITION { %drainForceISP = 0.1 } +} +//Do not drain nuclear fuels +@RESOURCE_DEFINITION[DepletedUranium|EnrichedUranium|UraniumNitride|DepletedFuel]:LAST[RealismOverhaul] +{ + @RESOURCE_DRAIN_DEFINITION + { + %isDrainable = false + %showDrainFX = false + } +} +//Do not drain hidden resources, they are probably hidden for a reason +@RESOURCE_DEFINITION[*]:HAS[#isVisible[?alse]]:LAST[RealismOverhaul] +{ + @RESOURCE_DRAIN_DEFINITION + { + %isDrainable = false + %showDrainFX = false + } } \ No newline at end of file