Update icons.dm (#3789)

This commit is contained in:
Gandalf
2021-03-03 04:39:55 +00:00
committed by GitHub
parent 541233266d
commit 00763bb6e5

View File

@@ -1124,6 +1124,8 @@ GLOBAL_LIST_INIT(freon_color_matrix, list("#2E5E69", "#60A2A8", "#A1AFB1", rgb(0
fdel("tmp/dummySave.sav") //if you get the idea to try and make this more optimized, make sure to still call unlock on the savefile after every write to unlock it.
/proc/icon2html(thing, target, icon_state, dir = SOUTH, frame = 1, moving = FALSE, sourceonly = FALSE, extra_classes = null)
return "" //SKYRAT EDIT DISABLE - ICON2HTML
/*
if (!thing)
return
@@ -1186,6 +1188,7 @@ GLOBAL_LIST_INIT(freon_color_matrix, list("#2E5E69", "#60A2A8", "#A1AFB1", rgb(0
if(sourceonly)
return SSassets.transport.get_asset_url(key)
return "<img class='[extra_classes] icon icon-[icon_state]' src='[SSassets.transport.get_asset_url(key)]'>"
*/
/proc/icon2base64html(thing)
if (!thing)