mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user