Files
Aurora.3/code/controllers/subsystems/mob_fast_ai.dm
Fluffy b3a4aa501f Life changes (#19560)
Refactored Life() to receive seconds per tick and times fired as
parameters.
Life() now cannot be slept in, turned various sleepings into async calls
procs.
Optimized mob AI subsystems, gave them new priorities levels and flags.
Grab upgrades are now elaborated asynchronously, tweaked them to avoid
stacking multiple upgrades.
Fixed plains tyrants keeping sending messages about stomping even if
dead.
2024-07-08 12:48:18 +00:00

11 lines
449 B
Plaintext

/**
* This is the fast AI subsystem, used for mobs that are doing something visible and thus have priority over other mobs processing
*
* You should promote mobs to fast thinking if eg. they are fighting players or similar, and de-promote them once they resume their normal routine
*/
MOB_AI_SUBSYSTEM_DEF(mob_fast_ai)
name = "Mobs - Fast AI"
flags = SS_KEEP_TIMING | SS_BACKGROUND | SS_NO_INIT
priority = FIRE_PRIORITY_NPC_ACTIONS
wait = 5