EntityPrototypeFlag "hidden-from-GUI" but still blueprintable

Things that already exist in the current mod API
Post Reply
User avatar
ickputzdirwech
Filter Inserter
Filter Inserter
Posts: 768
Joined: Sun May 07, 2017 10:16 am
Contact:

EntityPrototypeFlag "hidden-from-GUI" but still blueprintable

Post by ickputzdirwech »

I reported a bug on this here already, but it appears to be intentional.

What I want
I want a way to hide an entity from the bonus GUI (and stuff like this) but the entity should still be selectable with a selection tool.

Why I need it
My mod adds a selection tool that swaps turrets with disabled turrets. Unfortunately the dummy entities show up in the bonus Gui as well. This I don't want. I thought giving them the flag "hidden" would hide them from the GUI, which it does, but it also makes them immune to any selection tool as if I had set the flag "not-blueprintable" to them. Since you need to use a selection tool to enable them again this is no option.
Mods: Shortcuts for 1.1, ick's Sea Block, ick's vanilla tweaks
Tools: Atom language pack
Text quickly seems cold and unfriendly. Be careful how you write and interpret what others have written.
- A reminder for me and all who read what I write

Bilka
Factorio Staff
Factorio Staff
Posts: 3129
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: EntityPrototypeFlag "hidden-from-GUI" but still blueprintable

Post by Bilka »

See 89398, the "hidden" entity prototype flag already works that way. Please use the linked thread as a place to investigate why your entities aren't blueprintable.

Image
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Post Reply

Return to “Already exists”