From d448d0149a2cf79e2887f139348b9bf4b7ada1d4 Mon Sep 17 00:00:00 2001 From: 1080pCat <96908085+1080pCat@users.noreply.github.com> Date: Fri, 25 Jul 2025 00:27:53 +1000 Subject: [PATCH] Teaches byond what pink is, and lets cyborgs choose pink and orange (#29822) --- code/modules/power/cables/cable_coil.dm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/code/modules/power/cables/cable_coil.dm b/code/modules/power/cables/cable_coil.dm index 43c8402044c..9a69064edbb 100644 --- a/code/modules/power/cables/cable_coil.dm +++ b/code/modules/power/cables/cable_coil.dm @@ -331,8 +331,10 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list (new/datum/stack_recipe/cable_restrain color = COLOR_RED else if(colorC == "rainbow") color = color_rainbow() - else if(colorC == "orange") //byond only knows 16 colors by name, and orange isn't one of them + else if(colorC == "orange") // byond only knows 16 colors by name, and orange isn't one of them color = COLOR_ORANGE + else if(colorC == "pink") + color = COLOR_PINK // nor is pink.. thanks byond else color = colorC @@ -395,8 +397,8 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list (new/datum/stack_recipe/cable_restrain return // icon_state should always be a full cable /obj/item/stack/cable_coil/cyborg/attack_self__legacy__attackchain(mob/user) - var/cablecolor = input(user,"Pick a cable color.","Cable Color") in list("red","yellow","green","blue","pink","orange","cyan","white") - color = cablecolor + var/cablecolor = tgui_input_list(usr, "Pick a cable color.", "Cable Color", list("red","yellow","green","blue","pink","orange","cyan","white")) + cable_color(cablecolor) update_icon() #undef HEALPERCABLE