Files
Bubberstation/code/modules/paperwork
SkyratBot 54d1fae1fa [MIRROR] Changes the values of the pen colour variable from color name to hexadecimal. [MDB IGNORE] (#12439)
* Changes the values of the pen colour variable from color name to hexadecimal (#65553)

About The Pull Request

See the title. Hexadecimal values are better than color names for programming since they can be sanitized and are more easily converted to RGB(A) or HSV. Color names aren't really meant to be used in some functions and methods about colors.

TL;DR: color names don't work with the Color common package in the TGUI folder.
Why It's Good For The Game

This will remove the need of a hacky bandaid from /obj/item/canvas/proc/get_paint_tool_color that only covers about half the pen colors anyway.
Changelog

cl
fix: Fixed certain pens breaking painting on a canvas because of their peculiar colors.
/cl

* Changes the values of the pen colour variable from color name to hexadecimal.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2022-04-01 01:53:00 +01:00
..
2022-04-01 01:20:27 +01:00