mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-17 12:20:09 +01:00
fe5556d2dc
* 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
13 lines
319 B
Plaintext
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
|