Adds map feedback thread support (AI stat panel buff) (#90506)

This PR started with the idea of adding support for map feedback
threads, which I added to the roundend report, escape menu, and stat
panel. To do this though I had to make pretty annoying changes to the
stat panel and had to touch every single time something to the stat
panel was added, so since we now have a way to have links in the stat
panel I thought of taking full advantage of it and add some QOL.

AIs can now track their borgs by clicking their status on the stat panel

https://github.com/user-attachments/assets/1789dc46-5d12-48e9-bb8d-d3278aa19639

With Melbert's comment, I added another stat panel entry that directs
you to the Webmap page, which currently seems to be a little messed up
(https://github.com/AffectedArc07/SS13WebMap/issues/41 &
https://github.com/AffectedArc07/SS13WebMap/issues/42) but if they get
fixed this would be a swag asf feature

Feedback threads was a suggestion from a player and is fully in control
of admins as an optional thing, and while we still have stat panel I
think it's nice to be able to take advantage of its features.

🆑
admin: Admins can now link a URL for maps, used to give feedback on said
maps. Accessible through the roundend report, escape menu, and stat
panel.
qol: AIs can track their borgs by clicking on them in the stat panel.
qol: You can now directly go to the webmap of maps from the stat panel
(assuming it's set in config).
/🆑
This commit is contained in:
John Willard
2025-04-29 18:21:47 -06:00
committed by Shadow-Quill
parent b1efbf09a8
commit ea28a87ca8
13 changed files with 129 additions and 24 deletions
@@ -434,6 +434,9 @@ Example config:
currentmap = null
if ("disabled")
currentmap = null
if("feedbacklink")
if(currentmap.map_name == SSmapping.current_map.map_name)
SSmapping.current_map.feedback_link = data
else
log_config("Unknown command in map vote config: '[command]'")
@@ -788,3 +788,7 @@
// If set, enables the "Link forum account" OOC verb
/datum/config_entry/string/forum_link_uri
/datum/config_entry/string/webmap_url
//ex: "https://webmap.affectedarc07.co.uk/maps/tgstation/"
default = ""