Re-adds newscaster announcement logging + Makes Public Station Announcements news channel Public (#23196)

* Makes Public Station Announcements Public

* True, Not False

* Make them seperate channels

* trying to silently add announcement to news

* Re-adding old announcements logging

* remove debug logs
This commit is contained in:
Daniel Lenrd
2023-12-31 12:54:24 +00:00
committed by GitHub
parent a069966658
commit 7c8fe99805
2 changed files with 14 additions and 1 deletions
+6
View File
@@ -62,6 +62,12 @@ GLOBAL_DATUM_INIT(major_announcement, /datum/announcer, new(config_type = /datum
Message(formatted_message, garbled_formatted_message, receivers, garbled_receivers)
var/datum/feed_message/FM = new
FM.author = author ? author : "Automated Announcement System"
FM.title = subtitle ? "[title]: [subtitle]" : "[title]"
FM.body = message
GLOB.news_network.get_channel_by_name("Station Announcements Log")?.add_message(FM)
Sound(message_sound, combined_receivers[1] + combined_receivers[2])
if(message_sound2)
Sound(message_sound2, combined_receivers[1] + combined_receivers[2])