Hello CatCosYT,
First off, thanks for making this mod — it really adds a lot to the progression. It’s been a must-have for me for quite some time now :)
I checked your code and noticed that, by default, your mod supports other mods just fine. However, if someone decides to uninstall it, a problem arises: after removing Research Fog, their research remains disabled.
This isn’t an issue for experienced players, since one command can fix it, but for those unfamiliar with console commands or worried about losing achievements, it can be a real obstacle.
Perhaps a good approach would be to add an uninstall option? When the mod detects that this option is enabled, it could remove phantoms and restore research. Something like this in control.lua:
script.on_configuration_changed(function()
if settings.global["uninstall_research_fog"].value then
for , force in pairs(game.forces) do
for , tech in pairs(force.technologies) do
tech.enabled = true
end
end
end
end)
It’s just a small detail, but it might save you from people accusing the mod of corrupting save files.