mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-20 18:47:20 +01:00
* 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
16 lines
630 B
Plaintext
16 lines
630 B
Plaintext
//Verbs
|
|
|
|
USER_VERB(open_mentor_tickets, R_MENTOR|R_ADMIN, "Open Mentor Ticket Interface", "Opens the mhelp panel", VERB_CATEGORY_ADMIN)
|
|
SSmentor_tickets.showUI(client.mob)
|
|
|
|
USER_VERB(resolve_all_mentor_tickets, R_ADMIN, "Resolve All Open Mentor Tickets", "Resolves all open mhelps", VERB_CATEGORY_HIDDEN)
|
|
if(alert(client, "Are you sure you want to resolve ALL open mentor tickets?","Resolve all open mentor tickets?","Yes","No") != "Yes")
|
|
return
|
|
|
|
SSmentor_tickets.resolveAllOpenTickets()
|
|
|
|
/client/verb/openMentorUserUI()
|
|
set name = "My Mentor Tickets"
|
|
set category = VERB_CATEGORY_ADMIN
|
|
SSmentor_tickets.userDetailUI(usr)
|