// Test behavior trees and life arcs life_arc Childhood { state infant { on ready -> toddler } state toddler { on ready -> child } state child { on ready -> teen } } behavior SimpleBehavior { walk_around } behavior SequenceBehavior { > { check_energy move_to_location perform_action } } behavior SelectorBehavior { ? { try_option_a try_option_b fallback } } behavior NestedBehavior { > { ? { check_condition_a check_condition_b } perform_action } } behavior WithSubtree { > { @helpers::check_preconditions main_action } }