Skip to content

Commit

Permalink
Prevent drain valve from draining hidden resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Capkirk123 committed Mar 9, 2024
1 parent a7fef05 commit 61769ce
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
9 changes: 9 additions & 0 deletions GameData/KerbalismConfig/Profiles/ROKerbalism.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2420,3 +2420,12 @@ RESOURCE_DEFINITION
{
@tags ^=:$:, sickbay, stress, colony, habitation
}
//Don't let the fuel dump valve touch kerbalism hidden resources
@RESOURCE_DEFINITION[_*]:NEEDS[ProfileRealismOverhaul]:LAST[Kerbalism]
{
RESOURCE_DRAIN_DEFINITION
{
isDrainable = false
showDrainFX = false
}
}
7 changes: 7 additions & 0 deletions GameData/KerbalismConfig/System/Resources.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,11 @@ RESOURCE_DEFINITION
transfer = NONE
isTweakable = true
volume = 1
//we can fill shielding, so why not drain it too
RESOURCE_DRAIN_DEFINITION
{
isDrainable = true
showDrainFX = true
drainFXDefinition = particlesDraining
}
}

0 comments on commit 61769ce

Please sign in to comment.