options_current.gd 650 B

123456789101112131415
  1. class_name ModLoaderCurrentOptions
  2. extends Resource
  3. # The default options set for the mod loader
  4. @export var current_options: Resource = preload(
  5. "res://addons/mod_loader/options/profiles/default.tres"
  6. )
  7. # Overrides for all available feature tags through OS.has_feature()
  8. # Format: Dictionary[String: ModLoaderOptionsProfile] where the string is a tag
  9. # Warning: Some tags can occur at the same time (Windows + editor for example) -
  10. # In a case where multiple apply, the last one in the dict will override all others
  11. @export var feature_override_options: Dictionary = {
  12. "editor": preload("res://addons/mod_loader/options/profiles/editor.tres")
  13. }