Page 1 of 1

Add force_connect to LuaEntity.connect_neighbour

Posted: Fri Apr 12, 2019 3:08 pm
by tux_mark_5
I'd like to request adding force_connect to LuaEntity.connect_neighbour, so connect_neighbour would ignore wire_max_distance.

Ideally this should allow to connect two poles across surfaces, like it's possible to do now with circuit connections. That way power could be transferred across surfaces without creating additional electric networks and without on_tick.

This would massively boost the performance of mods like Factorissimo2, which create large amount of small electric networks that significantly eat into performance (both due to small networks, and even more so in multiplayer due to CRC).