mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=10189&p=143580&hilit=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fcwflgm7793ts20s%2FBorgsForCasualsRELOADED.patch#p143580 -Fixed some ugly text in Ion laws "THE STATION IS [0x6006265] FETISHES...LAWS UPDATED". -Fixed some typos on the Ion laws. -When borgs are emagged, now they show their laws for themselves. -When new laws are uploaded, the borg gets instantly the new laws, just like the AI, instead of the confusing message "Your AI has set your 'laws waiting' flag.". Remember this is a patch for casuals. -The borgs gets the same message than the AI in Ion storms. -Made the admin Ion storm show the "...LAWS UPDATED" text. -Borgs get a different law 0 telling them to help their master. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4837 316c924e-a436-60f5-8080-3fe189b3f50e
27 lines
996 B
Plaintext
27 lines
996 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
|
|
|
|
var/confirm = alert(src, "You sure?", "Confirm", "Yes", "No")
|
|
if(confirm != "Yes") return
|
|
|
|
if(job_master && ticker)
|
|
var/datum/job/job = job_master.GetJob("AI")
|
|
if(!job)
|
|
usr << "Unable to locate the AI job"
|
|
return
|
|
if(ticker.triai)
|
|
ticker.triai = 0
|
|
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
|
|
ticker.triai = 1
|
|
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)
|
|
feedback_add_details("admin_verb","CAIT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
return
|