Merge pull request #4815 from Novacat/nova-aifixes

Fixes Newspapers
This commit is contained in:
Novacat
2019-03-28 21:29:07 -04:00
committed by GitHub
2 changed files with 18 additions and 21 deletions
@@ -227,21 +227,18 @@
if(tmob.canmove && prob(vore_pounce_chance)) //if they'd pounce for other noms, pounce for these too, otherwise still try and eat them if they hold still
tmob.Weaken(5)
tmob.visible_message("<span class='danger'>\the [src] [vore_bump_emote] \the [tmob]!</span>!")
//stop_automated_movement = 1 //VORESTATION AI TEMPORARY REMOVAL
set_AI_busy(TRUE)
animal_nom(tmob)
update_icon()
//stop_automated_movement = 0 //VORESTATION AI TEMPORARY REMOVAL
set_AI_busy(FALSE)
..()
/* //Was replaced with suitable_turf_type, but that can be done later. //VORESTATION AI TEMPORARY REMOVAL
// Checks to see if mob doesn't like this kind of turf
/mob/living/simple_mob/avoid_turf(var/turf/turf)
//So we only check if the parent didn't find anything terrible
if((. = ..(turf)))
return .
if(istype(turf,/turf/unsimulated/floor/sky))
return TRUE //Mobs aren't that stupid, probably
*/
// Checks to see if mob doesn't like this kind of turf
/mob/living/simple_mob/IMove(newloc)
if(istype(newloc,/turf/unsimulated/floor/sky))
return MOVEMENT_FAILED //Mobs aren't that stupid, probably
return ..() // Procede as normal.
//Grab = Nomf
/mob/living/simple_mob/UnarmedAttack(var/atom/A, var/proximity)
. = ..()