mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 15:37:36 +01:00
White cables no longer spontaneously change color (#24763)
* Allow cables to be white. * Allow cables to remain white.
This commit is contained in:
@@ -140,9 +140,7 @@ By design, d1 is the smallest direction and d2 is the highest
|
||||
deconstruct()
|
||||
|
||||
/obj/structure/cable/proc/cable_color(colorC)
|
||||
if(!colorC)
|
||||
color = COLOR_RED
|
||||
else if(colorC == "rainbow")
|
||||
if(colorC == "rainbow")
|
||||
color = color_rainbow()
|
||||
else if(colorC == "orange") //byond only knows 16 colors by name, and orange isn't one of them
|
||||
color = COLOR_ORANGE
|
||||
|
||||
@@ -53,8 +53,6 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list (new/datum/stack_recipe/cable_restrain
|
||||
name = "cable piece"
|
||||
|
||||
/obj/item/stack/cable_coil/update_icon_state()
|
||||
if(!color)
|
||||
color = pick(COLOR_RED, COLOR_BLUE, COLOR_GREEN, COLOR_ORANGE, COLOR_WHITE, COLOR_PINK, COLOR_YELLOW, COLOR_CYAN)
|
||||
if(amount == 1)
|
||||
icon_state = "coil1"
|
||||
else if(amount == 2)
|
||||
|
||||
Reference in New Issue
Block a user