- Joined
- Sep 8, 2013
- Messages
- 151
- Reaction score
- 0
I thought of this myself, but I didn\'t find the need to talk about it because Schema could probably figure out a better system.
But, you could simply define that when a call for damage calculation is passed, the current amount of power generators is 100%. That variable would be static unless a different condition is met.
That condition would be the very same condition that is met for the shutdown sequence to disengage, to be more specific, the condition in which for a period of time you take no damage. If such a time period has elapsed, the shutdown sequence is disengaged, and the variable that determines 100% of power regen capacity is returned to a dynamic value based on current power generators.
For other readers who don\'t understand how coding works, if the shutdown sequence is engaged, but at some point before it completes, you survive a span of 20 seconds without taking any damage to your ship, the amount of power gens in your ship will be the \"New\" 100% until you start adding on more power gens.
But, you could simply define that when a call for damage calculation is passed, the current amount of power generators is 100%. That variable would be static unless a different condition is met.
That condition would be the very same condition that is met for the shutdown sequence to disengage, to be more specific, the condition in which for a period of time you take no damage. If such a time period has elapsed, the shutdown sequence is disengaged, and the variable that determines 100% of power regen capacity is returned to a dynamic value based on current power generators.
For other readers who don\'t understand how coding works, if the shutdown sequence is engaged, but at some point before it completes, you survive a span of 20 seconds without taking any damage to your ship, the amount of power gens in your ship will be the \"New\" 100% until you start adding on more power gens.