mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 19:22:56 +00:00
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:
@@ -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))
|
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))
|
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)
|
if(overlay_detail)
|
||||||
add_overlay('icons/turf/flooring/decals.dmi',overlay_detail)
|
add_overlay('icons/turf/flooring/decals.dmi',overlay_detail)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user