LuaEntity.neighbours for ghost underground belts

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
_CodeGreen
Long Handed Inserter
Long Handed Inserter
Posts: 60
Joined: Sat Mar 05, 2022 11:30 am
Contact:

LuaEntity.neighbours for ghost underground belts

Post by _CodeGreen »

I'm working on a new mode for Belt Visualizer where it will highlight through ghost entities in addition to normal entities.
One of the properties used in the mod is LuaEntity.neighbours for underground belt connections, and that works fine for non-ghost belts.
However, it cannot be used on ghost underground belts, which is unfortunate for me :‎P
If there is a reason for .neighbours not to work with ghost undergrounds, I can work around it, but it would be very clunky.
My Mods | If you can't make it perfect, make it adjustable

Post Reply

Return to “Modding interface requests”