Mines no longer invincible.

This commit is contained in:
Kyep
2018-08-08 11:41:49 -07:00
parent 6c4def96f4
commit 5ba99b8f06
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -169,9 +169,9 @@
if(depotarea.used_self_destruct)
playsound(user, sound_no, 50, 0)
return
playsound(user, sound_click, 20, 1)
if(depotarea)
depotarea.activate_self_destruct("Fusion reactor containment field disengaged. All hands, evacuate. All hands, evacuate!", TRUE, user)
playsound(user, sound_click, 20, 1)
// Shield computer, used to manipulate base shield, and armory shield
+5
View File
@@ -34,6 +34,11 @@
triggered = 1
qdel(src)
/obj/effect/mine/ex_act(severity)
// Necessary because, as effects, they have infinite health, and wouldn't be destroyed otherwise.
// Also, they're pressure-sensitive mines, it makes sense that an explosion (wave of pressure) triggers/destroys them.
qdel(src)
/obj/effect/mine/explosive
name = "explosive mine"
var/range_devastation = 0