Skip to content

Commit

Permalink
Xenos no longer can pull dead xenos (#3666)
Browse files Browse the repository at this point in the history
# About the pull request

This PR makes it so xenos can no longer pull dead xenos (or other
non-human typepathed dead mobs).

The exception is dead larva.

When #3644 is merged I'll
likely add xeno corpses so as to minimize clutter/wall blocking.

# Explain why it's good for the game

Recovering corpses for marines is an important part of multiple gameplay
loops now. We shouldn't really be seeing stacks of xeno corpses in
hives.

# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog

:cl: Morrow
balance: Xenos no longer can pull dead xenos
/:cl:
  • Loading branch information
morrowwolf authored Jun 28, 2023
1 parent 3a181b0 commit 613e967
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/attack_alien.dm
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,9 @@
SPAN_DANGER("You nudge your head against [src]."), null, 5, CHAT_TYPE_XENO_FLUFF)

/mob/living/proc/is_xeno_grabbable()
if(stat == DEAD)
return FALSE

return TRUE

/mob/living/carbon/human/is_xeno_grabbable()
Expand Down
2 changes: 2 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/castes/Larva.dm
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,5 @@
/mob/living/carbon/xenomorph/larva/emote(act, m_type, message, intentional, force_silence)
playsound(loc, "alien_roar_larva", 15)

/mob/living/carbon/xenomorph/larva/is_xeno_grabbable()
return TRUE

0 comments on commit 613e967

Please sign in to comment.