-
Notifications
You must be signed in to change notification settings - Fork 703
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
Core, Webhost, Docs: Replace all usages of player settings #3067
Core, Webhost, Docs: Replace all usages of player settings #3067
Conversation
There's also a line in here you'll want to change: https://github.com/ArchipelagoMW/Archipelago/blob/main/worlds/archipidle/docs/guide_en.md |
Thank you, it took me a few reads to see where it was |
You can probably also update these:
|
Ahh, I didn't notice that there was specific backwards compat with weighted right now. I'll look into and see what I can find out. This PR can be marked as |
I think it'd be fine if this PR just did everything for |
I suppose that works, especially with the revamped options pages in the works. |
I see newlines were added in several of these. |
I can double check, all of those newline were added in by PyCharm automatically |
unsure if it's in scope for this PR but there are some remaining f strings in Generate.py that still reference player settings |
Thus far this does not conflict with the option-gruops PR, so it has my approval pending any further changes. |
I did my best to address the Generate.py f strings and arguments. I think I caught everything in there
I reverted all of the changes that were just newlines put in automatically. None of the files should have different newline behaviors. |
Not really sure what your Discord name is, if anything, but I opened a PR on your fork with two suggested changes |
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.
Two small things that stuck out. Everything else looks good
@@ -103,8 +103,6 @@ shuffle_structures: | |||
off: 0 | |||
``` | |||
|
|||
För mer detaljer om vad varje inställning gör, kolla standardinställningen `PlayerSettings.yaml` som kommer med |
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.
You removed this paragraph for some reason?
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.
This paragraph references the PlayerSettings.yaml file that no longer exists as of #3062 . The document overall is very outdated, but I don't know any Swedish to update it.
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.
Sounds good to me then!
One missed "setting", removing a fallback
Co-authored-by: Exempt-Medic <[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.
All the changes LGTM. Searched for other instances of "settings" in the options sense and didn't find any
…goMW#3067) * Replace all usages of player settings * Fixed line break error * Attempt to fix line break again * Finally figure out what Pycharm did to this file * Pycharm search failed me * Remove duplicate s * Update ArchipIdle * Revert random newline changes from Pycharm * Remove player settings from fstrings and rename --samesettings to --sameoptions * Finally get PyCharm to not auto-format my commits, randomly inserting the newlines * Removing player-settings * Missed one * Remove final line break error Co-authored-by: Exempt-Medic <[email protected]> --------- Co-authored-by: Exempt-Medic <[email protected]> Co-authored-by: Exempt-Medic <[email protected]>
…goMW#3067) * Replace all usages of player settings * Fixed line break error * Attempt to fix line break again * Finally figure out what Pycharm did to this file * Pycharm search failed me * Remove duplicate s * Update ArchipIdle * Revert random newline changes from Pycharm * Remove player settings from fstrings and rename --samesettings to --sameoptions * Finally get PyCharm to not auto-format my commits, randomly inserting the newlines * Removing player-settings * Missed one * Remove final line break error Co-authored-by: Exempt-Medic <[email protected]> --------- Co-authored-by: Exempt-Medic <[email protected]> Co-authored-by: Exempt-Medic <[email protected]>
…goMW#3067) * Replace all usages of player settings * Fixed line break error * Attempt to fix line break again * Finally figure out what Pycharm did to this file * Pycharm search failed me * Remove duplicate s * Update ArchipIdle * Revert random newline changes from Pycharm * Remove player settings from fstrings and rename --samesettings to --sameoptions * Finally get PyCharm to not auto-format my commits, randomly inserting the newlines * Removing player-settings * Missed one * Remove final line break error Co-authored-by: Exempt-Medic <[email protected]> --------- Co-authored-by: Exempt-Medic <[email protected]> Co-authored-by: Exempt-Medic <[email protected]>
What is this fixing or adding?
Replaces the remaining usages of player settings with player options
/player-options
remainChanges Generate.py to reference player options, changing the
--samesettings
argument to--sameoptions
Removed backwards compatability for player-settings link
/player-settings
links should no longer auto-redirect to/player-options
pageHow was this tested?
--sameoptions
argument and got expected output