Make lavaland bridges hover over rivers. (#27402)

* feat: Make lavaland bridges hover over rivers.

* just use the normal AO as shadows

* change return

* kill reference to shadows
This commit is contained in:
warriorstar-orion
2024-11-30 16:28:53 +00:00
committed by GitHub
parent 0c5fb4198d
commit db4dda0fdf
3 changed files with 58 additions and 11 deletions
+5 -1
View File
@@ -83,7 +83,11 @@ GLOBAL_LIST_INIT(icons_to_ignore_at_floor_init, list("damaged1","damaged2","dama
// Checks if there is foothold over the turf
/turf/simulated/floor/proc/find_safeties()
var/static/list/safeties_typecache = typecacheof(list(/obj/structure/lattice/catwalk, /obj/structure/stone_tile))
var/static/list/safeties_typecache = typecacheof(list(
/obj/structure/lattice/catwalk,
/obj/structure/stone_tile,
/obj/structure/bridge_walkway
))
var/list/found_safeties = typecache_filter_list(contents, safeties_typecache)
return LAZYLEN(found_safeties)