Autochangelogs (#17152)

* Scripts ported

* Converted changelogs

* Fix

* Prettier

* Removes old unneeded save

* Removes very old changelogs
This commit is contained in:
Selis
2025-02-15 23:10:05 +01:00
committed by GitHub
parent f423f81e42
commit f7de6141b5
54 changed files with 678 additions and 11804 deletions
+6
View File
@@ -330,6 +330,12 @@
void = new()
screen += void
if((prefs?.read_preference(/datum/preference/text/lastchangelog) != GLOB.changelog_hash) && isnewplayer(src.mob)) //bolds the changelog button on the interface so we know there are updates.
to_chat(src, span_info("You have unread updates in the changelog."))
winset(src, "rpane.changelog", "background-color=#eaeaea;font-style=bold")
if(CONFIG_GET(flag/aggressive_changelog))
src.changes()
if(CONFIG_GET(flag/paranoia_logging))
var/alert = FALSE //VOREStation Edit start.
if(isnum(player_age) && player_age == 0)
@@ -1,3 +1,5 @@
// Toggles
/// Whether or not to toggle ambient occlusion, the shadows around people
/datum/preference/toggle/ambient_occlusion
category = PREFERENCE_CATEGORY_GAME_PREFERENCES
@@ -93,3 +95,14 @@
savefile_key = "obfuscate_job"
default_value = FALSE
savefile_identifier = PREFERENCE_PLAYER
// Text
/datum/preference/text/lastchangelog
category = PREFERENCE_CATEGORY_GAME_PREFERENCES
savefile_key = "lastchangelog"
savefile_identifier = PREFERENCE_PLAYER
/datum/preference/text/lastchangelog/is_accessible(datum/preferences/preferences)
..()
return FALSE