Skip to content

Latest commit

 

History

History
60 lines (53 loc) · 1.88 KB

README.md

File metadata and controls

60 lines (53 loc) · 1.88 KB

computercraft-extension-pack

This is the official extension pack for ComputerCraft and CC:Tweaked development. It comes with a few extensions to make writing Lua programs for CC significantly easier:

You may also be interested in manually installing these optional extensions:

Configuration

The following configuration is recommended (F1Preferences: Open User Settings (JSON)):

    "Lua.runtime.version": "Lua 5.2",
    "Lua.diagnostics.globals": [
        "bit",
        "colors",
        "colours",
        "commands",
        "disk",
        "fs",
        "gps",
        "help",
        "http",
        "keys",
        "multishell",
        "paintutils",
        "parallel",
        "peripheral",
        "pocket",
        "rednet",
        "redstone",
        "rs",
        "settings",
        "shell",
        "term",
        "textutils",
        "turtle",
        "vector",
        "window",
        "_CC_DEFAULT_SETTINGS",
        "_HOST",
        "printError",
        "write",
        "read",
        "sleep"
    ],
    "Lua.runtime.builtin": {
        "bit32": "enable",
        "bit": "disable",
        "utf8": "enable"
    },
    "Lua.diagnostics.disable": [
        "undefined-field",
        "deprecated"
    ],