PoweredFloor mod overriding wire sprites, and general advice
Posted: Fri Jun 09, 2017 2:48 pm
I've just submitted my first mod, PoweredFloor, to the mod portal.
It gives you tiles which power assemblers, inserters, etc. which sit on top of them, also special tiles which pass circuit signals to neighbors, also a power tap which lets you feed signals and power to these tiles.

It seems to function as I want it too, though I realize my artwork is a little crude. One annoyance is the automatic wire placement. Vertically, they look ok, but horizontally, they look festooned, which is odd. I'd like to just hide the wires altogether. I looked at some posts about overriding sprites, but I want to leave the wire sprites for the normal electric-pole entities the same.
I'd be grateful for advice about my code - this is my first effort in lua!
Thanks!
It gives you tiles which power assemblers, inserters, etc. which sit on top of them, also special tiles which pass circuit signals to neighbors, also a power tap which lets you feed signals and power to these tiles.

It seems to function as I want it too, though I realize my artwork is a little crude. One annoyance is the automatic wire placement. Vertically, they look ok, but horizontally, they look festooned, which is odd. I'd like to just hide the wires altogether. I looked at some posts about overriding sprites, but I want to leave the wire sprites for the normal electric-pole entities the same.
I'd be grateful for advice about my code - this is my first effort in lua!
Thanks!