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()
|
||||
treefarms = {}
|
||||
for key,side in pairs(sides) do
|
||||
if peripheral.getType(side) == "warpdriveLaserTreefarm" then
|
||||
if peripheral.getType(side) == "warpdriveLaserTreeFarm" then
|
||||
print("Wrapping " .. side)
|
||||
table.insert(treefarms, peripheral.wrap(side))
|
||||
end
|
||||
|
|
|
@ -6,7 +6,7 @@ end
|
|||
sides = peripheral.getNames()
|
||||
treefarms = {}
|
||||
for key,side in pairs(sides) do
|
||||
if peripheral.getType(side) == "warpdriveLaserTreefarm" then
|
||||
if peripheral.getType(side) == "warpdriveLaserTreeFarm" then
|
||||
print("Wrapping " .. side)
|
||||
table.insert(treefarms, peripheral.wrap(side))
|
||||
end
|
||||
|
|
|
@ -8,7 +8,7 @@ if not term.isAvailable() then
|
|||
end
|
||||
|
||||
treefarms = {}
|
||||
for address,type in component.list("warpdriveLaserTreefarm", true) do
|
||||
for address,type in component.list("warpdriveLaserTreeFarm", true) do
|
||||
print("Wrapping " .. address)
|
||||
table.insert(treefarms, component.proxy(address))
|
||||
end
|
||||
|
|
|
@ -8,7 +8,7 @@ if not term.isAvailable() then
|
|||
end
|
||||
|
||||
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))
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue