A dictionary of mod names to mod versions of all active mods. It can be used to adjust mod functionality based on the presence of other mods.
Examples
-- executes pineapple only when the pizza mod is activeifmods["pizza"]thenpineapple()end
-- when the only active mod is the space-age mod with version 1.2.0-- then this logsforname,versioninpairs(mods)dolog(name.." version "..version)-- => space-age version 1.2.0end