admin preload rsc resources

This commit is contained in:
quotefox
2022-09-14 22:25:13 +01:00
parent e8022f4425
commit d5314016e0
2 changed files with 15 additions and 0 deletions
+14
View File
@@ -1040,3 +1040,17 @@
message_admins("<span class='adminnotice'>[key_name_admin(usr)] told everybody to man up.</span>")
SSblackbox.record_feedback("tally", "admin_verb", 1, "Man Up Global")
/client/proc/cmd_admin_preload_resource(F as file)
set category = "Special Verbs"
set name = "Preload Resource"
if(!check_rights(R_ADMIN))
return
var/resource = fcopy_rsc(F)
for(var/thing in GLOB.clients)
var/client/C = thing
if (!C)
continue
C.Export("##action=load_rsc", resource)
message_admins("<span class='adminnotice'>[key_name_admin(usr)] preloaded resouce [F].</span>")
+1
View File
@@ -57,6 +57,7 @@ GLOBAL_LIST_INIT(admin_verbs_admin, world.AVerbsAdmin())
/client/proc/cmd_admin_local_narrate, /*sends text to all mobs within view of atom*/
/client/proc/cmd_admin_man_up, //CIT CHANGE - adds man up verb
/client/proc/cmd_admin_man_up_global, //CIT CHANGE - ditto
/client/proc/cmd_admin_preload_resource,
/client/proc/cmd_admin_create_centcom_report,
/client/proc/cmd_change_command_name,
/client/proc/cmd_admin_check_player_exp, /* shows players by playtime */