-
Notifications
You must be signed in to change notification settings - Fork 671
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
TUNIC: Better seed groups for Entrance Rando #2998
Conversation
Co-authored-by: Silent <[email protected]>
Did a few test gens with different ER settings combinations and everything seemed to work fine |
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.
Tunc has some pretty deep conditionals sometimes that could probably be cleaned up, like the indentation level on some of these statements is a bit wacky
Other than that, this looks fine
Drafting until I can test it all out, don't need a repeat of what happened before |
An issue was found, coverting to draft while fixing it |
Co-authored-by: Kaito Sinclaire <[email protected]>
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.
After the latest fix, everything I've thrown at it to test appears to behave correctly:
- Generates fine with multiple distinct seed groups in the same multiworld, and doesn't change anything for players also in that multiworld who just have ER on normally
- More restrictive ER rules propagate to other players in the same seed group
plando_connections
rules propagate to other players in the same seed group, and combine correctly if multiple players have them- Conflicting
plando_connections
rules between multiple players correctly errors out
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.
Did a quick review of the changes since I last reviewed - Trusting the extensive integration test by KSci that explicitly mentions testing every case I would test as well
* Update entrance rando description to discuss seed groups * Starting off, setting up some names * It lives * Some preliminary plando connection handling, probably has errors * Add missed comma * if -> elif * I think this is working properly to handle plando connections * Update comments * Fix up shop -> shop portal stuff * Add back comma that got removed for no reason in the ladder PR * Remove unnecessary if else * add back the actually necessary if but not the else * okay they were both necessary * Update entrance rando description * blasphemy Co-authored-by: Silent <[email protected]> * Rename other instances of tunc -> tunic * Update per Vi's review (thank you) * Fix a not that shouldn't have been * Rearrange, update per Vi's comments (thank you) * Fix indent * Add a .value * Add .values * Fix bad comparison * Add a not that was supposed to be there * Replace another isinstance * Revise option description * Fix per Kaito's comment Co-authored-by: Kaito Sinclaire <[email protected]> --------- Co-authored-by: Silent <[email protected]> Co-authored-by: Kaito Sinclaire <[email protected]>
* Update entrance rando description to discuss seed groups * Starting off, setting up some names * It lives * Some preliminary plando connection handling, probably has errors * Add missed comma * if -> elif * I think this is working properly to handle plando connections * Update comments * Fix up shop -> shop portal stuff * Add back comma that got removed for no reason in the ladder PR * Remove unnecessary if else * add back the actually necessary if but not the else * okay they were both necessary * Update entrance rando description * blasphemy Co-authored-by: Silent <[email protected]> * Rename other instances of tunc -> tunic * Update per Vi's review (thank you) * Fix a not that shouldn't have been * Rearrange, update per Vi's comments (thank you) * Fix indent * Add a .value * Add .values * Fix bad comparison * Add a not that was supposed to be there * Replace another isinstance * Revise option description * Fix per Kaito's comment Co-authored-by: Kaito Sinclaire <[email protected]> --------- Co-authored-by: Silent <[email protected]> Co-authored-by: Kaito Sinclaire <[email protected]>
What is this fixing or adding?
Makes it so that people who choose the same seed for entrance rando will have the same entrances, even if the settings that alter how entrances are placed (Laurels Location, Logic Rules, and Fewer Shops) are different. It takes the most restrictive of the settings for those in the group.
How was this tested?
Test generations with multiple players, with the above-stated options set to random, and entrance_rando set to a string.
And additional tests with multiple different entrance_rando seed groups, some set to 'true', some with it off, etc.
If this makes graphical changes, please attach screenshots.
N/A