{"action":"created","comment":{"url":"https://api.github.com/repos/wiremod/wire/pulls/comments/24649664","id":24649664,"diff_hunk":"@@ -50,43 +50,78 @@ local function MakePropNoEffect(...)\n \treturn ret\n end\n \n-function PropCore.CreateProp(self,model,pos,angles,freeze)\n-\tif(!util.IsValidModel(model) || !util.IsValidProp(model) || not PropCore.ValidSpawn() )then\n-\t\treturn nil\n+function PropCore.CreateProp(self,model,pos,angles,freeze,isVehicle)\n+\n+\tif not PropCore.ValidSpawn() then return nil end\n+\t\n+\tif isVehicle then\n+\t\tif self.player:CheckLimit( \"vehicles\" ) == false then return end\n+\t\tif model == \"\" then model = \"models/nova/airboat_seat.mdl\" end\n+\t\tif model ~= \"models/vehicles/prisoner_pod_inner.mdl\" then angles:RotateAroundAxis( angles:Up(), -90 ) end","path":"lua/entities/gmod_wire_expression2/core/custom/prop.lua","position":14,"original_position":14,"commit_id":"ecf4ed9bbbc10582ba0f2e0870a6a931e8a3d23a","original_commit_id":"ecf4ed9bbbc10582ba0f2e0870a6a931e8a3d23a","user":{"login":"arduinium","id":5505089,"avatar_url":"https://avatars.githubusercontent.com/u/5505089?v=3","gravatar_id":"","url":"https://api.github.com/users/arduinium","html_url":"https://github.com/arduinium","followers_url":"https://api.github.com/users/arduinium/followers","following_url":"https://api.github.com/users/arduinium/following{/other_user}","gists_url":"https://api.github.com/users/arduinium/gists{/gist_id}","starred_url":"https://api.github.com/users/arduinium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arduinium/subscriptions","organizations_url":"https://api.github.com/users/arduinium/orgs","repos_url":"https://api.github.com/users/arduinium/repos","events_url":"https://api.github.com/users/arduinium/events{/privacy}","received_events_url":"https://api.github.com/users/arduinium/received_events","type":"User","site_admin":false},"body":"I see what you mean Divran. Feel free to comment/delete this line if you prefer :P.","created_at":"2015-02-13T08:17:19Z","updated_at":"2015-02-13T08:17:19Z","html_url":"https://github.com/wiremod/wire/pull/827#discussion_r24649664","pull_request_url":"https://api.github.com/repos/wiremod/wire/pulls/827","_links":{"self":{"href":"https://api.github.com/repos/wiremod/wire/pulls/comments/24649664"},"html":{"href":"https://github.com/wiremod/wire/pull/827#discussion_r24649664"},"pull_request":{"href":"https://api.github.com/repos/wiremod/wire/pulls/827"}}},"pull_request":{"url":"https://api.github.com/repos/wiremod/wire/pulls/827","id":29235927,"html_url":"https://github.com/wiremod/wire/pull/827","diff_url":"https://github.com/wiremod/wire/pull/827.diff","patch_url":"https://github.com/wiremod/wire/pull/827.patch","issue_url":"https://api.github.com/repos/wiremod/wire/issues/827","number":827,"state":"open","locked":false,"title":"Improved seatSpawn and prop removal","user":{"login":"arduinium","id":5505089,"avatar_url":"https://avatars.githubusercontent.com/u/5505089?v=3","gravatar_id":"","url":"https://api.github.com/users/arduinium","html_url":"https://github.com/arduinium","followers_url":"https://api.github.com/users/arduinium/followers","following_url":"https://api.github.com/users/arduinium/following{/other_user}","gists_url":"https://api.github.com/users/arduinium/gists{/gist_id}","starred_url":"https://api.github.com/users/arduinium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arduinium/subscriptions","organizations_url":"https://api.github.com/users/arduinium/orgs","repos_url":"https://api.github.com/users/arduinium/repos","events_url":"https://api.github.com/users/arduinium/events{/privacy}","received_events_url":"https://api.github.com/users/arduinium/received_events","type":"User","site_admin":false},"body":"This is my first Pull request ever, so if I did something wrong please tell me :)\r\n\r\nAdded all seatSpawn functions (and increased the cost compared to\r\npropSpawn)\r\nIncreased the cost of the array/table:propDelete() and propDeleteAll().\r\nFixed the tables issues.\r\nRenamed enablePropSpawnUndo to propSpawnUndo\r\nReplaced all entity:IsValid() to IsValid(entity)\r\n\r\nEdit: Also changed the texts that appear in the Undo list so that they are more useful.","created_at":"2015-02-13T02:31:20Z","updated_at":"2015-02-13T08:17:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ebafa6739583af940150345215faecbe62d0e77c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wiremod/wire/pulls/827/commits","review_comments_url":"https://api.github.com/repos/wiremod/wire/pulls/827/comments","review_comment_url":"https://api.github.com/repos/wiremod/wire/pulls/comments/{number}","comments_url":"https://api.github.com/repos/wiremod/wire/issues/827/comments","statuses_url":"https://api.github.com/repos/wiremod/wire/statuses/ecf4ed9bbbc10582ba0f2e0870a6a931e8a3d23a","head":{"label":"arduinium:master","ref":"master","sha":"ecf4ed9bbbc10582ba0f2e0870a6a931e8a3d23a","user":{"login":"arduinium","id":5505089,"avatar_url":"https://avatars.githubusercontent.com/u/5505089?v=3","gravatar_id":"","url":"https://api.github.com/users/arduinium","html_url":"https://github.com/arduinium","followers_url":"https://api.github.com/users/arduinium/followers","following_url":"https://api.github.com/users/arduinium/following{/other_user}","gists_url":"https://api.github.com/users/arduinium/gists{/gist_id}","starred_url":"https://api.github.com/users/arduinium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arduinium/subscriptions","organizations_url":"https://api.github.com/users/arduinium/orgs","repos_url":"https://api.github.com/users/arduinium/repos","events_url":"https://api.github.com/users/arduinium/events{/privacy}","received_events_url":"https://api.github.com/users/arduinium/received_events","type":"User","site_admin":false},"repo":{"id":30735384,"name":"wire","full_name":"arduinium/wire","owner":{"login":"arduinium","id":5505089,"avatar_url":"https://avatars.githubusercontent.com/u/5505089?v=3","gravatar_id":"","url":"https://api.github.com/users/arduinium","html_url":"https://github.com/arduinium","followers_url":"https://api.github.com/users/arduinium/followers","following_url":"https://api.github.com/users/arduinium/following{/other_user}","gists_url":"https://api.github.com/users/arduinium/gists{/gist_id}","starred_url":"https://api.github.com/users/arduinium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arduinium/subscriptions","organizations_url":"https://api.github.com/users/arduinium/orgs","repos_url":"https://api.github.com/users/arduinium/repos","events_url":"https://api.github.com/users/arduinium/events{/privacy}","received_events_url":"https://api.github.com/users/arduinium/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arduinium/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/arduinium/wire","forks_url":"https://api.github.com/repos/arduinium/wire/forks","keys_url":"https://api.github.com/repos/arduinium/wire/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arduinium/wire/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arduinium/wire/teams","hooks_url":"https://api.github.com/repos/arduinium/wire/hooks","issue_events_url":"https://api.github.com/repos/arduinium/wire/issues/events{/number}","events_url":"https://api.github.com/repos/arduinium/wire/events","assignees_url":"https://api.github.com/repos/arduinium/wire/assignees{/user}","branches_url":"https://api.github.com/repos/arduinium/wire/branches{/branch}","tags_url":"https://api.github.com/repos/arduinium/wire/tags","blobs_url":"https://api.github.com/repos/arduinium/wire/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arduinium/wire/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arduinium/wire/git/refs{/sha}","trees_url":"https://api.github.com/repos/arduinium/wire/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arduinium/wire/statuses/{sha}","languages_url":"https://api.github.com/repos/arduinium/wire/languages","stargazers_url":"https://api.github.com/repos/arduinium/wire/stargazers","contributors_url":"https://api.github.com/repos/arduinium/wire/contributors","subscribers_url":"https://api.github.com/repos/arduinium/wire/subscribers","subscription_url":"https://api.github.com/repos/arduinium/wire/subscription","commits_url":"https://api.github.com/repos/arduinium/wire/commits{/sha}","git_commits_url":"https://api.github.com/repos/arduinium/wire/git/commits{/sha}","comments_url":"https://api.github.com/repos/arduinium/wire/comments{/number}","issue_comment_url":"https://api.github.com/repos/arduinium/wire/issues/comments/{number}","contents_url":"https://api.github.com/repos/arduinium/wire/contents/{+path}","compare_url":"https://api.github.com/repos/arduinium/wire/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arduinium/wire/merges","archive_url":"https://api.github.com/repos/arduinium/wire/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arduinium/wire/downloads","issues_url":"https://api.github.com/repos/arduinium/wire/issues{/number}","pulls_url":"https://api.github.com/repos/arduinium/wire/pulls{/number}","milestones_url":"https://api.github.com/repos/arduinium/wire/milestones{/number}","notifications_url":"https://api.github.com/repos/arduinium/wire/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arduinium/wire/labels{/name}","releases_url":"https://api.github.com/repos/arduinium/wire/releases{/id}","created_at":"2015-02-13T01:53:29Z","updated_at":"2015-02-13T04:08:38Z","pushed_at":"2015-02-13T04:08:38Z","git_url":"git://github.com/arduinium/wire.git","ssh_url":"git@github.com:arduinium/wire.git","clone_url":"https://github.com/arduinium/wire.git","svn_url":"https://github.com/arduinium/wire","homepage":"http://www.wiremod.com","size":26137,"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":"141dc14200d3dc1541f5b49b3336e588c1ca13c7","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-02-12T21:20:15Z","pushed_at":"2015-02-12T21:20:15Z","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":26137,"stargazers_count":185,"watchers_count":185,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":212,"mirror_url":null,"open_issues_count":35,"forks":212,"open_issues":35,"watchers":185,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wiremod/wire/pulls/827"},"html":{"href":"https://github.com/wiremod/wire/pull/827"},"issue":{"href":"https://api.github.com/repos/wiremod/wire/issues/827"},"comments":{"href":"https://api.github.com/repos/wiremod/wire/issues/827/comments"},"review_comments":{"href":"https://api.github.com/repos/wiremod/wire/pulls/827/comments"},"review_comment":{"href":"https://api.github.com/repos/wiremod/wire/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/wiremod/wire/pulls/827/commits"},"statuses":{"href":"https://api.github.com/repos/wiremod/wire/statuses/ecf4ed9bbbc10582ba0f2e0870a6a931e8a3d23a"}}}}