Ticket conversion possible + refactor

This commit is contained in:
joep van der velden
2020-06-07 00:56:43 +02:00
parent ddd5bbd7a5
commit 346a8c8020
4 changed files with 71 additions and 27 deletions
+6
View File
@@ -1585,6 +1585,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