Fixes Sonic Jackhammer

This commit is contained in:
Robertha89
2015-11-15 21:53:21 +01:00
parent f9af83f20f
commit 3936231e53
4 changed files with 25 additions and 3 deletions
+9
View File
@@ -385,6 +385,15 @@
dismantle_wall()
visible_message("<span class='warning'>[user] drills through \the [src]!</span>","<span class='warning'>You hear the grinding of metal.</span>")
else if (istype(W, /obj/item/weapon/pickaxe/drill/jackhammer))
user << "<span class='notice'>You begin to disintegrate the wall.</span>"
if(do_after(user, mineral == "diamond" ? 60 : 30, target = src))
user << "<span class='notice'>Your jackhammer disintegrate the reinforced plating.</span>"
dismantle_wall()
visible_message("<span class='warning'>[user] disintegrates \the [src]!</span>","<span class='warning'>You hear the grinding of metal.</span>")
else if(istype(W, /obj/item/weapon/melee/energy/blade))
var/obj/item/weapon/melee/energy/blade/EB = W
@@ -202,7 +202,14 @@
user << "<span class='notice'>You begin to drill though the wall.</span>"
if(do_after(user, 200, target = src))
user << "<span class='notice'>Your drill tears though the last of the reinforced plating.</span>"
user << "<span class='notice'>Your drill tears through the last of the reinforced plating.</span>"
dismantle_wall()
if(istype(W,/obj/item/weapon/pickaxe/drill/jackhammer))
user << "<span class='notice'>You begin to disintegrate the wall.</span>"
if(do_after(user, 100, target = src))
user << "<span class='notice'>Your sonic jackhammer disintegrate the reinforced plating.</span>"
dismantle_wall()
//REPAIRING