{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/tanema/behaviourtree.lua/pulls/5","id":59121602,"html_url":"https://github.com/tanema/behaviourtree.lua/pull/5","diff_url":"https://github.com/tanema/behaviourtree.lua/pull/5.diff","patch_url":"https://github.com/tanema/behaviourtree.lua/pull/5.patch","issue_url":"https://api.github.com/repos/tanema/behaviourtree.lua/issues/5","number":5,"state":"open","locked":false,"title":"Enhance: Add ActivePriority branch node type","user":{"login":"odavison","id":4430154,"avatar_url":"https://avatars.githubusercontent.com/u/4430154?v=3","gravatar_id":"","url":"https://api.github.com/users/odavison","html_url":"https://github.com/odavison","followers_url":"https://api.github.com/users/odavison/followers","following_url":"https://api.github.com/users/odavison/following{/other_user}","gists_url":"https://api.github.com/users/odavison/gists{/gist_id}","starred_url":"https://api.github.com/users/odavison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odavison/subscriptions","organizations_url":"https://api.github.com/users/odavison/orgs","repos_url":"https://api.github.com/users/odavison/repos","events_url":"https://api.github.com/users/odavison/events{/privacy}","received_events_url":"https://api.github.com/users/odavison/received_events","type":"User","site_admin":false},"body":"An active priority node acts like a priority node, except that it\r\nALWAYS runs its children from left to right, even when one of its\r\nchildren previously called 'running()'. This allows it to react\r\nto changes in the environment that make one of its higher-priority\r\nchildren a better choice than the currently-running, lower-priority\r\nchild. When a higher-priority behaviour takes precedence, the\r\ncurrent implementation calls finish() on the previously-running\r\nchild to inform it that it has been preempted.","created_at":"2016-02-12T01:23:37Z","updated_at":"2016-02-12T01:23:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tanema/behaviourtree.lua/pulls/5/commits","review_comments_url":"https://api.github.com/repos/tanema/behaviourtree.lua/pulls/5/comments","review_comment_url":"https://api.github.com/repos/tanema/behaviourtree.lua/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tanema/behaviourtree.lua/issues/5/comments","statuses_url":"https://api.github.com/repos/tanema/behaviourtree.lua/statuses/ccb8c35af91784425fdf8e2f6f7cb2cfa8133445","head":{"label":"odavison:add-activepriority","ref":"add-activepriority","sha":"ccb8c35af91784425fdf8e2f6f7cb2cfa8133445","user":{"login":"odavison","id":4430154,"avatar_url":"https://avatars.githubusercontent.com/u/4430154?v=3","gravatar_id":"","url":"https://api.github.com/users/odavison","html_url":"https://github.com/odavison","followers_url":"https://api.github.com/users/odavison/followers","following_url":"https://api.github.com/users/odavison/following{/other_user}","gists_url":"https://api.github.com/users/odavison/gists{/gist_id}","starred_url":"https://api.github.com/users/odavison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odavison/subscriptions","organizations_url":"https://api.github.com/users/odavison/orgs","repos_url":"https://api.github.com/users/odavison/repos","events_url":"https://api.github.com/users/odavison/events{/privacy}","received_events_url":"https://api.github.com/users/odavison/received_events","type":"User","site_admin":false},"repo":{"id":51407420,"name":"behaviourtree.lua","full_name":"odavison/behaviourtree.lua","owner":{"login":"odavison","id":4430154,"avatar_url":"https://avatars.githubusercontent.com/u/4430154?v=3","gravatar_id":"","url":"https://api.github.com/users/odavison","html_url":"https://github.com/odavison","followers_url":"https://api.github.com/users/odavison/followers","following_url":"https://api.github.com/users/odavison/following{/other_user}","gists_url":"https://api.github.com/users/odavison/gists{/gist_id}","starred_url":"https://api.github.com/users/odavison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odavison/subscriptions","organizations_url":"https://api.github.com/users/odavison/orgs","repos_url":"https://api.github.com/users/odavison/repos","events_url":"https://api.github.com/users/odavison/events{/privacy}","received_events_url":"https://api.github.com/users/odavison/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/odavison/behaviourtree.lua","description":"a simple behaviour tree library for lua ported from javascript","fork":true,"url":"https://api.github.com/repos/odavison/behaviourtree.lua","forks_url":"https://api.github.com/repos/odavison/behaviourtree.lua/forks","keys_url":"https://api.github.com/repos/odavison/behaviourtree.lua/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odavison/behaviourtree.lua/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odavison/behaviourtree.lua/teams","hooks_url":"https://api.github.com/repos/odavison/behaviourtree.lua/hooks","issue_events_url":"https://api.github.com/repos/odavison/behaviourtree.lua/issues/events{/number}","events_url":"https://api.github.com/repos/odavison/behaviourtree.lua/events","assignees_url":"https://api.github.com/repos/odavison/behaviourtree.lua/assignees{/user}","branches_url":"https://api.github.com/repos/odavison/behaviourtree.lua/branches{/branch}","tags_url":"https://api.github.com/repos/odavison/behaviourtree.lua/tags","blobs_url":"https://api.github.com/repos/odavison/behaviourtree.lua/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odavison/behaviourtree.lua/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odavison/behaviourtree.lua/git/refs{/sha}","trees_url":"https://api.github.com/repos/odavison/behaviourtree.lua/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odavison/behaviourtree.lua/statuses/{sha}","languages_url":"https://api.github.com/repos/odavison/behaviourtree.lua/languages","stargazers_url":"https://api.github.com/repos/odavison/behaviourtree.lua/stargazers","contributors_url":"https://api.github.com/repos/odavison/behaviourtree.lua/contributors","subscribers_url":"https://api.github.com/repos/odavison/behaviourtree.lua/subscribers","subscription_url":"https://api.github.com/repos/odavison/behaviourtree.lua/subscription","commits_url":"https://api.github.com/repos/odavison/behaviourtree.lua/commits{/sha}","git_commits_url":"https://api.github.com/repos/odavison/behaviourtree.lua/git/commits{/sha}","comments_url":"https://api.github.com/repos/odavison/behaviourtree.lua/comments{/number}","issue_comment_url":"https://api.github.com/repos/odavison/behaviourtree.lua/issues/comments{/number}","contents_url":"https://api.github.com/repos/odavison/behaviourtree.lua/contents/{+path}","compare_url":"https://api.github.com/repos/odavison/behaviourtree.lua/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odavison/behaviourtree.lua/merges","archive_url":"https://api.github.com/repos/odavison/behaviourtree.lua/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odavison/behaviourtree.lua/downloads","issues_url":"https://api.github.com/repos/odavison/behaviourtree.lua/issues{/number}","pulls_url":"https://api.github.com/repos/odavison/behaviourtree.lua/pulls{/number}","milestones_url":"https://api.github.com/repos/odavison/behaviourtree.lua/milestones{/number}","notifications_url":"https://api.github.com/repos/odavison/behaviourtree.lua/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odavison/behaviourtree.lua/labels{/name}","releases_url":"https://api.github.com/repos/odavison/behaviourtree.lua/releases{/id}","deployments_url":"https://api.github.com/repos/odavison/behaviourtree.lua/deployments","created_at":"2016-02-09T23:06:59Z","updated_at":"2016-02-09T23:07:00Z","pushed_at":"2016-02-12T01:21:23Z","git_url":"git://github.com/odavison/behaviourtree.lua.git","ssh_url":"git@github.com:odavison/behaviourtree.lua.git","clone_url":"https://github.com/odavison/behaviourtree.lua.git","svn_url":"https://github.com/odavison/behaviourtree.lua","homepage":null,"size":78,"stargazers_count":0,"watchers_count":0,"language":"Lua","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tanema:master","ref":"master","sha":"d5f7f003a5b98e1640144fb0319831089a4b7bbf","user":{"login":"tanema","id":463193,"avatar_url":"https://avatars.githubusercontent.com/u/463193?v=3","gravatar_id":"","url":"https://api.github.com/users/tanema","html_url":"https://github.com/tanema","followers_url":"https://api.github.com/users/tanema/followers","following_url":"https://api.github.com/users/tanema/following{/other_user}","gists_url":"https://api.github.com/users/tanema/gists{/gist_id}","starred_url":"https://api.github.com/users/tanema/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanema/subscriptions","organizations_url":"https://api.github.com/users/tanema/orgs","repos_url":"https://api.github.com/users/tanema/repos","events_url":"https://api.github.com/users/tanema/events{/privacy}","received_events_url":"https://api.github.com/users/tanema/received_events","type":"User","site_admin":false},"repo":{"id":24208326,"name":"behaviourtree.lua","full_name":"tanema/behaviourtree.lua","owner":{"login":"tanema","id":463193,"avatar_url":"https://avatars.githubusercontent.com/u/463193?v=3","gravatar_id":"","url":"https://api.github.com/users/tanema","html_url":"https://github.com/tanema","followers_url":"https://api.github.com/users/tanema/followers","following_url":"https://api.github.com/users/tanema/following{/other_user}","gists_url":"https://api.github.com/users/tanema/gists{/gist_id}","starred_url":"https://api.github.com/users/tanema/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanema/subscriptions","organizations_url":"https://api.github.com/users/tanema/orgs","repos_url":"https://api.github.com/users/tanema/repos","events_url":"https://api.github.com/users/tanema/events{/privacy}","received_events_url":"https://api.github.com/users/tanema/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tanema/behaviourtree.lua","description":"a simple behaviour tree library for lua ported from javascript","fork":false,"url":"https://api.github.com/repos/tanema/behaviourtree.lua","forks_url":"https://api.github.com/repos/tanema/behaviourtree.lua/forks","keys_url":"https://api.github.com/repos/tanema/behaviourtree.lua/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tanema/behaviourtree.lua/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tanema/behaviourtree.lua/teams","hooks_url":"https://api.github.com/repos/tanema/behaviourtree.lua/hooks","issue_events_url":"https://api.github.com/repos/tanema/behaviourtree.lua/issues/events{/number}","events_url":"https://api.github.com/repos/tanema/behaviourtree.lua/events","assignees_url":"https://api.github.com/repos/tanema/behaviourtree.lua/assignees{/user}","branches_url":"https://api.github.com/repos/tanema/behaviourtree.lua/branches{/branch}","tags_url":"https://api.github.com/repos/tanema/behaviourtree.lua/tags","blobs_url":"https://api.github.com/repos/tanema/behaviourtree.lua/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tanema/behaviourtree.lua/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tanema/behaviourtree.lua/git/refs{/sha}","trees_url":"https://api.github.com/repos/tanema/behaviourtree.lua/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tanema/behaviourtree.lua/statuses/{sha}","languages_url":"https://api.github.com/repos/tanema/behaviourtree.lua/languages","stargazers_url":"https://api.github.com/repos/tanema/behaviourtree.lua/stargazers","contributors_url":"https://api.github.com/repos/tanema/behaviourtree.lua/contributors","subscribers_url":"https://api.github.com/repos/tanema/behaviourtree.lua/subscribers","subscription_url":"https://api.github.com/repos/tanema/behaviourtree.lua/subscription","commits_url":"https://api.github.com/repos/tanema/behaviourtree.lua/commits{/sha}","git_commits_url":"https://api.github.com/repos/tanema/behaviourtree.lua/git/commits{/sha}","comments_url":"https://api.github.com/repos/tanema/behaviourtree.lua/comments{/number}","issue_comment_url":"https://api.github.com/repos/tanema/behaviourtree.lua/issues/comments{/number}","contents_url":"https://api.github.com/repos/tanema/behaviourtree.lua/contents/{+path}","compare_url":"https://api.github.com/repos/tanema/behaviourtree.lua/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tanema/behaviourtree.lua/merges","archive_url":"https://api.github.com/repos/tanema/behaviourtree.lua/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tanema/behaviourtree.lua/downloads","issues_url":"https://api.github.com/repos/tanema/behaviourtree.lua/issues{/number}","pulls_url":"https://api.github.com/repos/tanema/behaviourtree.lua/pulls{/number}","milestones_url":"https://api.github.com/repos/tanema/behaviourtree.lua/milestones{/number}","notifications_url":"https://api.github.com/repos/tanema/behaviourtree.lua/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tanema/behaviourtree.lua/labels{/name}","releases_url":"https://api.github.com/repos/tanema/behaviourtree.lua/releases{/id}","deployments_url":"https://api.github.com/repos/tanema/behaviourtree.lua/deployments","created_at":"2014-09-18T23:12:54Z","updated_at":"2016-01-12T14:27:27Z","pushed_at":"2016-02-12T01:23:37Z","git_url":"git://github.com/tanema/behaviourtree.lua.git","ssh_url":"git@github.com:tanema/behaviourtree.lua.git","clone_url":"https://github.com/tanema/behaviourtree.lua.git","svn_url":"https://github.com/tanema/behaviourtree.lua","homepage":null,"size":97,"stargazers_count":20,"watchers_count":20,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tanema/behaviourtree.lua/pulls/5"},"html":{"href":"https://github.com/tanema/behaviourtree.lua/pull/5"},"issue":{"href":"https://api.github.com/repos/tanema/behaviourtree.lua/issues/5"},"comments":{"href":"https://api.github.com/repos/tanema/behaviourtree.lua/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/tanema/behaviourtree.lua/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/tanema/behaviourtree.lua/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tanema/behaviourtree.lua/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/tanema/behaviourtree.lua/statuses/ccb8c35af91784425fdf8e2f6f7cb2cfa8133445"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":193,"deletions":0,"changed_files":3}}