init
This commit is contained in:
commit
12ffbdc45d
76 changed files with 79368 additions and 0 deletions
19
computer/4/startup.lua
Normal file
19
computer/4/startup.lua
Normal file
|
@ -0,0 +1,19 @@
|
|||
_G.position = vector.new(-250,96,106)
|
||||
_G.facing = vector.new(-1,0,0)
|
||||
rednet.open("left")
|
||||
old_print = _G.print
|
||||
new_print = function(...)
|
||||
x = ""
|
||||
for i,v in ipairs(arg) do
|
||||
x = x..tostring(v).." "
|
||||
end
|
||||
old_print(x)
|
||||
rednet.broadcast(x)
|
||||
end
|
||||
_G.print = new_print
|
||||
while true do
|
||||
parallel.waitForAny(
|
||||
require("rednerd")
|
||||
--shell.run("shell")
|
||||
)
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue