Planes Framework (#4545)

* Polaris initial plane upstream merge

* POLARIS: Fix RIG visors with new plane system, and material scanner VIS_FULLBRIGHT

* POLARIS: Fix GetFlatIcon so that cameras and id pictures don't show the HUD overlays.

* POLARIS: Adds a 'alter values' proc for plane master ease of tweaking

Setting stuff like colorblindness variety and things.

* Remove NIF reference, fix lighting layer define

* Handle effects above lighting plane

* Moved all layer defines to planes+layers.dm
* Fixed overlays that are supposed to be above lighting to use the PLANE_LIGHTING_ABOVE

* Merge: 3000% human/update_icons() speed improvement

* Merge: Avoid ghosts pointing at things
This commit is contained in:
Arokha Sieyes
2018-01-17 13:45:54 -06:00
committed by Anewbe
parent b2624f5a2e
commit f2fef6f410
86 changed files with 874 additions and 614 deletions
-3
View File
@@ -1,6 +1,3 @@
#define SHOWER_OPEN_LAYER OBJ_LAYER + 0.4
#define SHOWER_CLOSED_LAYER MOB_LAYER + 0.2
/obj/structure/curtain
name = "curtain"
icon = 'icons/obj/curtain.dmi'
+3 -2
View File
@@ -198,5 +198,6 @@
/obj/structure/flora/tree/sif/update_icon()
set_light(5, 1, "#33ccff")
overlays.Cut()
overlays.Add(image(icon = 'icons/obj/flora/deadtrees.dmi', icon_state = "[icon_state]_glow", layer = LIGHTING_LAYER + 0.1))
var/image/glow = image(icon = 'icons/obj/flora/deadtrees.dmi', icon_state = "[icon_state]_glow")
glow.plane = PLANE_LIGHTING_ABOVE
overlays = list(glow)
+1 -1
View File
@@ -48,7 +48,7 @@
else
src.icon_state = "morgue3"
if(broadcast)
broadcast_medical_hud_message("[src] was able to establish a mental interface with occupant.", src)
global_announcer.autosay("[src] was able to establish a mental interface with occupant.", "[src]", "Medical")
else
src.icon_state = "morgue1"
return