From 7a406adbd68c3fcd0ac6d35741770cf1d9fa67ec Mon Sep 17 00:00:00 2001 From: Alfalfa Scout Date: Sun, 7 Jun 2026 19:12:25 -0400 Subject: [PATCH] Include appearance customization surgery. --- code/modules/surgery/robotics.dm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/code/modules/surgery/robotics.dm b/code/modules/surgery/robotics.dm index 58446181fcb..88ce8dd3a9a 100644 --- a/code/modules/surgery/robotics.dm +++ b/code/modules/surgery/robotics.dm @@ -716,7 +716,12 @@ return ..() /datum/surgery_step/robotics/external/customize_appearance/end_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery) - var/chosen_appearance = tgui_input_list(user, "Select the company appearance for this limb.", "Limb Company Selection", GLOB.all_robolimbs) + var/possible_robolimbs = list() + for(var/robolimb in GLOB.all_robolimbs) + var/datum/robolimb/robopart = GLOB.all_robolimbs[robolimb] + if(target_zone in robopart.parts) + possible_robolimbs += robolimb + var/chosen_appearance = tgui_input_list(user, "Select the company appearance for this limb.", "Limb Company Selection", possible_robolimbs) if(!chosen_appearance) return SURGERY_STEP_INCOMPLETE var/obj/item/organ/external/affected = target.get_organ(target_zone)