Info about ghost entities

Place to get help with not working mods / modding interface.
Post Reply
Atria
Long Handed Inserter
Long Handed Inserter
Posts: 57
Joined: Sat Jul 09, 2016 10:25 am
Contact:

Info about ghost entities

Post by Atria »

I'm making merging chests mod and run into problems with ghost entities. Blueprint can contain entities that I create only via script (merged chests). To create them I need to replace them with steel chests and merge them by script when all are placed.

The problem is that doing so I lose information about circuit connections and red bar count of merged chest in blueprint. I went over API several times now and still can't find solution. Is there way to get ghost entity's circuit connections and red bar count before it's built? I fear that it will be impossible because even if I get circuit connections info of ghost entity I still won't be able to correctly connect it to other entities.

Post Reply

Return to “Modding help”