Skip to content
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

LADX: more item groups, location groups, keysanity preset #3936

Merged

Conversation

threeandthreee
Copy link
Contributor

What is this fixing or adding?

Adds a bunch more item groups, creates location groups by area, and adds a keysanity preset to the options page.

How was this tested?

Generated some seeds, tested preset in webhost, checked datapackage to see that groups were made correctly.

@github-actions github-actions bot added the waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. label Sep 13, 2024
@Exempt-Medic Exempt-Medic added the is: enhancement Issues requesting new features or pull requests implementing new features. label Sep 13, 2024
worlds/ladx/Items.py Outdated Show resolved Hide resolved
@@ -66,6 +68,15 @@ class LinksAwakeningWebWorld(WebWorld):
)]
theme = "dirt"
option_groups = ladx_option_groups
options_presets = {
"Keysanity": {
Copy link
Member

@Exempt-Medic Exempt-Medic Sep 13, 2024

Choose a reason for hiding this comment

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

I would probably change this. Maps, compasses, and stone beaks are not very "key" related. You could add in Instruments and call it "All Shuffle" or something maybe?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The upstream ladx rando has a keysanity setting that shuffles dungeon items this way, I think its a generally understood term.

image

Copy link
Collaborator

Choose a reason for hiding this comment

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

Well, I think upstream's preset is poorly named, then. "Shuffle Dungeon Items" maybe?

Copy link
Member

Choose a reason for hiding this comment

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

I agree with the points made by Medic and Scipio, HOWEVER: At the moment, presets always change every option. As a result, I think it's fine to add other options that seem to have a similar "spirit"

Copy link
Collaborator

@ScipioWright ScipioWright left a comment

Choose a reason for hiding this comment

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

Some cleanup, and some typing. While the rest of the world doesn't have good typing, that doesn't mean we shouldn't add some when new things are added.

worlds/ladx/Locations.py Outdated Show resolved Hide resolved
worlds/ladx/Items.py Outdated Show resolved Hide resolved
worlds/ladx/__init__.py Outdated Show resolved Hide resolved
Copy link

@SushiKishi SushiKishi left a comment

Choose a reason for hiding this comment

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

More logic options are always fun. Seeds with this implemented have generated as expected.

Copy link
Contributor

@palex00 palex00 left a comment

Choose a reason for hiding this comment

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

This PR was tested as part of a Beta apworld that was used in three dedicated Test Asyncs, as well as dozen of normal Syncs. I have also personally run 200 test generations which succeeded.

We have also done polling on what users want, etc. which can be found here

The new feature has worked as expected and other stuff does not seem impacted.

Also let's be real, this is a very simple code change. It's just some design decision semantics.

@NewSoupVi NewSoupVi merged commit 4d42814 into ArchipelagoMW:main Dec 5, 2024
18 checks passed
@threeandthreee threeandthreee deleted the ladx/groups-and-presets branch December 10, 2024 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is: enhancement Issues requesting new features or pull requests implementing new features. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants