mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Rename IC announcement CSS class (#19580)
* Rename IC announcement CSS class * fix ai mech takeover too
This commit is contained in:
@@ -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 += "<div class='[style]'>"
|
||||
formatted_message += "<h1>[title]</h1>"
|
||||
|
||||
@@ -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 ? "<span class='announce'>Takeover of [name] complete! You are now permanently loaded onto the onboard computer. Do not attempt to leave the station sector!</span>" \
|
||||
to_chat(AI, "[AI.can_dominate_mechs ? "<span class='boldnotice'>Takeover of [name] complete! You are now permanently loaded onto the onboard computer. Do not attempt to leave the station sector!</span>" \
|
||||
: "<span class='notice'>You have been uploaded to a mech's onboard computer."]")
|
||||
to_chat(AI, "<span class='boldnotice'>Use Middle-Mouse to activate mech functions and equipment. Click normally for AI interactions.</span>")
|
||||
if(interaction == AI_TRANS_FROM_CARD)
|
||||
|
||||
@@ -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; }
|
||||
|
||||
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user