I am editing a turret entity and see flags.
http://lua-api.factorio.com/latest/LuaE ... e.has_flag
and I need return turret direction code.
[entity.direction] is return 0 ~ 7
But turret is return only 0, 2, 4, 6
then I insert turret entity flag [building-direction-8-way]
But It still did not work.
Is this flag not support turret??
file
ingame message is line 780 in control.lua