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

@@ -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)