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