milo tweaks

This commit is contained in:
kepler155c@gmail.com
2018-12-05 00:55:49 -05:00
parent aa3e3e615c
commit c79c93e4d7
3 changed files with 28 additions and 15 deletions

View File

@@ -1,6 +1,18 @@
local os = _G.os
_G.requireInjector(_ENV)
local Util = require('util')
local fs = _G.fs
local os = _G.os
local turtle = _G.turtle
local STARTUP_FILE = 'usr/autorun/miloWater.lua'
if not fs.exists(STARTUP_FILE) then
Util.writeFile(STARTUP_FILE,
[[os.sleep(2)
shell.openForegroundTab('packages/milo/apps/water')]])
end
while true do
turtle.placeDown('minecraft:bucket:0')
turtle.placeDown('minecraft:glass_bottle:0')