Skip to content

Conversation

@ithinkandicode
Copy link
Collaborator

@ithinkandicode ithinkandicode commented Apr 1, 2023

Moves the main funcs from ModLoader.method to ModLoaderMod.method, as discussed in #153.

Some vars had to be moved from ModLoader to ModLoaderStore: is_initializing and script_extensions.

Includes deprecated funcs in the main ModLoader file. Developed alongside #207 (which downgrades the inevitable flood of fatal errors to just warnings).

Related:

There are no changes to the mod funcs, aside from making them static
@ithinkandicode ithinkandicode added refactor / cleanup Improves readability or maintainability breaking Breaking change labels Apr 1, 2023
@ithinkandicode ithinkandicode changed the title refactor: Move main funcs to ModLoaderMod, from ModLoader refactor: Move main mod API funcs to ModLoaderMod, from ModLoader Apr 1, 2023
@KANAjetzt KANAjetzt added this to the v6.0.0 milestone Apr 2, 2023
@KANAjetzt KANAjetzt requested review from a team and Qubus0 April 2, 2023 18:48
Copy link
Collaborator

@Qubus0 Qubus0 left a comment

Choose a reason for hiding this comment

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

No big complaints, looks pretty good

Copy link
Member

@KANAjetzt KANAjetzt left a comment

Choose a reason for hiding this comment

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

Nice - ty darkly.
Tested it by running brotato with my mods.

@KANAjetzt
Copy link
Member

Fancy fixing the conflicts and merging this @ithinkandicode?

@KANAjetzt
Copy link
Member

Tested again with Brotato and 9 aktive Mods

@KANAjetzt KANAjetzt added this pull request to the merge queue Apr 9, 2023
Merged via the queue into GodotModding:development with commit 187e5f5 Apr 9, 2023
@ithinkandicode ithinkandicode changed the title refactor: Move main mod API funcs to ModLoaderMod, from ModLoader refactor: ♻️ Move main mod API funcs to ModLoaderMod, from ModLoader Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Breaking change refactor / cleanup Improves readability or maintainability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants