LuaPlayer.pipette_entity - align held item rotation to match source

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
shanemadden
Fast Inserter
Fast Inserter
Posts: 128
Joined: Thu Feb 08, 2018 8:25 am
Contact:

LuaPlayer.pipette_entity - align held item rotation to match source

Post by shanemadden »

If a player uses the normal pipette keybind on an entity with a direction (eg transport belt), the new cursor stack's direction is set to match the entity that the pipette was used on.

LuaPlayer.pipette_entity when called against an entity sets the entity into the cursor stack in the same way, but doesn't match the direction in the same way, while the doc says it ought to have the same result as a player taking the action. Would it be possible to get the direction-matching added to the programmatic pipette_entity as well?

Thanks a lot!
Post Reply

Return to “Modding interface requests”