Get mod version of other mods in the code

Place to get help with not working mods / modding interface.
User avatar
Linver
Fast Inserter
Fast Inserter
Posts: 158
Joined: Wed Jan 09, 2019 2:28 pm
Contact:

Get mod version of other mods in the code

Post by Linver »

Hi all,
I was wondering if there's something like mods[mod_name] but for mod version like getModVersion(mod_name), because I and other modders got a case when this could be usefull.
Thank in advance for future answers :)
Bilka
Factorio Staff
Factorio Staff
Posts: 3464
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Get mod version of other mods in the code

Post by Bilka »

Linver wrote: Sun Jun 23, 2019 11:07 am Hi all,
I was wondering if there's something like mods[mod_name] but for mod version
mods[mod_name] has the mod version as the value. During runtime you can use https://lua-api.factorio.com/latest/Lua ... ctive_mods.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Modding help”