mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
Fixes lights for macros, hopefully.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user