mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
REFACTOR: Most consoles and machinery now use defines for light color
This commit refactors light_color definitions for most machines and consoles that use light_color's. Instead of having the same color repeated over and over again, there are #defines for most of the common ones. Some machines and other places may not use lighting defs- this is intentional. The defines as they are, are relatively clean, and machinery was where the bulk of repeated light definitions were. Other, special colors, can just be defined in the same file that they are used once in.
This commit is contained in:
@@ -34,7 +34,7 @@ won't update every console in existence) but it's more of a hassle to do. Also,
|
||||
/obj/machinery/computer/rdconsole
|
||||
name = "R&D Console"
|
||||
icon_state = "rdcomp"
|
||||
light_color = "#a97faa"
|
||||
light_color = LIGHT_COLOR_FADEDPURPLE
|
||||
circuit = /obj/item/weapon/circuitboard/rdconsole
|
||||
var/datum/research/files //Stores all the collected research data.
|
||||
var/obj/item/weapon/disk/tech_disk/t_disk = null //Stores the technology disk.
|
||||
|
||||
@@ -181,7 +181,7 @@
|
||||
/obj/machinery/computer/rdservercontrol
|
||||
name = "R&D Server Controller"
|
||||
icon_state = "rdcomp"
|
||||
light_color = "#a96faa"
|
||||
light_color = LIGHT_COLOR_FADEDPURPLE
|
||||
circuit = /obj/item/weapon/circuitboard/rdservercontrol
|
||||
var/screen = 0
|
||||
var/obj/machinery/r_n_d/server/temp_server
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
req_access = list()
|
||||
shuttle_tag = "White Ship"
|
||||
circuit = "/obj/item/weapon/circuitboard/white_ship"
|
||||
light_color = "#CC0000"
|
||||
light_color = LIGHT_COLOR_DARKRED
|
||||
|
||||
/obj/machinery/computer/shuttle_control/multi/whiteship/attack_ai(user as mob)
|
||||
user << "\red Access Denied."
|
||||
|
||||
Reference in New Issue
Block a user