Initial commit

This commit is contained in:
2025-12-08 10:45:03 -05:00
commit d7c7ff6f0f
2 changed files with 51 additions and 0 deletions

45
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,45 @@
{
"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"
],
}

6
Lighting/processor.lua Normal file
View File

@@ -0,0 +1,6 @@
os.setComputerLabel("BWPX-"+string.format("%04d", os.getComputerID()))
print(peripheral.getNames())
rednet.open("back")
-- prints
rednet.host("BWNP",os.getComputerLabel())