bt
A small behaviour tree: `sequence`, `selector` (optionally with memory of the running child), `parallel`, `condition`, `action`, `wait`, `invert`, `succeed`, `cooldown`, `timeout`, `repeatUntilFail`. Nodes are shared definitions; what a node remembers lives on each tree instance…
aiKit.bt
A small behaviour tree: sequence, selector (optionally with memory of the running child), parallel, condition, action, wait, invert, succeed, cooldown, timeout, repeatUntilFail. Nodes are shared definitions; what a node remembers lives on each tree instance (BT.new(root)), and tree.active names the leaf that ran last, which the debug view shows. The ranged, sniper, healer, swarm, companion and boss brains are written with it; games use it through AI.bt or AI.defineBrain.
Scoped to this part · feeds back into the world's score.