RPDs can now place pipes on walls

This commit is contained in:
Joan Lung
2017-07-14 15:25:12 -04:00
parent 77f8b362fc
commit 2551794b5d
2 changed files with 5 additions and 2 deletions
+1 -2
View File
@@ -570,8 +570,7 @@ GLOBAL_LIST_INIT(RPD_recipes, list(
new /obj/item/pipe_meter(A)
if(DISPOSALS_MODE) //Making disposals pipes
if(is_anchored_dense_turf(A))
to_chat(user, "<span class='warning'>The [src]'s error light flickers; there's something in the way!</span>")
if(isindestructiblewall(A))
return
to_chat(user, "<span class='notice'>You start building a disposals pipe...</span>")
playsound(get_turf(src), 'sound/machines/click.ogg', 50, 1)