mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
expand simple_animals/hostile/aistatus into a simple_animals-wide system for putting mobs into idling mode (#31778)
* Initial commit * Time is a circus * Send in the clowns * i broke something * Revert "i broke something" This reverts commit 5a29c40d131b39effe9ebcb6c8c1883693baf07f. * I think it works? * cleanup * define reminders * Fixes tendrils and such * sentience_act now moves the mob to AI_OFF state
This commit is contained in:
committed by
AnturK
parent
30dd0093a2
commit
a927f2a64c
@@ -119,7 +119,7 @@
|
||||
L.anchored = TRUE
|
||||
if(ishostile(L))
|
||||
var/mob/living/simple_animal/hostile/H = L
|
||||
H.AIStatus = AI_OFF
|
||||
H.toggle_ai(AI_OFF)
|
||||
H.LoseTarget()
|
||||
|
||||
/datum/proximity_monitor/advanced/timestop/proc/unfreeze_mob(mob/living/L)
|
||||
@@ -128,4 +128,4 @@
|
||||
frozen_mobs -= L
|
||||
if(ishostile(L))
|
||||
var/mob/living/simple_animal/hostile/H = L
|
||||
H.AIStatus = initial(H.AIStatus)
|
||||
H.toggle_ai(initial(H.AIStatus))
|
||||
|
||||
Reference in New Issue
Block a user