Files
Yogstation/code/modules/admin/verbs/tripAI.dm
adamsong 3baeaeb0c4 Steals tg's span macros (#12232)
* Steals tg's span macros

* Fix alphabet

* Updated some more spans

* Misses a conflict

* Fix compile errors

* Converts more spans

* oops
2021-09-17 12:50:16 +01:00

21 lines
830 B
Plaintext

/client/proc/triple_ai()
set category = "Misc"
set name = "Toggle AI Triumvirate"
if(SSticker.current_state > GAME_STATE_PREGAME)
to_chat(usr, "This option is currently only usable during pregame. This may change at a later date.", confidential=TRUE)
return
var/datum/job/job = SSjob.GetJob("AI")
if(!job)
to_chat(usr, "Unable to locate the AI job", confidential=TRUE)
return
if(SSticker.triai)
SSticker.triai = 0
to_chat(usr, "Only one AI will be spawned at round start.", confidential=TRUE)
message_admins(span_adminnotice("[key_name_admin(usr)] has toggled off triple AIs at round start."))
else
SSticker.triai = 1
to_chat(usr, "There will be an AI Triumvirate at round start.", confidential=TRUE)
message_admins(span_adminnotice("[key_name_admin(usr)] has toggled on triple AIs at round start."))