mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Communications.dm works once again. Updated a few admin commands that I missed to work with the job datums. Fixed a type path issue in the cult talismans. Assembly remote signalers now iterate though their for loop properly. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2347 316c924e-a436-60f5-8080-3fe189b3f50e
23 lines
790 B
Plaintext
23 lines
790 B
Plaintext
/client/proc/triple_ai()
|
|
set category = "Fun"
|
|
set name = "Create AI Triumvirate"
|
|
|
|
if(ticker.current_state > GAME_STATE_PREGAME)
|
|
usr << "This option is currently only usable during pregame. This may change at a later date."
|
|
return
|
|
if(job_master)
|
|
var/datum/job/job = job_master.GetJob("AI")
|
|
if(!job)
|
|
usr << "Unable to locate the AI job"
|
|
return
|
|
|
|
if(job.spawn_positions >= 3)
|
|
job.spawn_positions -= 2
|
|
usr << "Only one AI will be spawned at round start."
|
|
message_admins("\blue [key_name_admin(usr)] has toggled off triple AIs at round start.", 1)
|
|
else
|
|
job.spawn_positions += 2
|
|
usr << "There will be an AI Triumvirate at round start."
|
|
message_admins("\blue [key_name_admin(usr)] has toggled on triple AIs at round start.", 1)
|
|
return
|