-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Labels
Milestone
Description
godot-mod-loader/addons/mod_loader/mod_loader_store.gd
Lines 109 to 161 in 8170899
| var ml_options := { | |
| enable_mods = true, | |
| log_level = ModLoaderLog.VERBOSITY_LEVEL.DEBUG, | |
| # Mods that can't be disabled or enabled in a user profile (contains mod IDs as strings) | |
| locked_mods = [], | |
| # Array of disabled mods (contains mod IDs as strings) | |
| disabled_mods = [], | |
| # If this flag is set to true, the ModLoaderStore and ModLoader Autoloads don't have to be the first Autoloads. | |
| # The ModLoaderStore Autoload still needs to be placed before the ModLoader Autoload. | |
| allow_modloader_autoloads_anywhere = false, | |
| # Application's Steam ID, used if workshop is enabled | |
| steam_id = 0, | |
| # Application's version following semver | |
| semantic_version = "0.0.0", | |
| # Overrides for the path mods/configs/workshop folders are loaded from. | |
| # Only applied if custom settings are provided, either via the options.tres | |
| # resource, or via CLI args. Note that CLI args can be tested in the editor | |
| # via: Project Settings > Display> Editor > Main Run Args | |
| override_path_to_mods = "", # Default if unspecified: "res://mods" -- get with _ModLoaderPath.get_path_to_mods() | |
| override_path_to_configs = "", # Default if unspecified: "res://configs" -- get with _ModLoaderPath.get_path_to_configs() | |
| # Can be used in the editor to load mods from your Steam workshop directory | |
| override_path_to_workshop = "", | |
| # Override for the path where the modding hook resource pack is located. | |
| # Requires an absolute path. | |
| override_path_to_hook_pack = "", # Default if unspecified: "OS.get_executable_path().get_base_dir()" -- get with _ModLoaderPath.get_path_to_hook_pack() | |
| override_hook_pack_name = "", # Default if unspecified: "mod-hooks.zip" | |
| # If true, using deprecated funcs will trigger a warning, instead of a fatal | |
| # error. This can be helpful when developing mods that depend on a mod that | |
| # hasn't been updated to fix the deprecated issues yet | |
| ignore_deprecated_errors = false, | |
| # Array of mods that should be ignored when logging messages (contains mod IDs as strings) | |
| ignored_mod_names_in_log = [], | |
| # Mod Sources | |
| # Indicates whether to load mods from the Steam Workshop directory, or the overridden workshop path. | |
| load_from_steam_workshop = false, | |
| # Indicates whether to load mods from the "mods" folder located at the game's install directory, or the overridden mods path. | |
| load_from_local = true, | |
| # Can be used to overwrite the default scene that is displayed if a game restart is required. | |
| restart_notification_scene_path = "res://addons/mod_loader/restart_notification.tscn", | |
| # Can be used to disable the mod loader's restart logic. | |
| disable_restart = false, | |
| } |