{"action":"created","issue":{"url":"https://api.github.com/repos/Civcraft/FactoryMod/issues/160","labels_url":"https://api.github.com/repos/Civcraft/FactoryMod/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/Civcraft/FactoryMod/issues/160/comments","events_url":"https://api.github.com/repos/Civcraft/FactoryMod/issues/160/events","html_url":"https://github.com/Civcraft/FactoryMod/pull/160","id":120533971,"number":160,"title":"Crate Refund. ","user":{"login":"ProgrammerDan","id":409230,"avatar_url":"https://avatars.githubusercontent.com/u/409230?v=3","gravatar_id":"","url":"https://api.github.com/users/ProgrammerDan","html_url":"https://github.com/ProgrammerDan","followers_url":"https://api.github.com/users/ProgrammerDan/followers","following_url":"https://api.github.com/users/ProgrammerDan/following{/other_user}","gists_url":"https://api.github.com/users/ProgrammerDan/gists{/gist_id}","starred_url":"https://api.github.com/users/ProgrammerDan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProgrammerDan/subscriptions","organizations_url":"https://api.github.com/users/ProgrammerDan/orgs","repos_url":"https://api.github.com/users/ProgrammerDan/repos","events_url":"https://api.github.com/users/ProgrammerDan/events{/privacy}","received_events_url":"https://api.github.com/users/ProgrammerDan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-05T06:09:37Z","updated_at":"2015-12-05T06:09:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Civcraft/FactoryMod/pulls/160","html_url":"https://github.com/Civcraft/FactoryMod/pull/160","diff_url":"https://github.com/Civcraft/FactoryMod/pull/160.diff","patch_url":"https://github.com/Civcraft/FactoryMod/pull/160.patch"},"body":"Adding chance based crate refund, defaulting to full refund on decompaction.\r\n\r\nTechnically it's just a recipe cost refund, so if crates are ever altered this will continue to work. \r\n\r\nAlso the checkIfFull test will have unreliable outcomes for values other then 0.0 and 1.0 on refund_chance, as I'm not locking the random generator... we can deal with that later if for some reason we consider values other then 100% (1.0)"},"comment":{"url":"https://api.github.com/repos/Civcraft/FactoryMod/issues/comments/162150931","html_url":"https://github.com/Civcraft/FactoryMod/pull/160#issuecomment-162150931","issue_url":"https://api.github.com/repos/Civcraft/FactoryMod/issues/160","id":162150931,"user":{"login":"CivcraftBot","id":10444249,"avatar_url":"https://avatars.githubusercontent.com/u/10444249?v=3","gravatar_id":"","url":"https://api.github.com/users/CivcraftBot","html_url":"https://github.com/CivcraftBot","followers_url":"https://api.github.com/users/CivcraftBot/followers","following_url":"https://api.github.com/users/CivcraftBot/following{/other_user}","gists_url":"https://api.github.com/users/CivcraftBot/gists{/gist_id}","starred_url":"https://api.github.com/users/CivcraftBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CivcraftBot/subscriptions","organizations_url":"https://api.github.com/users/CivcraftBot/orgs","repos_url":"https://api.github.com/users/CivcraftBot/repos","events_url":"https://api.github.com/users/CivcraftBot/events{/privacy}","received_events_url":"https://api.github.com/users/CivcraftBot/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T06:09:38Z","updated_at":"2015-12-05T06:09:38Z","body":"Can one of the admins verify this patch?  Type 'ok to test' to test."}}