mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-01-29 18:31:03 +00:00
* upports server maint subsystem * fix runtime in admin z narrate * . * sorts them verbs * . * . * Update code/controllers/subsystems/statpanel.dm Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> * Update code/controllers/subsystems/server_maint.dm Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> --------- Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
23 lines
800 B
Plaintext
23 lines
800 B
Plaintext
/client/proc/triple_ai()
|
|
set category = "Fun.Event Kit"
|
|
set name = "Create AI Triumvirate"
|
|
|
|
if(ticker.current_state > GAME_STATE_PREGAME)
|
|
to_chat(usr, "This option is currently only usable during pregame. This may change at a later date.")
|
|
return
|
|
|
|
if(job_master && ticker)
|
|
var/datum/job/job = job_master.GetJob(JOB_AI)
|
|
if(!job)
|
|
to_chat(usr, "Unable to locate the AI job")
|
|
return
|
|
if(ticker.triai)
|
|
ticker.triai = 0
|
|
to_chat(usr, "Only one AI will be spawned at round start.")
|
|
message_admins(span_blue("[key_name_admin(usr)] has toggled off triple AIs at round start."), 1)
|
|
else
|
|
ticker.triai = 1
|
|
to_chat(usr, "There will be an AI Triumvirate at round start.")
|
|
message_admins(span_blue("[key_name_admin(usr)] has toggled on triple AIs at round start."), 1)
|
|
return
|