Priority of loading mods

Place to post guides, observations, things related to modding that are not mods themselves.
User avatar
SLywnow
Inserter
Inserter
Posts: 39
Joined: Sat Apr 25, 2020 7:37 pm
Contact:

Priority of loading mods

Post by SLywnow »

How about adding priority downloads to json mods? I often make forks of mods or addons, and sometimes the author uses the last stage of loading for the main code and my mod simply does not see the necessary prototypes or smth else. What if it were or as in rimworld - the json specifies the mods that should load before the current one, or even easier - automatically load all the mods from dependencies before the mod. It's quite simple to make the game automatically compile a list of priorities, just go from the bottom of the list (mods that do not have child mods) to base.
What do you think about it?
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5304
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Priority of loading mods

Post by Klonan »

SLywnow wrote: Sun Nov 27, 2022 8:12 pmautomatically load all the mods from dependencies before the mod.
Its a great idea! Actually its what we already do :D
FuryoftheStars
Smart Inserter
Smart Inserter
Posts: 2768
Joined: Tue Apr 25, 2017 2:01 pm
Contact:

Re: Priority of loading mods

Post by FuryoftheStars »

My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics
Post Reply

Return to “Modding discussion”