Updated laser tree farm LUA scripts

This commit is contained in:
LemADEC 2016-05-12 21:20:17 -04:00
parent 1e3b92aa1d
commit 6120bf0f95
4 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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