Search found 1 match

by lukavminaev
Mon Apr 20, 2020 12:20 am
Forum: Modding help
Topic: [Done] Detect other mods installed
Replies: 15
Views: 7851

Re: Detect other mods installed

Exasperation wrote: Mon Aug 21, 2017 5:57 am
In the control stage, you have access to http://lua-api.factorio.com/latest/LuaG ... ctive_mods instead, so

Code: Select all

if game.active_mods[modname] then
will do it.
Its late but the correct code is

Code: Select all

if type(game.active_mods["modname"]) then

Go to advanced search