Skip to content

feat: Improve fuel rate calculation and display#1604

Merged
mkmccarty merged 1 commit intomainfrom
mm-branch-2
Sep 28, 2025
Merged

feat: Improve fuel rate calculation and display#1604
mkmccarty merged 1 commit intomainfrom
mm-branch-2

Conversation

@mkmccarty
Copy link
Owner

The changes in this commit improve the calculation and display of the fuel rate in the virtue.go file. The main changes are:

  • Moved the calculation of the fuel percentage from inside the if fuelingEnabled block to before it, to make the code more readable.
  • Added a warning lamp indicator to the fuel rate display when the fuel percentage is at 100% or the shipping rate exceeds the egg laying rate.
  • Improved the formatting of the fuel rate display to make it more consistent and informative.

The changes in this commit improve the calculation and display of the fuel rate in the virtue.go file. The main changes are:

- Moved the calculation of the fuel percentage from inside the `if fuelingEnabled` block to before it, to make the code more readable.
- Added a warning lamp indicator to the fuel rate display when the fuel percentage is at 100% or the shipping rate exceeds the egg laying rate.
- Improved the formatting of the fuel rate display to make it more consistent and informative.
@mkmccarty mkmccarty merged commit f5a841f into main Sep 28, 2025
10 of 12 checks passed
@mkmccarty mkmccarty deleted the mm-branch-2 branch September 28, 2025 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant