Merge pull request #5421 from Anewbe/IWouldLikeWallsToLookNiceNowPlease

Mining turfs maybe probably possibly look nice all the time now I hope?
This commit is contained in:
Atermonera
2018-07-20 18:44:59 -07:00
committed by VirgoBot
parent 9ad8199474
commit f5fb89cb3d

View File

@@ -168,6 +168,12 @@ var/list/mining_overlay_cache = list()
if(istype(get_step(src, direction), /turf/space) && !istype(get_step(src, direction), /turf/space/cracked_asteroid))
add_overlay(get_cached_border("asteroid_edge",direction,icon,"asteroid_edges", 0))
//Or any time
else
var/turf/T = get_step(src, direction)
if(istype(T) && T.density)
add_overlay(get_cached_border("rock_side",direction,'icons/turf/walls.dmi',"rock_side"))
if(overlay_detail)
add_overlay('icons/turf/flooring/decals.dmi',overlay_detail)