Mods :: dictionary[string → string] - abstract Example code
Examples 
-- executes pineapple only when the pizza mod is active
if mods["pizza"] then
pineapple()
end
-- when the only active mod is the space-age mod with version 2.0.7
-- then this logs
for name, version in pairs(mods) do
log(name .. " version " .. version) -- => space-age version 2.0.7
end
-- uses a features only available past a certain base mod version
if helpers.compare_version(mods["base"], "2.0.56") >= 0 then
use_new_features()
end

