Page 1 of 1

Reset individual mod settings button

Posted: Thu Mar 11, 2021 11:20 am
by Villfuk02
There is a reset settings button, which resets all the mod settings. It would be really helpful to have the option for resetting just a single mod's settings or even a single mod setting. The default values are not shown, so when I want to go back to defaults, I have to reset ALL the settings and then re-set everything I didn't want to reset.

Re: Reset individual mod settings button

Posted: Fri Mar 12, 2021 7:35 pm
by asher_sky
+1, I would like this also. Just adding a "reset" button on the right side across from the mod name (setting header) would be great.

Re: Reset individual mod settings button

Posted: Fri Mar 12, 2021 9:29 pm
by ptx0
Villfuk02 wrote: Thu Mar 11, 2021 11:20 am There is a reset settings button, which resets all the mod settings. It would be really helpful to have the option for resetting just a single mod's settings or even a single mod setting. The default values are not shown, so when I want to go back to defaults, I have to reset ALL the settings and then re-set everything I didn't want to reset.
settings.lua has the info too:

Code: Select all

data:extend({
    {
        type = "bool-setting",
        name = "loot-chest-ups-warning",
        setting_type = "runtime-per-user",
        default_value = true
    },
    ...

Re: Reset individual mod settings button

Posted: Sat Mar 13, 2021 8:12 am
by ssilk
viewtopic.php?p=360151#p360151
Rseding91 wrote: Wed May 02, 2018 6:57 pm You can currently reset mod settings by deleting the mod-settings.dat file in the mods folder.
Ok, that’s not what you want, but - as he said later - you cannot know which mod setting influences another mod...

Re: Reset individual mod settings button

Posted: Sat Mar 13, 2021 8:50 am
by jodokus31
Artisanal Suite by Kirazy implements the display of the default value. I think, that could be base game
artisanal_default_setting.png
artisanal_default_setting.png (55.33 KiB) Viewed 2956 times
https://mods.factorio.com/mod/reskins-angels
...

Re: Reset individual mod settings button

Posted: Sat Mar 13, 2021 10:20 am
by darkfrei
asher_sky wrote: Fri Mar 12, 2021 7:35 pm +1, I would like this also. Just adding a "reset" button on the right side across from the mod name (setting header) would be great.
I've suggested just a button with custom event. For example set settings to default.

viewtopic.php?t=78880