mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
Adds a "initially published date" to lorecaster announcements; corrects a config timer (#16567)
hmm well fuck
This commit is contained in:
@@ -135,5 +135,5 @@ EVENT_FREQUENCY_LOWER 9000
|
||||
## Ticket ping frequency. Set 0 for disable that subsystem. 3000 - 5 minutes, 600 - 1 minute.
|
||||
TICKET_PING_FREQUENCY 0
|
||||
|
||||
## Delay between newscasters making lore announcements, default is 1800 (30 minutes)
|
||||
LORECASTER_DELAY 1800
|
||||
## Delay between newscasters making lore announcements, default is 18000 (30 minutes)
|
||||
LORECASTER_DELAY 18000
|
||||
|
||||
@@ -22,5 +22,6 @@ SUBSYSTEM_DEF(lorecaster)
|
||||
var/picked_story = pick(stories)
|
||||
var/text = stories[picked_story]["text"]
|
||||
var/title = stories[picked_story]["title"]
|
||||
text += "\n\nOriginally published on: [stories[picked_story]["month"]]/[stories[picked_story]["day"]]/[stories[picked_story]["year"]]"
|
||||
GLOB.news_network.submit_article(text || "Someone forgot to fill out the article!", title || "Nanotrasen News Broadcast", "Nanotrasen News Network", null)
|
||||
stories -= picked_story
|
||||
|
||||
Reference in New Issue
Block a user