Merge pull request #15929 from S34NW/tgglassfloors

Adds glass floors
This commit is contained in:
variableundefined
2021-08-11 16:08:09 -04:00
committed by GitHub
37 changed files with 479 additions and 396 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])