{"action":"created","issue":{"url":"https://api.github.com/repos/OpenRA/OpenRA/issues/10176","labels_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/10176/labels{/name}","comments_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/10176/comments","events_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/10176/events","html_url":"https://github.com/OpenRA/OpenRA/pull/10176","id":120331653,"number":10176,"title":"If PipCount < 0, then use max / -PipCount","user":{"login":"atlimit8","id":4957137,"avatar_url":"https://avatars.githubusercontent.com/u/4957137?v=3","gravatar_id":"","url":"https://api.github.com/users/atlimit8","html_url":"https://github.com/atlimit8","followers_url":"https://api.github.com/users/atlimit8/followers","following_url":"https://api.github.com/users/atlimit8/following{/other_user}","gists_url":"https://api.github.com/users/atlimit8/gists{/gist_id}","starred_url":"https://api.github.com/users/atlimit8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atlimit8/subscriptions","organizations_url":"https://api.github.com/users/atlimit8/orgs","repos_url":"https://api.github.com/users/atlimit8/repos","events_url":"https://api.github.com/users/atlimit8/events{/privacy}","received_events_url":"https://api.github.com/users/atlimit8/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-04T04:41:18Z","updated_at":"2015-12-05T00:02:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenRA/OpenRA/pulls/10176","html_url":"https://github.com/OpenRA/OpenRA/pull/10176","diff_url":"https://github.com/OpenRA/OpenRA/pull/10176.diff","patch_url":"https://github.com/OpenRA/OpenRA/pull/10176.patch"},"body":"Applies to:\r\n * `AmmoPool` : `Ammo / -PipCount`\r\n * `Cargo` : `MaxWeight / -PipCount`\r\n * `Harvester` : `Capacity / -PipCount`\r\n * `StoresResources` : `Capacity / -PipCount`\r\n"},"comment":{"url":"https://api.github.com/repos/OpenRA/OpenRA/issues/comments/162113927","html_url":"https://github.com/OpenRA/OpenRA/pull/10176#issuecomment-162113927","issue_url":"https://api.github.com/repos/OpenRA/OpenRA/issues/10176","id":162113927,"user":{"login":"atlimit8","id":4957137,"avatar_url":"https://avatars.githubusercontent.com/u/4957137?v=3","gravatar_id":"","url":"https://api.github.com/users/atlimit8","html_url":"https://github.com/atlimit8","followers_url":"https://api.github.com/users/atlimit8/followers","following_url":"https://api.github.com/users/atlimit8/following{/other_user}","gists_url":"https://api.github.com/users/atlimit8/gists{/gist_id}","starred_url":"https://api.github.com/users/atlimit8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atlimit8/subscriptions","organizations_url":"https://api.github.com/users/atlimit8/orgs","repos_url":"https://api.github.com/users/atlimit8/repos","events_url":"https://api.github.com/users/atlimit8/events{/privacy}","received_events_url":"https://api.github.com/users/atlimit8/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T00:02:35Z","updated_at":"2015-12-05T00:02:35Z","body":"I have a branch started with:\r\n```c#\r\n\tpublic struct PipType\r\n\t{\r\n\t\tpublic readonly string Sequence;\r\n\t\tpublic readonly float Fill = 0;\r\n\t}\r\n```\r\nwhere `Sequence` is the pip sequence to use and `(int)((sequence_frame_count - 1) * Fill)` is the sequence frame to allow partial fill pips."}}