mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 21:17:44 +01:00
[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:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user