Files
VOREStation/code/modules/tgui/states/ticket.dm
T
Kashargul fe5556d2dc up ports a bunch of TGS commands (#17961)
* up ports a bunch of TGS commands

* .

* needing this

* ...

* Update datacore.dm

* fix that

* at least stack that

* rework all user name handling

* urg

* urg

* .

* .

* .

* up port this

* make this clearer

* .

* .

* .

* fix that

* .

* add returns

* player ticket chat

* this

* .

* .

* umm

* adjust messages

* clean smitecode up

* .

* ummm

* .

* command filter
2025-07-12 12:08:14 +02:00

13 lines
319 B
Plaintext

/**
* tgui state: ticket_state
*
* Grants the user UI_INTERACTIVE, if a ticket is open.
*/
GLOBAL_DATUM_INIT(tgui_ticket_state, /datum/tgui_state/ticket_state, new)
/datum/tgui_state/ticket_state/can_use_topic(src_object, mob/user)
if(user.client.current_ticket)
return STATUS_INTERACTIVE
return STATUS_CLOSE