Page 1 of 1

Modify black background for icons?

Posted: Sun Apr 30, 2017 1:12 pm
by swni
Is there any way to get rid of or modify the black background that appears behind icons on assembling machines, furnaces, containers, etc. when detailed view is on? I cannot find any sprite for it and am beginning to think it might be hardcoded.

Re: Modify black background for icons?

Posted: Sun Apr 30, 2017 7:20 pm
by Rseding91
It's defined in the core mod\prototypes\utility-sprites.lua as "entity_info_dark_background". Although a warning: if you make it transparent it's *incredibly* hard to see the icons over top of normal entities.

Re: Modify black background for icons?

Posted: Sun Apr 30, 2017 7:48 pm
by swni
Thanks for the response! Don't worry about visibility of the icons... I'm making them invisible too :)

Re: Modify black background for icons?

Posted: Sun Apr 30, 2017 8:23 pm
by Rseding91
swni wrote:Thanks for the response! Don't worry about visibility of the icons... I'm making them invisible too :)
So how do you plan on viewing items in the game if you can't see any of the icons in your inventory, the crafting GUI, in-game, on-belts and so on? :P

Re: Modify black background for icons?

Posted: Mon May 01, 2017 12:30 am
by swni
It's meant to be a challenge -- originally I only wanted objects on the ground to be invisible, but it turned out to be more of a challenge than planned. Invisible inventory is quite a pain but you get used to it somewhat.

(There is also Fishorio mode, where all the icons are replaced by fish.)

(I also implemented invisible biters and trains, for extra fun.)