Hi to all,
I discover that rails prototype have a boolean value called building_grid_bit_shift settet to true.
Is possible use it on other entities that isn't rails?
Thank to all for answers.
Align buildings
Re: Align buildings
There is no such boolean value in that Lua files that I can find. https://lua-api.factorio.com/latest/Lua ... _bit_shift is readable runtime, but the value that it returns is simply hardcoded and it's a uint.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: Align buildings
The idea is to align other entities e.g. assemblers, inserters etc to the rail grid.Bilka wrote: ↑Wed Nov 20, 2019 10:11 amThere is no such boolean value in that Lua files that I can find. https://lua-api.factorio.com/latest/Lua ... _bit_shift is readable runtime, but the value that it returns is simply hardcoded and it's a uint.
Re: Align buildings
As I said, the value Linver talks about is hardcoded.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: Align buildings
I got it, thank u again Bilka