Merge pull request #13169 from Heroman3003/small-dropnom

Fixes dropnoms with pred without bellies breaking falling
This commit is contained in:
Casey
2022-06-26 14:03:56 -04:00
committed by CHOMPStation2
parent 2531f1d482
commit d3c2022b05

View File

@@ -43,16 +43,16 @@
var/mob/living/prey = src
var/fallloc = prey.loc
if(pred.can_be_drop_pred && prey.can_be_drop_prey && pred.drop_vore && prey.drop_vore)
if(pred.vore_selected && pred.can_be_drop_pred && prey.can_be_drop_prey && pred.drop_vore && prey.drop_vore)
pred.feed_grabbed_to_self_falling_nom(pred,prey)
pred.loc = fallloc
if(!safe_fall)
pred.Weaken(8)
pred.visible_message("<span class='danger'>\The [pred] falls right onto \the [prey]!</span>")
else if(prey.can_be_drop_pred && pred.can_be_drop_prey && pred.drop_vore && prey.drop_vore)
else if(prey.vore_selected && prey.can_be_drop_pred && pred.can_be_drop_prey && pred.drop_vore && prey.drop_vore)
prey.feed_grabbed_to_self_falling_nom(prey,pred)
pred.Weaken(4)
pred.visible_message("<span class='danger'>\The [pred] falls right into \the [prey]!</span>")
prey.Weaken(4)
prey.visible_message("<span class='danger'>\The [pred] falls right into \the [prey]!</span>")
else
pred.loc = prey.loc
if(!safe_fall)