You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there are two or more slots with the same item name, where the first of these slots has less items than the second one, you can only eject the second stack or parts of it, if you prior to this eject the first stack.
To reproduce this, place a chest, a digiline ejector and a chest in a row, connect the ejector to a lua-controller, put 49 cobble into the first slot of the left chest and 99 cobble into another slot. Name the ejector's channel "eject" and run the LUA-controller with the following code:
if (event.type=="program") then
local m =
{
exmatch = true,
name = "default:cobble",
count = 50,
}
digiline_send("eject",m)
end
or alternatively:
if (event.type=="program") then
local m = "default:cobble 50"
digiline_send("eject",m)
end
Edit: note: random slotseq sometimes leads to successful ejecting.
The text was updated successfully, but these errors were encountered:
I had this issue when coding a withdrawal system for drawer controllers.
A quick fix would be checking how many items were ejected and ejecting the remainder from another slot.
If there are two or more slots with the same item name, where the first of these slots has less items than the second one, you can only eject the second stack or parts of it, if you prior to this eject the first stack.
To reproduce this, place a chest, a digiline ejector and a chest in a row, connect the ejector to a lua-controller, put 49 cobble into the first slot of the left chest and 99 cobble into another slot. Name the ejector's channel "eject" and run the LUA-controller with the following code:
or alternatively:
Edit: note: random slotseq sometimes leads to successful ejecting.
The text was updated successfully, but these errors were encountered: