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
CitadelStationBot
parent
98a583b249
commit
360d883879
@@ -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