diff --git a/code/modules/mob/living/carbon/xenomorph/castes/Queen.dm b/code/modules/mob/living/carbon/xenomorph/castes/Queen.dm index 35d500b15816..532f77d1bec2 100644 --- a/code/modules/mob/living/carbon/xenomorph/castes/Queen.dm +++ b/code/modules/mob/living/carbon/xenomorph/castes/Queen.dm @@ -415,6 +415,14 @@ make_combat_effective() AddComponent(/datum/component/footstep, 2 , 35, 11, 4, "alien_footstep_large") + RegisterSignal(src, COMSIG_MOVABLE_PRE_MOVE, PROC_REF(check_block)) + +/mob/living/carbon/xenomorph/queen/proc/check_block(mob/queen, turf/new_loc) + SIGNAL_HANDLER + for(var/mob/living/carbon/xenomorph/xeno in new_loc.contents) + if(xeno.hivenumber == hivenumber) + xeno.KnockDown((5 DECISECONDS) / GLOBAL_STATUS_MULTIPLIER) + playsound(src, 'sound/weapons/alien_knockdown.ogg', 25, 1) /mob/living/carbon/xenomorph/queen/generate_name() if(!nicknumber)