From bbc2122367d24b88356ed57247bd15ce1a31c8f2 Mon Sep 17 00:00:00 2001 From: Razgriz Date: Mon, 7 Oct 2019 04:36:57 -0700 Subject: [PATCH] isEdible tweak Animals can now eat dead animals who were previously inedible --- code/modules/mob/living/simple_animal/simple_animal_vr.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/living/simple_animal/simple_animal_vr.dm b/code/modules/mob/living/simple_animal/simple_animal_vr.dm index 6012a8dffc..e8fc5d57e4 100644 --- a/code/modules/mob/living/simple_animal/simple_animal_vr.dm +++ b/code/modules/mob/living/simple_animal/simple_animal_vr.dm @@ -87,7 +87,7 @@ if(vore_capacity != 0 && (vore_fullness >= vore_capacity)) // We're too full to fit them ai_log("vr/wont eat [M] because I am too full", 3) return 0 - if(!M.isEdible)//Don't eat mobs that can't be eaten. + if(!M.isEdible && M.stat != DEAD)//Don't eat mobs that can't be eaten. ai_log("vr/wont eat [M] because they aren't edible", 3) return 0 return 1