space-wizards / space-station-14

A multiplayer game about paranoia and chaos on a space station. Remake of the cult-classic Space Station 13.
https://spacestation14.io
MIT License
2.69k stars 3.37k forks source link

can't use forensics pad on person with fingerless gloves #31843

Open lzk228 opened 1 month ago

lzk228 commented 1 month ago

what title says related code part https://github.com/space-wizards/space-station-14/blob/8a06dde8c7b5199b329dc13f69be0fd3db642f2f/Content.Server/Forensics/Systems/ForensicPadSystem.cs#L59 at best it should check for some component that blocks fingers, and then we also can add the component to hardsuits (sounds logical)

https://github.com/user-attachments/assets/f4d168dc-acc9-4f38-8f7a-3b5b9fa9ca08

godisdeadLOL commented 1 month ago

There is FingerprintMaskComponent.

https://github.com/space-wizards/space-station-14/blob/402f518c5e63a24914a63ea09ff4a52e01928faa/Content.Server/Forensics/Components/FingerprintMaskComponent.cs#L3-L9