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

DLC Quest: Fix code structure, typos, poor code quality #2066

Merged

Conversation

agilbert1412
Copy link
Collaborator

@agilbert1412 agilbert1412 commented Jul 31, 2023

What is this fixing or adding?

I got tired of receiving emotional damage every time I laid eyes on the DLC Quest code. So I did something about it.

Added a bunch of tests to make sure I don't break anything during refactoring
Huge cleanup in the Regions file, extract methods, remove code duplicate, fix typos, fix variable naming conventions, etc.
Small cleanup in other places, minor stuff just what was needed for Regions

How was this tested?

Ran my own new tests before and after, also ran the global tests for the whole project.
I also generated a couple of games, alone and with other yamls, even though it theoretically shouldn't be necessary

@ThePhar ThePhar added the is: refactor/cleanup Improvements to code/output readability or organizization. label Jul 31, 2023
Copy link
Collaborator

@axe-y axe-y left a comment

Choose a reason for hiding this comment

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

I didn't understand all the tests, but I approve of the refactoring.

@Berserker66 Berserker66 merged commit 5ca1aba into ArchipelagoMW:main Oct 18, 2023
12 checks passed
FlySniper pushed a commit to FlySniper/Archipelago that referenced this pull request Nov 14, 2023
…W#2066)

"Added a bunch of tests to make sure I don't break anything during refactoring
Huge cleanup in the Regions file, extract methods, remove code duplicate, fix typos, fix variable naming conventions, etc.
Small cleanup in other places, minor stuff just what was needed for Regions"
Jouramie pushed a commit to Jouramie/Archipelago that referenced this pull request Feb 28, 2024
…W#2066)

"Added a bunch of tests to make sure I don't break anything during refactoring
Huge cleanup in the Regions file, extract methods, remove code duplicate, fix typos, fix variable naming conventions, etc.
Small cleanup in other places, minor stuff just what was needed for Regions"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is: refactor/cleanup Improvements to code/output readability or organizization.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants