- LuaEntityPrototype :: pickup_position [R] -> Vector … Default position offset where the entity puts its stuff. (see LuaEntity :: pickup_position)
- LuaEntityPrototype :: drop_position [R] -> Vector … Default position offset where the inserter will pick up items from. (see LuaEntity :: drop_position)
UsecaseI want to estimate the inserter speed (items/s) and present these numbers to the user, through tooltips (if possible/reasonable) and a gui. Basically calculate these numbers.
Yes this is doable, I have already done my testing to make sure it is.
Though of course picking up from belts will always be inaccurate - too many factors.
Side NotesCurrently this is doable by going through every inserter prototype, checking on what it is place able, placing tiles (most likely on a new, temp surface), placing the inserter, reading and storing it's positions and storing them, and destroying it.
The process of creating, using and deleting the surface would be the most annoying part (possibly even cause performance issues, and may break poorly (or even well?) written mods), though I'm pretty sure it's doable.
But still, that just feels wrong. But for now, it will have to do.