From dac0874232be9cd60462b67d11abe4f40b0d8492 Mon Sep 17 00:00:00 2001 From: Emerson Rosen-Jones Date: Fri, 26 Dec 2025 13:46:47 -0500 Subject: [PATCH 1/3] fix: remove error in default config --- cargo-elevator.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cargo-elevator.lua b/cargo-elevator.lua index fba2027..376a305 100644 --- a/cargo-elevator.lua +++ b/cargo-elevator.lua @@ -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) From 3ce4f9579ddb085f5f71556fe633949333212c4a Mon Sep 17 00:00:00 2001 From: Emerson Rosen-Jones Date: Fri, 26 Dec 2025 14:06:48 -0500 Subject: [PATCH 2/3] fix: corrects floor detection part 2 --- cargo-elevator.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cargo-elevator.lua b/cargo-elevator.lua index 376a305..66749bb 100644 --- a/cargo-elevator.lua +++ b/cargo-elevator.lua @@ -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" From 6672c75d1a50784273d77f9cd78a0bcb8c1adf36 Mon Sep 17 00:00:00 2001 From: Emerson Rosen-Jones Date: Fri, 26 Dec 2025 14:06:55 -0500 Subject: [PATCH 3/3] fix: removes syntax error --- cargo-elevator.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cargo-elevator.lua b/cargo-elevator.lua index 66749bb..6aadb4b 100644 --- a/cargo-elevator.lua +++ b/cargo-elevator.lua @@ -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