mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-22 20:26:47 +01:00
Cleanup 3
This commit is contained in:
@@ -228,7 +228,6 @@ GLOBAL_LIST_INIT(admin_verbs_hideable, list(
|
||||
/datum/admins/proc/set_admin_notice,
|
||||
/client/proc/admin_ghost,
|
||||
/client/proc/toggle_view_range,
|
||||
/client/proc/cmd_admin_subtle_message,
|
||||
/client/proc/cmd_admin_check_contents,
|
||||
/datum/admins/proc/access_news_network,
|
||||
/client/proc/admin_end_shift,
|
||||
|
||||
@@ -168,7 +168,7 @@ GLOBAL_LIST_INIT(pp_limbs, list(
|
||||
admin.cmd_admin_pm_context(targetMob)
|
||||
|
||||
if ("subtle_message")
|
||||
admin.cmd_admin_subtle_message(targetMob)
|
||||
admin.cmd_admin_subtle_headset_message(targetMob)
|
||||
|
||||
if ("set_name")
|
||||
targetMob.vv_auto_rename(params["name"])
|
||||
@@ -420,9 +420,6 @@ GLOBAL_LIST_INIT(pp_limbs, list(
|
||||
H.open_language_menu(usr)
|
||||
|
||||
if ("ambitions")
|
||||
// if (!targetMob.client)
|
||||
// return
|
||||
|
||||
var/datum/mind/requesting_mind = targetMob.mind
|
||||
if(!istype(requesting_mind) || QDELETED(requesting_mind))
|
||||
to_chat(usr, "<span class='warning'>This mind reference is no longer valid. It has probably since been destroyed.</span>")
|
||||
|
||||
@@ -2027,21 +2027,14 @@
|
||||
return
|
||||
|
||||
var/mob/M = locate(href_list["CentComReply"])
|
||||
usr.client.cmd_admin_subtle_message(M, RADIO_CHANNEL_CENTCOM)
|
||||
usr.client.cmd_admin_subtle_headset_message(M, RADIO_CHANNEL_CENTCOM)
|
||||
|
||||
else if(href_list["SyndicateReply"])
|
||||
if(!check_rights(R_ADMIN))
|
||||
return
|
||||
|
||||
var/mob/M = locate(href_list["SyndicateReply"])
|
||||
usr.client.cmd_admin_subtle_message(M, RADIO_CHANNEL_SYNDICATE)
|
||||
|
||||
else if(href_list["HeadsetMessage"])
|
||||
if(!check_rights(R_ADMIN))
|
||||
return
|
||||
|
||||
var/mob/M = locate(href_list["HeadsetMessage"])
|
||||
usr.client.cmd_admin_subtle_message(M)
|
||||
usr.client.cmd_admin_subtle_headset_message(M, RADIO_CHANNEL_SYNDICATE)
|
||||
|
||||
//ambition start
|
||||
else if(href_list["ObjectiveRequest"])
|
||||
@@ -2103,7 +2096,7 @@
|
||||
return
|
||||
|
||||
var/mob/M = locate(href_list["subtlemessage"])
|
||||
usr.client.cmd_admin_subtle_message(M)
|
||||
usr.client.cmd_admin_subtle_headset_message(M)
|
||||
|
||||
else if(href_list["individuallog"])
|
||||
if(!check_rights(R_ADMIN))
|
||||
|
||||
@@ -19,10 +19,13 @@
|
||||
admin_ticket_log(M, msg)
|
||||
SSblackbox.record_feedback("tally", "admin_verb", 1, "Drop Everything") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/proc/cmd_admin_subtle_message(mob/M in GLOB.mob_list, sender = null)
|
||||
/client/proc/cmd_admin_subtle_message(mob/M in GLOB.mob_list)
|
||||
set category = "Admin.Events"
|
||||
set name = "Subtle Message"
|
||||
|
||||
cmd_admin_subtle_headset_message(M)
|
||||
|
||||
/client/proc/cmd_admin_subtle_headset_message(mob/M, sender = null)
|
||||
if(!ismob(M))
|
||||
return
|
||||
if(!check_rights(R_ADMIN))
|
||||
|
||||
Reference in New Issue
Block a user