Inspector - IAA Stare, Alt-Title, and a Station Report (#29487)

* Inspector alt title and gaze

* Clipboard

* Apply suggestions from code review

Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>

* Reduces duplicate code

---------

Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
PollardTheDragon
2025-06-11 17:03:17 +00:00
committed by GitHub
co-authored by Burzah
parent f967158c0a
commit e5a08230ee
9 changed files with 73 additions and 1 deletions
+12
View File
@@ -908,6 +908,18 @@ GLOBAL_LIST_INIT(slot_equipment_priority, list( \
onclose(usr, "[name]")
if(href_list["flavor_change"])
update_flavor_text()
if(href_list["station_report"])
var/obj/item/clipboard/station_report/report = GLOB.station_report
if(!istype(report))
to_chat(src, "<span class='notice'>Nobody wrote a station report this shift!</span>")
else if(!report.toppaper)
to_chat(src, "<span class='notice'>Nobody wrote a station report this shift!</span>")
else if(istype(report.toppaper, /obj/item/paper_bundle))
var/obj/item/paper_bundle/report_page = report.toppaper
report_page.show_content(src)
else if(istype(report.toppaper, /obj/item/paper))
var/obj/item/paper/report_page = report.toppaper
report_page.show_content(src)
if(usr != src)
return TRUE