Merge pull request #16525 from S34NW/glass_floors_2

Glass floors attempt 2
This commit is contained in:
variableundefined
2021-09-06 19:10:44 -05:00
committed by GitHub
39 changed files with 262 additions and 45 deletions
@@ -27,8 +27,8 @@
return
var/turf/T = get_turf(P)
if(P.level < 2 && T.level == 1 && T.intact)
to_chat(user, "<span class='warning'>You must remove the plating first.</span>")
if(P.level < 2 && T.level == 1 && T.intact && !T.transparent_floor)
to_chat(user, "<span class='warning'>You must remove the flooring first.</span>")
return
P.change_color(GLOB.pipe_colors[paint_setting])