mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +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)
|
||||
|
||||
Reference in New Issue
Block a user