forked from tgruetzm/Snacks
-
Notifications
You must be signed in to change notification settings - Fork 14
DeathPenalty
Michael Billard edited this page Jun 29, 2019
·
1 revision
This outcome causes affected kerbals to die. Example definition: OUTCOME { name = DeathPenalty resourceName = Snacks cyclesBeforeDeath = 10 }
The name of the resource to check for failed processor cycles.
The number of cycles that must fail before the kerbal dies.
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 no processor has a failed cycle with the resource then the outcome is invalidated.
cyclesBeforeDeath: The number of failed processor cycles required before applying the outcome.
playerMessage: A string containing the bad news for the player.