Files
VOREStation/code/modules/tgui/states/mentor.dm
T
Selis f2b86cb5e3 Ports ticket system overhaul from downstream (#17063)
* Ports ticket system overhaul from downstream

* Various fixes

* fixes

* Update tickets.dm

* Update tickets.dm

* Update ticket.dm

* Refactor

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-06-28 02:28:15 +02:00

13 lines
339 B
Plaintext

/**
* tgui state: mentor_state
*
* Checks that the user is an mentor.
**/
GLOBAL_DATUM_INIT(tgui_mentor_state, /datum/tgui_state/mentor_state, new)
/datum/tgui_state/mentor_state/can_use_topic(src_object, mob/user)
if(check_rights_for(user.client, R_ADMIN|R_EVENT|R_DEBUG|R_MENTOR))
return STATUS_INTERACTIVE
return STATUS_CLOSE