a
This commit is contained in:
parent
3a05a88d4d
commit
aeac97b317
34
src/brulijam/files/oreTable.txt
Normal file
34
src/brulijam/files/oreTable.txt
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
oreTable = {
|
||||||
|
recommended = {
|
||||||
|
diamonds = -59,
|
||||||
|
redstone = -59,
|
||||||
|
gold = -16,
|
||||||
|
lapis = 0,
|
||||||
|
iron = 15,
|
||||||
|
copper = 47,
|
||||||
|
coal = 56,
|
||||||
|
emeralds = 235,
|
||||||
|
},
|
||||||
|
|
||||||
|
min = {
|
||||||
|
diamonds = -64,
|
||||||
|
redstone = -64,
|
||||||
|
gold = -64,
|
||||||
|
lapis = -64,
|
||||||
|
iron = -64,
|
||||||
|
copper = -16,
|
||||||
|
coal = -64,
|
||||||
|
emeralds = -16,
|
||||||
|
},
|
||||||
|
|
||||||
|
max = {
|
||||||
|
diamonds = 16,
|
||||||
|
redstone = 16,
|
||||||
|
gold = 32,
|
||||||
|
lapis = 64,
|
||||||
|
iron = 256,
|
||||||
|
copper = 112,
|
||||||
|
coal = 256,
|
||||||
|
emeralds = 256,
|
||||||
|
},
|
||||||
|
}
|
@ -2,6 +2,7 @@ basic = require("lib.basic")
|
|||||||
netw = require("lib.networking")
|
netw = require("lib.networking")
|
||||||
|
|
||||||
function listenForLogs()
|
function listenForLogs()
|
||||||
|
print("[Listening for Logs]")
|
||||||
while true do
|
while true do
|
||||||
response = netw.receiveMessage()
|
response = netw.receiveMessage()
|
||||||
print("log: " .. response)
|
print("log: " .. response)
|
||||||
|
@ -4,22 +4,26 @@ local copyList = {
|
|||||||
[0] = "/brulijam/sync.lua",
|
[0] = "/brulijam/sync.lua",
|
||||||
[1] = "/startup.lua",
|
[1] = "/startup.lua",
|
||||||
|
|
||||||
[2] = "/brulijam/lib/aes.lua",
|
[2] = "/brulijam/files/oreTable.txt"
|
||||||
[3] = "/brulijam/lib/hash.lua",
|
|
||||||
[4] = "/brulijam/lib/basic.lua",
|
|
||||||
[5] = "/brulijam/lib/networking.lua",
|
|
||||||
|
|
||||||
[6] = "/brulijam/turtle-roomCreator.lua",
|
|
||||||
[7] = "/brulijam/turtle-miner-stupidExcavate.lua",
|
|
||||||
[8] = "/brulijam/turtle-miner-fibo.lua",
|
|
||||||
[9] = "/brulijam/turtle-treeFarmer.lua",
|
|
||||||
|
|
||||||
[10] = "/brulijam/gps-tower.lua",
|
[3] = "/brulijam/lib/aes.lua",
|
||||||
[11] = "/brulijam/log-receiver.lua",
|
[4] = "/brulijam/lib/hash.lua",
|
||||||
|
[5] = "/brulijam/lib/basic.lua",
|
||||||
|
[6] = "/brulijam/lib/networking.lua",
|
||||||
|
|
||||||
|
[7] = "/brulijam/turtle-roomCreator.lua",
|
||||||
|
[8] = "/brulijam/turtle-miner-stupidExcavate.lua",
|
||||||
|
[9] = "/brulijam/turtle-miner-fibo.lua",
|
||||||
|
[10] = "/brulijam/turtle-treeFarmer.lua",
|
||||||
|
|
||||||
|
[11] = "/brulijam/gps-tower.lua",
|
||||||
|
[12] = "/brulijam/log-receiver.lua",
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
print("[Syncing]")
|
||||||
for i=0, #copyList do
|
for i=0, #copyList do
|
||||||
getRequest = http.get(prefix .. copyList[i])
|
getRequest = http.get(prefix .. copyList[i])
|
||||||
print("Downloaded " .. copyList[i])
|
print("Downloaded " .. copyList[i])
|
||||||
|
Loading…
Reference in New Issue
Block a user