Ninja e-blade can now force emergency shutters open.

Unlike doors it will not permanently break them, at least until emergency shutters can be reconstructed.
This commit is contained in:
PsiOmega
2014-09-11 08:14:38 +02:00
parent 7b41cd4b68
commit 6d2bb21a72

View File

@@ -203,7 +203,7 @@
user << "<span class='danger'>\The [src] is welded solid!</span>"
return
if(istype(C, /obj/item/weapon/crowbar) || ( istype(C,/obj/item/weapon/twohanded/fireaxe) && C:wielded == 1))
if(istype(C, /obj/item/weapon/crowbar) || istype(C,/obj/item/weapon/melee/energy/blade) || istype(C,/obj/item/weapon/twohanded/fireaxe))
if(operating)
return
@@ -213,6 +213,11 @@
"You hear someone struggle and metal straining.")
return
if(istype(C,/obj/item/weapon/twohanded/fireaxe))
var/obj/item/weapon/twohanded/fireaxe/F = C
if(!F.wielded)
return
user.visible_message("<span class='danger'>\The [user] starts to force \the [src] [density ? "open" : "closed"] with \a [C]!</span>",\
"You start forcing \the [src] [density ? "open" : "closed"] with \the [C]!",\
"You hear metal strain.")