mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] Vore preference helpers (#11893)
Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
dcd92a466f
commit
179d800bc7
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user