code/datums/components/ai.dm

AI_INSTANCE_HARDCAP | An absolute hardcap on the # of instances of /datum/component/ai_controller that can exist. Should a ai component get initialized while there's already enough instances of said thing, it will deny the initialization of the component but NOT the mob it's being attached to. This is mainly here because admins keep on spamming AI without caring for the server's ability to handle hundreds/thousands of AI. |
---|
Define Details
AI_INSTANCE_HARDCAP
An absolute hardcap on the # of instances of /datum/component/ai_controller that can exist. Should a ai component get initialized while there's already enough instances of said thing, it will deny the initialization of the component but NOT the mob it's being attached to. This is mainly here because admins keep on spamming AI without caring for the server's ability to handle hundreds/thousands of AI.