Page 1 of 1
Align buildings
Posted: Wed Nov 20, 2019 9:59 am
by Linver
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.
Re: Align buildings
Posted: Wed Nov 20, 2019 10:11 am
by Bilka
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.
Re: Align buildings
Posted: Wed Nov 20, 2019 11:18 am
by PyroFire
The idea is to align other entities e.g. assemblers, inserters etc to the rail grid.
Re: Align buildings
Posted: Wed Nov 20, 2019 11:47 am
by Bilka
As I said, the value Linver talks about is hardcoded.
Re: Align buildings
Posted: Sat Nov 23, 2019 9:04 am
by Linver
I got it, thank u again Bilka