search for a lost child

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
User avatar
brunzenstein
Smart Inserter
Smart Inserter
Posts: 1155
Joined: Tue Mar 01, 2016 2:27 pm
Contact:

search for a lost child

Post by brunzenstein »

I have placed somewhere in my build a infinity accumulator (editor extensions) and cannot find the damned ting anymore - I tried this with a bp - but there the acc also does not show up - any hint?
User avatar
Silari
Filter Inserter
Filter Inserter
Posts: 583
Joined: Sat Jan 27, 2018 10:04 pm
Contact:

Re: search for a lost child

Post by Silari »

Did you try a filtered deconstruction planner? Should be able to spread that over everything in your base and it'll get marked.
User avatar
brunzenstein
Smart Inserter
Smart Inserter
Posts: 1155
Joined: Tue Mar 01, 2016 2:27 pm
Contact:

Re: search for a lost child

Post by brunzenstein »

Silari wrote: Sat Jul 26, 2025 8:45 pm Did you try a filtered deconstruction planner? Should be able to spread that over everything in your base and it'll get marked.
It did not work :|
eugenekay
Filter Inserter
Filter Inserter
Posts: 586
Joined: Tue May 15, 2018 2:14 am
Contact:

Re: search for a lost child

Post by eugenekay »

If you know the Internal Name of the entity, you can find (and Delete!) all of them on the player's current Surface using the LUA Console:

Code: Select all

/c for _, v in pairs(game.player.surface.find_entities_filtered{type="electric-energy-interface"}) do
  v.destroy()
end
Good Luck!
User avatar
brunzenstein
Smart Inserter
Smart Inserter
Posts: 1155
Joined: Tue Mar 01, 2016 2:27 pm
Contact:

Re: search for a lost child

Post by brunzenstein »

eugenekay wrote: Sat Jul 26, 2025 10:55 pm If you know the Internal Name of the entity, you can find (and Delete!) all of them on the player's current Surface using the LUA Console:

Code: Select all

/c for _, v in pairs(game.player.surface.find_entities_filtered{type="electric-energy-interface"}) do
  v.destroy()
end
Good Luck!
Thank you very much.
The 'destroy' command for a specific item is actually not listed in the provided LUA file—and even if it were, as a layman, I wouldn't have known how to formulate the command as you did. So, I truly appreciate your help.
That being said, it would be helpful if the developers provided some guidance for laymen like me on how to properly formulate such commands.
Post Reply

Return to “Gameplay Help”