Skip to content

Externalize formats from mods into mod folders#1565

Open
EnPassant4264 wants to merge 13 commits intoscoopapa:mainfrom
EnPassant4264:formats
Open

Externalize formats from mods into mod folders#1565
EnPassant4264 wants to merge 13 commits intoscoopapa:mainfrom
EnPassant4264:formats

Conversation

@EnPassant4264
Copy link
Contributor

Completing the work started on this PR to have mods define their own formats, rather than storing them all in config/formats.ts. The main change from that PR is that there's now a single formats.ts file for each mod folder that stores an array of all of the formats (though most of them have only one, it means it takes no work if any chooses to change that), which are passed into the config and placed together. While formats of a mod can still be placed separately by referencing their index in their array, I chose not to do that in the few instances where they had been previously.

Unfortunately, the two official Smogon mods (Bad N' Boosted and Gen 3 Colosseum) don't load correctly from being in the new official-formats file, so I had to update the client as well to read them.

There's some other stuff in here, don't worry about it
add all the changes before committing
Fixed this locally, guess I forgot to move it
This externalizes the formats.ts construction to clear merge conflicts happening every time a mod updates. Now, the file simply imports the formats and places them in order, so it will only change and do so minorly when a mod is created or removed.
Revert "ES Rental Sets Part 2"

This reverts commit 7616710.

Revert "ES Rental Set updates, Part 2"

This reverts commit 3637e7e.

Revert "ES Rental Set updates, Part 3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants