{"action":"created","comment":{"url":"https://api.github.com/repos/transhumandesign/kag-base/pulls/comments/199443860","pull_request_review_id":133558919,"id":199443860,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTQ0Mzg2MA==","diff_hunk":"@@ -139,6 +143,25 @@ void onTick(CBlob@ this)\n \t}\n }\n \n+void PickupOverlap(CBlob@ this)\n+{\n+\tif (getNet().isServer())\n+\t{\n+\t\tVec2f tl, br;\n+\t\tthis.getShape().getBoundingRect(tl, br);\n+\t\tCBlob@[] blobs;\n+\t\tthis.getMap().getBlobsInBox(tl, br, @blobs);\n+\t\tfor (uint i = 0; i < blobs.length; i++)\n+\t\t{\n+\t\t\tCBlob@ blob = blobs[i];\n+\t\t\tif (!blob.isAttached() && blob.isOnGround() && blob.hasTag(\"material\") && blob.getName() != \"mat_arrows\")\n+\t\t\t{\n+\t\t\t\tthis.server_PutInInventory(blob);\n+\t\t\t}\n+\t\t}\n+\t}\n+}","path":"Entities/Items/Crate/Crate.as","position":58,"original_position":58,"commit_id":"920a0dc81043a71a9c514ea4f454863dcfcd1cc9","original_commit_id":"920a0dc81043a71a9c514ea4f454863dcfcd1cc9","user":{"login":"AsuMagic","id":8986152,"node_id":"MDQ6VXNlcjg5ODYxNTI=","avatar_url":"https://avatars0.githubusercontent.com/u/8986152?v=4","gravatar_id":"","url":"https://api.github.com/users/AsuMagic","html_url":"https://github.com/AsuMagic","followers_url":"https://api.github.com/users/AsuMagic/followers","following_url":"https://api.github.com/users/AsuMagic/following{/other_user}","gists_url":"https://api.github.com/users/AsuMagic/gists{/gist_id}","starred_url":"https://api.github.com/users/AsuMagic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AsuMagic/subscriptions","organizations_url":"https://api.github.com/users/AsuMagic/orgs","repos_url":"https://api.github.com/users/AsuMagic/repos","events_url":"https://api.github.com/users/AsuMagic/events{/privacy}","received_events_url":"https://api.github.com/users/AsuMagic/received_events","type":"User","site_admin":false},"body":"Duplicate from `Storage.as`, this function should be merged into a common script for `Crate.as` and `Storage.as`.","created_at":"2018-07-02T09:56:35Z","updated_at":"2018-07-02T10:01:20Z","html_url":"https://github.com/transhumandesign/kag-base/pull/166#discussion_r199443860","pull_request_url":"https://api.github.com/repos/transhumandesign/kag-base/pulls/166","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/transhumandesign/kag-base/pulls/comments/199443860"},"html":{"href":"https://github.com/transhumandesign/kag-base/pull/166#discussion_r199443860"},"pull_request":{"href":"https://api.github.com/repos/transhumandesign/kag-base/pulls/166"}}},"pull_request":{"url":"https://api.github.com/repos/transhumandesign/kag-base/pulls/166","id":198615339,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NjE1MzM5","html_url":"https://github.com/transhumandesign/kag-base/pull/166","diff_url":"https://github.com/transhumandesign/kag-base/pull/166.diff","patch_url":"https://github.com/transhumandesign/kag-base/pull/166.patch","issue_url":"https://api.github.com/repos/transhumandesign/kag-base/issues/166","number":166,"state":"open","locked":false,"title":"Re-Adds Crates to CTF and Reworks them","user":{"login":"Pirate-Rob","id":5071831,"node_id":"MDQ6VXNlcjUwNzE4MzE=","avatar_url":"https://avatars3.githubusercontent.com/u/5071831?v=4","gravatar_id":"","url":"https://api.github.com/users/Pirate-Rob","html_url":"https://github.com/Pirate-Rob","followers_url":"https://api.github.com/users/Pirate-Rob/followers","following_url":"https://api.github.com/users/Pirate-Rob/following{/other_user}","gists_url":"https://api.github.com/users/Pirate-Rob/gists{/gist_id}","starred_url":"https://api.github.com/users/Pirate-Rob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pirate-Rob/subscriptions","organizations_url":"https://api.github.com/users/Pirate-Rob/orgs","repos_url":"https://api.github.com/users/Pirate-Rob/repos","events_url":"https://api.github.com/users/Pirate-Rob/events{/privacy}","received_events_url":"https://api.github.com/users/Pirate-Rob/received_events","type":"User","site_admin":false},"body":"A patch for July 2018 #2 Bounty.\r\n\r\nOther than allowing crates to be used as transport again, these changes also make it more useful as an inventory.\r\n\r\n- Made crates 2 high invetory wise, to match storage.\r\n- Players start suffocating (really slowly) if they stay in a crate far too long.\r\n- When crates contain a player and they suffer a hard impact, they break. So you can throw teammates off of a cliff if they aren't be useful.\r\n- Crates added to buildershop for 30 wood.\r\n- Crates no longer get destroyed upon the last item being removed, however they still break when a player leaves them.\r\n- Crates now automatically pick up materials they're overlapping, exactly the same as the storage building.\r\n- Additionally, crates also now pick up any materials they collide with them.\r\n- Crates are now immune to saws.\r\n- Disabled emotes when inside inventories.","created_at":"2018-07-02T09:07:53Z","updated_at":"2018-07-02T10:01:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25be235bee957ed6d48617106fb574c3ab000c83","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/transhumandesign/kag-base/pulls/166/commits","review_comments_url":"https://api.github.com/repos/transhumandesign/kag-base/pulls/166/comments","review_comment_url":"https://api.github.com/repos/transhumandesign/kag-base/pulls/comments{/number}","comments_url":"https://api.github.com/repos/transhumandesign/kag-base/issues/166/comments","statuses_url":"https://api.github.com/repos/transhumandesign/kag-base/statuses/920a0dc81043a71a9c514ea4f454863dcfcd1cc9","head":{"label":"Pirate-Rob:Crate-Rework","ref":"Crate-Rework","sha":"920a0dc81043a71a9c514ea4f454863dcfcd1cc9","user":{"login":"Pirate-Rob","id":5071831,"node_id":"MDQ6VXNlcjUwNzE4MzE=","avatar_url":"https://avatars3.githubusercontent.com/u/5071831?v=4","gravatar_id":"","url":"https://api.github.com/users/Pirate-Rob","html_url":"https://github.com/Pirate-Rob","followers_url":"https://api.github.com/users/Pirate-Rob/followers","following_url":"https://api.github.com/users/Pirate-Rob/following{/other_user}","gists_url":"https://api.github.com/users/Pirate-Rob/gists{/gist_id}","starred_url":"https://api.github.com/users/Pirate-Rob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pirate-Rob/subscriptions","organizations_url":"https://api.github.com/users/Pirate-Rob/orgs","repos_url":"https://api.github.com/users/Pirate-Rob/repos","events_url":"https://api.github.com/users/Pirate-Rob/events{/privacy}","received_events_url":"https://api.github.com/users/Pirate-Rob/received_events","type":"User","site_admin":false},"repo":{"id":124669175,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQ2NjkxNzU=","name":"kag-base","full_name":"Pirate-Rob/kag-base","owner":{"login":"Pirate-Rob","id":5071831,"node_id":"MDQ6VXNlcjUwNzE4MzE=","avatar_url":"https://avatars3.githubusercontent.com/u/5071831?v=4","gravatar_id":"","url":"https://api.github.com/users/Pirate-Rob","html_url":"https://github.com/Pirate-Rob","followers_url":"https://api.github.com/users/Pirate-Rob/followers","following_url":"https://api.github.com/users/Pirate-Rob/following{/other_user}","gists_url":"https://api.github.com/users/Pirate-Rob/gists{/gist_id}","starred_url":"https://api.github.com/users/Pirate-Rob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pirate-Rob/subscriptions","organizations_url":"https://api.github.com/users/Pirate-Rob/orgs","repos_url":"https://api.github.com/users/Pirate-Rob/repos","events_url":"https://api.github.com/users/Pirate-Rob/events{/privacy}","received_events_url":"https://api.github.com/users/Pirate-Rob/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Pirate-Rob/kag-base","description":"King Arthur's Gold base folder.","fork":true,"url":"https://api.github.com/repos/Pirate-Rob/kag-base","forks_url":"https://api.github.com/repos/Pirate-Rob/kag-base/forks","keys_url":"https://api.github.com/repos/Pirate-Rob/kag-base/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Pirate-Rob/kag-base/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Pirate-Rob/kag-base/teams","hooks_url":"https://api.github.com/repos/Pirate-Rob/kag-base/hooks","issue_events_url":"https://api.github.com/repos/Pirate-Rob/kag-base/issues/events{/number}","events_url":"https://api.github.com/repos/Pirate-Rob/kag-base/events","assignees_url":"https://api.github.com/repos/Pirate-Rob/kag-base/assignees{/user}","branches_url":"https://api.github.com/repos/Pirate-Rob/kag-base/branches{/branch}","tags_url":"https://api.github.com/repos/Pirate-Rob/kag-base/tags","blobs_url":"https://api.github.com/repos/Pirate-Rob/kag-base/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Pirate-Rob/kag-base/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Pirate-Rob/kag-base/git/refs{/sha}","trees_url":"https://api.github.com/repos/Pirate-Rob/kag-base/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Pirate-Rob/kag-base/statuses/{sha}","languages_url":"https://api.github.com/repos/Pirate-Rob/kag-base/languages","stargazers_url":"https://api.github.com/repos/Pirate-Rob/kag-base/stargazers","contributors_url":"https://api.github.com/repos/Pirate-Rob/kag-base/contributors","subscribers_url":"https://api.github.com/repos/Pirate-Rob/kag-base/subscribers","subscription_url":"https://api.github.com/repos/Pirate-Rob/kag-base/subscription","commits_url":"https://api.github.com/repos/Pirate-Rob/kag-base/commits{/sha}","git_commits_url":"https://api.github.com/repos/Pirate-Rob/kag-base/git/commits{/sha}","comments_url":"https://api.github.com/repos/Pirate-Rob/kag-base/comments{/number}","issue_comment_url":"https://api.github.com/repos/Pirate-Rob/kag-base/issues/comments{/number}","contents_url":"https://api.github.com/repos/Pirate-Rob/kag-base/contents/{+path}","compare_url":"https://api.github.com/repos/Pirate-Rob/kag-base/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Pirate-Rob/kag-base/merges","archive_url":"https://api.github.com/repos/Pirate-Rob/kag-base/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Pirate-Rob/kag-base/downloads","issues_url":"https://api.github.com/repos/Pirate-Rob/kag-base/issues{/number}","pulls_url":"https://api.github.com/repos/Pirate-Rob/kag-base/pulls{/number}","milestones_url":"https://api.github.com/repos/Pirate-Rob/kag-base/milestones{/number}","notifications_url":"https://api.github.com/repos/Pirate-Rob/kag-base/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Pirate-Rob/kag-base/labels{/name}","releases_url":"https://api.github.com/repos/Pirate-Rob/kag-base/releases{/id}","deployments_url":"https://api.github.com/repos/Pirate-Rob/kag-base/deployments","created_at":"2018-03-10T15:37:36Z","updated_at":"2018-06-01T15:21:13Z","pushed_at":"2018-07-02T09:06:10Z","git_url":"git://github.com/Pirate-Rob/kag-base.git","ssh_url":"git@github.com:Pirate-Rob/kag-base.git","clone_url":"https://github.com/Pirate-Rob/kag-base.git","svn_url":"https://github.com/Pirate-Rob/kag-base","homepage":null,"size":44292,"stargazers_count":0,"watchers_count":0,"language":"AngelScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"transhumandesign:master","ref":"master","sha":"8f5d339f30d8e4355f503dcfacbc8414848b973a","user":{"login":"transhumandesign","id":26709580,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NzA5NTgw","avatar_url":"https://avatars0.githubusercontent.com/u/26709580?v=4","gravatar_id":"","url":"https://api.github.com/users/transhumandesign","html_url":"https://github.com/transhumandesign","followers_url":"https://api.github.com/users/transhumandesign/followers","following_url":"https://api.github.com/users/transhumandesign/following{/other_user}","gists_url":"https://api.github.com/users/transhumandesign/gists{/gist_id}","starred_url":"https://api.github.com/users/transhumandesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/transhumandesign/subscriptions","organizations_url":"https://api.github.com/users/transhumandesign/orgs","repos_url":"https://api.github.com/users/transhumandesign/repos","events_url":"https://api.github.com/users/transhumandesign/events{/privacy}","received_events_url":"https://api.github.com/users/transhumandesign/received_events","type":"Organization","site_admin":false},"repo":{"id":86322619,"node_id":"MDEwOlJlcG9zaXRvcnk4NjMyMjYxOQ==","name":"kag-base","full_name":"transhumandesign/kag-base","owner":{"login":"transhumandesign","id":26709580,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NzA5NTgw","avatar_url":"https://avatars0.githubusercontent.com/u/26709580?v=4","gravatar_id":"","url":"https://api.github.com/users/transhumandesign","html_url":"https://github.com/transhumandesign","followers_url":"https://api.github.com/users/transhumandesign/followers","following_url":"https://api.github.com/users/transhumandesign/following{/other_user}","gists_url":"https://api.github.com/users/transhumandesign/gists{/gist_id}","starred_url":"https://api.github.com/users/transhumandesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/transhumandesign/subscriptions","organizations_url":"https://api.github.com/users/transhumandesign/orgs","repos_url":"https://api.github.com/users/transhumandesign/repos","events_url":"https://api.github.com/users/transhumandesign/events{/privacy}","received_events_url":"https://api.github.com/users/transhumandesign/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/transhumandesign/kag-base","description":"King Arthur's Gold base folder.","fork":false,"url":"https://api.github.com/repos/transhumandesign/kag-base","forks_url":"https://api.github.com/repos/transhumandesign/kag-base/forks","keys_url":"https://api.github.com/repos/transhumandesign/kag-base/keys{/key_id}","collaborators_url":"https://api.github.com/repos/transhumandesign/kag-base/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/transhumandesign/kag-base/teams","hooks_url":"https://api.github.com/repos/transhumandesign/kag-base/hooks","issue_events_url":"https://api.github.com/repos/transhumandesign/kag-base/issues/events{/number}","events_url":"https://api.github.com/repos/transhumandesign/kag-base/events","assignees_url":"https://api.github.com/repos/transhumandesign/kag-base/assignees{/user}","branches_url":"https://api.github.com/repos/transhumandesign/kag-base/branches{/branch}","tags_url":"https://api.github.com/repos/transhumandesign/kag-base/tags","blobs_url":"https://api.github.com/repos/transhumandesign/kag-base/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/transhumandesign/kag-base/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/transhumandesign/kag-base/git/refs{/sha}","trees_url":"https://api.github.com/repos/transhumandesign/kag-base/git/trees{/sha}","statuses_url":"https://api.github.com/repos/transhumandesign/kag-base/statuses/{sha}","languages_url":"https://api.github.com/repos/transhumandesign/kag-base/languages","stargazers_url":"https://api.github.com/repos/transhumandesign/kag-base/stargazers","contributors_url":"https://api.github.com/repos/transhumandesign/kag-base/contributors","subscribers_url":"https://api.github.com/repos/transhumandesign/kag-base/subscribers","subscription_url":"https://api.github.com/repos/transhumandesign/kag-base/subscription","commits_url":"https://api.github.com/repos/transhumandesign/kag-base/commits{/sha}","git_commits_url":"https://api.github.com/repos/transhumandesign/kag-base/git/commits{/sha}","comments_url":"https://api.github.com/repos/transhumandesign/kag-base/comments{/number}","issue_comment_url":"https://api.github.com/repos/transhumandesign/kag-base/issues/comments{/number}","contents_url":"https://api.github.com/repos/transhumandesign/kag-base/contents/{+path}","compare_url":"https://api.github.com/repos/transhumandesign/kag-base/compare/{base}...{head}","merges_url":"https://api.github.com/repos/transhumandesign/kag-base/merges","archive_url":"https://api.github.com/repos/transhumandesign/kag-base/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/transhumandesign/kag-base/downloads","issues_url":"https://api.github.com/repos/transhumandesign/kag-base/issues{/number}","pulls_url":"https://api.github.com/repos/transhumandesign/kag-base/pulls{/number}","milestones_url":"https://api.github.com/repos/transhumandesign/kag-base/milestones{/number}","notifications_url":"https://api.github.com/repos/transhumandesign/kag-base/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/transhumandesign/kag-base/labels{/name}","releases_url":"https://api.github.com/repos/transhumandesign/kag-base/releases{/id}","deployments_url":"https://api.github.com/repos/transhumandesign/kag-base/deployments","created_at":"2017-03-27T10:32:27Z","updated_at":"2018-07-02T08:52:14Z","pushed_at":"2018-07-02T09:07:54Z","git_url":"git://github.com/transhumandesign/kag-base.git","ssh_url":"git@github.com:transhumandesign/kag-base.git","clone_url":"https://github.com/transhumandesign/kag-base.git","svn_url":"https://github.com/transhumandesign/kag-base","homepage":null,"size":44588,"stargazers_count":63,"watchers_count":63,"language":"AngelScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"archived":false,"open_issues_count":50,"license":null,"forks":37,"open_issues":50,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/transhumandesign/kag-base/pulls/166"},"html":{"href":"https://github.com/transhumandesign/kag-base/pull/166"},"issue":{"href":"https://api.github.com/repos/transhumandesign/kag-base/issues/166"},"comments":{"href":"https://api.github.com/repos/transhumandesign/kag-base/issues/166/comments"},"review_comments":{"href":"https://api.github.com/repos/transhumandesign/kag-base/pulls/166/comments"},"review_comment":{"href":"https://api.github.com/repos/transhumandesign/kag-base/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/transhumandesign/kag-base/pulls/166/commits"},"statuses":{"href":"https://api.github.com/repos/transhumandesign/kag-base/statuses/920a0dc81043a71a9c514ea4f454863dcfcd1cc9"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"AsuMagic"}}