[MIRROR] Datum mat GAGS support and mace migration (#6059)

* Datum mat GAGS support and mace migration

* Mirror!

Co-authored-by: Emmett Gaines <ninjanomnom@gmail.com>
Co-authored-by: Funce <funce.973@gmail.com>
This commit is contained in:
SkyratBot
2021-06-01 05:49:32 +02:00
committed by GitHub
parent 90d87fa638
commit 4914ae5ae1
27 changed files with 361 additions and 35 deletions
+6
View File
@@ -31,3 +31,9 @@ SUBSYSTEM_DEF(greyscale)
if(istype(colors)) // It's the color list format
colors = colors.Join()
return configurations[type].Generate(colors)
/datum/controller/subsystem/greyscale/proc/ParseColorString(color_string)
. = list()
var/list/split_colors = splittext(color_string, "#")
for(var/color in 2 to length(split_colors))
. += "#[split_colors[color]]"