Skip to content

Commit

Permalink
Allows larvae and huggers to crawl through acid holes (#5431)
Browse files Browse the repository at this point in the history
# About the pull request

Makes larvae and facehuggers able to crawl through acid holes in walls.

# Explain why it's good for the game

All xenomorphs below a certain size (other than these two) can crawl
through wall holes, so it feels like this is just an oversight.

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


https://github.com/cmss13-devs/cmss13/assets/57483089/1316b609-3598-4af9-8b31-64edea2a28bb

</details>


# Changelog
:cl:
add: Made xeno larvae and facehuggers able to crawl through acid holes
in walls.
/:cl:
  • Loading branch information
SabreML committed Jan 13, 2024
1 parent daed6cc commit 093aea3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/game/objects/effects/acid_hole.dm
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@


/obj/effect/acid_hole/attack_alien(mob/living/carbon/xenomorph/user)
if (!holed_wall)
if(!holed_wall)
qdel(src) //no wall?! then cease existence...
return

Expand All @@ -49,6 +49,9 @@
expand_hole(user)
return XENO_NO_DELAY_ACTION

/obj/effect/acid_hole/attack_larva(mob/living/carbon/xenomorph/larva/M)
attack_alien(M)

/obj/effect/acid_hole/proc/expand_hole(mob/living/carbon/xenomorph/user)
if(user.action_busy || user.is_mob_incapacitated())
return
Expand Down

0 comments on commit 093aea3

Please sign in to comment.