Raise event on Inserter pickup/drop position changed

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Loup&Snoop
Inserter
Inserter
Posts: 24
Joined: Wed Dec 04, 2024 4:33 am
Contact:

Raise event on Inserter pickup/drop position changed

Post by Loup&Snoop »

My Problem
My mod needs to execute code whenever another mod changed the pickup/drop positions of an inserter. Specifically, I am making a surface where inserter pickup/dropoff positions have a certain restriction to them. I would like to have compatibility with adjustable inserter mods.
Current Solution
I am currently going to every mod creator who made a mod with adjustable inserters, and asking them to raise custom events for me to listen. It works, except there are a LOT of these mods, and consequently some modders can't be reached.
Interface Request
Please raise an event when an inserter's pickup_position or dropoff_position are changed. Specifically, I would like a ref to the LuaEntity (and player index if possible, but I understand this probably won't work given how this property works). This way, every modder with adjustable inserters doesn't need to answer my requests.

It is niche, so I'll understand if you don't.
curiosity
Filter Inserter
Filter Inserter
Posts: 639
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Re: Raise event on Inserter pickup/drop position changed

Post by curiosity »

Post Reply

Return to “Modding interface requests”