RPDs can now place disposals pipes on dense non-wall turfs (#2035)
This commit is contained in:
committed by
kevinz000
parent
7a0c43e492
commit
6f7e908c89
@@ -570,8 +570,8 @@ 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(isclosedturf(A))
|
||||
to_chat(user, "<span class='warning'>[src]'s error light flickers; there's something in the way!</span>")
|
||||
return
|
||||
to_chat(user, "<span class='notice'>You start building a disposals pipe...</span>")
|
||||
playsound(get_turf(src), 'sound/machines/click.ogg', 50, 1)
|
||||
|
||||
Reference in New Issue
Block a user