mirror of
https://github.com/quotefox/Hyper-Station-13.git
synced 2026-08-28 15:16:18 +01:00
admin preload rsc resources
This commit is contained in:
@@ -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>")
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user