here we go again (#2456)

This commit is contained in:
LetterJay
2017-08-24 19:24:25 -07:00
committed by kevinz000
parent c7ed043fd5
commit 188193eb61
1107 changed files with 25420 additions and 25417 deletions
+4 -4
View File
@@ -205,8 +205,8 @@ GLOBAL_LIST_INIT(pipeID2State, list(
/obj/item/pipe/attack_self(mob/user)
return rotate()
/obj/item/pipe/attackby(obj/item/weapon/W, mob/user, params)
if (!istype(W, /obj/item/weapon/wrench))
/obj/item/pipe/attackby(obj/item/W, mob/user, params)
if (!istype(W, /obj/item/wrench))
return ..()
if (!isturf(src.loc))
return 1
@@ -267,10 +267,10 @@ GLOBAL_LIST_INIT(pipeID2State, list(
item_state = "buildpipe"
w_class = WEIGHT_CLASS_BULKY
/obj/item/pipe_meter/attackby(obj/item/weapon/W, mob/user, params)
/obj/item/pipe_meter/attackby(obj/item/W, mob/user, params)
..()
if (!istype(W, /obj/item/weapon/wrench))
if (!istype(W, /obj/item/wrench))
return ..()
if(!locate(/obj/machinery/atmospherics/pipe, src.loc))
to_chat(user, "<span class='warning'>You need to fasten it to a pipe!</span>")
+1 -1
View File
@@ -73,7 +73,7 @@
return
qdel(W)
return
else if (istype(W, /obj/item/weapon/wrench))
else if (istype(W, /obj/item/wrench))
if (!anchored && !isinspace())
playsound(src.loc, W.usesound, 50, 1)
to_chat(user, "<span class='notice'>You begin to fasten \the [src] to the floor...</span>")