Skip to content

Commit

Permalink
Improve drain valve behavior more
Browse files Browse the repository at this point in the history
  • Loading branch information
Capkirk123 committed Mar 9, 2024
1 parent 5f8347f commit 75170b8
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions GameData/RealismOverhaul/RO_Resources.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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]

This comment has been minimized.

Copy link
@Clayell

Clayell Mar 21, 2024

Contributor

@Capkirk123 Just popping in because I'm curious, is this supposed to be

#isVisible[?false]

instead of

#isVisible[?alse]

No idea if this is a typo or intentional as I don't know any of these systems

This comment has been minimized.

Copy link
@Capkirk123

Capkirk123 Mar 21, 2024

Author Member

It is correct as is, the ? character is a single-char wildcard

{
@RESOURCE_DRAIN_DEFINITION
{
%isDrainable = false
%showDrainFX = false
}
}

0 comments on commit 75170b8

Please sign in to comment.