[MIRROR] Vore preference helpers (#11893)

Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-11-02 09:55:21 -07:00
committed by GitHub
parent dcd92a466f
commit 179d800bc7
18 changed files with 140 additions and 120 deletions

View File

@@ -34,11 +34,10 @@
/atom/movable/proc/end_fall(var/crushing = FALSE)
if(isliving(src))
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_vdanger("\The [L] falls right onto \the [P]!"))
for(var/mob/living/P in loc)
if(CanDropVore(L, P))
L.feed_grabbed_to_self_falling_nom(L,P)
L.visible_message(span_vdanger("\The [L] falls right onto \the [P]!"))
if(crushing)
for(var/atom/movable/AM in loc)

View File

@@ -101,7 +101,7 @@
if(food_inserted_micros && food_inserted_micros.len)
for(var/mob/living/F in food_inserted_micros)
food_inserted_micros -= F
if(!F.can_be_drop_prey || !F.food_vore)
if(!CanFoodVore(M, F))
F.forceMove(get_turf(src))
else
F.forceMove(M.vore_selected)