pub const DEFAULT_MODS_DIR_NAME: &str = ".supreme/mods";Expand description
The on-disk mods directory, relative to the game’s root directory. Layout:
<mods_dir>/mods.json, the single state file described byModsState.<mods_dir>/<mod_name>/mod.json, that mod’s own metadata, rules, parameters, and default values for them, seecrate::mod_config::ModConfig. This is the author’s distributable definition: reinstalling or updating a mod means replacing this whole file (and the mod’s other assets), which is exactly why per-user overrides live inModsStateinstead, an update can safely replace even a mod’s defaults without touching what a person has personally changed.