Ticket Printer!

This commit is contained in:
Casey
2022-11-21 06:42:48 +00:00
committed by CHOMPStation2
parent 99f0a27b9f
commit b461e2fd06
15 changed files with 141 additions and 1 deletions
+2 -1
View File
@@ -128,7 +128,8 @@ var/list/admin_verbs_admin = list(
/client/proc/despawn_player,
/datum/admins/proc/view_feedback,
/client/proc/make_mentor,
/client/proc/unmake_mentor
/client/proc/unmake_mentor,
/client/proc/removetickets
)
var/list/admin_verbs_ban = list(
+17
View File
@@ -54,3 +54,20 @@
segments = 36
if(tgui_alert(usr, "\The [orbiter] will orbit around [center]. Is this okay?", "Confirm Orbit", list("Yes", "No")) == "Yes")
orbiter.orbit(center, distance, clock, speed, segments)
/client/proc/removetickets()
set name = "Security Tickets"
set category = "Admin"
set desc = "Allows one to remove tickets from the global list."
if(!check_rights(R_ADMIN))
return
if(security_printer_tickets.len >= 1)
var/input = tgui_input_list(usr, "Which message?", "Security Tickets", security_printer_tickets)
if(tgui_alert(usr, "Do you want to remove the following message from the global list? \"[input]\"", "Remove Ticket", list("Yes", "No")) == "Yes")
security_printer_tickets -= input
else
tgui_alert_async(usr, "The ticket list is empty.","Empty")