Blobs can destroy atmospherics tanks, very slowly.

This commit is contained in:
mikomyazaki
2022-03-22 00:02:38 +00:00
parent 06b6c5425b
commit 04a70c955c
2 changed files with 11 additions and 0 deletions

View File

@@ -99,6 +99,10 @@
if(GR)
qdel(GR)
return
var/obj/structure/tank_wall/TW = locate() in T
if(TW)
TW.take_damage(rand(5,20))
return
for(var/obj/machinery/door/D in T) // There can be several - and some of them can be open, locate() is not suitable
if(D.density)
attack_door(D)