mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
port ADMIN_VERB and friends (#30646)
* port ADMIN_VERB and friends * some renaming * dumb * one more rename * never search and replace this codebase * fix TM issues, more renaming * add a static analysis to shore up user verbs * fix double message on roundstart * remove macro we're not using yet * convert remaining playsounds verbs * convert more verbs i missed somehow * why is this a completely different signature than everything else * fix ui_interact arg * fix logging view and others * buncha issues caught in TM * fix mentor tickets ui * fix bug report viewing * moron
This commit is contained in:
@@ -20,14 +20,10 @@ GLOBAL_LIST_EMPTY(adminfaxes)
|
||||
/datum/fax/admin/New()
|
||||
return
|
||||
|
||||
// Fax panel - lets admins check all faxes sent during the round
|
||||
/client/proc/fax_panel()
|
||||
set name = "Fax Panel"
|
||||
set category = "Event"
|
||||
if(holder)
|
||||
holder.fax_panel(usr)
|
||||
USER_VERB(fax_panel, R_ADMIN, "Fax Panel", "Lets admins check all faxes sent during the round.", VERB_CATEGORY_EVENT)
|
||||
if(client.holder)
|
||||
client.holder.fax_panel(client.mob)
|
||||
SSblackbox.record_feedback("tally", "admin_verb", 1, "Fax Panel") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
return
|
||||
|
||||
/datum/admins/proc/fax_panel(mob/living/user)
|
||||
var/html = "<A align='right' href='byond://?src=[UID()];refreshfaxpanel=1'>Refresh</A>"
|
||||
|
||||
Reference in New Issue
Block a user