mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
fixes final steelslayer issue
This commit is contained in:
@@ -507,7 +507,7 @@
|
||||
user.visible_message( \
|
||||
"[user] fastens the [src].", \
|
||||
"<span class='notice'>You have fastened the [src].</span>", \
|
||||
"You hear ratchet.")
|
||||
"You hear ratcheting.")
|
||||
qdel(src) // remove the pipe item
|
||||
|
||||
return
|
||||
|
||||
@@ -171,7 +171,7 @@ Pipelines + Other Objects -> Pipe network
|
||||
/obj/machinery/atmospherics/attackby(obj/item/W, mob/user)
|
||||
var/turf/T = get_turf(src)
|
||||
if(can_unwrench && istype(W, /obj/item/wrench))
|
||||
if(T.transparent_floor && istype(src, /obj/machinery/atmospherics/pipe))
|
||||
if(T.transparent_floor && istype(src, /obj/machinery/atmospherics/pipe) && layer != GAS_PIPE_VISIBLE_LAYER) //pipes on GAS_PIPE_VISIBLE_LAYER are above the transparent floor and should be interactable
|
||||
to_chat(user, "<span class='danger'>You can't interact with something that's under the floor!</span>")
|
||||
return
|
||||
if(level == 1 && isturf(T) && T.intact)
|
||||
|
||||
Reference in New Issue
Block a user