Factorissimo 3


Factorissimo adds factory buildings to Factorio. Place them down, walk in, build your factories inside! Now updated for space age!

Content
21 days ago
1.1 - 2.0
105K
Logistics

i Interface function/custom event to get list of child surfaces

2 years ago

I'd like to get a way to find the surfaces that are inside a building. I'm working on two mods (GCKI and Autodrive) that allow players to teleport vehicles based on "car" and "spider-vehicle" prototypes across surfaces. When vehicles are left behind on a Factorissimo surface, and a building containing those vehicles' surface dies, I'd like to do stuff (perhaps destroy all vehicles my mods have put there, or close camera views of such vehicles). Once I have a list of surfaces, it would be trivial to check if any of the vehicles stored by my mods are located there.

I guess both a remote function I could call when a Factorissimo building triggers on_entity_died or a custom event raised by you would work for my purposes. Could you provide that, please?

2 years ago

Factorissimo never deletes surfaces under any conditions