Skip to main content

Feature

The feature interface

Feature.all = false
Feature.dash = true

Properties

all

Feature.all: bool

Get/Set all features to the given state

aim

Feature.aim: bool

Get/Set the aim feature flag

dash

Feature.dash: bool

Get/Set the dash feature flag

kick

Feature.kick: bool

Get/Set the kick feature flag

snare

Feature.snare: bool

Get/Set the snare feature flag

special

Feature.special: bool

Get/Set the special feature flag

critical

Feature.critical: bool

Get/Set the critical feature flag

Show raw api
{
    "functions": [],
    "properties": [
        {
            "name": "all",
            "desc": "Get/Set all features to the given state",
            "lua_type": "bool",
            "source": {
                "line": 18,
                "path": "../../res/data/script/lib/system/feature.lua"
            }
        },
        {
            "name": "aim",
            "desc": "Get/Set the aim feature flag",
            "lua_type": "bool",
            "source": {
                "line": 25,
                "path": "../../res/data/script/lib/system/feature.lua"
            }
        },
        {
            "name": "dash",
            "desc": "Get/Set the dash feature flag",
            "lua_type": "bool",
            "source": {
                "line": 32,
                "path": "../../res/data/script/lib/system/feature.lua"
            }
        },
        {
            "name": "kick",
            "desc": "Get/Set the kick feature flag",
            "lua_type": "bool",
            "source": {
                "line": 39,
                "path": "../../res/data/script/lib/system/feature.lua"
            }
        },
        {
            "name": "snare",
            "desc": "Get/Set the snare feature flag",
            "lua_type": "bool",
            "source": {
                "line": 46,
                "path": "../../res/data/script/lib/system/feature.lua"
            }
        },
        {
            "name": "special",
            "desc": "Get/Set the special feature flag",
            "lua_type": "bool",
            "source": {
                "line": 53,
                "path": "../../res/data/script/lib/system/feature.lua"
            }
        },
        {
            "name": "critical",
            "desc": "Get/Set the critical feature flag",
            "lua_type": "bool",
            "source": {
                "line": 60,
                "path": "../../res/data/script/lib/system/feature.lua"
            }
        }
    ],
    "types": [],
    "name": "Feature",
    "desc": "The feature interface\n\n```lua\nFeature.all = false\nFeature.dash = true\n```",
    "source": {
        "line": 10,
        "path": "../../res/data/script/lib/system/feature.lua"
    }
}