Suit power may go above 100% when charged by the hab

Mr. Fusion 4 months ago in Gameplay • updated by Tyler Owen (Lead Developer) 4 months ago 2

When the Hab reserve power is full and the suit gets trickle charged, it sometimes may show a charge level slightly above 100% on the manage suit screen; I usually see 100.4% or 100.7% in such cases. This excess charge can be transferred back and forth between the suit and the hab without getting lost.

This condition may have something to do with having rested for long enough to have the suit fully charged by the trickle during the rest period; I didn't explicitly test for this.

Under review

It's probably because I'm not clamping the value at 100. I'm probably just preventing adding more to the total once the total is over 100. So if you are at 99.9% and it generates 0.5% it goes up to 100.4% and then stops adding more since it's over 100. I've made this mistake before so I'll check and fix it.