mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
## About The Pull Request This PR moves out hud offsets into a separate proc on atom level, which lets mobs override it as to control their atom HUD positioning. This fixes weird hud offsets on mobs who are located in files larger than their own icon, or have a very offset but small/detached detail on their sprite (blood-drunk miner, raptors, megacarps) This also lets humans adjust their HUDs based on their height, which should prevent hud clipping for spacers. <img width="93" height="88" alt="dreamseeker_iBapCH9y5a" src="https://github.com/user-attachments/assets/f429d4d9-6e1f-451e-9908-54c8a1373f1a" /> Main reason behind this change is to allow humans to override their sprite width/height according to their bodypart overlays, which fixes immerse and brimdust sac inlaid overlays being shorter/thinner than expected. Before & after: <img width="172" height="188" alt="dreamseeker_5l78R30uLI" src="https://github.com/user-attachments/assets/0b62ac27-71e6-4b3b-92d0-cf3e73eb458d" /> <img width="222" height="189" alt="dreamseeker_9hX6FXLvK9" src="https://github.com/user-attachments/assets/ab36bc36-abd5-4bdf-965d-ee3951ce9b11" /> These values are cached and only updated on ``update_body_parts`` as to save on a bit of performance. ## Why It's Good For The Game Fixes jank visuals ## Changelog 🆑 fix: Brimdust sac and fluid immersion overlays no longer look weird on humans with extra-wide or tall bodyparts or organs fix: Some mobs now have more sensible health HUD positions fix: Health and security HUD now scales with player height, no more huds clipping into spacer hair /🆑