Antag Panel / Check antagonists Refactor (#34236)

* Antag Panel & Friends Refactor

* Prettfying

* Removes abduction also blob from default configs.

* Ninja fixes

* Ninjafix

* First draft of the new check_antags

* I love coding without compiler

* Yes

* Fixes

* Check_antags part  2

* Fixes and cleanup

* Okay should be good now.

* Adds simple no move & no tc syndie for events

* Integrates toggle objective pr

* Why i even bother.

* Offer mob shows all antags

* Some minor visual stuff

* Proper name for the helper
This commit is contained in:
AnturK
2018-01-19 15:43:23 +01:00
committed by Jordan Brown
parent f12c3c0283
commit e38e6b8fa4
63 changed files with 1218 additions and 1431 deletions

View File

@@ -1888,10 +1888,24 @@
var/mob/M = locate(href_list["traitor"])
if(!ismob(M))
to_chat(usr, "This can only be used on instances of type /mob.")
var/datum/mind/D = M
if(!istype(D))
to_chat(usr, "This can only be used on instances of type /mob and /mind")
return
else
D.traitor_panel()
else
show_traitor_panel(M)
else if(href_list["initmind"])
if(!check_rights(R_ADMIN))
return
show_traitor_panel(M)
var/mob/M = locate(href_list["initmind"])
if(!ismob(M) || M.mind)
to_chat(usr, "This can only be used on instances on mindless mobs")
return
M.mind_initialize()
else if(href_list["create_object"])
if(!check_rights(R_SPAWN))
return