[MIRROR] Adds a persistent notes feature (#9935)

Co-authored-by: SatinIsle <98125273+SatinIsle@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-01-26 09:31:12 -07:00
committed by GitHub
parent 9b7090a92a
commit fdebf86a72
12 changed files with 128 additions and 2 deletions

View File

@@ -173,3 +173,14 @@
/datum/preference/choiced/living/spawnpoint/apply_to_living(mob/living/target, value)
return // handled in job_controller
/datum/preference/text/living/private_notes
category = PREFERENCE_CATEGORY_MANUALLY_RENDERED
savefile_identifier = PREFERENCE_CHARACTER
savefile_key = "Private_Notes"
maximum_value_length = MAX_MESSAGE_LEN * 4
can_randomize = FALSE
/datum/preference/text/living/private_notes/apply_to_living(mob/living/target, value)
target.private_notes = value
return