Makes Blobs more useful.

This commit is contained in:
Mechoid
2018-09-16 21:47:49 -07:00
parent 17a5010f44
commit 4fb5455fd3
15 changed files with 349 additions and 50 deletions

View File

@@ -51,6 +51,15 @@ var/list/blobs = list()
return TRUE
if(istype(mover) && mover.checkpass(PASSBLOB))
return TRUE
else if(istype(mover, /mob/living))
var/mob/living/L = mover
if(L.faction == "blob")
return TRUE
else if(istype(mover, /obj/item/projectile))
var/obj/item/projectile/P = mover
if(P.firer && P.firer.faction == "blob")
return TRUE
return FALSE
else
return FALSE
// return ..()
@@ -248,6 +257,9 @@ var/list/blobs = list()
if(!P)
return
if(P.firer && P.firer.faction == "blob")
return
var/damage = P.get_structure_damage() // So tasers don't hurt the blob.
if(!damage)
return