Slime ignoring skrell(lore request) (#5710)

Lore request - requested by Sleepy Wolf, and approved by Jackboot. This PR makes slime ignore skrell at all. Lore justification will be posted in PR later.
This commit is contained in:
Mykhailo Bykhovtsev
2018-12-10 11:56:55 -08:00
committed by Erki
parent 4e5ce8a1eb
commit 02430da880
2 changed files with 41 additions and 1 deletions

View File

@@ -221,13 +221,16 @@
if(isslime(L) || L.stat == DEAD) // Ignore other slimes and dead mobs
continue
if(isskrell(L)) // we do not attack skrell - lore reason.
continue
if(L in Friends) // No eating friends!
continue
if(issilicon(L) && (rabid || attacked)) // They can't eat silicons, but they can glomp them in defence
targets += L // Possible target found!
if(istype(L, /mob/living/carbon/human)) //Ignore slime(wo)men
if(ishuman(L)) //Ignore slime(wo)men
var/mob/living/carbon/human/H = L
if(H.species.name == "Slime")
continue