Initial commit
This commit is contained in:
45
.vscode/settings.json
vendored
Normal file
45
.vscode/settings.json
vendored
Normal 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
6
Lighting/processor.lua
Normal 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())
|
||||||
Reference in New Issue
Block a user