{"action":"created","comment":{"url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/comments/58980682","id":58980682,"diff_hunk":"@@ -230,6 +242,8 @@\n \tvar/reagents_per_slice = reagents.total_volume/slices_num //Figure out how much reagents each slice inherits (losing slices loses reagents)\n \tfor(var/i = 1 to (slices_num - slices_lost)) //Transfer those reagents\n \t\tvar/obj/slice = new slice_path(src.loc)\n+\t\tif(contents.len)\n+\t\t\tslice.contents += contents[1] //Our contents move to the slices","path":"code/modules/reagents/reagent_containers/food/snacks.dm","position":36,"original_position":36,"commit_id":"04d0d5ddd3fc3935f53c2343f9f18026aff3820b","original_commit_id":"04d0d5ddd3fc3935f53c2343f9f18026aff3820b","user":{"login":"clusterfack","id":8516830,"avatar_url":"https://avatars.githubusercontent.com/u/8516830?v=3","gravatar_id":"","url":"https://api.github.com/users/clusterfack","html_url":"https://github.com/clusterfack","followers_url":"https://api.github.com/users/clusterfack/followers","following_url":"https://api.github.com/users/clusterfack/following{/other_user}","gists_url":"https://api.github.com/users/clusterfack/gists{/gist_id}","starred_url":"https://api.github.com/users/clusterfack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clusterfack/subscriptions","organizations_url":"https://api.github.com/users/clusterfack/orgs","repos_url":"https://api.github.com/users/clusterfack/repos","events_url":"https://api.github.com/users/clusterfack/events{/privacy}","received_events_url":"https://api.github.com/users/clusterfack/received_events","type":"User","site_admin":false},"body":"Don't you know that contents is internally maintained?\r\n\r\nAdding contents[1] to another items contents is the equivalent of setting the loc of contents[1] to the new object, which internally results in the removal of contents[1] from contents.","created_at":"2016-04-08T05:05:37Z","updated_at":"2016-04-08T05:05:37Z","html_url":"https://github.com/d3athrow/vgstation13/pull/9327#discussion_r58980682","pull_request_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/9327","_links":{"self":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/comments/58980682"},"html":{"href":"https://github.com/d3athrow/vgstation13/pull/9327#discussion_r58980682"},"pull_request":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/9327"}}},"pull_request":{"url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/9327","id":65736746,"html_url":"https://github.com/d3athrow/vgstation13/pull/9327","diff_url":"https://github.com/d3athrow/vgstation13/pull/9327.diff","patch_url":"https://github.com/d3athrow/vgstation13/pull/9327.patch","issue_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/9327","number":9327,"state":"open","locked":false,"title":"Changes snack food insertion","user":{"login":"clusterfack","id":8516830,"avatar_url":"https://avatars.githubusercontent.com/u/8516830?v=3","gravatar_id":"","url":"https://api.github.com/users/clusterfack","html_url":"https://github.com/clusterfack","followers_url":"https://api.github.com/users/clusterfack/followers","following_url":"https://api.github.com/users/clusterfack/following{/other_user}","gists_url":"https://api.github.com/users/clusterfack/gists{/gist_id}","starred_url":"https://api.github.com/users/clusterfack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clusterfack/subscriptions","organizations_url":"https://api.github.com/users/clusterfack/orgs","repos_url":"https://api.github.com/users/clusterfack/repos","events_url":"https://api.github.com/users/clusterfack/events{/privacy}","received_events_url":"https://api.github.com/users/clusterfack/received_events","type":"User","site_admin":false},"body":"Probably fixes like 3-4 issues on this topic\r\n\r\nNamely\r\n1. A food object being qdeleted drops the contents of it on the ground\r\n2. A food object cannot hold another of the same size as it (must be of lower size)\r\n3. A food object can only hold 1/2 of its slices_num (number of slices when sliced)\r\n4. Upon slicing the contents of the object are distributed to the slices","created_at":"2016-04-08T04:55:59Z","updated_at":"2016-04-08T05:05:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"909ae06a0e93326770ac1eed5fadd7bc29ecf38b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/9327/commits","review_comments_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/9327/comments","review_comment_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/comments{/number}","comments_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/9327/comments","statuses_url":"https://api.github.com/repos/d3athrow/vgstation13/statuses/04d0d5ddd3fc3935f53c2343f9f18026aff3820b","head":{"label":"clusterfack:food","ref":"food","sha":"04d0d5ddd3fc3935f53c2343f9f18026aff3820b","user":{"login":"clusterfack","id":8516830,"avatar_url":"https://avatars.githubusercontent.com/u/8516830?v=3","gravatar_id":"","url":"https://api.github.com/users/clusterfack","html_url":"https://github.com/clusterfack","followers_url":"https://api.github.com/users/clusterfack/followers","following_url":"https://api.github.com/users/clusterfack/following{/other_user}","gists_url":"https://api.github.com/users/clusterfack/gists{/gist_id}","starred_url":"https://api.github.com/users/clusterfack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clusterfack/subscriptions","organizations_url":"https://api.github.com/users/clusterfack/orgs","repos_url":"https://api.github.com/users/clusterfack/repos","events_url":"https://api.github.com/users/clusterfack/events{/privacy}","received_events_url":"https://api.github.com/users/clusterfack/received_events","type":"User","site_admin":false},"repo":{"id":29338627,"name":"bugfixstation13","full_name":"clusterfack/bugfixstation13","owner":{"login":"clusterfack","id":8516830,"avatar_url":"https://avatars.githubusercontent.com/u/8516830?v=3","gravatar_id":"","url":"https://api.github.com/users/clusterfack","html_url":"https://github.com/clusterfack","followers_url":"https://api.github.com/users/clusterfack/followers","following_url":"https://api.github.com/users/clusterfack/following{/other_user}","gists_url":"https://api.github.com/users/clusterfack/gists{/gist_id}","starred_url":"https://api.github.com/users/clusterfack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clusterfack/subscriptions","organizations_url":"https://api.github.com/users/clusterfack/orgs","repos_url":"https://api.github.com/users/clusterfack/repos","events_url":"https://api.github.com/users/clusterfack/events{/privacy}","received_events_url":"https://api.github.com/users/clusterfack/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clusterfack/bugfixstation13","description":"This is the vgstation's fork of baystation12's code.","fork":true,"url":"https://api.github.com/repos/clusterfack/bugfixstation13","forks_url":"https://api.github.com/repos/clusterfack/bugfixstation13/forks","keys_url":"https://api.github.com/repos/clusterfack/bugfixstation13/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clusterfack/bugfixstation13/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clusterfack/bugfixstation13/teams","hooks_url":"https://api.github.com/repos/clusterfack/bugfixstation13/hooks","issue_events_url":"https://api.github.com/repos/clusterfack/bugfixstation13/issues/events{/number}","events_url":"https://api.github.com/repos/clusterfack/bugfixstation13/events","assignees_url":"https://api.github.com/repos/clusterfack/bugfixstation13/assignees{/user}","branches_url":"https://api.github.com/repos/clusterfack/bugfixstation13/branches{/branch}","tags_url":"https://api.github.com/repos/clusterfack/bugfixstation13/tags","blobs_url":"https://api.github.com/repos/clusterfack/bugfixstation13/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clusterfack/bugfixstation13/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clusterfack/bugfixstation13/git/refs{/sha}","trees_url":"https://api.github.com/repos/clusterfack/bugfixstation13/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clusterfack/bugfixstation13/statuses/{sha}","languages_url":"https://api.github.com/repos/clusterfack/bugfixstation13/languages","stargazers_url":"https://api.github.com/repos/clusterfack/bugfixstation13/stargazers","contributors_url":"https://api.github.com/repos/clusterfack/bugfixstation13/contributors","subscribers_url":"https://api.github.com/repos/clusterfack/bugfixstation13/subscribers","subscription_url":"https://api.github.com/repos/clusterfack/bugfixstation13/subscription","commits_url":"https://api.github.com/repos/clusterfack/bugfixstation13/commits{/sha}","git_commits_url":"https://api.github.com/repos/clusterfack/bugfixstation13/git/commits{/sha}","comments_url":"https://api.github.com/repos/clusterfack/bugfixstation13/comments{/number}","issue_comment_url":"https://api.github.com/repos/clusterfack/bugfixstation13/issues/comments{/number}","contents_url":"https://api.github.com/repos/clusterfack/bugfixstation13/contents/{+path}","compare_url":"https://api.github.com/repos/clusterfack/bugfixstation13/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clusterfack/bugfixstation13/merges","archive_url":"https://api.github.com/repos/clusterfack/bugfixstation13/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clusterfack/bugfixstation13/downloads","issues_url":"https://api.github.com/repos/clusterfack/bugfixstation13/issues{/number}","pulls_url":"https://api.github.com/repos/clusterfack/bugfixstation13/pulls{/number}","milestones_url":"https://api.github.com/repos/clusterfack/bugfixstation13/milestones{/number}","notifications_url":"https://api.github.com/repos/clusterfack/bugfixstation13/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clusterfack/bugfixstation13/labels{/name}","releases_url":"https://api.github.com/repos/clusterfack/bugfixstation13/releases{/id}","deployments_url":"https://api.github.com/repos/clusterfack/bugfixstation13/deployments","created_at":"2015-01-16T08:01:51Z","updated_at":"2015-02-18T06:14:55Z","pushed_at":"2016-04-08T04:59:55Z","git_url":"git://github.com/clusterfack/bugfixstation13.git","ssh_url":"git@github.com:clusterfack/bugfixstation13.git","clone_url":"https://github.com/clusterfack/bugfixstation13.git","svn_url":"https://github.com/clusterfack/bugfixstation13","homepage":"","size":863583,"stargazers_count":0,"watchers_count":0,"language":"DM","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":"asdf"}},"base":{"label":"d3athrow:Bleeding-Edge","ref":"Bleeding-Edge","sha":"2493c00181a4a9d18667ce8bd8a83a01717b5db3","user":{"login":"d3athrow","id":706947,"avatar_url":"https://avatars.githubusercontent.com/u/706947?v=3","gravatar_id":"","url":"https://api.github.com/users/d3athrow","html_url":"https://github.com/d3athrow","followers_url":"https://api.github.com/users/d3athrow/followers","following_url":"https://api.github.com/users/d3athrow/following{/other_user}","gists_url":"https://api.github.com/users/d3athrow/gists{/gist_id}","starred_url":"https://api.github.com/users/d3athrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3athrow/subscriptions","organizations_url":"https://api.github.com/users/d3athrow/orgs","repos_url":"https://api.github.com/users/d3athrow/repos","events_url":"https://api.github.com/users/d3athrow/events{/privacy}","received_events_url":"https://api.github.com/users/d3athrow/received_events","type":"User","site_admin":false},"repo":{"id":10441188,"name":"vgstation13","full_name":"d3athrow/vgstation13","owner":{"login":"d3athrow","id":706947,"avatar_url":"https://avatars.githubusercontent.com/u/706947?v=3","gravatar_id":"","url":"https://api.github.com/users/d3athrow","html_url":"https://github.com/d3athrow","followers_url":"https://api.github.com/users/d3athrow/followers","following_url":"https://api.github.com/users/d3athrow/following{/other_user}","gists_url":"https://api.github.com/users/d3athrow/gists{/gist_id}","starred_url":"https://api.github.com/users/d3athrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3athrow/subscriptions","organizations_url":"https://api.github.com/users/d3athrow/orgs","repos_url":"https://api.github.com/users/d3athrow/repos","events_url":"https://api.github.com/users/d3athrow/events{/privacy}","received_events_url":"https://api.github.com/users/d3athrow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/d3athrow/vgstation13","description":"Butts","fork":true,"url":"https://api.github.com/repos/d3athrow/vgstation13","forks_url":"https://api.github.com/repos/d3athrow/vgstation13/forks","keys_url":"https://api.github.com/repos/d3athrow/vgstation13/keys{/key_id}","collaborators_url":"https://api.github.com/repos/d3athrow/vgstation13/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/d3athrow/vgstation13/teams","hooks_url":"https://api.github.com/repos/d3athrow/vgstation13/hooks","issue_events_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/events{/number}","events_url":"https://api.github.com/repos/d3athrow/vgstation13/events","assignees_url":"https://api.github.com/repos/d3athrow/vgstation13/assignees{/user}","branches_url":"https://api.github.com/repos/d3athrow/vgstation13/branches{/branch}","tags_url":"https://api.github.com/repos/d3athrow/vgstation13/tags","blobs_url":"https://api.github.com/repos/d3athrow/vgstation13/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/d3athrow/vgstation13/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/d3athrow/vgstation13/git/refs{/sha}","trees_url":"https://api.github.com/repos/d3athrow/vgstation13/git/trees{/sha}","statuses_url":"https://api.github.com/repos/d3athrow/vgstation13/statuses/{sha}","languages_url":"https://api.github.com/repos/d3athrow/vgstation13/languages","stargazers_url":"https://api.github.com/repos/d3athrow/vgstation13/stargazers","contributors_url":"https://api.github.com/repos/d3athrow/vgstation13/contributors","subscribers_url":"https://api.github.com/repos/d3athrow/vgstation13/subscribers","subscription_url":"https://api.github.com/repos/d3athrow/vgstation13/subscription","commits_url":"https://api.github.com/repos/d3athrow/vgstation13/commits{/sha}","git_commits_url":"https://api.github.com/repos/d3athrow/vgstation13/git/commits{/sha}","comments_url":"https://api.github.com/repos/d3athrow/vgstation13/comments{/number}","issue_comment_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/comments{/number}","contents_url":"https://api.github.com/repos/d3athrow/vgstation13/contents/{+path}","compare_url":"https://api.github.com/repos/d3athrow/vgstation13/compare/{base}...{head}","merges_url":"https://api.github.com/repos/d3athrow/vgstation13/merges","archive_url":"https://api.github.com/repos/d3athrow/vgstation13/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/d3athrow/vgstation13/downloads","issues_url":"https://api.github.com/repos/d3athrow/vgstation13/issues{/number}","pulls_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls{/number}","milestones_url":"https://api.github.com/repos/d3athrow/vgstation13/milestones{/number}","notifications_url":"https://api.github.com/repos/d3athrow/vgstation13/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/d3athrow/vgstation13/labels{/name}","releases_url":"https://api.github.com/repos/d3athrow/vgstation13/releases{/id}","deployments_url":"https://api.github.com/repos/d3athrow/vgstation13/deployments","created_at":"2013-06-02T19:39:54Z","updated_at":"2016-03-28T22:34:58Z","pushed_at":"2016-04-08T04:59:56Z","git_url":"git://github.com/d3athrow/vgstation13.git","ssh_url":"git@github.com:d3athrow/vgstation13.git","clone_url":"https://github.com/d3athrow/vgstation13.git","svn_url":"https://github.com/d3athrow/vgstation13","homepage":"","size":1072300,"stargazers_count":83,"watchers_count":83,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":229,"mirror_url":null,"open_issues_count":1324,"forks":229,"open_issues":1324,"watchers":83,"default_branch":"Bleeding-Edge"}},"_links":{"self":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/9327"},"html":{"href":"https://github.com/d3athrow/vgstation13/pull/9327"},"issue":{"href":"https://api.github.com/repos/d3athrow/vgstation13/issues/9327"},"comments":{"href":"https://api.github.com/repos/d3athrow/vgstation13/issues/9327/comments"},"review_comments":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/9327/comments"},"review_comment":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/9327/commits"},"statuses":{"href":"https://api.github.com/repos/d3athrow/vgstation13/statuses/04d0d5ddd3fc3935f53c2343f9f18026aff3820b"}}}}