Side Inserters

by GotLag

Adds hotkeys to adjust inserter pickup and drop locations.

Content
3 years ago
0.13 - 1.1
28.0K
Logistics

g Crash on non standard inserters?

7 years ago

Really just looking for a near/far toggle, which this does well.

Hit a couple crashes:
Error while running event toggle-inserter-drop (ID 68)
Vector is not a safe distance from the tile edge.
stack traceback:
Side Inserters/control.lua:72: in function 'ToggleInserterDrop'
Side Inserters/control.lua:18: in function <Side Inserters/control.lua:15>

Drop location:
Error while running event cycle-inserter-drop (ID 57)
Vector is not a safe distance from the tile edge.
stack traceback:
Side Inserters/control.lua:106: in function 'CycleInserterDrop'
Side Inserters/control.lua:11: in function <Side Inserters/control.lua:8>

I was testing with Yuoki's inserters which adds some right angel, diagonal, dog leg... etc inserters.

Lane adjust works for all of them.
Fine adjust can crash for some of them with a warning the vector is too close to tile edge?
The change pickup location on the right angel one cycles through 3 postions, but skips the wrong spot.

Could the rotations be relative? Like +45 degrees each click and skip if it is the same tile as the drop? On cycling any way to save the original state? So if you cycle something you shouldn't you can get back to the base state without pickup/replace.

New response