Skip to content

Conversation

@nicholassaylor
Copy link
Contributor

What is this fixing or adding?

Remove use of per_slot_randoms in the OoT Adjuster by changing it to the world's random
Addresses #3382 (comment)

How was this tested?

It was not

@github-actions github-actions bot added affects: core Issues/PRs that touch core and may need additional validation. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels Nov 27, 2024
@alwaysintreble
Copy link
Collaborator

Not tested, but looking at what it's doing here I think this line can just be straight up removed. Before we had per_world_random, per_slot_randoms was set in set_seed, which is skipped here, but it's initialized in the world constructor now. Random import can likely also be removed

@nicholassaylor
Copy link
Contributor Author

Not tested, but looking at what it's doing here I think this line can just be straight up removed. Before we had per_world_random, per_slot_randoms was set in set_seed, which is skipped here, but it's initialized in the world constructor now. Random import can likely also be removed

On second look, I would agree

@Exempt-Medic Exempt-Medic added is: enhancement Issues requesting new features or pull requests implementing new features. is: refactor/cleanup Improvements to code/output readability or organizization. labels Nov 27, 2024
Copy link
Collaborator

@alwaysintreble alwaysintreble left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still not tested but looks correct

@Exempt-Medic Exempt-Medic added waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer. and removed waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels Jan 19, 2025
@Exempt-Medic Exempt-Medic merged commit cbf4bbb into ArchipelagoMW:main Jan 19, 2025
16 checks passed
@nicholassaylor nicholassaylor deleted the oot-adjuster-randoms branch January 19, 2025 23:23
Witchybun pushed a commit to Witchybun/Archipelago that referenced this pull request May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

affects: core Issues/PRs that touch core and may need additional validation. is: enhancement Issues requesting new features or pull requests implementing new features. is: refactor/cleanup Improvements to code/output readability or organizization. waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants