Page 1 of 1

How to hide quality icon on hidden entities

Posted: Mon Dec 09, 2024 4:40 pm
by Pikachar
Hello!
In a mod I'm working on I've got hidden entities that facilitate some logic, but the player should not really know that they are there. They're supposed to be hidden after all. Is there a way to specifically hide the quality icon on such an entity? And if so, what is the proper way of doing that? I saw that somebody had asked that question before, but the link directed me to a post that was deleted.

I've tried setting hidden = true, but that does not seem to do anything. And I'm not seeing any other property in the LuaEntityPrototype that I could set to achieve this result.

Any help is much appreciated!

Re: How to hide quality icon on hidden entities

Posted: Mon Dec 09, 2024 4:46 pm
by Tinyboss
Sounds like something that definitely should exist. But if it doesn't, could your mod just enforce that the quality of such entities is always normal?

Re: How to hide quality icon on hidden entities

Posted: Mon Dec 09, 2024 5:49 pm
by Pikachar
I could, but I'd like to actually support quality as well as that of whatever quality other mods may add in. Otherwise I'd just hardcode the hidden entities for each quality.

Re: How to hide quality icon on hidden entities

Posted: Tue Dec 17, 2024 1:10 pm
by 0n0w1c
I ran into the same issue, I even posted here but then removed it.
Seems I always want to do things that are not the intention of the game design.

Re: How to hide quality icon on hidden entities

Posted: Tue Dec 17, 2024 1:23 pm
by Xorimuth