mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-31 12:41:46 +00:00
* yippie itt works * Update tripAI.dm * Update code/modules/admin/verbs/tripAI.dm Co-authored-by: Matt <116982774+Burzah@users.noreply.github.com> Signed-off-by: 1080pCat <96908085+1080pCat@users.noreply.github.com> * Update code/datums/station_traits/neutral_traits.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> Signed-off-by: 1080pCat <96908085+1080pCat@users.noreply.github.com> --------- Signed-off-by: 1080pCat <96908085+1080pCat@users.noreply.github.com> Co-authored-by: Matt <116982774+Burzah@users.noreply.github.com>
27 lines
1.0 KiB
Plaintext
27 lines
1.0 KiB
Plaintext
/client/proc/triple_ai()
|
|
set category = "Event"
|
|
set name = "Create 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.")
|
|
return
|
|
|
|
if(SSjobs && SSticker)
|
|
var/datum/job/job = SSjobs.GetJob("AI")
|
|
if(!job)
|
|
to_chat(usr, "Unable to locate the AI job")
|
|
return
|
|
if(HAS_TRAIT(SSstation, STATION_TRAIT_TRIAI))
|
|
to_chat(usr, "<span class='danger'>The triple AI station trait is now enabled. This trait can be disabled in the Modify Station Traits menu.</span>")
|
|
return
|
|
|
|
if(SSticker.triai)
|
|
SSticker.triai = FALSE
|
|
to_chat(usr, "Only one AI will be spawned at round start.")
|
|
message_admins("<span class='notice'>[key_name_admin(usr)] has toggled off triple AIs at round start.</span>", 1)
|
|
else
|
|
SSticker.triai = TRUE
|
|
to_chat(usr, "There will be an AI Triumvirate at round start.")
|
|
message_admins("<span class='notice'>[key_name_admin(usr)] has toggled on triple AIs at round start.</span>", 1)
|
|
return
|