Updated laser tree farm LUA scripts
This commit is contained in:
parent
1e3b92aa1d
commit
6120bf0f95
4 changed files with 4 additions and 4 deletions
|
@ -6,7 +6,7 @@ end
|
||||||
sides = peripheral.getNames()
|
sides = peripheral.getNames()
|
||||||
treefarms = {}
|
treefarms = {}
|
||||||
for key,side in pairs(sides) do
|
for key,side in pairs(sides) do
|
||||||
if peripheral.getType(side) == "warpdriveLaserTreefarm" then
|
if peripheral.getType(side) == "warpdriveLaserTreeFarm" then
|
||||||
print("Wrapping " .. side)
|
print("Wrapping " .. side)
|
||||||
table.insert(treefarms, peripheral.wrap(side))
|
table.insert(treefarms, peripheral.wrap(side))
|
||||||
end
|
end
|
||||||
|
|
|
@ -6,7 +6,7 @@ end
|
||||||
sides = peripheral.getNames()
|
sides = peripheral.getNames()
|
||||||
treefarms = {}
|
treefarms = {}
|
||||||
for key,side in pairs(sides) do
|
for key,side in pairs(sides) do
|
||||||
if peripheral.getType(side) == "warpdriveLaserTreefarm" then
|
if peripheral.getType(side) == "warpdriveLaserTreeFarm" then
|
||||||
print("Wrapping " .. side)
|
print("Wrapping " .. side)
|
||||||
table.insert(treefarms, peripheral.wrap(side))
|
table.insert(treefarms, peripheral.wrap(side))
|
||||||
end
|
end
|
||||||
|
|
|
@ -8,7 +8,7 @@ if not term.isAvailable() then
|
||||||
end
|
end
|
||||||
|
|
||||||
treefarms = {}
|
treefarms = {}
|
||||||
for address,type in component.list("warpdriveLaserTreefarm", true) do
|
for address,type in component.list("warpdriveLaserTreeFarm", true) do
|
||||||
print("Wrapping " .. address)
|
print("Wrapping " .. address)
|
||||||
table.insert(treefarms, component.proxy(address))
|
table.insert(treefarms, component.proxy(address))
|
||||||
end
|
end
|
||||||
|
|
|
@ -8,7 +8,7 @@ if not term.isAvailable() then
|
||||||
end
|
end
|
||||||
|
|
||||||
treefarms = {}
|
treefarms = {}
|
||||||
for address,type in component.list("warpdriveLaserTreefarm", true) do
|
for address,type in component.list("warpdriveLaserTreeFarm", true) do
|
||||||
table.insert(treefarms, component.proxy(address))
|
table.insert(treefarms, component.proxy(address))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue