From fb314ce394e213282da0eb458cfa524c23ea9971 Mon Sep 17 00:00:00 2001 From: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Date: Fri, 6 Jun 2025 23:13:51 -0400 Subject: [PATCH] Fixes monkey offsets (#91442) --- code/modules/surgery/bodyparts/head.dm | 13 +++++++++++++ code/modules/surgery/bodyparts/parts.dm | 8 ++++++++ 2 files changed, 21 insertions(+) diff --git a/code/modules/surgery/bodyparts/head.dm b/code/modules/surgery/bodyparts/head.dm index d6b0619fd94..dc8b59dc1a2 100644 --- a/code/modules/surgery/bodyparts/head.dm +++ b/code/modules/surgery/bodyparts/head.dm @@ -225,6 +225,19 @@ is_dimorphic = FALSE head_flags = HEAD_LIPS|HEAD_DEBRAIN +/obj/item/bodypart/head/monkey/Initialize(mapload) + worn_head_offset = new( + attached_part = src, + feature_key = OFFSET_HEAD, + offset_y = list("south" = 1), + ) + worn_glasses_offset = new( + attached_part = src, + feature_key = OFFSET_GLASSES, + offset_y = list("south" = 1), + ) + return ..() + /obj/item/bodypart/head/alien icon = 'icons/mob/human/species/alien/bodyparts.dmi' icon_static = 'icons/mob/human/species/alien/bodyparts.dmi' diff --git a/code/modules/surgery/bodyparts/parts.dm b/code/modules/surgery/bodyparts/parts.dm index b0866491e55..578a8319e82 100644 --- a/code/modules/surgery/bodyparts/parts.dm +++ b/code/modules/surgery/bodyparts/parts.dm @@ -94,6 +94,14 @@ acceptable_bodyshape = BODYSHAPE_MONKEY dmg_overlay_type = SPECIES_MONKEY +/obj/item/bodypart/chest/monkey/Initialize(mapload) + worn_neck_offset = new( + attached_part = src, + feature_key = OFFSET_NECK, + offset_y = list("south" = 1), + ) + return ..() + /obj/item/bodypart/chest/alien icon = 'icons/mob/human/species/alien/bodyparts.dmi' icon_static = 'icons/mob/human/species/alien/bodyparts.dmi'