From 8ea4da61f38bb913531e79bc24de2b50745218f2 Mon Sep 17 00:00:00 2001 From: warriorstar-orion Date: Wed, 2 Nov 2022 16:54:08 -0400 Subject: [PATCH] Rename IC announcement CSS class (#19580) * Rename IC announcement CSS class * fix ai mech takeover too --- code/defines/procs/announce.dm | 2 +- code/game/mecha/mecha.dm | 2 +- goon/browserassets/css/browserOutput-dark.css | 16 ++++++++-------- goon/browserassets/css/browserOutput.css | 16 ++++++++-------- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/code/defines/procs/announce.dm b/code/defines/procs/announce.dm index 28a28433358..0c1f7553abf 100644 --- a/code/defines/procs/announce.dm +++ b/code/defines/procs/announce.dm @@ -102,7 +102,7 @@ GLOBAL_DATUM_INIT(event_announcement, /datum/announcer, new(config_type = /datum /datum/announcer/proc/Format(message, title, subtitle = null) var/formatted_message - var/style = config.style ? "announce [config.style]" : "announce" + var/style = config.style ? "announcement [config.style]" : "announcement" formatted_message += "
" formatted_message += "

[title]

" diff --git a/code/game/mecha/mecha.dm b/code/game/mecha/mecha.dm index 2b04a3c8a5b..3bbb6bbedc3 100644 --- a/code/game/mecha/mecha.dm +++ b/code/game/mecha/mecha.dm @@ -987,7 +987,7 @@ AI.controlled_mech = src AI.remote_control = src AI.can_shunt = FALSE //ONE AI ENTERS. NO AI LEAVES. - to_chat(AI, "[AI.can_dominate_mechs ? "Takeover of [name] complete! You are now permanently loaded onto the onboard computer. Do not attempt to leave the station sector!" \ + to_chat(AI, "[AI.can_dominate_mechs ? "Takeover of [name] complete! You are now permanently loaded onto the onboard computer. Do not attempt to leave the station sector!" \ : "You have been uploaded to a mech's onboard computer."]") to_chat(AI, "Use Middle-Mouse to activate mech functions and equipment. Click normally for AI interactions.") if(interaction == AI_TRANS_FROM_CARD) diff --git a/goon/browserassets/css/browserOutput-dark.css b/goon/browserassets/css/browserOutput-dark.css index ddecc376649..0b1f65e6a7a 100644 --- a/goon/browserassets/css/browserOutput-dark.css +++ b/goon/browserassets/css/browserOutput-dark.css @@ -426,11 +426,11 @@ em {font-style: normal;font-weight: bold;} span.body .codephrases {color: #5555FF;} span.body .coderesponses {color: #FF3333;} -.announce { font-size: 24pt; } -.announce h1, .announce h2 { color: #fff; } -.announce p { color: #d82020; font-size: 12pt; } -.announce h1 { font-size: 100%; } -.announce h2 { font-size: 90%; } -.announce.minor h1 { font-size: 80%; } -.announce.minor h2 { font-size: 70%; } -.announce.sec h1 { color: #f00; font-size: 80%; font-family: Verdana, sans-serif; } +.announcement { font-size: 24pt; } +.announcement h1, .announcement h2 { color: #fff; } +.announcement p { color: #d82020; font-size: 12pt; } +.announcement h1 { font-size: 100%; } +.announcement h2 { font-size: 90%; } +.announcement.minor h1 { font-size: 80%; } +.announcement.minor h2 { font-size: 70%; } +.announcement.sec h1 { color: #f00; font-size: 80%; font-family: Verdana, sans-serif; } diff --git a/goon/browserassets/css/browserOutput.css b/goon/browserassets/css/browserOutput.css index f51815efdca..e2fedd2516a 100644 --- a/goon/browserassets/css/browserOutput.css +++ b/goon/browserassets/css/browserOutput.css @@ -426,11 +426,11 @@ em {font-style: normal; font-weight: bold;} span.body .codephrases {color: #0000FF;} span.body .coderesponses {color: #FF0000;} -.announce { font-size: 24pt; } -.announce h1, .announce h2 { color: #000; } -.announce p { color: #d82020; font-size: 12pt; } -.announce h1 { font-size: 100%; } -.announce h2 { font-size: 90%; } -.announce.minor h1 { font-size: 80%; } -.announce.minor h2 { font-size: 70%; } -.announce.sec h1 { color: #f00; font-size: 80%; font-family: Verdana, sans-serif; } +.announcement { font-size: 24pt; } +.announcement h1, .announcement h2 { color: #000; } +.announcement p { color: #d82020; font-size: 12pt; } +.announcement h1 { font-size: 100%; } +.announcement h2 { font-size: 90%; } +.announcement.minor h1 { font-size: 80%; } +.announcement.minor h2 { font-size: 70%; } +.announcement.sec h1 { color: #f00; font-size: 80%; font-family: Verdana, sans-serif; }