This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local width --amount of trees wide of the tree farm | |
local length --amount of tree length of the tree farm | |
local treeDistance --the distance of blocks between | |
local sleepTime --the amount of time between the turtle checking the tree farm for grown trees | |
local pos --current distance from the starting point | |
local direction --current direction turtle is facing | |
local function fuelCheck() | |
if turtle.getFuelLevel() == 0 then | |
for i=1,15,1 do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ Generated with https://github.com/TypeScriptToLua/TypeScriptToLua ]] | |
-- Lua Library inline imports | |
function __TS__Class(self) | |
local c = {prototype = {}} | |
c.prototype.__index = c.prototype | |
c.prototype.constructor = c | |
return c | |
end | |
function __TS__New(target, ...) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local screen = { | |
w = 51, | |
h = 19 | |
} | |
local state = {} | |
local mChoices = { | |
"Load Album", | |
"Load Song", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
777777777777777777777777777777777777777ccccccccccccccccccccccccccccccccccccccccccccccccccccc77777777777777777777777777777 | |
777777777777777777777777777777777777777c7ccccccccccccccccccccccccccccccccccccccccccccccccccc77777777777777777777777777777 | |
777777777777777777777777777777777777777777ccccccccccccccccccccccccccccccccccccccccccccccccc777777777777777777777777777777 | |
777777777777777777777777777777777777777777777ccccccccccccffffccccccccccccccccccc77cccccccccc77777777777777777777777777777 | |
77777777777777777777777777777777777777777777777777cccffffffffffffccccccccccccccc777ccccccc7777777777777777777777777777777 | |
777777777777777777777777777777777777777777777777777ffcfcfffffcfcff77ccccccccc777777c77cc7c7777777777777777777777777777777 | |
77777777777777777777777777777777777777777777777777ceecfcccfcccccccce77777777777777777777c77777777777777777777777777777777 | |
7777777777777777777777777777777777777777777777777ce8eccfffcfffccc8cce7777777777777777777777777777777777777777777777777777 | |
777777777777777eeeeeeeeeeeeeeaaa877777777777777e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0000000000000000000000000000000000000000000000000000000000000000000000000000000 | |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 | |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 | |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 | |
0000000000000000000000000000000000000000000000000000000000000000000000000000000 | |
0000000000000000000000040000000000000000000000000000000000000000000000000000000 | |
000000000000000000000068c000000000000000000000000000000000000000000000000000000 | |
0000000000000000000000888700000000000000000000000000000000800800000000000000000 | |
0000000000000000000008888880000000000000000000000000000088888000000000000000000 | |
0000000000000000000008808888800000000000000000000000088888088000000000000000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7777777777777777777777bb777777777777c7c777777c777cccccc7777c7777777777777777777 | |
77777777777777777777777777777777777c777f777777777eeeec7cccf77777777777777777777 | |
77777777777777777777777777777777777c7777777777777eeee7ccccf77777777777777777777 | |
777777bb77777777ff777777777777777777777f777777777eeeeccccccf7777777777777777777 | |
77777777777777777777eeee77ff77777cff777777777eeee4444ff777777777777777777777777 | |
7777777777777777f777eeee77ff7777ccffc77fc77c7eeee4444fc777777777777777777777777 | |
777777b7777777777777eeee7777777777cc7777777cceeee4444fff7777777ffff77ff77ff7777 | |
bbbbbb777777bb77b7ee4444777777ffffeeeee77ccc711114444ff77f7777777ff77ff77777777 | |
bbb7bb777b777777bb1144447c77777777eeeee7fff7711ee4444ccff7777ffffffffffffff7777 | |
bbbbbb7777777777bb1144447cf7777777eeeee7fff7711e14444f7ff7777ffffffffffffff7777 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4444444444444444444444444444444444444444444444444444444444444444444444444444444 | |
4444444444444444444444444444444444444444444444444444444444444444444444444444444 | |
4444444444444444444444444444444444444444444444444444444444444444444444444444444 | |
4444444444444444444444444444444444444444444444444444444444444444444444444444444 | |
4444444444444444444444444444444444444444444444444444444444444444444444444444444 | |
4444444444444444444444444444444444444444444444444444444444444444444444444444444 | |
4444444444444444444444444444444444444444444444444444444444444444444444444444444 | |
4444444444444444444444444444444444444444444444444444444444444444444444444444444 | |
4444444444444444444444444444444444444444444444444444444444444444444444444444444 | |
4444444444444444444444444444444444444444444444444444444444444444444444444444444 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
333333333333333333333333333333333333333333333333333333333333333333333333333333333333338c7c7333333333333333333333333878777 | |
3333333333333333333333333333333333333333333333333333333333333333333333333333333333333cccc7c333333333333333333333387777777 | |
3333333333333333333333333333333333333333333333333333333333333333333333333333333333333cc7c7cc33333333333333333338777777777 | |
333333333333333333333333333333333333333333333333333333333333333333333333333c7ccccc7ccccccccccccccc33333333333878777778777 | |
333333333333333333333333333333333333c333333333333333333333333333cccccccc7cccccccc7cc7cccccccccc7cc7c3cc333387777777778777 | |
3333333333333333333333333333333333c77c3333333333333cc7ccccc7c7ccccccccc7cccc77c7cccccccccccccccccccc7ccccc877c77877777c77 | |
3333333333333333333333333333333333c7c7c33cccccccccccc7ccccccccccccccccccc7c7c7cce8cc7cc7ccccccc77cccccccccc7cc78cc7c77c77 | |
333333333333333333333333333333333cc7777cc7cccc7cccccccccccccccccccc7ccccccc7ccc788ccccccc7ccccc77cc7ccc7ccc7cccccc7c77cc7 | |
333333333333333333333333300000cccc777777cccccccc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffffffffffffffffffffffffffffffffffffffffffffffffffccffffffffffffffffffffffcfff7ffffffffffffcfffffffffffffffff9ffffcffffff | |
fffffffffff7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffcfc7fcccffffffff7ffc7ff7ffff7ffffffffffff7fffffffffff | |
ffffffffffffffffffffffc7fffffffffffffffffffffffffffffffffffffffffbffff77a77ffffcbf7f7f7fcff7fffffffffffffffff7fffffcfffff | |
cfffffffffcff7cfff7fffcccccccffffff7ffffffffffffffccfffffffffffffffff7fff77fff7777cc7c7fffffffffffffffffffff7ffffff7f7fff | |
ffffffffffcfffffffccceeeeeeeeecccfffffffffffffffff77fffffff7cffffffffffffc777ccc77fcfccfffffffff7ff7ffffffff7ffffffff7fff | |
ffffffffffcffffffcee66666666666eeccffcffffffffffff77fffffffffffffffffffcccc7777ccf7fffffffffffffcfffffffff7ffffffffff7fff | |
fffffffffffffffcee666666666666666eeccfff7fffffffffcfffffffffffffffff7cccccfc77bab77cfffffffff7ffffffffffffffffffffffffff7 | |
ffffffffffffffce6666666666666660666eeccffffffcffffffffcffffffffffffffff7fffc7c7fccfffffffcffff7fffffffffffffffffffffffffa | |
fffffffffffffce6666666666666666066661ecffffff7ff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Option 1: Import the entire three.js core library. | |
import * as THREE from 'three'; | |
import { BoxBufferGeometry, Mesh, MeshPhongMaterial } from 'three'; | |
import { BoxLineGeometry } from 'three/examples/jsm/geometries/BoxLineGeometry.js'; | |
import { VRButton } from 'three/examples/jsm/webxr/VRButton.js'; | |
import { XRControllerModelFactory } from 'three/examples/jsm/webxr/XRControllerModelFactory.js'; | |
let DB; |
OlderNewer