mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 03:27:46 +01:00
Newscaster and photo cleanup
Synthetics can no longer magically print color images on a black-and-white photocopier. No longer possible for organics to acquire a synth-image by un-attaching it from a newscaster. News articles now come with a timestamp and photo captions, if anything was penned on an attached photo. Reception-checks no longer unconditionally sleeps the thread. Was causing havoc with NanoUI. Misc. code refactoring.
This commit is contained in:
@@ -23,12 +23,11 @@
|
||||
deposit_success = 1
|
||||
|
||||
/datum/event/money_lotto/announce()
|
||||
var/datum/feed_message/newMsg = new /datum/feed_message
|
||||
newMsg.author = "NanoTrasen Editor"
|
||||
newMsg.is_admin_message = 1
|
||||
var/author = "NanoTrasen Editor"
|
||||
var/channel = "Nyx Daily"
|
||||
|
||||
newMsg.body = "Nyx Daily wishes to congratulate <b>[winner_name]</b> for recieving the Nyx Stellar Slam Lottery, and receiving the out of this world sum of [winner_sum] credits!"
|
||||
var/body = "Nyx Daily wishes to congratulate <b>[winner_name]</b> for recieving the Nyx Stellar Slam Lottery, and receiving the out of this world sum of [winner_sum] credits!"
|
||||
if(!deposit_success)
|
||||
newMsg.body += "<br>Unfortunately, we were unable to verify the account details provided, so we were unable to transfer the money. Send a cheque containing the sum of $500 to ND 'Stellar Slam' office on the Nyx gateway containing updated details, and your winnings'll be re-sent within the month."
|
||||
body += "<br>Unfortunately, we were unable to verify the account details provided, so we were unable to transfer the money. Send a cheque containing the sum of 5000 Thalers to ND 'Stellar Slam' office on the Nyx gateway containing updated details, and your winnings'll be re-sent within the month."
|
||||
|
||||
news_network.add_news("Nyx Daily", newMsg)
|
||||
news_network.SubmitArticle(body, author, channel, null, 1)
|
||||
|
||||
Reference in New Issue
Block a user