floor painter thingybob

This commit is contained in:
S34NW
2021-07-20 17:35:46 +01:00
parent 1d6c572729
commit 6d312f3a4b
@@ -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])