Blob minion mobs spawned from a non-blob source can no longer traverse blob tiles (#93893)

## About The Pull Request

See title.
## Why It's Good For The Game

Closes #84270. Blob minions can no longer attack blob tiles, but this
takes care of them getting free healing from the blob while fighting its
minions.
## Changelog
🆑 Rhials
fix: Non-blob-spawned blob minion mobs can no longer traverse blob
tiles.
/🆑
This commit is contained in:
Rhials
2025-11-13 00:59:18 +01:00
committed by GitHub
parent a49352879e
commit 43785d12dd
5 changed files with 12 additions and 4 deletions
@@ -7,7 +7,6 @@
base_icon_state = "blob_head"
unique_name = TRUE
status_flags = CANPUSH
pass_flags = PASSBLOB
faction = list(ROLE_BLOB)
combat_mode = TRUE
bubble_icon = "blob"
@@ -25,6 +24,11 @@
var/death_cloud_size = BLOBMOB_CLOUD_NONE
var/loot = /obj/item/food/spore_sack
/mob/living/basic/blob_minion/New(loc, blob_borne)
. = ..()
if(blob_borne)
pass_flags = PASSBLOB
/mob/living/basic/blob_minion/Initialize(mapload)
. = ..()
add_traits(list(TRAIT_BLOB_ALLY, TRAIT_MUTE), INNATE_TRAIT)
@@ -52,6 +52,7 @@
/mob/living/basic/blob_minion/spore/proc/zombify(mob/living/carbon/human/target)
visible_message(span_warning("The corpse of [target.name] suddenly rises!"))
var/mob/living/basic/blob_minion/zombie/blombie = change_mob_type(zombie_type, loc, new_name = initial(zombie_type.name))
blombie.pass_flags |= PASSBLOB //No way to pass the blob_borne info through change_mob_type() to Initilize(), so we just circumvent it here.
blombie.faction |= faction //inherit the spore's faction in case it was spawned with a different one (eg gold core)
blombie.set_name()
if (istype(blombie)) // In case of badmin