xentac/torn_readable_honor_bar

Torn: Readable Honor Bar Names

★ 0Forks 0ShellGitHub ↗Compare

README

Readable Honor Bar

A Tampermonkey userscript for Torn City that replaces the pixel-font player name on honor bars with a larger, legible typeface. The honor artwork is untouched, and the coloured outlines for staff roles and blue names are kept.

It is a CSS-only rewrite of "Torn: More Legible Player Names" by GingerBeardMan and swervelord. There is no MutationObserver and no added DOM: Torn already renders the name as plain text inside every honor bar and merely hides it with a transparent colour, so the script hides the sprite version and gives the plain one a font and a colour. Uninstall the original script before using this one, or you will see two names.

Install

  1. Install Tampermonkey.
  2. Open readable-honor-bar.user.js in the browser and accept the install prompt.

Outline colours

Wrap class Outline
admin red
officer green
moderator orange
helper purple
blue blue
none of the above black

A staff role always outranks a blue name.

Scope

  • Only .honor-text-wrap elements are styled. Names shown in the sidebar and profile header are not honor bars and are left alone.
  • Big bars use 12px, small bars 11px. Names never wrap; a name that is still too wide is clipped at the edge of the artwork.
  • Only Torn's desktop layout has been checked. The rules are not scoped to it, so the responsive layout picks them up too, untested.

See CONTEXT.md for the project vocabulary.

License

GPLv3, matching the script it derives from.

Contributors

xentac

Issues