Repaths /obj/item/weapon to /obj/item (#29929)

This commit is contained in:
Jordan Brown
2017-08-16 10:38:51 -03:00
committed by Leo
parent b95e38aacb
commit af4d9a85c9
1088 changed files with 25878 additions and 25881 deletions
+2 -2
View File
@@ -55,7 +55,7 @@
//However if a player wants to move an existing showcase or remove one, this is for that.
/obj/structure/showcase/attackby(obj/item/W, mob/user)
if(istype(W, /obj/item/weapon/screwdriver) && !anchored)
if(istype(W, /obj/item/screwdriver) && !anchored)
if(deconstruction_state == SHOWCASE_SCREWDRIVERED)
to_chat(user, "<span class='notice'>You screw the screws back into the showcase.</span>")
playsound(loc, W.usesound, 100, 1)
@@ -65,7 +65,7 @@
playsound(loc, W.usesound, 100, 1)
deconstruction_state = SHOWCASE_SCREWDRIVERED
if(istype(W, /obj/item/weapon/crowbar) && deconstruction_state == SHOWCASE_SCREWDRIVERED)
if(istype(W, /obj/item/crowbar) && deconstruction_state == SHOWCASE_SCREWDRIVERED)
if(do_after(user, 20*W.toolspeed, target = src))
playsound(loc, W.usesound, 100, 1)
to_chat(user, "<span class='notice'>You start to crowbar the showcase apart...</span>")