On my ever growing quest to make my mod I ran into issues reading the reactor neighbour bonus with script, as this is not yet supported.
As a sidenote, it is also impossible to get the reactors neighbours (without looking at the relative positions ofcourse).
Could neighbour_bonus be added to LuaEntity.
Wouldn't it be useful to make neighbours from LuaEntity work with reactor type entities?
Reactor neighbours
Re: Reactor neighbours
0.17 changelog wrote:Added LuaEntity::neighbours support for power switches, wall-connectable entities, and reactors.
Added LuaEntity::neighbour_bonus read.
Added LuaEntityPrototype::neighbour_bonus and neighbour_collision_increase read.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.