This commit is contained in:
kepler155c@gmail.com
2019-03-23 12:21:10 -04:00
parent 82d355cdf0
commit 81abec75f5
4 changed files with 14 additions and 1 deletions

View File

@@ -108,6 +108,7 @@ Needs work
[ "swarm" ] = {
title = "Swarm",
category = "Turtle",
requires = "neuralInterface",
icon = " \0315\\\030 \031 \
\0304\031f _ \030 \031c/\0315\\\
\0304 ",

View File

@@ -3,6 +3,7 @@
title = "Remote",
category = "Apps",
run = "MiloRemote",
requires = "neuralInterface",
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\030c\0310\142\030f\031c\149\030c\0310\139\030f\031c\149\031f\128",

View File

@@ -1,12 +1,15 @@
-- credit: osmarks https://pastebin.com/ZP9Q1HCT
-- original concept: osmarks https://pastebin.com/ZP9Q1HCT
local Sound = require('sound')
local Util = require('util')
local fs = _G.fs
local modules = _G.peripheral.wrap('back')
local os = _G.os
local parallel = _G.parallel
local STARTUP_FILE = 'usr/autorun/fly.lua'
if not modules.launch or not modules.getMetaOwner then
error([[Required:
* Kinetic augment
@@ -14,6 +17,12 @@ if not modules.launch or not modules.getMetaOwner then
* Introspection module]])
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 function display(meta)

View File

@@ -3,6 +3,7 @@
title = "ElytraFly",
category = "Neural",
run = "elytraFly.lua",
requires = "neuralInterface",
},
[ "9101fc1744ab274aaa0b54ee22b14ca53ee6e236" ] = {
title = "Sensor",
@@ -24,5 +25,6 @@
title = "Ores",
category = "Neural",
run = "ores.lua",
requires = "neuralInterface",
},
}