Implement /vg/'s global asset cache

This commit is contained in:
Markolie
2015-08-21 18:47:00 +02:00
parent fa55bc85f8
commit aa9b5a6310
64 changed files with 141 additions and 1742 deletions
+1 -1
View File
@@ -189,7 +189,7 @@
dat += {"
<b><font size='3px'>pAI Request Module</font></b><br><br>
<p>Requesting AI personalities from central database... If there are no entries, or if a suitable entry is not listed, check again later as more personalities may be added.</p>
<img src='loading.gif' /> Searching for personalities<br><br>
Searching for personalities, please wait...<br><br>
<table>
<tr>
@@ -124,6 +124,10 @@
usr << "<span class='warning'>It is too far away.</span>"
/obj/item/weapon/card/id/proc/show(mob/user as mob)
if(user.client) // Send the stamp images to the client
var/datum/asset/simple/S = new/datum/asset/simple/paper()
send_asset_list(user.client, S.assets)
if(!front)
front = new(photo, dir = SOUTH)
if(!side)