Status colours and the (solved) mystery of status_yellow
Posted: Fri Jan 08, 2021 4:58 pm
I added some colour blindness support to my current mod project in the form of mod settings which set the hue of status lights on in-game entities. Drills and crafting machines have support for 8 different status tints if you include the completely transparent unpowered state; some of them only apply to specific entity types. For the "status lamp" on entity GUIs and tooltips, however, those are collapsed down to just 3 utility sprites: status_working, status_not_working and status_yellow. These colours are essentially baked into the sprite as green, red and amber/yellow; however because they are utility sprites you can override them with something else, e.g. something that uses layered tints and white highlights.
So what entity status corresponds to what GUI status?
- "status_working" (green lamp in vanilla) appears to correspond with "working"
- "status_not_working" (red lamp in vanilla) appears to be shown in every other case
- "status_yellow" doesn't seem to get shown, ever
That last one is bugging me because my brain is telling me I have seen a yellow lamp on a GUI and now I can't reproduce it so it's probably just me being senile.
Anyone know if status_yellow is actually used and if so, which entity status does it (roughly) correspond with?
So what entity status corresponds to what GUI status?
- "status_working" (green lamp in vanilla) appears to correspond with "working"
- "status_not_working" (red lamp in vanilla) appears to be shown in every other case
- "status_yellow" doesn't seem to get shown, ever
That last one is bugging me because my brain is telling me I have seen a yellow lamp on a GUI and now I can't reproduce it so it's probably just me being senile.
Anyone know if status_yellow is actually used and if so, which entity status does it (roughly) correspond with?