Tickets System

This commit is contained in:
Selis
2023-06-21 13:51:32 +02:00
parent 831110b53e
commit 67ba4a2de5
23 changed files with 1862 additions and 660 deletions
+18
View File
@@ -0,0 +1,18 @@
/obj/screen/alert/open_ticket
icon = 'modular_chomp/icons/logo.dmi'
name = "Admin Chat Request"
desc = "A Administrator would like to chat with you. \
Click here to begin."
icon_state = "32x32"
var/clicked_once = FALSE
/obj/screen/alert/open_ticket/Click()
if(!usr || !usr.client) return
// Open a new chat with the user
var/datum/ticket_chat/TC = new()
TC.T = usr.client.current_ticket
TC.tgui_interact(usr.client.mob)
desc = "A Administrator would like to chat with you. \
Click here to continue the conversation."