Floorlike Lattices (#10384)

This commit is contained in:
Geeves
2020-11-23 13:14:27 +01:00
committed by GitHub
parent 9b05856bbc
commit 800f1c8c33
2 changed files with 11 additions and 1 deletions
+5 -1
View File
@@ -10,7 +10,11 @@
return (istype(T, /turf/simulated/wall) || istype(T, /turf/unsimulated/wall))
/proc/isfloor(turf/T)
return (istype(T, /turf/simulated/floor) || istype(T, /turf/unsimulated/floor))
if(locate(/obj/structure/lattice) in T)
return TRUE
else if(istype(T, /turf/simulated/floor) || istype(T, /turf/unsimulated/floor))
return TRUE
return FALSE
//Edit by Nanako
@@ -0,0 +1,6 @@
author: Geeves
delete-after: True
changes:
- tweak: "Lattices, catwalks, and grates are now considered floors, which allows you to build certain structures such as railings, on top of them."