Adds client skin and topic for asset cache.

This commit is contained in:
MrStonedOne
2015-11-24 23:31:44 -08:00
parent c784ca902e
commit 4ffb421bb7
2 changed files with 34 additions and 1 deletions
+8 -1
View File
@@ -22,7 +22,11 @@
/client/Topic(href, href_list, hsrc)
if(!usr || usr != mob) //stops us calling Topic for somebody else's client. Also helps prevent usr=null
return
if(href_list["asset_cache_confirm_arrival"])
src << "ASSET JOB [href_list["asset_cache_confirm_arrival"]] ARRIVED."
var/job = text2num(href_list["asset_cache_confirm_arrival"])
completed_asset_jobs += job
return
//Admin PM
if(href_list["priv_msg"])
if (href_list["ahelp_reply"])
@@ -206,6 +210,9 @@ var/next_external_rsc = 0
if (config && config.autoconvert_notes)
convert_notes_sql(ckey)
if(!winexists(src, "asset_cache_browser")) // The client is using a custom skin, tell them.
src << "<span class='warning'>Unable to access asset cache browser, if you are using a custom skin file, please allow DS to download the updated version, if you are not, then make a bug report. This is not a critical issue but can cause issues with resource downloading, as it is impossible to know when extra resources arrived to you.</span>"
//This is down here because of the browse() calls in tooltip/New()
if(!tooltips)
+26
View File
@@ -1606,6 +1606,32 @@ window "mainwindow"
macro = "macro"
menu = "menu"
on-close = ""
elem "asset_cache_browser"
type = BROWSER
pos = 424,208
size = 1x1
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = none
is-visible = false
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = ""
on-size = ""
show-history = false
show-url = false
auto-format = true
use-title = false
on-show = ""
on-hide = ""
elem "hotkey_toggle"
type = BUTTON
pos = 560,420