-
-
Notifications
You must be signed in to change notification settings - Fork 362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor and rework random system generator #5748
base: master
Are you sure you want to change the base?
Conversation
58addc4
to
dfa9676
Compare
This is good work! Glad to see someone showing this code some care and attention |
da4be00
to
1406c63
Compare
removed WIP: sign, third task would be completed through separate PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't spot any coding issues, although the ULGY HACK part could be nice to cleanup
I don't know how to make it pretty, it generates an i-th uppercase letter |
Does this change the universe generation at all? |
In what terms? |
Naming of systems, numbers of stars/planets/etc, anything like that or is it purely a code reorganisation? |
Number of planets could vary. Number of stars for each system is done in sector generator. Only change here is how star types are generated |
@Mc-Pain would you mind if I pushed a small change to your PR to cleanup the |
+, go ahead |
@fluffyfreak Wait with asking until after you've done it. (looks like mcpain gave thumbs up on your post, but you're not notified by that) EDIT: looks like me and mcpain posted at the same time |
@Web-eWorks I'm happy with this as-is but as I've (tried to) contribute to the code I'm not going to judge whether it should be merged, also with the changes it may have changed the generated universe which requires a savegame bump? |
I'd recommend holding off on merge until after 3.14, when we intend to release a bug-fix zuper-ztable Tauoneer (tau = 2 x pi, Tauoneer = Pi-Pioneer - yes, I'll keep proposing that). Players of the 3.14 release are Tauonauts. Only bug-fixes and PRs that are unlikely to introduce bugs before 3.14, and no save-bumps, according to the Board of Directors of Pioneer. |
|
Apologies on the delay officially responding here. I'll be reviewing this PR soon after the 3.14 hotfix release, as I'd prefer not to introduce a savegame bump in the upcoming release if it's not absolutely necessary. |
if body is root, parent == 0
Do not rely on syste layout, it could be random now
a365298
to
4ec5008
Compare
|
Current implementation allows up to four stars in the system with only layout of "two binary systems orbiting each other"