Makes plastique better

It destroys the wall it's placed on, rather than slightly somewhat dismantling it a little and requiring you to have a toolbelt to finish the job.
This commit is contained in:
Arokha Sieyes
2016-05-18 18:23:37 -04:00
parent 47176f4912
commit 5f4bde83b2

View File

@@ -18,7 +18,7 @@
wires = new(src) wires = new(src)
image_overlay = image('icons/obj/assemblies.dmi', "plastic-explosive2") image_overlay = image('icons/obj/assemblies.dmi', "plastic-explosive2")
..() ..()
/obj/item/weapon/plastique/Destroy() /obj/item/weapon/plastique/Destroy()
qdel(wires) qdel(wires)
wires = null wires = null
@@ -78,7 +78,7 @@
if(target) if(target)
if (istype(target, /turf/simulated/wall)) if (istype(target, /turf/simulated/wall))
var/turf/simulated/wall/W = target var/turf/simulated/wall/W = target
W.dismantle_wall(1) W.dismantle_wall(1,1,1)
else if(istype(target, /mob/living)) else if(istype(target, /mob/living))
target.ex_act(2) // c4 can't gib mobs anymore. target.ex_act(2) // c4 can't gib mobs anymore.
else else