From 8b307ea030a4b617c92fb2d9ecbea1c00bb3e19a Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Sun, 5 Jun 2022 23:24:18 -0400 Subject: [PATCH] alias for color type and added read() to globals --- .vscode/settings.json | 3 ++- scada-common/types.lua | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 80f7c42..3974dbe 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -10,6 +10,7 @@ "textutils", "shell", "settings", - "window" + "window", + "read" ] } diff --git a/scada-common/types.lua b/scada-common/types.lua index 65aa19f..7e31e58 100644 --- a/scada-common/types.lua +++ b/scada-common/types.lua @@ -22,6 +22,10 @@ local types = {} ---@field reactor integer ---@field rsio table|nil +-- ALIASES -- + +---@alias color integer + -- ENUMERATION TYPES -- ---@alias TRI_FAIL integer