Adds AOOC functionality for antags.

AOOC can be granted on a per-antag type basis.  If the type has can_use_aooc equal to true, they can both use and see AOOC.  It is true by default to allow for the upcoming Infiltrator type to automatically be able to use it.
The types disallowed from AOOC are ERT, Traders, and Renegades.  This means admins can now use AOOC to talk to the real antags and not the ERT.
This commit is contained in:
Neerti
2017-06-24 12:31:18 -04:00
parent 3997a1510a
commit 1cfd2f08f2
8 changed files with 44 additions and 6 deletions

View File

@@ -490,6 +490,8 @@
world.log << "## DEBUG: mind_initialize(): No ticker ready yet! Please inform Carn"
if(!mind.name) mind.name = real_name
mind.current = src
if(player_is_antag(mind))
src.client.verbs += /client/proc/aooc
//HUMAN
/mob/living/carbon/human/mind_initialize()