* disable ingame changelog notification

* afk marker

* Auto-AFK Marking

* Update examine.dm

* Auto-AFK Marking w/ Pref
This commit is contained in:
Killian
2024-05-26 17:16:44 +10:00
committed by GitHub
parent 86b281d93b
commit b3aa4b75fa
6 changed files with 35 additions and 1 deletions
@@ -394,6 +394,13 @@ var/list/_client_preferences_by_type
enabled_description = "Extended"
disabled_description = "Default"
/datum/client_preference/auto_afk
description = "Automatic AFK Status"
key = "AUTO_AFK"
enabled_by_default = TRUE
enabled_description = "Automatic"
disabled_description = "Manual Only"
/********************
* Staff Preferences *
+11
View File
@@ -163,3 +163,14 @@
toggle_preference(pref_path)
to_chat(src, "The cooldown between pain messages for minor (under 20/5 injury. Multi-limb injuries are still faster) is now [ (is_preference_enabled(pref_path)) ? "extended" : "default"].")
/client/verb/toggle_automatic_afk()
set name = "Toggle Automatic AFK"
set category = "Preferences"
set desc = "When enabled, causes you to be automatically marked as AFK if you are idle for too long."
var/pref_path = /datum/client_preference/auto_afk
toggle_preference(pref_path)
to_chat(src, "You will [ (is_preference_enabled(pref_path)) ? "now" : "not"] be automatically marked as AFK if you are idle for ten minutes or more.")