objectives

hrnrghghgh
This commit is contained in:
Fabian
2021-03-05 20:31:57 +01:00
parent 7f38564838
commit dbabbb1062
5 changed files with 483 additions and 70 deletions
+11
View File
@@ -2251,6 +2251,17 @@
var/mob/M = locate(href_list["HeadsetMessage"])
usr.client.admin_headset_message(M)
//ambition port start
else if(href_list["ObjectiveRequest"])
if(!check_rights(R_ADMIN))
return
var/datum/mind/requesting_mind = locate(href_list["ObjectiveRequest"])
if(!istype(requesting_mind) || QDELETED(requesting_mind))
to_chat(usr, "<span class='warning'>This mind reference is no longer valid. It has probably since been destroyed.</span>")
return
requesting_mind.do_edit_objectives_ambitions()
return
//ambition port end
else if(href_list["reject_custom_name"])
if(!check_rights(R_ADMIN))