mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-01 20:42:08 +00:00
16 lines
679 B
Plaintext
16 lines
679 B
Plaintext
/client/proc/triple_ai()
|
|
set category = "Admin - Events"
|
|
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
|
|
SSticker.triai = !SSticker.triai
|
|
to_chat(usr, "There will [SSticker.triai ? "" : "not"] be an AI Triumvirate at round start.")
|
|
message_admins("<span class='adminnotice'>[key_name_admin(usr)] has toggled [SSticker.triai ? "on" : "off"] triple AIs at round start.</span>")
|