[MIRROR] Turns transparency for turfs into an element, and gives it to datum materials. (#1567)

* Turns transparency for turfs into an element, and gives it to datum materials. (#54250)

* Turns transparency for turfs into an element, and gives it to datum materials.

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
This commit is contained in:
SkyratBot
2020-11-04 00:33:49 +00:00
committed by GitHub
co-authored by Qustinnus
parent a7ac46d2a8
commit 30fc6c78ac
27 changed files with 248 additions and 208 deletions
+1 -1
View File
@@ -78,7 +78,7 @@
toggle()
/obj/structure/pitgrate/proc/update_openspace()
var/turf/open/transparent/openspace/T = get_turf(src)
var/turf/open/openspace/T = get_turf(src)
if(!istype(T))
return
//Simple way to keep plane conflicts away, could probably be upgraded to something less nuclear with 513
+1 -1
View File
@@ -183,7 +183,7 @@
var/clone_area = SSmapping.RequestBlockReservation(size_x * 2 + 1, size_y * 2 + 1)
for(var/turf/placeholder in block(locate(target_turf.x - size_x, target_turf.y - size_y, target_turf.z), locate(target_turf.x + size_x, target_turf.y + size_y, target_turf.z)))
var/turf/T = placeholder
while(istype(T, /turf/open/transparent/openspace)) //Multi-z photography
while(istype(T, /turf/open/openspace)) //Multi-z photography
T = SSmapping.get_turf_below(T)
if(!T)
break