mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-12 02:32:10 +00:00
* Refactor removing unused defines. (#82115) Refactors a lot of the unused defines. Refactors a lot of the unused defines. Nothing player facing --------- Co-authored-by: san7890 <the@san7890.com> * Oh well. I hope this works fine. --------- Co-authored-by: Bilbo367 <163439532+Bilbo367@users.noreply.github.com> Co-authored-by: san7890 <the@san7890.com> Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com>
166 lines
4.0 KiB
Plaintext
166 lines
4.0 KiB
Plaintext
/obj/machinery/light/broken
|
|
status = LIGHT_BROKEN
|
|
icon_state = "tube-broken"
|
|
|
|
/obj/machinery/light/built
|
|
icon_state = "tube-empty"
|
|
start_with_cell = FALSE
|
|
status = LIGHT_EMPTY
|
|
|
|
/obj/machinery/light/no_nightlight
|
|
nightshift_enabled = FALSE
|
|
|
|
/obj/machinery/light/warm
|
|
bulb_colour = "#fae5c1"
|
|
|
|
/obj/machinery/light/warm/no_nightlight
|
|
nightshift_allowed = FALSE
|
|
|
|
/obj/machinery/light/warm/dim
|
|
nightshift_allowed = FALSE
|
|
bulb_power = 0.6
|
|
|
|
/obj/machinery/light/cold
|
|
bulb_colour = LIGHT_COLOR_FAINT_BLUE
|
|
nightshift_light_color = LIGHT_COLOR_FAINT_BLUE
|
|
|
|
/obj/machinery/light/cold/no_nightlight
|
|
nightshift_allowed = FALSE
|
|
|
|
/obj/machinery/light/cold/dim
|
|
nightshift_allowed = FALSE
|
|
bulb_power = 0.6
|
|
|
|
/obj/machinery/light/red
|
|
bulb_colour = COLOR_VIVID_RED
|
|
nightshift_allowed = FALSE
|
|
no_low_power = TRUE
|
|
|
|
/obj/machinery/light/red/dim
|
|
brightness = 4
|
|
bulb_power = 0.7
|
|
fire_brightness = 4.5
|
|
|
|
/obj/machinery/light/blacklight
|
|
bulb_colour = "#A700FF"
|
|
nightshift_allowed = FALSE
|
|
|
|
/obj/machinery/light/dim
|
|
nightshift_allowed = FALSE
|
|
bulb_colour = "#FFDDCC"
|
|
bulb_power = 0.6
|
|
|
|
// the smaller bulb light fixture
|
|
|
|
/obj/machinery/light/small
|
|
icon_state = "bulb"
|
|
base_state = "bulb"
|
|
fitting = "bulb"
|
|
brightness = 4
|
|
nightshift_brightness = 4
|
|
fire_brightness = 4.5
|
|
bulb_colour = LIGHT_COLOR_TUNGSTEN
|
|
fire_colour = "#bd3f46"
|
|
desc = "A small lighting fixture."
|
|
light_type = /obj/item/light/bulb
|
|
|
|
/obj/machinery/light/small/broken
|
|
status = LIGHT_BROKEN
|
|
icon_state = "bulb-broken"
|
|
|
|
/obj/machinery/light/small/built
|
|
icon_state = "bulb-empty"
|
|
start_with_cell = FALSE
|
|
status = LIGHT_EMPTY
|
|
|
|
/obj/machinery/light/small/dim
|
|
brightness = 2.4
|
|
|
|
/obj/machinery/light/small/red
|
|
bulb_colour = COLOR_VIVID_RED
|
|
no_low_power = TRUE
|
|
nightshift_allowed = FALSE
|
|
fire_colour = "#ff1100"
|
|
|
|
/obj/machinery/light/small/red/dim
|
|
brightness = 2
|
|
bulb_power = 0.8
|
|
fire_brightness = 2.5
|
|
|
|
/obj/machinery/light/small/blacklight
|
|
bulb_colour = "#A700FF"
|
|
nightshift_allowed = FALSE
|
|
brightness = 4
|
|
fire_brightness = 4.5
|
|
fire_colour = "#d400ff"
|
|
|
|
// -------- Directional presets
|
|
// The directions are backwards on the lights we have now
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light, 0)
|
|
|
|
// ---- Broken tube
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/broken, 0)
|
|
|
|
// ---- Tube construct
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/structure/light_construct, 0)
|
|
|
|
// ---- Tube frames
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/built, 0)
|
|
|
|
// ---- No nightlight tubes
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/no_nightlight, 0)
|
|
|
|
// ---- Warm light tubes
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/warm, 0)
|
|
|
|
// ---- No nightlight warm light tubes
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/warm/no_nightlight, 0)
|
|
|
|
// ---- Dim warm light tubes
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/warm/dim, 0)
|
|
|
|
// ---- Cold light tubes
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/cold, 0)
|
|
|
|
// ---- No nightlight cold light tubes
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/cold/no_nightlight, 0)
|
|
|
|
// ---- Dim cold light tubes
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/cold/dim, 0)
|
|
|
|
// ---- Red tubes
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/red, 0)
|
|
|
|
// ---- Red dim tubes
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/red/dim, 0)
|
|
|
|
// ---- Blacklight tubes
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/blacklight, 0)
|
|
|
|
// ---- Dim tubes
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/dim, 0)
|
|
|
|
|
|
// -------- Bulb lights
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/small, 0)
|
|
|
|
// ---- Bulb construct
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/structure/light_construct/small, 0)
|
|
|
|
// ---- Bulb frames
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/small/built, 0)
|
|
|
|
// ---- Broken bulbs
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/small/broken, 0)
|
|
|
|
// ---- Red bulbs
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/small/dim, 0)
|
|
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/small/red, 0)
|
|
|
|
// ---- Red dim bulbs
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/small/red/dim, 0)
|
|
|
|
// ---- Blacklight bulbs
|
|
MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/light/small/blacklight, 0)
|