Adds drop vore to mob falling objects (#15962)

* Adds new buildmode - DROP

* Adds drop vore to mob falling objects
This commit is contained in:
Heroman3003
2024-05-05 10:38:47 +10:00
committed by GitHub
parent 1a8b41f718
commit 6f706603db
@@ -31,6 +31,14 @@
qdel(src)
/atom/movable/proc/end_fall(var/crushing = FALSE)
if(istype(src, /mob/living))
var/mob/living/L = src
if(L.vore_selected && L.can_be_drop_pred && L.drop_vore)
for(var/mob/living/P in loc)
if(P.can_be_drop_prey && P.drop_vore)
L.feed_grabbed_to_self_falling_nom(L,P)
L.visible_message("<span class='vdanger'>\The [L] falls right onto \the [P]!</span>")
if(crushing)
for(var/atom/movable/AM in loc)
if(AM != src)