Research Fog


Hides technologies until a configurable percentage of their prerequisites are researched.

Content
a month ago
2.0
220

g [Suggestion] Add unistall option

a month ago

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.

a month ago

I will fix this problem soon, thank you.

a month ago

Added a new option to safely uninstall a mod in 0.5.5 version.

This thread has been locked.