# src/autoload/config.gd
extends Node

var rule_config: RuleConfig = RuleConfig.standard()
var enable_ai_debug: bool = false
var enable_training_hints: bool = true
var enable_sound: bool = true
var low_perf_mode: bool = false
var turn_timeout_sec: float = 30.0
var language: String = "zh_cn"

func reset_to_defaults() -> void:
    rule_config = RuleConfig.standard()
    enable_ai_debug = false
    enable_training_hints = true
    enable_sound = true
    low_perf_mode = false
    turn_timeout_sec = 30.0
