Updated namecolor again

to go with the different avatar
This commit is contained in:
Kak2X 2021-06-19 02:59:00 +02:00 committed by GitHub
parent 08bce4d886
commit cb21ff3a40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,8 +243,10 @@
$sql->query("UPDATE `users` SET `sex` = '22' WHERE `id` = 20"); #nicole $sql->query("UPDATE `users` SET `sex` = '22' WHERE `id` = 20"); #nicole
$sql->query("UPDATE `users` SET `sex` = '23' WHERE `id` = 50"); #Rena $sql->query("UPDATE `users` SET `sex` = '23' WHERE `id` = 50"); #Rena
$sql->query("UPDATE `users` SET `sex` = '24' WHERE `id` = 2069"); #Adelheid/Stark/etc. $sql->query("UPDATE `users` SET `sex` = '24' WHERE `id` = 2069"); #Adelheid/Stark/etc.
$sql->query("UPDATE `users` SET `sex` = '25' WHERE `id` = 2889"); #Kak // So I can switch between Schezo/Witch colors myself :D
$kakcol = filter_bool($_GET['witch_colors']) ? 96 : 25;
$sql->query("UPDATE `users` SET `sex` = '{$kakcol}' WHERE `id` = 2889"); #Kak
$sql->query("UPDATE `users` SET `name` = 'Xkeeper' WHERE `id` = 1"); #Xkeeper. (Change this and I WILL Z-Line you from Badnik for a week.) $sql->query("UPDATE `users` SET `name` = 'Xkeeper' WHERE `id` = 1"); #Xkeeper. (Change this and I WILL Z-Line you from Badnik for a week.)
} }
@ -881,7 +883,7 @@ function getnamecolor($sex, $powl, $prefix = true){
$namecolor .= "77ECFF"; break; $namecolor .= "77ECFF"; break;
case 24: // Adelheid case 24: // Adelheid
$namecolor .= "D2A6E1"; break; $namecolor .= "D2A6E1"; break;
case 25: // Kak case 25: // Kak - Schezo
$namecolor .= "D8E8FE"; break; $namecolor .= "D8E8FE"; break;
case 41: case 41:
$namecolor .= "8a5231"; break; $namecolor .= "8a5231"; break;
@ -893,6 +895,8 @@ function getnamecolor($sex, $powl, $prefix = true){
$namecolor .= $nmcol[0][3]; break; $namecolor .= $nmcol[0][3]; break;
case 97: case 97:
$namecolor .= "6600DD"; break; $namecolor .= "6600DD"; break;
case 96: // Kak - Witch
$namecolor .= $nmcol[2][3]; break; // Make it readable in case the user has a light theme
default: default:
$namecolor .= $nmcol[$sex][$powl]; $namecolor .= $nmcol[$sex][$powl];
break; break;