mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 16:13:19 +01:00
Adds colourblind mode and a colour matrix editor (#17933)
* Colourblind mode + Matrix editor * increase that * Protanopia filter * Tritanopia filter * The SQL part * Refactor * you saw nothing
This commit is contained in:
@@ -875,6 +875,12 @@
|
||||
|
||||
else
|
||||
switch(href_list["preference"])
|
||||
if("cbmode")
|
||||
var/cb_mode = input(user, "Select a colourblind mode\nNote this will disable special screen effects such as the cursed heart warnings!") as null|anything in list(COLOURBLIND_MODE_NONE, COLOURBLIND_MODE_DEUTER, COLOURBLIND_MODE_PROT, COLOURBLIND_MODE_TRIT)
|
||||
if(cb_mode)
|
||||
colourblind_mode = cb_mode
|
||||
user.update_client_colour(0)
|
||||
|
||||
if("publicity")
|
||||
if(unlock_content)
|
||||
toggles ^= PREFTOGGLE_MEMBER_PUBLIC
|
||||
|
||||
Reference in New Issue
Block a user