Merge pull request #13560 from farie82/convert-tickets

Makes staff able to convert m/ahelp tickets to the other type
This commit is contained in:
AffectedArc07
2020-08-16 12:46:23 +01:00
committed by GitHub
4 changed files with 79 additions and 21 deletions
+6
View File
@@ -1588,6 +1588,12 @@
return
SStickets.autoRespond(index)
if(href_list["convert_ticket"])
var/indexNum = text2num(href_list["convert_ticket"])
if(href_list["is_mhelp"])
SSmentor_tickets.convert_to_other_ticket(indexNum)
else
SStickets.convert_to_other_ticket(indexNum)
else if(href_list["cult_nextobj"])
if(alert(usr, "Validate the current Cult objective and unlock the next one?", "Cult Cheat Code", "Yes", "No") != "Yes")
return