Log inGet started
World

Castaway Isle: Island Survival and Crafting Kit

Branchmain
Branchesmain
Commit2a168afc93

README.md

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.