Files
Bubberstation/code/controllers/subsystem/processing/ai_idle_behaviors.dm
T
BloopandShadow-Quill 29e2f867b8 Adds some trailing commas to lists (#90501)
## About The Pull Request

I heard you liked commas.

## Why It's Good For The Game

Trailing commas make everyone happy!

## Changelog

Nothing anyone will notice besides downstreams adding to these lists
2025-04-29 17:52:31 -06:00

20 lines
656 B
Plaintext

PROCESSING_SUBSYSTEM_DEF(idle_ai_behaviors)
name = "AI Idle Behaviors"
flags = SS_BACKGROUND
wait = 1.5 SECONDS
priority = FIRE_PRIORITY_IDLE_NPC
dependencies = list(
/datum/controller/subsystem/ai_controllers,
)
///List of all the idle ai behaviors
var/list/idle_behaviors = list()
/datum/controller/subsystem/processing/idle_ai_behaviors/Initialize()
setup_idle_behaviors()
return SS_INIT_SUCCESS
/datum/controller/subsystem/processing/idle_ai_behaviors/proc/setup_idle_behaviors()
for(var/behavior_type in subtypesof(/datum/idle_behavior))
var/datum/idle_behavior/behavior = new behavior_type
idle_behaviors[behavior_type] = behavior