It now uses the new options API, and most options access goes through named fields on the objects object rather than through getattr.
Moved away from using self.multiworld.random or per_slot_randoms in favor of the world random field.
Moved away from accessing other various fields through self.multiworld, such as the player's name.
The world object is now passed to generateRom so that the various parameters can be accessed through it instead of having to be passed manually, since they are almost all members of the world class anyway.
Fixed a couple of typos.
How was this tested?
Ran 100 generations with random options. pytest continues to pass.
If this makes graphical changes, please attach screenshots.
What is this fixing or adding?
This PR contains a handful of refactors for LADX:
self.multiworld.random
orper_slot_randoms
in favor of the world random field.self.multiworld
, such as the player's name.How was this tested?
Ran 100 generations with random options. pytest continues to pass.
If this makes graphical changes, please attach screenshots.