Skip to content

Commit

Permalink
Update Queen.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
Git-Nivrak committed Jun 13, 2024
1 parent b0e1823 commit 0a0e6e5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/castes/Queen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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/destroyer, turf/new_loc)
SIGNAL_HANDLER
for(var/mob/living/carbon/xenomorph/xeno in new_loc.contents)
if(xeno.hivenumber == src.hivenumber)
xeno.KnockDown((5 DECISECONDS) / GLOBAL_STATUS_MULTIPLIER)
playsound(src.loc, 'sound/weapons/alien_knockdown.ogg', 25, 1)

/mob/living/carbon/xenomorph/queen/generate_name()
if(!nicknumber)
Expand Down

0 comments on commit 0a0e6e5

Please sign in to comment.