This commit is contained in:
eghughguhhhhhh
2025-06-11 16:01:23 -07:00
committed by GitHub
parent 1fb7678346
commit 1067b85e39
3 changed files with 19 additions and 0 deletions
@@ -35,6 +35,11 @@
/atom/proc/balloon_alert_perform(mob/viewer, text)
var/client/viewer_client = viewer?.client
if(!viewer_client?.prefs?.read_preference(/datum/preference/toggle/runechat_balloon_messages))
return //no! I don't want that.
if (isnull(viewer_client))
return
@@ -21,3 +21,9 @@
savefile_key = "RUNECHAT_LONG"
default_value = FALSE
savefile_identifier = PREFERENCE_PLAYER
/datum/preference/toggle/runechat_balloon_messages
category = PREFERENCE_CATEGORY_GAME_PREFERENCES
savefile_key = "RUNECHAT_BALLOON_MESSAGES"
default_value = TRUE
savefile_identifier = PREFERENCE_PLAYER
@@ -27,3 +27,11 @@ export const RUNECHAT_LONG: FeatureToggle = {
description: 'Sets runechat to show more characters.',
component: CheckboxInput,
};
export const RUNECHAT_BALLOON_MESSAGES: FeatureToggle = {
name: 'Runechat: Balloon Messages',
category: 'RUNECHAT',
description:
'Enables or Disables the "Balloon Messages" performed by visible actions.',
component: CheckboxInput,
};