forked from tgruetzm/Snacks
-
Notifications
You must be signed in to change notification settings - Fork 14
CheckGravityLevel
Michael Billard edited this page Jun 29, 2019
·
1 revision
This precondition checks to see if a vessel or roster resource meets the supplied parameters. Gravity checks can be negated by setting CheckGravityLevel.checkType, where checkType is one of the conditional qualifiers. For instance, CheckGravityLevel.checkLesserOrEqual will disqualify any microgravity event checks and is useful for centrifuges. Example definition: PRECONDITION { name = CheckGravityLevel valueToCheck = 0.1 checkType = checkLesserOrEqual //Default value }
The value to check for
The conditional type to use during the validation.
Initializes a new instance of the class.
node: A ConfigNode containing initialization parameters. parameters from the class also apply.