{"action":"opened","number":1082,"pull_request":{"url":"https://api.github.com/repos/KSP-KOS/KOS/pulls/1082","id":38942128,"html_url":"https://github.com/KSP-KOS/KOS/pull/1082","diff_url":"https://github.com/KSP-KOS/KOS/pull/1082.diff","patch_url":"https://github.com/KSP-KOS/KOS/pull/1082.patch","issue_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/1082","number":1082,"state":"open","locked":false,"title":"Fix stage:liquidfuel","user":{"login":"hvacengi","id":2975036,"avatar_url":"https://avatars.githubusercontent.com/u/2975036?v=3","gravatar_id":"","url":"https://api.github.com/users/hvacengi","html_url":"https://github.com/hvacengi","followers_url":"https://api.github.com/users/hvacengi/followers","following_url":"https://api.github.com/users/hvacengi/following{/other_user}","gists_url":"https://api.github.com/users/hvacengi/gists{/gist_id}","starred_url":"https://api.github.com/users/hvacengi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvacengi/subscriptions","organizations_url":"https://api.github.com/users/hvacengi/orgs","repos_url":"https://api.github.com/users/hvacengi/repos","events_url":"https://api.github.com/users/hvacengi/events{/privacy}","received_events_url":"https://api.github.com/users/hvacengi/received_events","type":"User","site_admin":false},"body":"Fixes #513\r\nStageValue.cs\r\n* Re-write the resource getter code to return liquid fuel and oxidizer\r\n(and any other STACK_PRIORITY_SEARCH resource) based on the active\r\nengines.\r\n* This will return the total amount available to all currently active\r\nengines.  It will not return zero when an asparagus stage is depleted.\r\nIt will also count any fuel available to an engine that was manually\r\nactivated rather than staged.\r\n* All other resources are returned according to what the root part is\r\nable to access (in my testing this aligns with the value shown in the\r\nresource panel).","created_at":"2015-07-01T02:00:28Z","updated_at":"2015-07-01T02:00:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/KSP-KOS/KOS/pulls/1082/commits","review_comments_url":"https://api.github.com/repos/KSP-KOS/KOS/pulls/1082/comments","review_comment_url":"https://api.github.com/repos/KSP-KOS/KOS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/1082/comments","statuses_url":"https://api.github.com/repos/KSP-KOS/KOS/statuses/9020506f7d314f91f6b03fb3cb8c44fd9bfe05a7","head":{"label":"hvacengi:fix-513-stage-liquidfuel","ref":"fix-513-stage-liquidfuel","sha":"9020506f7d314f91f6b03fb3cb8c44fd9bfe05a7","user":{"login":"hvacengi","id":2975036,"avatar_url":"https://avatars.githubusercontent.com/u/2975036?v=3","gravatar_id":"","url":"https://api.github.com/users/hvacengi","html_url":"https://github.com/hvacengi","followers_url":"https://api.github.com/users/hvacengi/followers","following_url":"https://api.github.com/users/hvacengi/following{/other_user}","gists_url":"https://api.github.com/users/hvacengi/gists{/gist_id}","starred_url":"https://api.github.com/users/hvacengi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvacengi/subscriptions","organizations_url":"https://api.github.com/users/hvacengi/orgs","repos_url":"https://api.github.com/users/hvacengi/repos","events_url":"https://api.github.com/users/hvacengi/events{/privacy}","received_events_url":"https://api.github.com/users/hvacengi/received_events","type":"User","site_admin":false},"repo":{"id":26549053,"name":"KOS","full_name":"hvacengi/KOS","owner":{"login":"hvacengi","id":2975036,"avatar_url":"https://avatars.githubusercontent.com/u/2975036?v=3","gravatar_id":"","url":"https://api.github.com/users/hvacengi","html_url":"https://github.com/hvacengi","followers_url":"https://api.github.com/users/hvacengi/followers","following_url":"https://api.github.com/users/hvacengi/following{/other_user}","gists_url":"https://api.github.com/users/hvacengi/gists{/gist_id}","starred_url":"https://api.github.com/users/hvacengi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hvacengi/subscriptions","organizations_url":"https://api.github.com/users/hvacengi/orgs","repos_url":"https://api.github.com/users/hvacengi/repos","events_url":"https://api.github.com/users/hvacengi/events{/privacy}","received_events_url":"https://api.github.com/users/hvacengi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hvacengi/KOS","description":"Fully programmable autopilot mod for KSP. Originally By Nivekk","fork":true,"url":"https://api.github.com/repos/hvacengi/KOS","forks_url":"https://api.github.com/repos/hvacengi/KOS/forks","keys_url":"https://api.github.com/repos/hvacengi/KOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hvacengi/KOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hvacengi/KOS/teams","hooks_url":"https://api.github.com/repos/hvacengi/KOS/hooks","issue_events_url":"https://api.github.com/repos/hvacengi/KOS/issues/events{/number}","events_url":"https://api.github.com/repos/hvacengi/KOS/events","assignees_url":"https://api.github.com/repos/hvacengi/KOS/assignees{/user}","branches_url":"https://api.github.com/repos/hvacengi/KOS/branches{/branch}","tags_url":"https://api.github.com/repos/hvacengi/KOS/tags","blobs_url":"https://api.github.com/repos/hvacengi/KOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hvacengi/KOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hvacengi/KOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/hvacengi/KOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hvacengi/KOS/statuses/{sha}","languages_url":"https://api.github.com/repos/hvacengi/KOS/languages","stargazers_url":"https://api.github.com/repos/hvacengi/KOS/stargazers","contributors_url":"https://api.github.com/repos/hvacengi/KOS/contributors","subscribers_url":"https://api.github.com/repos/hvacengi/KOS/subscribers","subscription_url":"https://api.github.com/repos/hvacengi/KOS/subscription","commits_url":"https://api.github.com/repos/hvacengi/KOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/hvacengi/KOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/hvacengi/KOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/hvacengi/KOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/hvacengi/KOS/contents/{+path}","compare_url":"https://api.github.com/repos/hvacengi/KOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hvacengi/KOS/merges","archive_url":"https://api.github.com/repos/hvacengi/KOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hvacengi/KOS/downloads","issues_url":"https://api.github.com/repos/hvacengi/KOS/issues{/number}","pulls_url":"https://api.github.com/repos/hvacengi/KOS/pulls{/number}","milestones_url":"https://api.github.com/repos/hvacengi/KOS/milestones{/number}","notifications_url":"https://api.github.com/repos/hvacengi/KOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hvacengi/KOS/labels{/name}","releases_url":"https://api.github.com/repos/hvacengi/KOS/releases{/id}","created_at":"2014-11-12T18:06:19Z","updated_at":"2015-06-26T13:39:41Z","pushed_at":"2015-07-01T01:59:33Z","git_url":"git://github.com/hvacengi/KOS.git","ssh_url":"git@github.com:hvacengi/KOS.git","clone_url":"https://github.com/hvacengi/KOS.git","svn_url":"https://github.com/hvacengi/KOS","homepage":null,"size":35146,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"KSP-KOS:develop","ref":"develop","sha":"4652d849cd20a084352338a462fad96fa78101f3","user":{"login":"KSP-KOS","id":6767371,"avatar_url":"https://avatars.githubusercontent.com/u/6767371?v=3","gravatar_id":"","url":"https://api.github.com/users/KSP-KOS","html_url":"https://github.com/KSP-KOS","followers_url":"https://api.github.com/users/KSP-KOS/followers","following_url":"https://api.github.com/users/KSP-KOS/following{/other_user}","gists_url":"https://api.github.com/users/KSP-KOS/gists{/gist_id}","starred_url":"https://api.github.com/users/KSP-KOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KSP-KOS/subscriptions","organizations_url":"https://api.github.com/users/KSP-KOS/orgs","repos_url":"https://api.github.com/users/KSP-KOS/repos","events_url":"https://api.github.com/users/KSP-KOS/events{/privacy}","received_events_url":"https://api.github.com/users/KSP-KOS/received_events","type":"Organization","site_admin":false},"repo":{"id":17217530,"name":"KOS","full_name":"KSP-KOS/KOS","owner":{"login":"KSP-KOS","id":6767371,"avatar_url":"https://avatars.githubusercontent.com/u/6767371?v=3","gravatar_id":"","url":"https://api.github.com/users/KSP-KOS","html_url":"https://github.com/KSP-KOS","followers_url":"https://api.github.com/users/KSP-KOS/followers","following_url":"https://api.github.com/users/KSP-KOS/following{/other_user}","gists_url":"https://api.github.com/users/KSP-KOS/gists{/gist_id}","starred_url":"https://api.github.com/users/KSP-KOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KSP-KOS/subscriptions","organizations_url":"https://api.github.com/users/KSP-KOS/orgs","repos_url":"https://api.github.com/users/KSP-KOS/repos","events_url":"https://api.github.com/users/KSP-KOS/events{/privacy}","received_events_url":"https://api.github.com/users/KSP-KOS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KSP-KOS/KOS","description":"Fully programmable autopilot mod for KSP. Originally By Nivekk","fork":false,"url":"https://api.github.com/repos/KSP-KOS/KOS","forks_url":"https://api.github.com/repos/KSP-KOS/KOS/forks","keys_url":"https://api.github.com/repos/KSP-KOS/KOS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KSP-KOS/KOS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KSP-KOS/KOS/teams","hooks_url":"https://api.github.com/repos/KSP-KOS/KOS/hooks","issue_events_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/events{/number}","events_url":"https://api.github.com/repos/KSP-KOS/KOS/events","assignees_url":"https://api.github.com/repos/KSP-KOS/KOS/assignees{/user}","branches_url":"https://api.github.com/repos/KSP-KOS/KOS/branches{/branch}","tags_url":"https://api.github.com/repos/KSP-KOS/KOS/tags","blobs_url":"https://api.github.com/repos/KSP-KOS/KOS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KSP-KOS/KOS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KSP-KOS/KOS/git/refs{/sha}","trees_url":"https://api.github.com/repos/KSP-KOS/KOS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KSP-KOS/KOS/statuses/{sha}","languages_url":"https://api.github.com/repos/KSP-KOS/KOS/languages","stargazers_url":"https://api.github.com/repos/KSP-KOS/KOS/stargazers","contributors_url":"https://api.github.com/repos/KSP-KOS/KOS/contributors","subscribers_url":"https://api.github.com/repos/KSP-KOS/KOS/subscribers","subscription_url":"https://api.github.com/repos/KSP-KOS/KOS/subscription","commits_url":"https://api.github.com/repos/KSP-KOS/KOS/commits{/sha}","git_commits_url":"https://api.github.com/repos/KSP-KOS/KOS/git/commits{/sha}","comments_url":"https://api.github.com/repos/KSP-KOS/KOS/comments{/number}","issue_comment_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/comments{/number}","contents_url":"https://api.github.com/repos/KSP-KOS/KOS/contents/{+path}","compare_url":"https://api.github.com/repos/KSP-KOS/KOS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KSP-KOS/KOS/merges","archive_url":"https://api.github.com/repos/KSP-KOS/KOS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KSP-KOS/KOS/downloads","issues_url":"https://api.github.com/repos/KSP-KOS/KOS/issues{/number}","pulls_url":"https://api.github.com/repos/KSP-KOS/KOS/pulls{/number}","milestones_url":"https://api.github.com/repos/KSP-KOS/KOS/milestones{/number}","notifications_url":"https://api.github.com/repos/KSP-KOS/KOS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KSP-KOS/KOS/labels{/name}","releases_url":"https://api.github.com/repos/KSP-KOS/KOS/releases{/id}","created_at":"2014-02-26T16:43:31Z","updated_at":"2015-06-24T11:55:22Z","pushed_at":"2015-07-01T02:00:28Z","git_url":"git://github.com/KSP-KOS/KOS.git","ssh_url":"git@github.com:KSP-KOS/KOS.git","clone_url":"https://github.com/KSP-KOS/KOS.git","svn_url":"https://github.com/KSP-KOS/KOS","homepage":null,"size":41951,"stargazers_count":129,"watchers_count":129,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":67,"mirror_url":null,"open_issues_count":208,"forks":67,"open_issues":208,"watchers":129,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/KSP-KOS/KOS/pulls/1082"},"html":{"href":"https://github.com/KSP-KOS/KOS/pull/1082"},"issue":{"href":"https://api.github.com/repos/KSP-KOS/KOS/issues/1082"},"comments":{"href":"https://api.github.com/repos/KSP-KOS/KOS/issues/1082/comments"},"review_comments":{"href":"https://api.github.com/repos/KSP-KOS/KOS/pulls/1082/comments"},"review_comment":{"href":"https://api.github.com/repos/KSP-KOS/KOS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KSP-KOS/KOS/pulls/1082/commits"},"statuses":{"href":"https://api.github.com/repos/KSP-KOS/KOS/statuses/9020506f7d314f91f6b03fb3cb8c44fd9bfe05a7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":31,"deletions":7,"changed_files":1}}