Embedded Examine Info (#17863)

* Initial

* Formatting tweaks

* she be themin on my drop til
til im

summary:before

* Convert multilingual to pref

Tested, seems to work. not 200% sure cuz I never use it
This commit is contained in:
eghughguhhhhhh
2025-06-17 22:52:25 -07:00
committed by GitHub
parent 0637041f66
commit 195112b1ef
15 changed files with 310 additions and 64 deletions
+5 -1
View File
@@ -170,7 +170,11 @@ SUBSYSTEM_DEF(statpanels)
if(description_holders["antag"])
examine_update += span_red(span_bold("[description_holders["antag"]]")) + "<br />" //Red, malicious antag-related text
target.stat_panel.send_message("update_examine", list("EX" = examine_update, "UPD" = target.prefs.examine_text_mode == EXAMINE_MODE_SWITCH_TO_PANEL))
var/update_panel = FALSE
if(target.prefs?.read_preference(/datum/preference/choiced/examine_mode) == EXAMINE_MODE_SWITCH_TO_PANEL)
update_panel = TRUE
target.stat_panel.send_message("update_examine", list("EX" = examine_update, "UPD" = update_panel))
/datum/controller/subsystem/statpanels/proc/set_tickets_tab(client/target)
var/list/tickets = list()