Files
CHOMPStation2/code/modules/power/lighting_vr.dm

20 lines
616 B
Plaintext

// I hate the way macros look stupid standing near lights. I don't care how absurd this looks.
/obj/machinery/light_construct
layer = BELOW_MOB_LAYER
/obj/machinery/light
layer = BELOW_MOB_LAYER
//Vorestation addition, to override the New() proc further below, since this is a lamp.
/obj/machinery/light/flamp/New()
..()
layer = initial(layer)
// create a new lighting fixture
/obj/machinery/light/New()
..()
//Vorestation addition, so large mobs stop looking stupid in front of lights.
if (dir == SOUTH) // Lights are backwards, SOUTH lights face north (they are on south wall)
layer = ABOVE_MOB_LAYER