From c35174c99750dc2fc6434313804fb22f7a03f91d Mon Sep 17 00:00:00 2001 From: ATP-Engineer <120416457+ATP-Engineer@users.noreply.github.com> Date: Tue, 7 Jan 2025 20:46:29 -0500 Subject: [PATCH] Fixes old Humanoid cyborg sprites, to actually be able to wear hats. Now that they don't already have some. (#27875) * Hopefully nothing goes wrong. Changes one false to a TRUE, in robot_mob.dm * Stay in your lane, rovers. Hopefully also lines up hats correctly. * Update code/modules/mob/living/silicon/robot/robot_mob.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: ATP-Engineer <120416457+ATP-Engineer@users.noreply.github.com> --------- Signed-off-by: ATP-Engineer <120416457+ATP-Engineer@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> --- code/modules/mob/living/silicon/robot/robot_mob.dm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/silicon/robot/robot_mob.dm b/code/modules/mob/living/silicon/robot/robot_mob.dm index f04f23f86df..9260a3abe7d 100644 --- a/code/modules/mob/living/silicon/robot/robot_mob.dm +++ b/code/modules/mob/living/silicon/robot/robot_mob.dm @@ -537,8 +537,11 @@ GLOBAL_LIST_INIT(robot_verbs_default, list( */ /mob/living/silicon/robot/proc/robot_module_hat_offset(module) switch(module) - if("Engineering", "Miner_old", "JanBot2", "Medbot", "engineerrobot", "maximillion", "secborg", "Rover-Medi", "Rover-Jani", "Rover-Engi", "Rover-Serv", "Hydrobot") - can_be_hatted = FALSE // Their base sprite already comes with a hat + if("Engineering", "Miner_old", "JanBot2", "Medbot", "engineerrobot", "maximillion", "secborg", "Hydrobot") + can_be_hatted = TRUE // Their base sprite USED to already come with a hat + can_wear_restricted_hats = TRUE + if("Rover-Medi", "Rover-Jani", "Rover-Engi", "Rover-Serv") + can_be_hatted = FALSE hat_offset_y = -1 if("Noble-CLN", "Noble-SRV", "Noble-DIG", "Noble-MED", "Noble-SEC", "Noble-ENG", "Noble-STD") can_be_hatted = TRUE