yolkbot
    Preparing search index...

    Interface GameOptions

    The options object on a Game

    interface GameOptions {
        damage: 0 | 0.25 | 0.5 | 0.75 | 1 | 1.25 | 1.5 | 1.75 | 2;
        gravity: 0.25 | 0.5 | 0.75 | 1;
        healthRegen:
            | 0
            | 0.25
            | 0.5
            | 0.75
            | 1
            | 1.25
            | 1.5
            | 1.75
            | 2
            | 2.25
            | 2.5
            | 2.75
            | 3
            | 3.25
            | 3.5
            | 3.75
            | 4;
        locked: boolean;
        noTeamChange: boolean;
        noTeamShuffle: boolean;
        weaponsDisabled: boolean[];
    }
    Index

    Properties

    damage: 0 | 0.25 | 0.5 | 0.75 | 1 | 1.25 | 1.5 | 1.75 | 2

    The game damage multiplier

    gravity: 0.25 | 0.5 | 0.75 | 1

    The game gravity

    healthRegen:
        | 0
        | 0.25
        | 0.5
        | 0.75
        | 1
        | 1.25
        | 1.5
        | 1.75
        | 2
        | 2.25
        | 2.5
        | 2.75
        | 3
        | 3.25
        | 3.5
        | 3.75
        | 4

    The game health regeneration speed multiplier

    locked: boolean

    Whether the game is locked

    noTeamChange: boolean

    Whether the game will block players from manually changing teams

    noTeamShuffle: boolean

    Whether the game will skip the automatic KoTC round-end team shuffle

    weaponsDisabled: boolean[]

    false = allowed to use, true = not allowed to use