[2.1.8] Clarify the meaning of PipeConnectionDefinition::alt_position, alt_direction

Place to report issues and suggest improvements to the API documentation.
robot256
Smart Inserter
Smart Inserter
Posts: 1379
Joined: Sun Mar 17, 2019 1:52 am
Contact:

[2.1.8] Clarify the meaning of PipeConnectionDefinition::alt_position, alt_direction

Post by robot256 »

https://lua-api.factorio.com/latest/typ ... t_position

When I first read about alt_position and alt_direction, I was very confused and thought it might be a way to move where the alt-mode arrows are drawn. The only hint that it is used for the diagonal directions of 8-way-rotateable entities is the mention of "north-east." I would like to suggest adding a note like "Only used for the diagonal rotations of entities with the "building-direction-8-way" flag set."
My mods: Multiple Unit Train Control, RGB Pipes, Shipping Containers, Rocket Log, Smart Artillery Wagons.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Post Reply

Return to “Documentation Improvement Requests”