Merge pull request #4613 from Neerti/1/21/2018_there_is_no_ceiling

Adds Missing Ceiling Overlay + Fixes Space on Roof
This commit is contained in:
Anewbe
2018-01-23 18:19:47 -06:00
committed by GitHub
16 changed files with 41 additions and 36 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ BLIND // can't see anything
origin_tech = list(TECH_MAGNET = 2, TECH_ENGINEERING = 2)
toggleable = 1
vision_flags = SEE_TURFS
enables_planes = (VIS_FULLBRIGHT)
enables_planes = list(VIS_FULLBRIGHT, VIS_MESONS)
/obj/item/clothing/glasses/meson/New()
..()
+2
View File
@@ -33,6 +33,8 @@
plane_masters[VIS_D_COLORBLIND] = new /obj/screen/plane_master/colorblindness //Colorblindness (affects world)
plane_masters[VIS_D_COLORBLINDI]= new /obj/screen/plane_master/colorblindness/items //Colorblindness (items in HUD, subplane of above, don't toggle)
plane_masters[VIS_MESONS] = new /obj/screen/plane_master{plane = PLANE_MESONS} //Meson-specific things like open ceilings.
..()
/datum/plane_holder/Destroy()
+1
View File
@@ -52,6 +52,7 @@
below = GetBelow(src)
turf_changed_event.register(below, src, /turf/simulated/open/update_icon)
levelupdate()
below.update_icon() // So the 'ceiling-less' overlay gets added.
for(var/atom/movable/A in src)
A.fall()
OS_controller.add_turf(src, 1)