Page 1 of 1

list of mods on control.lua initialization

Posted: Sat Aug 04, 2018 11:51 am
by ZwerOxotnik
TL;DR
I would like to use list of mods in control.lua initialization. Similar exists: game.active_mods, script.mod_name.
WHY?
Can help select the connection of files, events, etc., depending on the mods, before the occurrence of the same events.
After knowing the version of the game, I can connect the required file, which is compatible with api.
I do want to download the latest version of mods, but not to constantly download and choose different versions of mods, when it dependent on api versions and other mods.
This can improve and change compatibility and variability.