{"action":"created","comment":{"url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/pulls/comments/75582158","id":75582158,"diff_hunk":"@@ -307,4 +307,66 @@ function CloningPod_JobComplete(j)\n \t\n end\n \n+function LandingPad_Temp_UpdateAction(furniture, deltaTime)\n+\tspawnSpot = furniture.GetSpawnSpotTile()\t\n+\tjobSpot = furniture.GetJobSpotTile()\n+\tinputSpot = World.current.GetTileAt(jobSpot.X, jobSpot.y-1)\n+    \n+\tif(inputSpot.inventory == nil) then\n+\t\tif(furniture.JobCount() == 0) then\n+\t\t\titemsDesired = {Inventory.__new(\"Steel Plate\", furniture.GetParameter(\"tradeinamount\"), 0)}\n+\t\t\t\n+\t\t\tj = Job.__new(\n+\t\t\tinputSpot,\n+\t\t\tnil,\n+\t\t\tnil,\n+\t\t\t0.4,\n+\t\t\titemsDesired,\n+\t\t\tJob.JobPriority.Medium,\n+\t\t\tfalse\n+\t\t\t)\n+\t\t\t\n+\t\t\tj.RegisterJobCompletedCallback(\"LandingPad_Temp_JobComplete\")\n+\t\t\t\n+\t\t\tfurniture.AddJob(j)\n+\t\tend\n+\telse\n+\t\tfurniture.ChangeParameter(\"smelttime\", deltaTime)\n+\t\t\n+\t\tif(furniture.GetParameter(\"smelttime\") >= furniture.GetParameter(\"smelttime_required\")) then\n+\t\t\tfurniture.SetParameter(\"smelttime\", 0)\n+\t\t\t\n+\t\t --[[\toutputSpot = World.current.GetTileAt(spawnSpot.X+2, spawnSpot.y)","path":"Assets/StreamingAssets/LUA/Furniture.lua","position":33,"original_position":33,"commit_id":"b98959fe13bc6312de07adc71a89c312d08173ef","original_commit_id":"b98959fe13bc6312de07adc71a89c312d08173ef","user":{"login":"OzieGamma","id":8228573,"avatar_url":"https://avatars.githubusercontent.com/u/8228573?v=3","gravatar_id":"","url":"https://api.github.com/users/OzieGamma","html_url":"https://github.com/OzieGamma","followers_url":"https://api.github.com/users/OzieGamma/followers","following_url":"https://api.github.com/users/OzieGamma/following{/other_user}","gists_url":"https://api.github.com/users/OzieGamma/gists{/gist_id}","starred_url":"https://api.github.com/users/OzieGamma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OzieGamma/subscriptions","organizations_url":"https://api.github.com/users/OzieGamma/orgs","repos_url":"https://api.github.com/users/OzieGamma/repos","events_url":"https://api.github.com/users/OzieGamma/events{/privacy}","received_events_url":"https://api.github.com/users/OzieGamma/received_events","type":"User","site_admin":false},"body":"Is this commented code?\r\n\r\nCan't we delete it?","created_at":"2016-08-20T17:37:50Z","updated_at":"2016-08-20T17:37:50Z","html_url":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/428#discussion_r75582158","pull_request_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/pulls/428","_links":{"self":{"href":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/pulls/comments/75582158"},"html":{"href":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/428#discussion_r75582158"},"pull_request":{"href":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/pulls/428"}}},"pull_request":{"url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/pulls/428","id":82084387,"html_url":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/428","diff_url":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/428.diff","patch_url":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/428.patch","issue_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/428","number":428,"state":"open","locked":false,"title":"[WIP] Landing pads","user":{"login":"sboigelot","id":6545998,"avatar_url":"https://avatars.githubusercontent.com/u/6545998?v=3","gravatar_id":"","url":"https://api.github.com/users/sboigelot","html_url":"https://github.com/sboigelot","followers_url":"https://api.github.com/users/sboigelot/followers","following_url":"https://api.github.com/users/sboigelot/following{/other_user}","gists_url":"https://api.github.com/users/sboigelot/gists{/gist_id}","starred_url":"https://api.github.com/users/sboigelot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sboigelot/subscriptions","organizations_url":"https://api.github.com/users/sboigelot/orgs","repos_url":"https://api.github.com/users/sboigelot/repos","events_url":"https://api.github.com/users/sboigelot/events{/privacy}","received_events_url":"https://api.github.com/users/sboigelot/received_events","type":"User","site_admin":false},"body":"A small landing pad for trading.\r\n\r\nThe landing pad currently allow to trade steel for steel, with a small profit, at the cost of work time.\r\n\r\nThe behaviour is a temporary behaviour to be expanded with futher trade system.\r\n\r\n(WIP as I currently have a crash with nil value on lua...)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/6545998/17832800/25e1391e-670c-11e6-9809-7d439ac52fb4.png)\r\n","created_at":"2016-08-20T17:27:37Z","updated_at":"2016-08-20T17:37:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e227cdf4805f4e4479af8d10bb87764ca8be30bc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/pulls/428/commits","review_comments_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/pulls/428/comments","review_comment_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/428/comments","statuses_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/statuses/b98959fe13bc6312de07adc71a89c312d08173ef","head":{"label":"sboigelot:LandinfPads","ref":"LandinfPads","sha":"b98959fe13bc6312de07adc71a89c312d08173ef","user":{"login":"sboigelot","id":6545998,"avatar_url":"https://avatars.githubusercontent.com/u/6545998?v=3","gravatar_id":"","url":"https://api.github.com/users/sboigelot","html_url":"https://github.com/sboigelot","followers_url":"https://api.github.com/users/sboigelot/followers","following_url":"https://api.github.com/users/sboigelot/following{/other_user}","gists_url":"https://api.github.com/users/sboigelot/gists{/gist_id}","starred_url":"https://api.github.com/users/sboigelot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sboigelot/subscriptions","organizations_url":"https://api.github.com/users/sboigelot/orgs","repos_url":"https://api.github.com/users/sboigelot/repos","events_url":"https://api.github.com/users/sboigelot/events{/privacy}","received_events_url":"https://api.github.com/users/sboigelot/received_events","type":"User","site_admin":false},"repo":{"id":66067809,"name":"ProjectPorcupine","full_name":"sboigelot/ProjectPorcupine","owner":{"login":"sboigelot","id":6545998,"avatar_url":"https://avatars.githubusercontent.com/u/6545998?v=3","gravatar_id":"","url":"https://api.github.com/users/sboigelot","html_url":"https://github.com/sboigelot","followers_url":"https://api.github.com/users/sboigelot/followers","following_url":"https://api.github.com/users/sboigelot/following{/other_user}","gists_url":"https://api.github.com/users/sboigelot/gists{/gist_id}","starred_url":"https://api.github.com/users/sboigelot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sboigelot/subscriptions","organizations_url":"https://api.github.com/users/sboigelot/orgs","repos_url":"https://api.github.com/users/sboigelot/repos","events_url":"https://api.github.com/users/sboigelot/events{/privacy}","received_events_url":"https://api.github.com/users/sboigelot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sboigelot/ProjectPorcupine","description":"Project Porcupine: A Base-Building Game...in Space!","fork":true,"url":"https://api.github.com/repos/sboigelot/ProjectPorcupine","forks_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/forks","keys_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/teams","hooks_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/hooks","issue_events_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/issues/events{/number}","events_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/events","assignees_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/assignees{/user}","branches_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/branches{/branch}","tags_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/tags","blobs_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/git/refs{/sha}","trees_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/statuses/{sha}","languages_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/languages","stargazers_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/stargazers","contributors_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/contributors","subscribers_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/subscribers","subscription_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/subscription","commits_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/commits{/sha}","git_commits_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/git/commits{/sha}","comments_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/comments{/number}","issue_comment_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/issues/comments{/number}","contents_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/contents/{+path}","compare_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/merges","archive_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/downloads","issues_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/issues{/number}","pulls_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/pulls{/number}","milestones_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/milestones{/number}","notifications_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/labels{/name}","releases_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/releases{/id}","deployments_url":"https://api.github.com/repos/sboigelot/ProjectPorcupine/deployments","created_at":"2016-08-19T08:48:50Z","updated_at":"2016-08-19T08:48:51Z","pushed_at":"2016-08-20T17:24:05Z","git_url":"git://github.com/sboigelot/ProjectPorcupine.git","ssh_url":"git@github.com:sboigelot/ProjectPorcupine.git","clone_url":"https://github.com/sboigelot/ProjectPorcupine.git","svn_url":"https://github.com/sboigelot/ProjectPorcupine","homepage":null,"size":8900,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"TeamPorcupine:master","ref":"master","sha":"7457090957d4923cf743751e898f5a37adf1eb6b","user":{"login":"TeamPorcupine","id":1299665,"avatar_url":"https://avatars.githubusercontent.com/u/1299665?v=3","gravatar_id":"","url":"https://api.github.com/users/TeamPorcupine","html_url":"https://github.com/TeamPorcupine","followers_url":"https://api.github.com/users/TeamPorcupine/followers","following_url":"https://api.github.com/users/TeamPorcupine/following{/other_user}","gists_url":"https://api.github.com/users/TeamPorcupine/gists{/gist_id}","starred_url":"https://api.github.com/users/TeamPorcupine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeamPorcupine/subscriptions","organizations_url":"https://api.github.com/users/TeamPorcupine/orgs","repos_url":"https://api.github.com/users/TeamPorcupine/repos","events_url":"https://api.github.com/users/TeamPorcupine/events{/privacy}","received_events_url":"https://api.github.com/users/TeamPorcupine/received_events","type":"Organization","site_admin":false},"repo":{"id":65837532,"name":"ProjectPorcupine","full_name":"TeamPorcupine/ProjectPorcupine","owner":{"login":"TeamPorcupine","id":1299665,"avatar_url":"https://avatars.githubusercontent.com/u/1299665?v=3","gravatar_id":"","url":"https://api.github.com/users/TeamPorcupine","html_url":"https://github.com/TeamPorcupine","followers_url":"https://api.github.com/users/TeamPorcupine/followers","following_url":"https://api.github.com/users/TeamPorcupine/following{/other_user}","gists_url":"https://api.github.com/users/TeamPorcupine/gists{/gist_id}","starred_url":"https://api.github.com/users/TeamPorcupine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeamPorcupine/subscriptions","organizations_url":"https://api.github.com/users/TeamPorcupine/orgs","repos_url":"https://api.github.com/users/TeamPorcupine/repos","events_url":"https://api.github.com/users/TeamPorcupine/events{/privacy}","received_events_url":"https://api.github.com/users/TeamPorcupine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TeamPorcupine/ProjectPorcupine","description":"Project Porcupine: A Base-Building Game...in Space!","fork":false,"url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine","forks_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/forks","keys_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/teams","hooks_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/hooks","issue_events_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/events{/number}","events_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/events","assignees_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/assignees{/user}","branches_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/branches{/branch}","tags_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/tags","blobs_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/git/refs{/sha}","trees_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/statuses/{sha}","languages_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/languages","stargazers_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/stargazers","contributors_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/contributors","subscribers_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/subscribers","subscription_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/subscription","commits_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/commits{/sha}","git_commits_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/git/commits{/sha}","comments_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/comments{/number}","issue_comment_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/comments{/number}","contents_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/contents/{+path}","compare_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/merges","archive_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/downloads","issues_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues{/number}","pulls_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/pulls{/number}","milestones_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/milestones{/number}","notifications_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/labels{/name}","releases_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/releases{/id}","deployments_url":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/deployments","created_at":"2016-08-16T16:52:06Z","updated_at":"2016-08-20T17:28:48Z","pushed_at":"2016-08-20T17:30:16Z","git_url":"git://github.com/TeamPorcupine/ProjectPorcupine.git","ssh_url":"git@github.com:TeamPorcupine/ProjectPorcupine.git","clone_url":"https://github.com/TeamPorcupine/ProjectPorcupine.git","svn_url":"https://github.com/TeamPorcupine/ProjectPorcupine","homepage":null,"size":23314,"stargazers_count":175,"watchers_count":175,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":222,"mirror_url":null,"open_issues_count":109,"forks":222,"open_issues":109,"watchers":175,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/pulls/428"},"html":{"href":"https://github.com/TeamPorcupine/ProjectPorcupine/pull/428"},"issue":{"href":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/428"},"comments":{"href":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/issues/428/comments"},"review_comments":{"href":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/pulls/428/comments"},"review_comment":{"href":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/pulls/428/commits"},"statuses":{"href":"https://api.github.com/repos/TeamPorcupine/ProjectPorcupine/statuses/b98959fe13bc6312de07adc71a89c312d08173ef"}}}}
{"actor":{"display_login":"OzieGamma"}}