{"action":"created","comment":{"url":"https://api.github.com/repos/minetest/minetest_game/pulls/comments/89543195","pull_request_review_id":10089144,"id":89543195,"diff_hunk":"@@ -315,10 +315,10 @@ farming.register_plant = function(name, def)\n \tfor i = 1, def.steps do\n \t\tlocal drop = {\n \t\t\titems = {\n-\t\t\t\t{items = {mname .. \":\" .. pname}, rarity = 9 - i},\n-\t\t\t\t{items = {mname .. \":\" .. pname}, rarity= 18 - i * 2},\n-\t\t\t\t{items = {mname .. \":seed_\" .. pname}, rarity = 9 - i},\n-\t\t\t\t{items = {mname .. \":seed_\" .. pname}, rarity = 18 - i * 2},\n+\t\t\t\t{items = {mname .. \":\" .. pname}, rarity = 9 - ( i / 8 ) * def.steps},","path":"mods/farming/api.lua","position":8,"original_position":8,"commit_id":"cc5dbc81a4d8c000e79e152c9ed6c1373edb981a","original_commit_id":"cc5dbc81a4d8c000e79e152c9ed6c1373edb981a","user":{"login":"paramat","id":3686677,"avatar_url":"https://avatars.githubusercontent.com/u/3686677?v=3","gravatar_id":"","url":"https://api.github.com/users/paramat","html_url":"https://github.com/paramat","followers_url":"https://api.github.com/users/paramat/followers","following_url":"https://api.github.com/users/paramat/following{/other_user}","gists_url":"https://api.github.com/users/paramat/gists{/gist_id}","starred_url":"https://api.github.com/users/paramat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paramat/subscriptions","organizations_url":"https://api.github.com/users/paramat/orgs","repos_url":"https://api.github.com/users/paramat/repos","events_url":"https://api.github.com/users/paramat/events{/privacy}","received_events_url":"https://api.github.com/users/paramat/received_events","type":"User","site_admin":false},"body":"rarity is linear with i, let's keep it that way.","created_at":"2016-11-24T20:10:51Z","updated_at":"2016-11-24T20:10:51Z","html_url":"https://github.com/minetest/minetest_game/pull/1406#discussion_r89543195","pull_request_url":"https://api.github.com/repos/minetest/minetest_game/pulls/1406","_links":{"self":{"href":"https://api.github.com/repos/minetest/minetest_game/pulls/comments/89543195"},"html":{"href":"https://github.com/minetest/minetest_game/pull/1406#discussion_r89543195"},"pull_request":{"href":"https://api.github.com/repos/minetest/minetest_game/pulls/1406"}}},"pull_request":{"url":"https://api.github.com/repos/minetest/minetest_game/pulls/1406","id":94854764,"html_url":"https://github.com/minetest/minetest_game/pull/1406","diff_url":"https://github.com/minetest/minetest_game/pull/1406.diff","patch_url":"https://github.com/minetest/minetest_game/pull/1406.patch","issue_url":"https://api.github.com/repos/minetest/minetest_game/issues/1406","number":1406,"state":"open","locked":false,"title":"Make drop logic working better for non-8-step-plants","user":{"login":"Thomas--S","id":7414098,"avatar_url":"https://avatars.githubusercontent.com/u/7414098?v=3","gravatar_id":"","url":"https://api.github.com/users/Thomas--S","html_url":"https://github.com/Thomas--S","followers_url":"https://api.github.com/users/Thomas--S/followers","following_url":"https://api.github.com/users/Thomas--S/following{/other_user}","gists_url":"https://api.github.com/users/Thomas--S/gists{/gist_id}","starred_url":"https://api.github.com/users/Thomas--S/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thomas--S/subscriptions","organizations_url":"https://api.github.com/users/Thomas--S/orgs","repos_url":"https://api.github.com/users/Thomas--S/repos","events_url":"https://api.github.com/users/Thomas--S/events{/privacy}","received_events_url":"https://api.github.com/users/Thomas--S/received_events","type":"User","site_admin":false},"body":"Notice: This is untested!\r\n\r\nAlso, please check, if I had an error in my logic. Thanks!","created_at":"2016-11-22T16:58:32Z","updated_at":"2016-11-24T20:10:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25342fdf54464182c37485b1d23e0630e716c1be","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/minetest/minetest_game/pulls/1406/commits","review_comments_url":"https://api.github.com/repos/minetest/minetest_game/pulls/1406/comments","review_comment_url":"https://api.github.com/repos/minetest/minetest_game/pulls/comments{/number}","comments_url":"https://api.github.com/repos/minetest/minetest_game/issues/1406/comments","statuses_url":"https://api.github.com/repos/minetest/minetest_game/statuses/cc5dbc81a4d8c000e79e152c9ed6c1373edb981a","head":{"label":"Thomas--S:patch-2","ref":"patch-2","sha":"cc5dbc81a4d8c000e79e152c9ed6c1373edb981a","user":{"login":"Thomas--S","id":7414098,"avatar_url":"https://avatars.githubusercontent.com/u/7414098?v=3","gravatar_id":"","url":"https://api.github.com/users/Thomas--S","html_url":"https://github.com/Thomas--S","followers_url":"https://api.github.com/users/Thomas--S/followers","following_url":"https://api.github.com/users/Thomas--S/following{/other_user}","gists_url":"https://api.github.com/users/Thomas--S/gists{/gist_id}","starred_url":"https://api.github.com/users/Thomas--S/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thomas--S/subscriptions","organizations_url":"https://api.github.com/users/Thomas--S/orgs","repos_url":"https://api.github.com/users/Thomas--S/repos","events_url":"https://api.github.com/users/Thomas--S/events{/privacy}","received_events_url":"https://api.github.com/users/Thomas--S/received_events","type":"User","site_admin":false},"repo":{"id":58311604,"name":"minetest_game","full_name":"Thomas--S/minetest_game","owner":{"login":"Thomas--S","id":7414098,"avatar_url":"https://avatars.githubusercontent.com/u/7414098?v=3","gravatar_id":"","url":"https://api.github.com/users/Thomas--S","html_url":"https://github.com/Thomas--S","followers_url":"https://api.github.com/users/Thomas--S/followers","following_url":"https://api.github.com/users/Thomas--S/following{/other_user}","gists_url":"https://api.github.com/users/Thomas--S/gists{/gist_id}","starred_url":"https://api.github.com/users/Thomas--S/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thomas--S/subscriptions","organizations_url":"https://api.github.com/users/Thomas--S/orgs","repos_url":"https://api.github.com/users/Thomas--S/repos","events_url":"https://api.github.com/users/Thomas--S/events{/privacy}","received_events_url":"https://api.github.com/users/Thomas--S/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Thomas--S/minetest_game","description":"Minetest Game - The default game for the Minetest engine [https://github.com/minetest/minetest/]","fork":true,"url":"https://api.github.com/repos/Thomas--S/minetest_game","forks_url":"https://api.github.com/repos/Thomas--S/minetest_game/forks","keys_url":"https://api.github.com/repos/Thomas--S/minetest_game/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Thomas--S/minetest_game/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Thomas--S/minetest_game/teams","hooks_url":"https://api.github.com/repos/Thomas--S/minetest_game/hooks","issue_events_url":"https://api.github.com/repos/Thomas--S/minetest_game/issues/events{/number}","events_url":"https://api.github.com/repos/Thomas--S/minetest_game/events","assignees_url":"https://api.github.com/repos/Thomas--S/minetest_game/assignees{/user}","branches_url":"https://api.github.com/repos/Thomas--S/minetest_game/branches{/branch}","tags_url":"https://api.github.com/repos/Thomas--S/minetest_game/tags","blobs_url":"https://api.github.com/repos/Thomas--S/minetest_game/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Thomas--S/minetest_game/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Thomas--S/minetest_game/git/refs{/sha}","trees_url":"https://api.github.com/repos/Thomas--S/minetest_game/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Thomas--S/minetest_game/statuses/{sha}","languages_url":"https://api.github.com/repos/Thomas--S/minetest_game/languages","stargazers_url":"https://api.github.com/repos/Thomas--S/minetest_game/stargazers","contributors_url":"https://api.github.com/repos/Thomas--S/minetest_game/contributors","subscribers_url":"https://api.github.com/repos/Thomas--S/minetest_game/subscribers","subscription_url":"https://api.github.com/repos/Thomas--S/minetest_game/subscription","commits_url":"https://api.github.com/repos/Thomas--S/minetest_game/commits{/sha}","git_commits_url":"https://api.github.com/repos/Thomas--S/minetest_game/git/commits{/sha}","comments_url":"https://api.github.com/repos/Thomas--S/minetest_game/comments{/number}","issue_comment_url":"https://api.github.com/repos/Thomas--S/minetest_game/issues/comments{/number}","contents_url":"https://api.github.com/repos/Thomas--S/minetest_game/contents/{+path}","compare_url":"https://api.github.com/repos/Thomas--S/minetest_game/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Thomas--S/minetest_game/merges","archive_url":"https://api.github.com/repos/Thomas--S/minetest_game/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Thomas--S/minetest_game/downloads","issues_url":"https://api.github.com/repos/Thomas--S/minetest_game/issues{/number}","pulls_url":"https://api.github.com/repos/Thomas--S/minetest_game/pulls{/number}","milestones_url":"https://api.github.com/repos/Thomas--S/minetest_game/milestones{/number}","notifications_url":"https://api.github.com/repos/Thomas--S/minetest_game/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Thomas--S/minetest_game/labels{/name}","releases_url":"https://api.github.com/repos/Thomas--S/minetest_game/releases{/id}","deployments_url":"https://api.github.com/repos/Thomas--S/minetest_game/deployments","created_at":"2016-05-08T12:45:48Z","updated_at":"2016-05-08T12:45:50Z","pushed_at":"2016-11-22T16:57:29Z","git_url":"git://github.com/Thomas--S/minetest_game.git","ssh_url":"git@github.com:Thomas--S/minetest_game.git","clone_url":"https://github.com/Thomas--S/minetest_game.git","svn_url":"https://github.com/Thomas--S/minetest_game","homepage":"http://minetest.net/","size":5368,"stargazers_count":0,"watchers_count":0,"language":"Lua","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"minetest:master","ref":"master","sha":"09a229b412401a54cb635a0ffb9f37063798775b","user":{"login":"minetest","id":2624745,"avatar_url":"https://avatars.githubusercontent.com/u/2624745?v=3","gravatar_id":"","url":"https://api.github.com/users/minetest","html_url":"https://github.com/minetest","followers_url":"https://api.github.com/users/minetest/followers","following_url":"https://api.github.com/users/minetest/following{/other_user}","gists_url":"https://api.github.com/users/minetest/gists{/gist_id}","starred_url":"https://api.github.com/users/minetest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minetest/subscriptions","organizations_url":"https://api.github.com/users/minetest/orgs","repos_url":"https://api.github.com/users/minetest/repos","events_url":"https://api.github.com/users/minetest/events{/privacy}","received_events_url":"https://api.github.com/users/minetest/received_events","type":"Organization","site_admin":false},"repo":{"id":3834571,"name":"minetest_game","full_name":"minetest/minetest_game","owner":{"login":"minetest","id":2624745,"avatar_url":"https://avatars.githubusercontent.com/u/2624745?v=3","gravatar_id":"","url":"https://api.github.com/users/minetest","html_url":"https://github.com/minetest","followers_url":"https://api.github.com/users/minetest/followers","following_url":"https://api.github.com/users/minetest/following{/other_user}","gists_url":"https://api.github.com/users/minetest/gists{/gist_id}","starred_url":"https://api.github.com/users/minetest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minetest/subscriptions","organizations_url":"https://api.github.com/users/minetest/orgs","repos_url":"https://api.github.com/users/minetest/repos","events_url":"https://api.github.com/users/minetest/events{/privacy}","received_events_url":"https://api.github.com/users/minetest/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/minetest/minetest_game","description":"Minetest Game - The default game for the Minetest engine [https://github.com/minetest/minetest/]","fork":false,"url":"https://api.github.com/repos/minetest/minetest_game","forks_url":"https://api.github.com/repos/minetest/minetest_game/forks","keys_url":"https://api.github.com/repos/minetest/minetest_game/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minetest/minetest_game/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minetest/minetest_game/teams","hooks_url":"https://api.github.com/repos/minetest/minetest_game/hooks","issue_events_url":"https://api.github.com/repos/minetest/minetest_game/issues/events{/number}","events_url":"https://api.github.com/repos/minetest/minetest_game/events","assignees_url":"https://api.github.com/repos/minetest/minetest_game/assignees{/user}","branches_url":"https://api.github.com/repos/minetest/minetest_game/branches{/branch}","tags_url":"https://api.github.com/repos/minetest/minetest_game/tags","blobs_url":"https://api.github.com/repos/minetest/minetest_game/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minetest/minetest_game/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minetest/minetest_game/git/refs{/sha}","trees_url":"https://api.github.com/repos/minetest/minetest_game/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minetest/minetest_game/statuses/{sha}","languages_url":"https://api.github.com/repos/minetest/minetest_game/languages","stargazers_url":"https://api.github.com/repos/minetest/minetest_game/stargazers","contributors_url":"https://api.github.com/repos/minetest/minetest_game/contributors","subscribers_url":"https://api.github.com/repos/minetest/minetest_game/subscribers","subscription_url":"https://api.github.com/repos/minetest/minetest_game/subscription","commits_url":"https://api.github.com/repos/minetest/minetest_game/commits{/sha}","git_commits_url":"https://api.github.com/repos/minetest/minetest_game/git/commits{/sha}","comments_url":"https://api.github.com/repos/minetest/minetest_game/comments{/number}","issue_comment_url":"https://api.github.com/repos/minetest/minetest_game/issues/comments{/number}","contents_url":"https://api.github.com/repos/minetest/minetest_game/contents/{+path}","compare_url":"https://api.github.com/repos/minetest/minetest_game/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minetest/minetest_game/merges","archive_url":"https://api.github.com/repos/minetest/minetest_game/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minetest/minetest_game/downloads","issues_url":"https://api.github.com/repos/minetest/minetest_game/issues{/number}","pulls_url":"https://api.github.com/repos/minetest/minetest_game/pulls{/number}","milestones_url":"https://api.github.com/repos/minetest/minetest_game/milestones{/number}","notifications_url":"https://api.github.com/repos/minetest/minetest_game/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minetest/minetest_game/labels{/name}","releases_url":"https://api.github.com/repos/minetest/minetest_game/releases{/id}","deployments_url":"https://api.github.com/repos/minetest/minetest_game/deployments","created_at":"2012-03-26T16:03:29Z","updated_at":"2016-11-23T09:44:16Z","pushed_at":"2016-11-24T17:29:10Z","git_url":"git://github.com/minetest/minetest_game.git","ssh_url":"git@github.com:minetest/minetest_game.git","clone_url":"https://github.com/minetest/minetest_game.git","svn_url":"https://github.com/minetest/minetest_game","homepage":"http://minetest.net/","size":14758,"stargazers_count":469,"watchers_count":469,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":269,"mirror_url":null,"open_issues_count":58,"forks":269,"open_issues":58,"watchers":469,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/minetest/minetest_game/pulls/1406"},"html":{"href":"https://github.com/minetest/minetest_game/pull/1406"},"issue":{"href":"https://api.github.com/repos/minetest/minetest_game/issues/1406"},"comments":{"href":"https://api.github.com/repos/minetest/minetest_game/issues/1406/comments"},"review_comments":{"href":"https://api.github.com/repos/minetest/minetest_game/pulls/1406/comments"},"review_comment":{"href":"https://api.github.com/repos/minetest/minetest_game/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/minetest/minetest_game/pulls/1406/commits"},"statuses":{"href":"https://api.github.com/repos/minetest/minetest_game/statuses/cc5dbc81a4d8c000e79e152c9ed6c1373edb981a"}}}}
{"actor":{"display_login":"paramat"}}