TGUI and asset cache sending improvements (#43090)

Pills are now two spreadsheets instead of individual icons.

This reduces assets sent by about 19-20.

Furthermore tgui has been extended with a new proc ui_base_html which
allows a user to customise the html sent as the base for a tgui window.
This allows someone to provide custom spritesheet css as links in a
specific tgui window without having to add it to the global html.
This commit is contained in:
oranges
2019-03-17 09:47:48 -07:00
committed by Tad Hardesty
parent 09f3a8f8d1
commit b526be704c
9 changed files with 67 additions and 27 deletions
+2 -1
View File
@@ -562,7 +562,8 @@ GLOBAL_LIST_EMPTY(asset_datums)
"none_button.png" = 'html/none_button.png',
)
/datum/asset/simple/pills
/datum/asset/spritesheet/simple/pills
name ="pills"
assets = list(
"pill1" = 'icons/UI_Icons/Pills/pill1.png',
"pill2" = 'icons/UI_Icons/Pills/pill2.png',