mwg API
    Preparing search index...

    Interface GameSettings

    the player-facing values Settings persists; everything is renderer-free on purpose

    interface GameSettings {
        bindings: Record<Action, string[]>;
        custom: Record<string, CustomSettingValue>;
        musicVolume: number;
        muted: boolean;
        sfxVolume: number;
        zoom: number;
    }
    Index
    bindings: Record<Action, string[]>

    key bindings, in the shape Input.exportBindings writes and importBindings reads

    custom: Record<string, CustomSettingValue>

    game-defined values beyond the built-ins above (hints, violence, ...), keyed by name

    musicVolume: number

    background-music level, 0 to 1

    muted: boolean

    master mute: both effective volumes read 0 while true, levels are kept

    sfxVolume: number

    sound-effect level, 0 to 1

    zoom: number

    the zoom a game applies to its own Camera; never below 0.01, like Camera itself