Skip to content

Commit

Permalink
Merge pull request #875 from RalseiDreemuurr/sprites
Browse files Browse the repository at this point in the history
Полировка кода для "носатых" шлемов и масок
  • Loading branch information
MysticalFaceLesS committed Aug 2, 2024
2 parents 4c3c743 + 76d42b7 commit 1a54f44
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions code/modules/mob/living/carbon/human/update_icons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -498,9 +498,10 @@ There are several things that need to be remembered:
// target_overlay = "[target_overlay]_snouted" // CELADON-EDIT - ORIGINAL
var/obj/item/bodypart/head_bodypart = src.get_bodypart(BODY_ZONE_HEAD)
if(head_bodypart.bodytype & BODYTYPE_SNOUT)
icon_file = SARATHI_SNOUTED_HELM_PATH
if(I.snout_override_icon)
icon_file = I.snout_override_icon
if(icon_exists(SARATHI_SNOUTED_HELM_PATH, RESOLVE_ICON_STATE(I)))
icon_file = SARATHI_SNOUTED_HELM_PATH
if(I.snout_override_icon)
icon_file = I.snout_override_icon
else
handled_by_bodytype = TRUE
// [CELADON-EDIT] - RESPRITES
Expand Down Expand Up @@ -709,11 +710,12 @@ There are several things that need to be remembered:
// target_overlay = "[target_overlay]_snouted" // CELADON-EDIT - ORIGINAL
var/obj/item/bodypart/head_bodypart = src.get_bodypart(BODY_ZONE_HEAD)
if(head_bodypart.bodytype & BODYTYPE_SNOUT)
icon_file = SARATHI_SNOUTED_MASK_PATH
if(I.snout_override_icon)
icon_file = I.snout_override_icon
else
handled_by_bodytype = TRUE
if(icon_exists(SARATHI_SNOUTED_MASK_PATH, RESOLVE_ICON_STATE(I)))
icon_file = SARATHI_SNOUTED_MASK_PATH
if(I.snout_override_icon)
icon_file = I.snout_override_icon
else
handled_by_bodytype = TRUE
// [CELADON-EDIT]

if(dna.species.bodytype & BODYTYPE_VOX)
Expand Down
Binary file modified mod_celadon/_storge_icons/icons/helms_snouted.dmi
Binary file not shown.

0 comments on commit 1a54f44

Please sign in to comment.