Fixes some things being layered under grilles and other objects (#9669)

This commit is contained in:
fernerr
2020-08-12 16:51:49 +02:00
committed by GitHub
parent f8ceaec432
commit d29a55b7a9
6 changed files with 14 additions and 3 deletions

View File

@@ -154,9 +154,10 @@
return ..()
/obj/machinery/airlock_sensor
name = "airlock sensor"
icon = 'icons/obj/airlock_machines.dmi'
icon_state = "airlock_sensor_off"
name = "airlock sensor"
layer = OBJ_LAYER
anchored = 1
power_channel = ENVIRON
@@ -233,9 +234,10 @@
command = "cycle_exterior"
/obj/machinery/access_button
name = "access button"
icon = 'icons/obj/airlock_machines.dmi'
icon_state = "access_button_standby"
name = "access button"
layer = OBJ_LAYER
anchored = 1
power_channel = ENVIRON

View File

@@ -19,6 +19,7 @@
icon_state = "frame"
desc = "A remote control for a door."
req_access = list(access_brig)
layer = OBJ_LAYER
anchored = 1.0 // can't pick it up
density = 0 // can walk through it.
var/id = null // id of door it controls.

View File

@@ -3,6 +3,7 @@
name = "Embedded Controller"
anchored = 1
layer = OBJ_LAYER
use_power = 1
idle_power_usage = 10

View File

@@ -5,6 +5,7 @@
desc = "A wall-mounted flashbulb device."
icon = 'icons/obj/stationobjs.dmi'
icon_state = "mflash1"
layer = OBJ_LAYER
var/id = null
var/range = 2 //this is roughly the size of brig cell
var/disable = 0
@@ -22,6 +23,7 @@
name = "portable flasher"
desc = "A portable flashing device. Wrench to activate and deactivate. Cannot detect slow movements."
icon_state = "pflash1"
layer = OBJ_LAYER - 0.01
strength = 8
anchored = 0
base_state = "pflash"

View File

@@ -10,9 +10,10 @@
// Alert status
// And arbitrary messages set by comms computer
/obj/machinery/status_display
name = "status display"
icon = 'icons/obj/status_display.dmi'
icon_state = "frame"
name = "status display"
layer = OBJ_LAYER
anchored = 1
density = 0
use_power = 1