[MIRROR] Greyscale Mat Datum Stationary Smooth Tanks (#6544)

* Greyscale Mat Datum Stationary Smooth Tanks

* Update icon_smoothing.dm

Co-authored-by: Emmett Gaines <ninjanomnom@protonmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
SkyratBot
2021-06-27 17:37:32 +02:00
committed by GitHub
parent 34b10012db
commit 9c861af7b7
57 changed files with 1123 additions and 193 deletions
+8 -4
View File
@@ -127,12 +127,16 @@
if("recolor")
var/index = text2num(params["color_index"])
split_colors[index] = lowertext(params["new_color"])
queue_refresh()
var/new_color = lowertext(params["new_color"])
if(split_colors[index] != new_color)
split_colors[index] = new_color
queue_refresh()
if("recolor_from_string")
ReadColorsFromString(lowertext(params["color_string"]))
queue_refresh()
var/full_color_string = lowertext(params["color_string"])
if(full_color_string != split_colors.Join())
ReadColorsFromString(full_color_string)
queue_refresh()
if("pick_color")
var/group = params["color_index"]