Skip to content

Commit

Permalink
Embryo check
Browse files Browse the repository at this point in the history
  • Loading branch information
SabreML committed Feb 25, 2024
1 parent 084e383 commit 60f4d6a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/modules/cm_aliens/XenoStructures.dm
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,11 @@
if(current_mob.stat == DEAD)
return FALSE

if(HAS_TRAIT(current_mob, TRAIT_NESTED) && (current_mob.status_flags & XENO_HOST))
for(var/obj/item/alien_embryo/embryo in current_mob)
if(HIVE_ALLIED_TO_HIVE(hivenumber, embryo.hivenumber))
return FALSE

var/turf/current_turf
var/turf/last_turf = loc
var/atom/temp_atom = new acid_type()
Expand Down

0 comments on commit 60f4d6a

Please sign in to comment.