mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-20 10:37:17 +01:00
* /tg/ AI controllers, part 1: core implementation. * lewc review * remove unused arg * lewc review 2 * lint fix
12 lines
603 B
Plaintext
12 lines
603 B
Plaintext
/// A subtree is attached to a controller and is occasionally called by
|
|
/// /ai_controller/select_behaviors(). This mainly exists to act as a way to
|
|
/// subtype and modify select_behaviors() without needing to subtype the AI
|
|
/// controller itself.
|
|
/datum/ai_planning_subtree
|
|
|
|
/// Determines what behaviors should the controller try processing; if this
|
|
/// returns SUBTREE_RETURN_FINISH_PLANNING then the controller won't go through
|
|
/// the other subtrees should multiple exist in the controller.
|
|
/datum/ai_planning_subtree/proc/select_behaviors(datum/ai_controller/controller, seconds_per_tick)
|
|
return
|