import "C:\projects\forester\tree\tests\plain_project\nested\impls.tree" import "nested.tree/impls.tree" { grasp => grasp_ball, } root place_ball_to_target fallback { place_to( what = {"x":1 }, operation = place([10]), ) retry(5) ask_for_help() } sequence place_to(what:object, operation:tree){ fallback { is_approachable(what) do_job(approach(what)) } fallback { is_graspable(what) do_job(grasp_ball(what)) } sequence { savepoint() operation(..) } } sequence place(where:array){ is_valid_place(where) do_job(slowly_drop({"cord":1})) } sequence do_job(action:tree){ savepoint() action(..) savepoint() }