Fixes lights for macros, hopefully.

This commit is contained in:
Spades
2016-12-29 02:05:17 -05:00
parent 0687f4d7fe
commit 0c3db41e89
3 changed files with 28 additions and 1 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
icon = 'icons/obj/lighting.dmi'
icon_state = "tube-construct-stage1"
anchored = 1
layer = OBJ_LAYER // Vorestation edit
layer = 5
var/stage = 1
var/fixture_type = "tube"
var/sheets_refunded = 2
+26
View File
@@ -0,0 +1,26 @@
// I hate the way macros look stupid standing near lights. I don't care how absurd this looks.
/obj/machinery/light_construct
layer = 4
/obj/machinery/light_construct/small
layer = 4
/obj/machinery/light_construct/flamp
layer = 4
/obj/machinery/light
layer = 4
//Vorestation addition, to override the New() proc further below, since this is a lamp.
/obj/machinery/light/flamp/New()
..()
layer = 4
// create a new lighting fixture
/obj/machinery/light/New()
..()
//Vorestation addition, so large mobs stop looking stupid in front of lights.
if (dir == 2)
layer = 5
+1
View File
@@ -1880,6 +1880,7 @@
#include "code\modules\power\gravitygenerator.dm"
#include "code\modules\power\grid_checker.dm"
#include "code\modules\power\lighting.dm"
#include "code\modules\power\lighting_vr.dm"
#include "code\modules\power\port_gen.dm"
#include "code\modules\power\power.dm"
#include "code\modules\power\powernet.dm"