Merge pull request #10533 from VOREStation/Fixes/10465

Fixes #10465
This commit is contained in:
Aronai Sieyes
2021-06-02 16:01:23 +00:00
committed by Chompstation Bot
parent 4e39cb8cfc
commit bf55685866
+1 -9
View File
@@ -511,6 +511,7 @@ obj/structure/cable/proc/cableColor(var/colorC)
drop_sound = 'sound/items/drop/accessory.ogg'
pickup_sound = 'sound/items/pickup/accessory.ogg'
tool_qualities = list(TOOL_CABLE_COIL)
singular_name = "cable"
/obj/item/stack/cable_coil/cyborg
name = "cable coil synthesizer"
@@ -603,15 +604,6 @@ obj/structure/cable/proc/cableColor(var/colorC)
else
w_class = ITEMSIZE_SMALL
/obj/item/stack/cable_coil/examine(mob/user)
. = ..()
if(get_amount() == 1)
. += "Just a short piece remains."
else if(get_amount() == 2)
. += "Just a couple of short pieces remain."
else if(Adjacent(user))
. += "There are [get_amount()] lengths of cable in the coil."
/obj/item/stack/cable_coil/attackby(obj/item/W, mob/user)
if(istype(W, /obj/item/device/multitool))
var/selected_type = input("Pick new colour.", "Cable Colour", null, null) as null|anything in possible_cable_coil_colours