{ "value": "root", "node":"condition", "children": [ { "value":"noFoundPlayer", "node":"random", "children":[ { "value": 0.1, "action": "freeIdle" }, { "value": 0.2, "action": "freeMove" }, { "value": 0.7, "action": "freeJump" }, { "value": 1, "action": "freeCrossRoad" } ] }, { "value":"foundPlayer", "node": "random", "children": [ { "value": 0.1, "action": "foundIdle" }, { "value": 0.2, "action": "foundMove" }, { "value": 0.7, "action": "foundJump" }, { "value": 0.7, "action": "foundCrossRoad" } ] }, { "value":"nearPlayer", "node": "random", "children": [ { "value": 0.2, "action": "forcepreparejump" }, { "value": 0.7, "action": "carefullmove" } ] }, { "value":"canEatPlayer", "node":"sequence", "children":[ { "action": "goCrossPoint" }, { "action": "eatCrossRead" } ] }, { "value":"fleePlayer", "node": "random", "children": [ { "value": 0.1, "action": "angryIdle" }, { "value": 0.2, "action": "angryMove" }, { "value": 0.9, "action": "angryJump" }, { "value": 1, "action": "angryCross" } ] }, { "value":"feedPlayer", "node":"random", "children":[ { "value": 0.1, "action": "feedIdle" }, { "value": 0.2, "action": "feedMove" }, { "value": 0.9, "action": "feedJump" }, { "value": 1, "action": "feedCross" } ] } ] }