Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zombie Master kill count is unreadable #27038

Closed
benjaminmkos opened this issue Dec 10, 2018 · 4 comments · Fixed by #27121
Closed

Zombie Master kill count is unreadable #27038

benjaminmkos opened this issue Dec 10, 2018 · 4 comments · Fixed by #27121
Labels
Accessibility Issues regarding accessibility Info / User Interface Game - player communication, menus, etc.

Comments

@benjaminmkos
Copy link

Describe the bug
There is a particular monster on my current character's kill count screen that is completely unreadable because it uses bright red font on a bright red background. I am ~reasonably sure that monster is "Zombie Master"
Screenshot attached below.

To Reproduce
Steps to reproduce the behavior:

  1. Kill a Zombie Master
  2. Open the Kill Count screen with ')'

Expected behavior
The Kill Count screen should have be readable entries for each monster.
I would think that either the background should be changed to black (see zombie brute / kreck entries in screenshot) or the font should be changed to black (see zombie burner entry in screenshot.)

Screenshots
killcountcoloring

Versions and configuration(please complete the following information):

  • OS: Windows 10
  • Game Version 0.C-35090-g9d693be
  • Graphics version Tiles
  • Mods loaded: boats, extended realistic guns, vehicle additions pack

Additional context

@Inglonias
Copy link
Contributor

I can actually read the screenshot if I lean in and squint. You're right. It's a zombie master. But I second this issue. It's not fun to read.

@Leland Leland added Info / User Interface Game - player communication, menus, etc. Accessibility Issues regarding accessibility labels Dec 10, 2018
@Pupsi-Mupsi
Copy link
Contributor

Pupsi-Mupsi commented Dec 15, 2018

The reason for this can be found in \data\json\monsters.json
-> "name": "zombie master", has "color": "pink_red", and "symbol": "Z",
-> game.cpp constructs the kill list using those colors (Cataclysm-DDA-master/src/game.cpp - take a look at the screenshot below)
-> To be honest i don't know if i should change this. I guess it will change the look of the zombie master for all player using console graphics.
grafik

grafik

@BevapDin
Copy link
Contributor

To be honest i don't know if i should change this.

No, you should not.

I guess it will change the look of the zombie master for all player using console graphics.

Yes, it will. Because it's supposed to do that. It's the color and symbol of the monster in the main game window. It is just re-used here in the kill count window.

I suggest changing the display in that window to show the symbol (in the color associated with the monster type) and print the name in a standard color (e.g. white on black).

@Pupsi-Mupsi
Copy link
Contributor

Thanks a lot for your confirmation.

I suggest changing the display in that window to show the symbol (in the color associated with the monster type) and print the name in a standard color (e.g. white on black).

I like your idea!
Like this?

for( const auto &entry : kill_counts ) {
        std::ostringstream buffer;
        buffer << "<color_" << std::get<2>( entry.first ) << ">";
        buffer << std::get<1>( entry.first ) << "</color>" << " " << std::get<0>( entry.first );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accessibility Issues regarding accessibility Info / User Interface Game - player communication, menus, etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants