{"action":"created","issue":{"url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/issues/507","repository_url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers","labels_url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/issues/507/labels{/name}","comments_url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/issues/507/comments","events_url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/issues/507/events","html_url":"https://github.com/KeenSoftwareHouse/SpaceEngineers/pull/507","id":145067421,"number":507,"title":"[Feature] Incomplete / Damaged blocks are lighter than complete blocks","user":{"login":"kdavison","id":6132184,"avatar_url":"https://avatars.githubusercontent.com/u/6132184?v=3","gravatar_id":"","url":"https://api.github.com/users/kdavison","html_url":"https://github.com/kdavison","followers_url":"https://api.github.com/users/kdavison/followers","following_url":"https://api.github.com/users/kdavison/following{/other_user}","gists_url":"https://api.github.com/users/kdavison/gists{/gist_id}","starred_url":"https://api.github.com/users/kdavison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdavison/subscriptions","organizations_url":"https://api.github.com/users/kdavison/orgs","repos_url":"https://api.github.com/users/kdavison/repos","events_url":"https://api.github.com/users/kdavison/events{/privacy}","received_events_url":"https://api.github.com/users/kdavison/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2016-04-01T02:20:48Z","updated_at":"2016-04-04T15:32:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/pulls/507","html_url":"https://github.com/KeenSoftwareHouse/SpaceEngineers/pull/507","diff_url":"https://github.com/KeenSoftwareHouse/SpaceEngineers/pull/507.diff","patch_url":"https://github.com/KeenSoftwareHouse/SpaceEngineers/pull/507.patch"},"body":"1. grids recalculate grid mass after an integrity change ( ie a block is cut / damage )\r\n2. grids use the actual block mass instead of the template mass\r\n3. blocks now calculate mass using the ratio of Integrity / MaxIntegrity\r\n\r\nTesting\r\n1. limited x64 testing. Physically blocks appeared to behave as expected ( no weird negative mass issues )\r\n2. no x86 testing, memory error prevented me from testing x86.\r\n\r\nIssues\r\n1. Ship Controller's report mass incorrectly. All ship controllers add some amount of negative mass.\r\nstill tracking down the source of this problem. Anyone got ideas?"},"comment":{"url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/issues/comments/205352506","html_url":"https://github.com/KeenSoftwareHouse/SpaceEngineers/pull/507#issuecomment-205352506","issue_url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/issues/507","id":205352506,"user":{"login":"kdavison","id":6132184,"avatar_url":"https://avatars.githubusercontent.com/u/6132184?v=3","gravatar_id":"","url":"https://api.github.com/users/kdavison","html_url":"https://github.com/kdavison","followers_url":"https://api.github.com/users/kdavison/followers","following_url":"https://api.github.com/users/kdavison/following{/other_user}","gists_url":"https://api.github.com/users/kdavison/gists{/gist_id}","starred_url":"https://api.github.com/users/kdavison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdavison/subscriptions","organizations_url":"https://api.github.com/users/kdavison/orgs","repos_url":"https://api.github.com/users/kdavison/repos","events_url":"https://api.github.com/users/kdavison/events{/privacy}","received_events_url":"https://api.github.com/users/kdavison/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T15:32:21Z","updated_at":"2016-04-04T15:32:21Z","body":"Solutions:\r\nMethod 1: Change blocks to use (user hidden) inventories instead of a stockpile.\r\nInventory calculations are already included in mass; the for loop gets removed and patch functionality is unchanged.\r\nThis would be a quick change.\r\n\r\nMethod 2: Get rid of the whole stockpile concept.  The block either has components or doesn't.\r\nBlocks would still have a list of required components, but you would have to have the component on-hand when it is required during the welding process.  You would be unable to supply component #3 before component #1 etc...\r\nThis would require significantly more work, maybe another patch?"}}