I've successfully coded settings for my mod with the following structure:
The settings are saved to a file in .../Ludeon Studios/RimWorld by Ludeon Studios/Config/MyMod.xml and is used for all worlds, old and new.
Now I'd like to also offer per-save settings. I remember seeing a mod that offered both per-save and global settings but I can't recall which mod was it.
Does anyone know a mod that has both per-world and global settings? Or knows how to implement per-save mod settings?
Thanks!
Code Select
public class Settings : ModSettings
{
public override void ExposeData() {}
public void DoSettingsWindowContents(Rect settingRect) {}
public string SettingsCategory() {}
}
The settings are saved to a file in .../Ludeon Studios/RimWorld by Ludeon Studios/Config/MyMod.xml and is used for all worlds, old and new.
Now I'd like to also offer per-save settings. I remember seeing a mod that offered both per-save and global settings but I can't recall which mod was it.
Does anyone know a mod that has both per-world and global settings? Or knows how to implement per-save mod settings?
Thanks!