Persistence Panel (#22979)

# Summary

This PR adds a new admin panel for persistence.

## Contents

- The panel features information about the current round and detailed
tracking of objects, records and generics.
- The previously introduced toggle-persistence verb has been removed and
integrated into the new panel.
- The panel can be seen by admins, mods and devs, but the
toggle-persistence is still locked to admin permissions only.

## Preview

The images are WIP and subject to change.

<img width="918" height="229" alt="image"
src="https://github.com/user-attachments/assets/16d3d73d-32e6-4907-bdff-d96699c27d49"
/>

<img width="919" height="253" alt="image"
src="https://github.com/user-attachments/assets/92e7f4d9-ccd4-4e79-949d-b8a35039da01"
/>

<img width="923" height="285" alt="image"
src="https://github.com/user-attachments/assets/e3796504-4cc6-4fce-b5f1-4df3486bfbee"
/>

<img width="923" height="270" alt="image"
src="https://github.com/user-attachments/assets/9fbb185d-181a-40ec-b89b-58eafcd47e4d"
/>
This commit is contained in:
FabianK3
2026-08-08 20:47:55 +00:00
committed by GitHub
parent f6d688f9b6
commit 65a9f06765
17 changed files with 986 additions and 55 deletions
+13
View File
@@ -1157,3 +1157,16 @@ Traitors and the like can also be revived with the previous role mostly intact.
message_admins("[key_name_admin(usr)] used the ADPI Panel")
log_admin("[key_name(usr)] used the ADPI Panel")
feedback_add_details("admin_verb", "ADPI")
/client/proc/persistence_panel()
set category = "Admin"
set name = "Persistence Panel"
set desc = "Open the persistence subsystem admin panel"
if(!check_rights(R_ADMIN|R_MOD|R_DEV, TRUE))
return
var/datum/tgui_module/persistence_panel/panel = new
panel.ui_interact(usr)
feedback_add_details("admin_verb", "PERSIST")