Hello, I am working on the Planet Linox mod and would like to make it compatible with the Compact Circuit mod.
In my mod, there is a mechanic that prevents certain buildings from being placed on specific tiles. Because of this, when a Processor entity is placed in a restricted area, the entity is immediately destroyed and the placement is rejected.
Handling the Processor entity as an exception is not difficult, but since most buildings cannot be placed on these restricted tiles, it is inevitable that the Processor entity will occasionally be rejected. The issue is that when this happens, the Processor is correctly removed, but its I/O Pin entities remain.
Would it be possible to modify the Processor so that when it is destroyed, any related I/O Pin entities are also removed automatically? Alternatively, if I manually destroy the I/O Pin entities through scripting when the Processor is rejected, will that cause any issues for your mod?