mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 15:14:27 +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:
@@ -284,6 +284,7 @@ CREATE TABLE `player` (
|
||||
`screentip_mode` tinyint(1) DEFAULT '8',
|
||||
`screentip_color` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#ffd391',
|
||||
`ghost_darkness_level` tinyint(1) UNSIGNED NOT NULL DEFAULT '255',
|
||||
`colourblind_mode` VARCHAR(48) NOT NULL DEFAULT 'None' COLLATE 'utf8mb4_general_ci',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `ckey` (`ckey`),
|
||||
KEY `lastseen` (`lastseen`),
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
# Updates DB from 36 to 37 -AffectedArc07
|
||||
# New preferences column for colourblind mode
|
||||
|
||||
ALTER TABLE `player` ADD COLUMN `colourblind_mode` VARCHAR(48) NOT NULL DEFAULT 'None' AFTER `ghost_darkness_level`;
|
||||
Reference in New Issue
Block a user