ports tgui color input from bubbers (#16934)

* ports tgui color input from monkeystation

* .

* push that real quick

* .

* .

* cleanup

* fix for 516

* port bubbers pre set selection

* also this

* allow 20 saved states

* oups

* regex replace

* urg

* use the update by type

* .

* .

* highlight?

* larger?

* fix those

* keep anyone below 516 on old style
This commit is contained in:
Kashargul
2025-01-21 18:27:45 -05:00
committed by GitHub
parent 7266c4c5dc
commit c0e339b1ea
56 changed files with 1913 additions and 108 deletions
+2 -2
View File
@@ -1114,7 +1114,7 @@ var/global/list/light_type_cache = list()
brightness_power = new_power
if("Normal Color")
var/new_color = input(usr, "Choose a color to set the light to!", "", brightness_color) as color|null
var/new_color = tgui_color_picker(usr, "Choose a color to set the light to!", "", brightness_color)
if(new_color)
brightness_color = new_color
@@ -1129,7 +1129,7 @@ var/global/list/light_type_cache = list()
nightshift_power = new_power
if("Nightshift Color")
var/new_color = input(usr, "Choose a color to set the light to!", "", nightshift_color) as color|null
var/new_color = tgui_color_picker(usr, "Choose a color to set the light to!", "", nightshift_color)
if(new_color)
nightshift_color = new_color