-
Notifications
You must be signed in to change notification settings - Fork 680
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
Hylics 2: Remove Random Start option and replace it with Start Location option #3289
Conversation
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 actually had just been thinking about doing this pretty recently lol. There's no reason you shouldn't be allowed to choose, and I'm pretty sure forcing it to be random breaks Universal Tracker anyway. Just one small change before I approve
"random_start" : self.options.random_start.value, | ||
"start_location" : self.start_location, | ||
"random_start": int(self.options.start_location != "waynehouse"), | ||
"start_location" : self.options.start_location.current_option_name, |
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 assume this is meant to use the capitalized forms, with spaces, and the other small changes? So waynehouse
-> Waynehouse
, viewaxs_edifice
-> Viewax's Edifice
, and so on? I just ask because the docstring says "For display purposes. Worlds should be using current_key."
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.
Yes, that's why I used current_option_name
instead. I did the same thing when implementing an option for A Short Hike a while back.
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.
The back-compat line functions correctly. Code/changes LGTM. It generates just fine. Only suggestion, you may want to add random_start
as a Removed
option so that old yamls using it on newer AP will throw an error instead of silently using the default.
Update: The new removed option works properly
Random Overcooked 2! test failure... |
…on option (ArchipelagoMW#3289) * Hylics 2: Remove Random Start option and replace it with Start Location option * remove choice * Readd random start to slot data * newlines * Add random_start as a Removed option
…on option (ArchipelagoMW#3289) * Hylics 2: Remove Random Start option and replace it with Start Location option * remove choice * Readd random start to slot data * newlines * Add random_start as a Removed option
Removes the Random Start option from Hylics 2 and replaces it with the Start Location option, allowing the player to select a specific starting location in addition to having it randomly chosen.
@TRPG0