-
Notifications
You must be signed in to change notification settings - Fork 14
FaintPenalty
This outcome causes affected kerbals to faint. Example definition: OUTCOME { name = FaintPenalty resourceName = Snacks cyclesBeforeFainting = 3 faintDurationSeconds = 180 }
The name of the resource to check for failed processor cycles.
The number of cycles that must fail before the kerbal faints.
The number of seconds that the kerbal will faint for.
Initializes a new instance of the class.
node: A ConfigNode containing initialization parameters. Parameters in the class also apply.
Initializes a new instance of the class.
resourceName: The name of the resource to check. If none of the resource processors have failed cycles containing the resource then the outcome is invalidated.
cyclesBeforeFainting: The number of failed cycles required before applying the outcome..
faintDurationSeconds: Faint duration seconds.
playerMessage: A string containing the bad news for the player.