Additional fixes.

Fixes terminals not hiding under floors.
Makes power sensors hide under floors correctly, the layering trick evidently didn't work.
This commit is contained in:
PsiOmegaDelta
2015-12-04 10:18:57 +01:00
parent 0fbc298616
commit 37c5e316c0
2 changed files with 9 additions and 3 deletions

View File

@@ -12,12 +12,18 @@
desc = "Small machine which transmits data about specific powernet"
anchored = 1
density = 0
layer = 2.46 // Above cables, but should be below floors.
level = 1
icon = 'icons/obj/objects.dmi'
icon_state = "floor_beacon" // If anyone wants to make better sprite, feel free to do so without asking me.
var/name_tag = "#UNKN#" // ID tag displayed in list of powernet sensors. Each sensor should have it's own tag!
var/long_range = 0 // If 1, sensor reading will show on all computers, regardless of Zlevel
/obj/machinery/power/sensor/hide(var/i)
invisibility = i ? 101 : 0
/obj/machinery/power/sensor/hides_under_flooring()
return 1
// Proc: New()
// Parameters: None