diff --git a/code/modules/client/preference_setup/global/setting_datums.dm b/code/modules/client/preference_setup/global/setting_datums.dm index 25ac9dbaee..9ede7b92b9 100644 --- a/code/modules/client/preference_setup/global/setting_datums.dm +++ b/code/modules/client/preference_setup/global/setting_datums.dm @@ -115,7 +115,7 @@ var/list/_client_preferences_by_type key = "SOUND_AIRPUMP" enabled_description = "Audible" disabled_description = "Silent" - + /datum/client_preference/old_door_sounds description ="Old Door Sounds" key = "SOUND_OLDDOORS" @@ -285,6 +285,13 @@ var/list/_client_preferences_by_type var/datum/plane_holder/PH = preference_mob.plane_holder PH.set_vis(VIS_STATUS, enabled) +/datum/client_preference/show_lore_news + description = "Lore News Popup" + key = "NEWS_POPUP" + enabled_by_default = TRUE + enabled_description = "Popup New On Login" + disabled_description = "Do Nothing" + /******************** * Staff Preferences * ********************/ diff --git a/code/modules/mob/new_player/new_player.dm b/code/modules/mob/new_player/new_player.dm index 2ce3a7f2c5..2f7c648fcc 100644 --- a/code/modules/mob/new_player/new_player.dm +++ b/code/modules/mob/new_player/new_player.dm @@ -72,14 +72,17 @@ output += "

[href(src, list("give_feedback" = 1), "Give Feedback")]

" if(GLOB.news_data.station_newspaper) - output += "Show [using_map.station_name] News" + if(client.prefs.lastlorenews == GLOB.news_data.newsindex) + output += "Show [using_map.station_name] News" + else + output += "Show [using_map.station_name] News (NEW!)" output += "" if (client.prefs.lastlorenews == GLOB.news_data.newsindex) client.seen_news = 1 - if(GLOB.news_data.station_newspaper && !client.seen_news) + if(GLOB.news_data.station_newspaper && !client.seen_news && client.is_preference_enabled(/datum/client_preference/show_lore_news)) show_latest_news(GLOB.news_data.station_newspaper) client.prefs.lastnews = GLOB.news_data.newsindex SScharacter_setup.queue_preferences_save(client.prefs)