cleanup
This commit is contained in:
@@ -108,6 +108,7 @@ Needs work
|
|||||||
[ "swarm" ] = {
|
[ "swarm" ] = {
|
||||||
title = "Swarm",
|
title = "Swarm",
|
||||||
category = "Turtle",
|
category = "Turtle",
|
||||||
|
requires = "neuralInterface",
|
||||||
icon = " \0315\\\030 \031 \
|
icon = " \0315\\\030 \031 \
|
||||||
\0304\031f _ \030 \031c/\0315\\\
|
\0304\031f _ \030 \031c/\0315\\\
|
||||||
\0304 ",
|
\0304 ",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
title = "Remote",
|
title = "Remote",
|
||||||
category = "Apps",
|
category = "Apps",
|
||||||
run = "MiloRemote",
|
run = "MiloRemote",
|
||||||
|
requires = "neuralInterface",
|
||||||
iconExt = "\0304\031f\135\129\0314\128\128\031f\130\030f\128\
|
iconExt = "\0304\031f\135\129\0314\128\128\031f\130\030f\128\
|
||||||
\031f\128\031c\159\149\0300\0317\143\0304\031c\149\030f\0314\133\
|
\031f\128\031c\159\149\0300\0317\143\0304\031c\149\030f\0314\133\
|
||||||
\031f\128\030c\0310\142\030f\031c\149\030c\0310\139\030f\031c\149\031f\128",
|
\031f\128\030c\0310\142\030f\031c\149\030c\0310\139\030f\031c\149\031f\128",
|
||||||
|
|||||||
@@ -1,12 +1,15 @@
|
|||||||
-- credit: osmarks https://pastebin.com/ZP9Q1HCT
|
-- original concept: osmarks https://pastebin.com/ZP9Q1HCT
|
||||||
|
|
||||||
local Sound = require('sound')
|
local Sound = require('sound')
|
||||||
local Util = require('util')
|
local Util = require('util')
|
||||||
|
|
||||||
|
local fs = _G.fs
|
||||||
local modules = _G.peripheral.wrap('back')
|
local modules = _G.peripheral.wrap('back')
|
||||||
local os = _G.os
|
local os = _G.os
|
||||||
local parallel = _G.parallel
|
local parallel = _G.parallel
|
||||||
|
|
||||||
|
local STARTUP_FILE = 'usr/autorun/fly.lua'
|
||||||
|
|
||||||
if not modules.launch or not modules.getMetaOwner then
|
if not modules.launch or not modules.getMetaOwner then
|
||||||
error([[Required:
|
error([[Required:
|
||||||
* Kinetic augment
|
* Kinetic augment
|
||||||
@@ -14,6 +17,12 @@ if not modules.launch or not modules.getMetaOwner then
|
|||||||
* Introspection module]])
|
* Introspection module]])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if not fs.exists(STARTUP_FILE) then
|
||||||
|
Util.writeFile(STARTUP_FILE, [[os.sleep(1)
|
||||||
|
shell.openHiddenTab('elytraFly.lua')]])
|
||||||
|
print('Autorun program created: ' .. STARTUP_FILE)
|
||||||
|
end
|
||||||
|
|
||||||
local canvas = modules.canvas and modules.canvas()
|
local canvas = modules.canvas and modules.canvas()
|
||||||
|
|
||||||
local function display(meta)
|
local function display(meta)
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
title = "ElytraFly",
|
title = "ElytraFly",
|
||||||
category = "Neural",
|
category = "Neural",
|
||||||
run = "elytraFly.lua",
|
run = "elytraFly.lua",
|
||||||
|
requires = "neuralInterface",
|
||||||
},
|
},
|
||||||
[ "9101fc1744ab274aaa0b54ee22b14ca53ee6e236" ] = {
|
[ "9101fc1744ab274aaa0b54ee22b14ca53ee6e236" ] = {
|
||||||
title = "Sensor",
|
title = "Sensor",
|
||||||
@@ -24,5 +25,6 @@
|
|||||||
title = "Ores",
|
title = "Ores",
|
||||||
category = "Neural",
|
category = "Neural",
|
||||||
run = "ores.lua",
|
run = "ores.lua",
|
||||||
|
requires = "neuralInterface",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user