Prepared building of behaviour trees.