Compare commits
3 commits
d9f8513100
...
6672c75d1a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6672c75d1a | ||
|
|
3ce4f9579d | ||
|
|
dac0874232 |
1 changed files with 5 additions and 5 deletions
|
|
@ -17,7 +17,7 @@ local FLOORS = {
|
|||
redstone.setOutput("top", false)
|
||||
end,
|
||||
storage = "create:item_vault_17",
|
||||
elevator_storage = "bottom",
|
||||
elevator_storage = "create:portable_storage_interface_11",
|
||||
},
|
||||
{
|
||||
match = function (input)
|
||||
|
|
@ -26,7 +26,7 @@ local FLOORS = {
|
|||
end,
|
||||
detect = function ()
|
||||
local relay = "redstone_relay_21"
|
||||
peripheral.call(relay, "getInput", "top")
|
||||
return peripheral.call(relay, "getInput", "top")
|
||||
end,
|
||||
call = function ()
|
||||
local relay = "redstone_relay_21"
|
||||
|
|
@ -44,7 +44,7 @@ local FLOORS = {
|
|||
end,
|
||||
detect = function ()
|
||||
local relay = "redstone_relay_22"
|
||||
peripheral.call(relay, "getInput", "top")
|
||||
return peripheral.call(relay, "getInput", "top")
|
||||
end,
|
||||
call = function ()
|
||||
local relay = "redstone_relay_22"
|
||||
|
|
@ -62,7 +62,7 @@ local FLOORS = {
|
|||
end,
|
||||
detect = function ()
|
||||
local relay = "redstone_relay_23"
|
||||
peripheral.call(relay, "getInput", "top")
|
||||
return peripheral.call(relay, "getInput", "top")
|
||||
end,
|
||||
call = function ()
|
||||
local relay = "redstone_relay_23"
|
||||
|
|
@ -98,7 +98,7 @@ local PKG_QUEUE = {
|
|||
end,
|
||||
check_cargo = function (self, inv, floors)
|
||||
for slot, item in pairs(peripheral.call(inv, "list")) do
|
||||
local item_detail = peripheral.call(src, "getItemDetail", slot)
|
||||
local item_detail = peripheral.call(inv, "getItemDetail", slot)
|
||||
for i, floor in ipairs(floors) do
|
||||
if item_detail.package ~= nil and
|
||||
floor.match(item_detail.package.getAddress()) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue