{"action":"created","comment":{"url":"https://api.github.com/repos/wiremod/wire/pulls/comments/38270985","id":38270985,"diff_hunk":"@@ -0,0 +1,224 @@\n+AddCSLuaFile()\n+\n+DEFINE_BASECLASS( \"base_wire_entity\" )\n+ENT.PrintName       = \"Wire Collision Detector\"\n+ENT.WireDebugName\t= \"Collision Detector\"\n+\n+if CLIENT then return end\n+\n+local stickplayer=CreateConVar( \"wire_col_detector_stickplayer\", 0, 0, \"Allow linked entity stick to players\" )\n+local stickprops=CreateConVar( \"wire_col_detector_stickprops\", 0, 0, \"Allow sticking to other players stuff\" )\n+\n+function entitiesCollide(ent,data)\n+\tif !IsValid(ent.ColSensor) or ent.ColSensor.LinkedEnt != ent then return end","path":"lua/entities/gmod_wire_coldetector.lua","position":13,"original_position":13,"commit_id":"f98f7eca844ede8d7a385d851c2b5b5e9edf4674","original_commit_id":"f98f7eca844ede8d7a385d851c2b5b5e9edf4674","user":{"login":"TomyLobo","id":963797,"avatar_url":"https://avatars.githubusercontent.com/u/963797?v=3","gravatar_id":"","url":"https://api.github.com/users/TomyLobo","html_url":"https://github.com/TomyLobo","followers_url":"https://api.github.com/users/TomyLobo/followers","following_url":"https://api.github.com/users/TomyLobo/following{/other_user}","gists_url":"https://api.github.com/users/TomyLobo/gists{/gist_id}","starred_url":"https://api.github.com/users/TomyLobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomyLobo/subscriptions","organizations_url":"https://api.github.com/users/TomyLobo/orgs","repos_url":"https://api.github.com/users/TomyLobo/repos","events_url":"https://api.github.com/users/TomyLobo/events{/privacy}","received_events_url":"https://api.github.com/users/TomyLobo/received_events","type":"User","site_admin":false},"body":"``!`` => ``not``\r\n``!=`` => ``~=``","created_at":"2015-08-30T11:58:49Z","updated_at":"2015-08-30T11:58:49Z","html_url":"https://github.com/wiremod/wire/pull/954#discussion_r38270985","pull_request_url":"https://api.github.com/repos/wiremod/wire/pulls/954","_links":{"self":{"href":"https://api.github.com/repos/wiremod/wire/pulls/comments/38270985"},"html":{"href":"https://github.com/wiremod/wire/pull/954#discussion_r38270985"},"pull_request":{"href":"https://api.github.com/repos/wiremod/wire/pulls/954"}}},"pull_request":{"url":"https://api.github.com/repos/wiremod/wire/pulls/954","id":43694215,"html_url":"https://github.com/wiremod/wire/pull/954","diff_url":"https://github.com/wiremod/wire/pull/954.diff","patch_url":"https://github.com/wiremod/wire/pull/954.patch","issue_url":"https://api.github.com/repos/wiremod/wire/issues/954","number":954,"state":"open","locked":false,"title":"Added collision detection","user":{"login":"rafradek","id":996690,"avatar_url":"https://avatars.githubusercontent.com/u/996690?v=3","gravatar_id":"","url":"https://api.github.com/users/rafradek","html_url":"https://github.com/rafradek","followers_url":"https://api.github.com/users/rafradek/followers","following_url":"https://api.github.com/users/rafradek/following{/other_user}","gists_url":"https://api.github.com/users/rafradek/gists{/gist_id}","starred_url":"https://api.github.com/users/rafradek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafradek/subscriptions","organizations_url":"https://api.github.com/users/rafradek/orgs","repos_url":"https://api.github.com/users/rafradek/repos","events_url":"https://api.github.com/users/rafradek/events{/privacy}","received_events_url":"https://api.github.com/users/rafradek/received_events","type":"User","site_admin":false},"body":"I previously made an addon for E2 called collision detection, but I think it is better to have this feature included in official wire, so I am creating this pull request. You can see more info about this addon here: http://steamcommunity.com/sharedfiles/filedetails/?id=368603077","created_at":"2015-08-29T12:58:25Z","updated_at":"2015-08-30T11:58:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f6daa61287efdaa6bce14149568ce0a2a8355b0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wiremod/wire/pulls/954/commits","review_comments_url":"https://api.github.com/repos/wiremod/wire/pulls/954/comments","review_comment_url":"https://api.github.com/repos/wiremod/wire/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wiremod/wire/issues/954/comments","statuses_url":"https://api.github.com/repos/wiremod/wire/statuses/f98f7eca844ede8d7a385d851c2b5b5e9edf4674","head":{"label":"rafradek:master","ref":"master","sha":"f98f7eca844ede8d7a385d851c2b5b5e9edf4674","user":{"login":"rafradek","id":996690,"avatar_url":"https://avatars.githubusercontent.com/u/996690?v=3","gravatar_id":"","url":"https://api.github.com/users/rafradek","html_url":"https://github.com/rafradek","followers_url":"https://api.github.com/users/rafradek/followers","following_url":"https://api.github.com/users/rafradek/following{/other_user}","gists_url":"https://api.github.com/users/rafradek/gists{/gist_id}","starred_url":"https://api.github.com/users/rafradek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafradek/subscriptions","organizations_url":"https://api.github.com/users/rafradek/orgs","repos_url":"https://api.github.com/users/rafradek/repos","events_url":"https://api.github.com/users/rafradek/events{/privacy}","received_events_url":"https://api.github.com/users/rafradek/received_events","type":"User","site_admin":false},"repo":{"id":41592440,"name":"wire","full_name":"rafradek/wire","owner":{"login":"rafradek","id":996690,"avatar_url":"https://avatars.githubusercontent.com/u/996690?v=3","gravatar_id":"","url":"https://api.github.com/users/rafradek","html_url":"https://github.com/rafradek","followers_url":"https://api.github.com/users/rafradek/followers","following_url":"https://api.github.com/users/rafradek/following{/other_user}","gists_url":"https://api.github.com/users/rafradek/gists{/gist_id}","starred_url":"https://api.github.com/users/rafradek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafradek/subscriptions","organizations_url":"https://api.github.com/users/rafradek/orgs","repos_url":"https://api.github.com/users/rafradek/repos","events_url":"https://api.github.com/users/rafradek/events{/privacy}","received_events_url":"https://api.github.com/users/rafradek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rafradek/wire","description":"Garry's Mod add-on that allows users to wire up components in order to make more elaborate automatic and user-controlled contraptions.","fork":true,"url":"https://api.github.com/repos/rafradek/wire","forks_url":"https://api.github.com/repos/rafradek/wire/forks","keys_url":"https://api.github.com/repos/rafradek/wire/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rafradek/wire/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rafradek/wire/teams","hooks_url":"https://api.github.com/repos/rafradek/wire/hooks","issue_events_url":"https://api.github.com/repos/rafradek/wire/issues/events{/number}","events_url":"https://api.github.com/repos/rafradek/wire/events","assignees_url":"https://api.github.com/repos/rafradek/wire/assignees{/user}","branches_url":"https://api.github.com/repos/rafradek/wire/branches{/branch}","tags_url":"https://api.github.com/repos/rafradek/wire/tags","blobs_url":"https://api.github.com/repos/rafradek/wire/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rafradek/wire/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rafradek/wire/git/refs{/sha}","trees_url":"https://api.github.com/repos/rafradek/wire/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rafradek/wire/statuses/{sha}","languages_url":"https://api.github.com/repos/rafradek/wire/languages","stargazers_url":"https://api.github.com/repos/rafradek/wire/stargazers","contributors_url":"https://api.github.com/repos/rafradek/wire/contributors","subscribers_url":"https://api.github.com/repos/rafradek/wire/subscribers","subscription_url":"https://api.github.com/repos/rafradek/wire/subscription","commits_url":"https://api.github.com/repos/rafradek/wire/commits{/sha}","git_commits_url":"https://api.github.com/repos/rafradek/wire/git/commits{/sha}","comments_url":"https://api.github.com/repos/rafradek/wire/comments{/number}","issue_comment_url":"https://api.github.com/repos/rafradek/wire/issues/comments{/number}","contents_url":"https://api.github.com/repos/rafradek/wire/contents/{+path}","compare_url":"https://api.github.com/repos/rafradek/wire/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rafradek/wire/merges","archive_url":"https://api.github.com/repos/rafradek/wire/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rafradek/wire/downloads","issues_url":"https://api.github.com/repos/rafradek/wire/issues{/number}","pulls_url":"https://api.github.com/repos/rafradek/wire/pulls{/number}","milestones_url":"https://api.github.com/repos/rafradek/wire/milestones{/number}","notifications_url":"https://api.github.com/repos/rafradek/wire/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rafradek/wire/labels{/name}","releases_url":"https://api.github.com/repos/rafradek/wire/releases{/id}","created_at":"2015-08-29T12:16:36Z","updated_at":"2015-08-29T12:16:38Z","pushed_at":"2015-08-29T17:58:48Z","git_url":"git://github.com/rafradek/wire.git","ssh_url":"git@github.com:rafradek/wire.git","clone_url":"https://github.com/rafradek/wire.git","svn_url":"https://github.com/rafradek/wire","homepage":"http://www.wiremod.com","size":27472,"stargazers_count":0,"watchers_count":0,"language":"Lua","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":"master"}},"base":{"label":"wiremod:master","ref":"master","sha":"6c750ef6a7d174d2442087fc7444cc5a30581545","user":{"login":"wiremod","id":113164,"avatar_url":"https://avatars.githubusercontent.com/u/113164?v=3","gravatar_id":"","url":"https://api.github.com/users/wiremod","html_url":"https://github.com/wiremod","followers_url":"https://api.github.com/users/wiremod/followers","following_url":"https://api.github.com/users/wiremod/following{/other_user}","gists_url":"https://api.github.com/users/wiremod/gists{/gist_id}","starred_url":"https://api.github.com/users/wiremod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiremod/subscriptions","organizations_url":"https://api.github.com/users/wiremod/orgs","repos_url":"https://api.github.com/users/wiremod/repos","events_url":"https://api.github.com/users/wiremod/events{/privacy}","received_events_url":"https://api.github.com/users/wiremod/received_events","type":"Organization","site_admin":false},"repo":{"id":4248640,"name":"wire","full_name":"wiremod/wire","owner":{"login":"wiremod","id":113164,"avatar_url":"https://avatars.githubusercontent.com/u/113164?v=3","gravatar_id":"","url":"https://api.github.com/users/wiremod","html_url":"https://github.com/wiremod","followers_url":"https://api.github.com/users/wiremod/followers","following_url":"https://api.github.com/users/wiremod/following{/other_user}","gists_url":"https://api.github.com/users/wiremod/gists{/gist_id}","starred_url":"https://api.github.com/users/wiremod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wiremod/subscriptions","organizations_url":"https://api.github.com/users/wiremod/orgs","repos_url":"https://api.github.com/users/wiremod/repos","events_url":"https://api.github.com/users/wiremod/events{/privacy}","received_events_url":"https://api.github.com/users/wiremod/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wiremod/wire","description":"Garry's Mod add-on that allows users to wire up components in order to make more elaborate automatic and user-controlled contraptions.","fork":false,"url":"https://api.github.com/repos/wiremod/wire","forks_url":"https://api.github.com/repos/wiremod/wire/forks","keys_url":"https://api.github.com/repos/wiremod/wire/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wiremod/wire/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wiremod/wire/teams","hooks_url":"https://api.github.com/repos/wiremod/wire/hooks","issue_events_url":"https://api.github.com/repos/wiremod/wire/issues/events{/number}","events_url":"https://api.github.com/repos/wiremod/wire/events","assignees_url":"https://api.github.com/repos/wiremod/wire/assignees{/user}","branches_url":"https://api.github.com/repos/wiremod/wire/branches{/branch}","tags_url":"https://api.github.com/repos/wiremod/wire/tags","blobs_url":"https://api.github.com/repos/wiremod/wire/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wiremod/wire/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wiremod/wire/git/refs{/sha}","trees_url":"https://api.github.com/repos/wiremod/wire/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wiremod/wire/statuses/{sha}","languages_url":"https://api.github.com/repos/wiremod/wire/languages","stargazers_url":"https://api.github.com/repos/wiremod/wire/stargazers","contributors_url":"https://api.github.com/repos/wiremod/wire/contributors","subscribers_url":"https://api.github.com/repos/wiremod/wire/subscribers","subscription_url":"https://api.github.com/repos/wiremod/wire/subscription","commits_url":"https://api.github.com/repos/wiremod/wire/commits{/sha}","git_commits_url":"https://api.github.com/repos/wiremod/wire/git/commits{/sha}","comments_url":"https://api.github.com/repos/wiremod/wire/comments{/number}","issue_comment_url":"https://api.github.com/repos/wiremod/wire/issues/comments{/number}","contents_url":"https://api.github.com/repos/wiremod/wire/contents/{+path}","compare_url":"https://api.github.com/repos/wiremod/wire/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wiremod/wire/merges","archive_url":"https://api.github.com/repos/wiremod/wire/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wiremod/wire/downloads","issues_url":"https://api.github.com/repos/wiremod/wire/issues{/number}","pulls_url":"https://api.github.com/repos/wiremod/wire/pulls{/number}","milestones_url":"https://api.github.com/repos/wiremod/wire/milestones{/number}","notifications_url":"https://api.github.com/repos/wiremod/wire/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wiremod/wire/labels{/name}","releases_url":"https://api.github.com/repos/wiremod/wire/releases{/id}","created_at":"2012-05-07T10:55:50Z","updated_at":"2015-08-27T05:00:45Z","pushed_at":"2015-08-29T17:58:49Z","git_url":"git://github.com/wiremod/wire.git","ssh_url":"git@github.com:wiremod/wire.git","clone_url":"https://github.com/wiremod/wire.git","svn_url":"https://github.com/wiremod/wire","homepage":"http://www.wiremod.com","size":27472,"stargazers_count":210,"watchers_count":210,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":227,"mirror_url":null,"open_issues_count":70,"forks":227,"open_issues":70,"watchers":210,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wiremod/wire/pulls/954"},"html":{"href":"https://github.com/wiremod/wire/pull/954"},"issue":{"href":"https://api.github.com/repos/wiremod/wire/issues/954"},"comments":{"href":"https://api.github.com/repos/wiremod/wire/issues/954/comments"},"review_comments":{"href":"https://api.github.com/repos/wiremod/wire/pulls/954/comments"},"review_comment":{"href":"https://api.github.com/repos/wiremod/wire/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wiremod/wire/pulls/954/commits"},"statuses":{"href":"https://api.github.com/repos/wiremod/wire/statuses/f98f7eca844ede8d7a385d851c2b5b5e9edf4674"}}}}