Mindustry
Mindustry copied to clipboard
BetterPlanetSelection
Better looking UI for planet selection:
-
Buttons are now also colored in the color of the planet icon
-
If the modification has its own star system, then the planet selection buttons belonging to this system will be placed in a separate category with the name of the star that is the center of the system.
Demonstration:
Without modifications that have their own star systems:
With modifications that have their own star systems:
Modifications used: FOS, Omaloon
- [x] I have read the contribution guidelines.
- [x] I have ensured that my code compiles, if applicable.
- [x] I have ensured that any new features in this PR function correctly in-game, if applicable.
@Anuken ?
@Anuken Is there anything that still doesn't meet your requirements? Do I need to redo something?
Formatting is still wrong, you still have spaces around braces. You also removed the spaces around =
for some reason (the guidelines don't tell you to do this)
Is everything correct now?
...Now the indentation is broken, look at the diff. It's all on the left.
...Now the indentation is broken, look at the diff. It's all on the left.
well @Anuken merge?
You reformatted a bunch of unrelated stuff in the whole file now.
Something strange with Github, I'll recreate pull request