From 084e2ae561be084a5f135a7df4bb61585c14da3d Mon Sep 17 00:00:00 2001 From: Albert Iordache Date: Sat, 26 May 2012 09:18:48 +0300 Subject: [PATCH] Added /mob/proc/getFiles() --- code/modules/mob/mob.dm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index 2fb5c9aa858..36e3cee295d 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -1143,4 +1143,14 @@ note dizziness decrements automatically in the mob's Life() proc. /mob/proc/setBrainLoss(var/amount) brainloss = amount -// ++++ROCKDTBEN++++ MOB PROCS //END \ No newline at end of file +// ++++ROCKDTBEN++++ MOB PROCS //END + +/* + * Sends resource files to client cache + */ +/mob/proc/getFiles() + if(!isemptylist(args)) + for(var/file in args) + src << browse_rsc(file) + return 1 + return 0 \ No newline at end of file