mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Merge pull request #2566 from Robertha89/master
Fixes invisible wrapping paper, sonic jackhammer not breaking walls and field surgery kit not fitting its own content
This commit is contained in:
@@ -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 disintegrates 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 disintegrates the reinforced plating.</span>"
|
||||
dismantle_wall()
|
||||
|
||||
//REPAIRING
|
||||
|
||||
Reference in New Issue
Block a user