[Quest API] Add GetConsiderColor() to Perl/Lua (#4253)

This commit is contained in:
Alex King
2024-04-15 05:53:48 -04:00
committed by GitHub
parent b1d873d1fc
commit 9a09d820a5
16 changed files with 193 additions and 138 deletions
+5 -5
View File
@@ -7366,23 +7366,23 @@ void EntityList::ShowSpawnWindow(Client* client, int Distance, bool NamedOnly) {
LastCon = CurrentCon;
switch(CurrentCon) {
case CON_GREEN: {
case ConsiderColor::Green: {
WindowText += "<c \"#00FF00\">";
break;
}
case CON_LIGHTBLUE: {
case ConsiderColor::LightBlue: {
WindowText += "<c \"#8080FF\">";
break;
}
case CON_BLUE: {
case ConsiderColor::DarkBlue: {
WindowText += "<c \"#2020FF\">";
break;
}
case CON_YELLOW: {
case ConsiderColor::Yellow: {
WindowText += "<c \"#FFFF00\">";
break;
}
case CON_RED: {
case ConsiderColor::Red: {
WindowText += "<c \"#FF0000\">";
break;
}