mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 13:39:16 +01:00
Fimx (#18968)
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
return FALSE
|
||||
if(!prey.can_be_afk_prey && (!prey.client || prey.away_from_keyboard))
|
||||
return FALSE
|
||||
if(!prey.allowmobvore && isanimal(pred) && !pred.ckey || (!pred.allowmobvore && isanimal(prey) && !prey.ckey))
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/// Basic spont vore check.
|
||||
@@ -77,10 +79,3 @@
|
||||
if(world.time <= prey.slip_protect)
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/proc/can_animal_vore(mob/living/pred, mob/living/prey)
|
||||
if(!can_vore(pred, prey))
|
||||
return FALSE
|
||||
if(!prey.allowmobvore && isanimal(pred) && !pred.ckey || (!pred.allowmobvore && isanimal(prey) && !prey.ckey))
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
@@ -101,9 +101,6 @@
|
||||
if(!can_food_vore(eater, micro))
|
||||
continue
|
||||
|
||||
if(!can_animal_vore(eater, micro)) //If the one doing the eating is a simple mob controlled by AI, check mob vore prefs
|
||||
continue
|
||||
|
||||
var/do_nom = FALSE
|
||||
|
||||
if(!reagents.total_volume)
|
||||
|
||||
Reference in New Issue
Block a user