mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-29 19:11:51 +00:00
I re-styled the CSS for the stat panel in hopes to make it look nice, and I also added the ability to use sub-categories (currently a single level) of verbs using a . (period), an example being Admin.Fun instead of the previous Admin - Fun. This now results in a sub-category being automagically generated in the stat panel.
16 lines
677 B
Plaintext
16 lines
677 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>")
|