yolkbot
    Preparing search index...

    Interface Gun

    Represents a generic gun

    interface Gun {
        ammo: GunAmmo;
        damage: number;
        internalName: string;
        longReloadTime: number;
        range: number;
        rof: number;
        shortReloadTime: number;
        standardMeshName: string;
        totalDamage: number;
        velocity: number;
        weaponName: string;
    }
    Index

    Properties

    ammo: GunAmmo

    Ammo details

    damage: number

    The damage the gun does "per bullet" (some of these values next to totalDamage make next to no sense)

    internalName: string

    An internal name for the weapon

    longReloadTime: number

    The time it takes to reload when the gun has 0 bullets left

    range: number

    The maximum range of the gun, in blocks

    rof: number

    The fire speed of the gun

    shortReloadTime: number

    The time it takes to reload when the gun has 1 or more bullets left

    standardMeshName: string

    The name of the gun's base mesh, prefixed by gun_ in the GLBs

    totalDamage: number

    The damage the gun does across all bullets

    velocity: number

    I'm not a physics student; I have no clue

    weaponName: string

    The stylized weapon name