cloakfall
    Preparing search index...

    Interface GameAction

    One action the game offers in the menu's "Game" section.

    interface GameAction {
        confirm?: string;
        confirmLabel?: string;
        id: string;
        label: string;
        setting?: { checked: boolean };
    }
    Index
    confirm?: string

    The question asked before it happens ("Quit this game?"), and the word on the button that says yes. A setting (below) is never asked about: it is a switch, flipped back as easily.

    confirmLabel?: string
    id: string

    Sent back in GAME_ACTION_EVENT.

    label: string
    setting?: { checked: boolean }

    A setting rather than an action: shown as a switch, on or off as given.