Revert "Ports tgstation's Color Standardization, adds Color Defines and Signals"

This commit is contained in:
Dahlular
2022-07-06 17:15:00 -06:00
committed by GitHub
parent c6d12d52e1
commit 0cc2229789
188 changed files with 652 additions and 715 deletions
+6 -5
View File
@@ -333,15 +333,16 @@
switch(charging)
if(APC_NOT_CHARGING)
set_light_color(COLOR_SOFT_RED)
light_color = LIGHT_COLOR_RED
if(APC_CHARGING)
set_light_color(LIGHT_COLOR_BLUE)
light_color = LIGHT_COLOR_BLUE
if(APC_FULLY_CHARGED)
set_light_color(LIGHT_COLOR_GREEN)
set_light(l_range=lon_range)
light_color = LIGHT_COLOR_GREEN
set_light(lon_range)
lighteffect.color = light_color
else if(update_state & UPSTATE_BLUESCREEN)
set_light(l_range=lon_range, l_color=LIGHT_COLOR_BLUE)
light_color = LIGHT_COLOR_BLUE
set_light(lon_range)
else
set_light(0)
+12 -12
View File
@@ -1,12 +1,12 @@
GLOBAL_LIST_INIT(cable_colors, list(
"yellow" = COLOR_YELLOW,
"yellow" = "#ffff00",
"green" = "#00aa00",
"blue" = "#1919c8",
"pink" = "#ff3cc8",
"orange" = "#ff8000",
"cyan" = COLOR_CYAN,
"cyan" = "#00ffff",
"white" = "#ffffff",
"red" = COLOR_RED
"red" = "#ff0000"
))
///////////////////////////////
@@ -48,11 +48,11 @@ By design, d1 is the smallest direction and d2 is the highest
var/obj/item/stack/cable_coil/stored
var/cable_color = "red"
color = COLOR_RED
color = "#ff0000"
/obj/structure/cable/yellow
cable_color = "yellow"
color = COLOR_YELLOW
color = "#ffff00"
/obj/structure/cable/green
cable_color = "green"
@@ -72,7 +72,7 @@ By design, d1 is the smallest direction and d2 is the highest
/obj/structure/cable/cyan
cable_color = "cyan"
color = COLOR_CYAN
color = "#00ffff"
/obj/structure/cable/white
cable_color = "white"
@@ -770,11 +770,11 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list (new/datum/stack_recipe("cable restrai
/obj/item/stack/cable_coil/red
item_color = "red"
color = COLOR_RED
color = "#ff0000"
/obj/item/stack/cable_coil/yellow
item_color = "yellow"
color = COLOR_YELLOW
color = "#ffff00"
/obj/item/stack/cable_coil/blue
item_color = "blue"
@@ -794,7 +794,7 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list (new/datum/stack_recipe("cable restrai
/obj/item/stack/cable_coil/cyan
item_color = "cyan"
color = COLOR_CYAN
color = "#00ffff"
/obj/item/stack/cable_coil/white
item_color = "white"
@@ -821,11 +821,11 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list (new/datum/stack_recipe("cable restrai
/obj/item/stack/cable_coil/cut/red
item_color = "red"
color = COLOR_RED
color = "#ff0000"
/obj/item/stack/cable_coil/cut/yellow
item_color = "yellow"
color = COLOR_YELLOW
color = "#ffff00"
/obj/item/stack/cable_coil/cut/blue
item_color = "blue"
@@ -845,7 +845,7 @@ GLOBAL_LIST_INIT(cable_coil_recipes, list (new/datum/stack_recipe("cable restrai
/obj/item/stack/cable_coil/cut/cyan
item_color = "cyan"
color = COLOR_CYAN
color = "#00ffff"
/obj/item/stack/cable_coil/cut/white
item_color = "white"
+1 -1
View File
@@ -219,7 +219,7 @@
var/emergency_mode = FALSE // if true, the light is in emergency mode
var/no_emergency = FALSE // if true, this light cannot ever have an emergency mode
var/bulb_emergency_brightness_mul = 0.6 // multiplier for this light's base brightness in emergency power mode
var/bulb_emergency_colour = COLOR_VIVID_RED // determines the colour of the light while it's in emergency mode
var/bulb_emergency_colour = "#FF3232" // determines the colour of the light while it's in emergency mode
var/bulb_emergency_pow_mul = 0.75 // the multiplier for determining the light's power in emergency mode
var/bulb_emergency_pow_min = 0.5 // the minimum value for the light's power in emergency mode