Is there a way to hide items from the "no material for construction" alert?

Place to get help with not working mods / modding interface.
Natha
Filter Inserter
Filter Inserter
Posts: 300
Joined: Sun Mar 15, 2015 1:48 pm
Contact:

Is there a way to hide items from the "no material for construction" alert?

Post by Natha »

For internal reasons, I have an entity which I create as a ghost and destroy it usually. To make it placeable as a ghost, I had to create a dummy item with place_result set to this entity. However, if this ghost is placed inside a logistic network, it shows that the ghost is missing materials for construction (this item) in the alert view.

Is there any way to hide the item fromthere? It's not the hidden property...
Rseding91
Factorio Staff
Factorio Staff
Posts: 16452
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Is there a way to hide items from the "no material for construction" alert?

Post by Rseding91 »

There is not. Ghosts exist as an engine feature to be built by construction robots and so the engine will always attempt to do that. You'll have to decide if you want to live with the alert or look for an alternative method to do what you're after.
If you want to get ahold of me I'm almost always on Discord.
robot256
Smart Inserter
Smart Inserter
Posts: 1321
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: Is there a way to hide items from the "no material for construction" alert?

Post by robot256 »

What about assigning the ghost entity to a dummy neutral force?
My mods: Multiple Unit Train Control, RGB Pipes, Shipping Containers, Rocket Log, Smart Artillery Wagons.
Maintainer of Auto Deconstruct, Cargo Ships, Vehicle Wagon, Honk, Shortwave.
Natha
Filter Inserter
Filter Inserter
Posts: 300
Joined: Sun Mar 15, 2015 1:48 pm
Contact:

Re: Is there a way to hide items from the "no material for construction" alert?

Post by Natha »

robot256 wrote: Tue Dec 30, 2025 8:20 pm What about assigning the ghost entity to a dummy neutral force?
You know, this is the solution. Thanks a lot! I don't even need a "dummy" force, just setting the ghost to neutral makes the logistic network not trying to deliver items.
Post Reply

Return to “Modding help”