every time I say it's the final one it's not

This commit is contained in:
VerySoft
2022-11-21 01:27:52 -05:00
parent 0de70cff65
commit 8b4ba9deec
4 changed files with 26 additions and 5 deletions
+2 -1
View File
@@ -127,7 +127,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")