[MIRROR] Moving robot module and icon selection to tgui (#9492)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2024-11-17 22:56:51 +01:00
committed by GitHub
co-authored by Heroman3003 Kashargul
parent 3e9b15570f
commit 7f2914d757
34 changed files with 708 additions and 200 deletions
+5
View File
@@ -628,3 +628,8 @@ GLOBAL_LIST_EMPTY(text_tag_cache)
return json_decode(data)
catch
return null
/// Removes all non-alphanumerics from the text, keep in mind this can lead to id conflicts
/proc/sanitize_css_class_name(name)
var/static/regex/regex = new(@"[^a-zA-Z0-9]","g")
return replacetext(name, regex, "")