Move contraband text to a separate examine tab#32250
Move contraband text to a separate examine tab#32250metalgearsloth merged 11 commits intospace-wizards:masterfrom
Conversation
|
this is a brilliant addition |
|
is the knife a placeholder? might be better to make it something like handcuffs |
i am not the author of the icon |
BramvanZijp
left a comment
There was a problem hiding this comment.
Code looks great, works in-game.
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
# Conflicts: # Content.Shared/Contraband/ContrabandSystem.cs
|
@Errant-4 any news on maintainer discussion? AFAIK it's 3 days |
Discussion ran into a design vacuum, vote has not started yet |
|
g |
This comment was marked as abuse.
This comment was marked as abuse.
It's a matter of milliseconds to click a button, plus you're most likely viewing it from the strip menu/from the item on the ground, making speed a non-issue |
|
Hello, sorry for the late reply; internal discussion resulted in feedback but it was never finalized. The consensus seems to be that the preferable way to implement this kind of examine status would be via a tooltip-on-hover icon, rather than its own clickable button + window. That way you don't have to do a separate click nor move away from the item description. Were we to do this, any such hover-only icon should probably be left-aligned in the window, just to separate it from the clickable buttons. Speaking of the icon, there was some disagreements about its depiction. A knife is serviceable but maybe doesn't perfectly convey that it's for contraband info. Ubaser suggested a lock, for example. With the hover-only suggestion above it would be great if the icon changed visuals depending on if you're permitted to have the item or not, though I'm not entirely sure we have code supporting that functionality. All that being said, if you're not interested in creating a hover-only tooltip icon we could merge this as an interim solution since it is an improvement over the current state, though it would require a change from the knife icon first. |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
# Conflicts: # Content.Shared/Contraband/ContrabandSystem.cs
…valuate the pull request. This pull request has conflicts, please resolve those before we can evaluate the pull request. This pull request has conflicts, please resolve those before we can evaluate the pull request.
|
if anyone spots this, this is not my fault, it works the same on master (see #34581) |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
# Conflicts: # Content.Shared/Contraband/ContrabandSystem.cs # Resources/Locale/en-US/contraband/contraband-severity.ftl
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
# Conflicts: # Content.Shared/Contraband/ContrabandSystem.cs
…valuate the pull request.
## About the PR This PR adds the system that's going to allow us to mark items as contraband. Adding the respective contraband parent to items is going to be for another pr. ported: - space-wizards/space-station-14#28688 - space-wizards/space-station-14#30986 - space-wizards/space-station-14#30930 - space-wizards/space-station-14#30942 - space-wizards/space-station-14#31606 - space-wizards/space-station-14#30970 - space-wizards/space-station-14#33385 - space-wizards/space-station-14#32250 - space-wizards/space-station-14#35206 - space-wizards/space-station-14#35228 - space-wizards/space-station-14#36032 ## Why / Balance It'll allow people to definitely discern whether an item is contraband or not and what severity. ## Technical details Look at PR's mentioned. ## Media (this pr does not actually change these items) <img width="628" height="165" alt="image" src="https://github.com/user-attachments/assets/92c7bb4c-0f8f-46cf-9d7f-c9de29a1a473" /> <img width="644" height="268" alt="image" src="https://github.com/user-attachments/assets/053a211c-8f4c-435c-beff-62e3b84a01fe" /> <img width="886" height="170" alt="image" src="https://github.com/user-attachments/assets/09c661aa-b7f8-4e51-bd3d-9110fe22657b" /> ## Requirements - [x] I have read and am following the [Pull Request and Changelog Guidelines](https://docs.spacestation14.com/en/general-development/codebase-info/pull-request-guidelines.html). - [x] I have added media to this PR or it does not require an ingame showcase. - [x] I can confirm this PR contains no AI-generated content, and did not use any AI-generated content. ## Breaking changes None as far as I know. ## Changelog Not needed. --------- Co-authored-by: Kara <lunarautomaton6@gmail.com> Co-authored-by: EmoGarbage404 <retron404@gmail.com> Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com> Co-authored-by: Brandon Hu <103440971+Brandon-Huu@users.noreply.github.com> Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Co-authored-by: Plykiya <58439124+Plykiya@users.noreply.github.com> Co-authored-by: Winkarst <74284083+Winkarst-cpu@users.noreply.github.com> Co-authored-by: John <35928781+sporkyz@users.noreply.github.com> Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com> Co-authored-by: Killerqu00 <47712032+Killerqu00@users.noreply.github.com>
(cherry picked from commit a62ffdc)


i forgor i had this pr open and deleted it whoops
About the PR
Contraband text is now in a separate examination tab, like armor resistances and item damage.
Why / Balance
That info is related to a single department (security), I don't need to see it every time I examine something.
You can see that tab in the strip menu, meaning it's only a visual difference.
Technical details
ContrabandSystem was refactored a bit for that
Media
Requirements
Breaking changes
Changelog
note that i added changelog after the merge to see if this works; if it does, it can be abused and should be fixed
🆑