Detective Board UI update (#90591)

## About The Pull Request

I've updated the UI of the detective board to make it look more
detective-like. Also, it is not necessary to specify the name and
description of the evidence to be attached. If it is not specified,
these fields are taken from the item.



https://github.com/user-attachments/assets/51419478-5fa9-43d4-a903-992ab4f0c91d

(The detective smoked a cigar and is now coughing)

Before:

![old](https://github.com/user-attachments/assets/b900b488-8271-40df-ac7c-18b60c8f6bf5)
After:

![new](https://github.com/user-attachments/assets/6c9d19e7-d94b-4003-81b1-54d781fb62bc)

## Why It's Good For The Game

Better UI/UX

## Changelog

🆑 FeudeyTF
qol: Better UI/UX for detective's board
/🆑
This commit is contained in:
FeudeyTF
2025-04-17 04:00:43 +03:00
committed by GitHub
parent abcfcda51f
commit 85e547ab0d
5 changed files with 162 additions and 22 deletions
@@ -52,12 +52,10 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/structure/detectiveboard, 32)
attaching_evidence = TRUE
var/name = tgui_input_text(user, "Please enter the evidence name", "Detective's Board", max_length = MAX_NAME_LEN)
if(!name)
attaching_evidence = FALSE
return
name = item.name
var/desc = tgui_input_text(user, "Please enter the evidence description", "Detective's Board", max_length = MAX_DESC_LEN)
if(!desc)
attaching_evidence = FALSE
return
desc = item.desc
if(!user.transferItemToLoc(item, src))
attaching_evidence = FALSE