## Mirror of PR #26027: [Improves Medical Hud interface and
functionality](https://github.com/space-wizards/space-station-14/pull/26027)
from <img src="https://avatars.githubusercontent.com/u/10567778?v=4"
alt="space-wizards" width="22"/>
[space-wizards](https://github.com/space-wizards)/[space-station-14](https://github.com/space-wizards/space-station-14)
###### `8d40bc36a93d3d5c6d3ece6c662ac9747f7837ae`
PR opened by <img
src="https://avatars.githubusercontent.com/u/68350815?v=4"
width="16"/><a href="https://github.com/DoutorWhite"> DoutorWhite</a> at
2024-03-12 07:00:06 UTC
---
PR changed 8 files with 78 additions and 13 deletions.
The PR had the following labels:
- Changes: Sprites
- Status: Awaiting Changes
---
<details open="true"><summary><h1>Original Body</h1></summary>
> ## About the PR
>
> There are some changes to the Medical Hud interface: The icon has been
changed and now there is one for each mob state, making it easier to
recognize whether the mob is rotting, dead or crit.
>
> ## Why / Balance
>
> It's more visually pleasing and helps with discerning mob states.
>
> ## Technical details
>
> There is a decision structure for determining which icon is
appropriate for the mob's state. It's the only relevant code change.
>
> ## Media
>
> 
>
> - [X] I have added screenshots/videos to this PR showcasing its
changes ingame, **or** this PR does not require an ingame showcase
>
>
> **Changelog**
>
> 🆑
> - add: Introduce new health status icons.
> - tweak: Enhance the Medical HUD to display the health status of
players and mobs using the newly added icons.
</details>
Co-authored-by: SimpleStation14 <Unknown>
* PR 1
* fix an error with health bar overlay (#1292)
* Revert "Revert "Replace `ResourcePath` with `ResPath` (#15308)" (#155… (#15566)
* [1612] change ShowHealthBarsComponent's DamageContainer field to a list (#1662)
* fix build
* no crit entities from not updating
* cleanup
* namespace
* undu irrelevant changes
* undo icon change
* make health bar 1 px taller and icon 1 px shorter
* fix medibot
* fix comment
* don't show health bar ratio when in crit
* fix build
* put the crit bar back
* don't render healthbars for mobs that are in containers
* draw more boxes without the background sprite
* fine status icon for all bio mobs
* add wacky mandatory things
* attempt 2
* whoops wrong file
* cool, this works too
* move null check to top
* only 1 init
* security huds
* remove shader
* fix build after cleanup
* slight cleanup
* little more cleanup
* Remove clothing grant component system
* security HUD now shows a job icon on entities with a body
* remove sec stuff and do similar changes to split off PR + remove unused comp
* process comments
* don't return
* update to ComponentAddedOverlaySystemBase
* no cache
* colors and not rendering out of sight
* touch ups
* fix build & cleanup
* undo
* remove shader from icons
* process comments
* documentation
* fix licence
* validate prototype id
* just use args
* rename method and append in method
* type
* just fucken delete the command
* space
* undo
* remove
* don't use LocalPlayer
* re-add showhealthbars command, but working
* rename icon lists and conform health icon code to the others
* space
* undo
* update command
* oops
---------
Co-authored-by: Rane <60792108+Elijahrane@users.noreply.github.com>
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
(cherry picked from commit eed663e8b4d91ee772ccb54fc8a55e4c4afdcd64)