mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
Fix horns getting hidden in modsuits (#5891)
## About The Pull Request Couple things going on here but basically boils down to the `/datum/bodypart_overlay/mutant/horns/can_draw_on_bodypart` proc in `_visual_organs.dm` blocking horns if outfit has `HIDEHAIR` flagged which mods do, this is all fine and dandy but we have a specific carve-out for mods because of the hardlight overlays they add, problem is that the latter check was taking precedence over the carve-out (`is_deely_bopper_hidden`). I commented out this check because `is_deely_bopper_hidden` does everything it does and more, so we don't need it. Also deleted a redundant skyrat override on `/datum/bodypart_overlay/mutant/horns/can_draw_on_bodypart` because the parent `/datum/bodypart_overlay/mutant/can_draw_on_bodypart` override does the same thing. ## Why It's Good For The Game Fixes #5631 ## Proof Of Testing <details> <summary>Screenshots/Videos</summary> <img width="75" height="100" alt="image" src="https://github.com/user-attachments/assets/e2939c50-39de-48de-8ffa-da648fa9df85" /> </details> ## Changelog 🆑 fix: fixed modsuits hiding horns /🆑
This commit is contained in:
@@ -126,8 +126,10 @@ Unlike normal organs, we're actually inside a persons limbs at all times
|
||||
dyable = TRUE
|
||||
draw_on_husks = HUSK_OVERLAY_NORMAL
|
||||
|
||||
/* BUBBER EDIT REMOVE BEGIN - Customization
|
||||
/datum/bodypart_overlay/mutant/horns/can_draw_on_bodypart(obj/item/bodypart/bodypart_owner, mob/living/carbon/owner, is_husked = FALSE)
|
||||
return ..() && !(bodypart_owner.owner?.obscured_slots & HIDEHAIR)
|
||||
*/// BUBBER EDIT REMOVE END
|
||||
|
||||
///The frills of a lizard (like weird fin ears)
|
||||
/obj/item/organ/frills
|
||||
|
||||
Reference in New Issue
Block a user