{"action":"created","comment":{"url":"https://api.github.com/repos/minetest/minetest_game/pulls/comments/80361452","id":80361452,"diff_hunk":"@@ -0,0 +1,162 @@\n+creative = {}\n+local player_inventory = {}\n+\n+function creative.init_creative_inventory(player)\n+\tlocal player_name = player:get_player_name()\n+\tplayer_inventory[player_name] = {\n+\t\tsize = 0,\n+\t\tfilter = \"\",\n+\t\tstart_i = 1\n+\t}\n+\n+\tminetest.create_detached_inventory(\"creative_\" .. player_name, {\n+\t\tallow_move = function(inv, from_list, from_index, to_list, to_index, count, player2)\n+\t\t\tif not to_list == \"main\" then\n+\t\t\t\treturn count\n+\t\t\telse\n+\t\t\t\treturn 0\n+\t\t\tend\n+\t\tend,\n+\t\tallow_put = function(inv, listname, index, stack, player2)\n+\t\t\treturn 0\n+\t\tend,\n+\t\tallow_take = function(inv, listname, index, stack, player2)\n+\t\t\treturn -1\n+\t\tend,\n+\t\ton_move = function(inv, from_list, from_index, to_list, to_index, count, player2)\n+\t\tend,\n+\t\ton_put = function(inv, listname, index, stack, player2)\n+\t\tend,\n+\t\ton_take = function(inv, listname, index, stack, player2)\n+\t\t\tif stack and stack:get_count() > 0 then\n+\t\t\t\tminetest.log(\"action\", player_name .. \" takes \" .. stack:get_name().. \" from creative inventory\")\n+\t\t\tend\n+\t\tend,\n+\t})\n+\n+\tcreative.update_creative_inventory(player_name, minetest.registered_items)\n+end\n+\n+function creative.update_creative_inventory(player_name, tab_content)\n+\tlocal creative_list = {}\n+\tlocal player_inv = minetest.get_inventory({type = \"detached\", name = \"creative_\" .. player_name})\n+\tlocal inv = player_inventory[player_name]\n+\n+\tfor name, def in pairs(tab_content) do\n+\t\tif not (def.groups.not_in_creative_inventory == 1) and\n+\t\t\t\tdef.description and def.description ~= \"\" and\n+\t\t\t\t(def.name:find(inv.filter, 1, true) or\n+\t\t\t\t\tdef.description:lower():find(inv.filter, 1, true)) then\n+\t\t\tcreative_list[#creative_list+1] = name\n+\t\tend\n+\tend\n+\n+\ttable.sort(creative_list)\n+\tplayer_inv:set_size(\"main\", #creative_list)\n+\tplayer_inv:set_list(\"main\", creative_list)\n+\tinv.size = #creative_list\n+end\n+\n+-- Create the trash field\n+local trash = minetest.create_detached_inventory(\"creative_trash\", {\n+\t-- Allow the stack to be placed and remove it in on_put()\n+\t-- This allows the creative inventory to restore the stack\n+\tallow_put = function(inv, listname, index, stack, player)\n+\t\treturn stack:get_count()\n+\tend,\n+\ton_put = function(inv, listname)\n+\t\tinv:set_list(listname, {})\n+\tend,\n+})\n+trash:set_size(\"main\", 1)\n+\n+creative.formspec_add = \"\"\n+\n+function creative.register_tab(name, title, items)\n+\tsfinv.register_page(\"creative:\" .. name, {\n+\t\ttitle = title,\n+\t\tget = function(self, player, context)\n+\t\t\tlocal player_name = player:get_player_name()\n+\t\t\tcreative.update_creative_inventory(player_name, items)\n+\t\t\tlocal inv = player_inventory[player_name]\n+\t\t\tlocal start_i = inv.start_i or 0\n+\t\t\tlocal pagenum = math.floor(start_i / (3*8) + 1)\n+\t\t\tlocal pagemax = math.ceil(inv.size / (3*8))\n+\t\t\treturn sfinv.make_formspec(player, context,\n+\t\t\t\t\"label[6.2,3.35;\" .. minetest.colorize(\"#FFFF00\", tostring(pagenum)) .. \" / \" .. tostring(pagemax) .. \"]\" ..\n+\t\t\t\t[[\n+\t\t\t\t\tlistcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF]\n+\t\t\t\t\tlist[current_player;main;0,4.7;8,1;]\n+\t\t\t\t\tlist[current_player;main;0,5.85;8,3;8]\n+\t\t\t\t\tlist[detached:creative_trash;main;4,3.3;1,1;]\n+\t\t\t\t\tlistring[]\n+\t\t\t\t\tbutton[5.4,3.2;0.8,0.9;creative_prev;<]\n+\t\t\t\t\tbutton[7.25,3.2;0.8,0.9;creative_next;>]\n+\t\t\t\t\tbutton[2.1,3.4;0.8,0.5;creative_search;?]\n+\t\t\t\t\tbutton[2.75,3.4;0.8,0.5;creative_clear;X]\n+\t\t\t\t\ttooltip[creative_search;Search]\n+\t\t\t\t\ttooltip[creative_clear;Reset]\n+\t\t\t\t\tlistring[current_player;main]\n+\t\t\t\t]] ..\n+\t\t\t\t\"field[0.3,3.5;2.2,1;creative_filter;;\" .. minetest.formspec_escape(inv.filter) .. \";false]\" ..\n+\t\t\t\t\"listring[detached:creative_\" .. player_name .. \";main]\" ..\n+\t\t\t\t\"list[detached:creative_\" .. player_name .. \";main;0,0;8,3;\" .. tostring(start_i) .. \"]\" ..\n+\t\t\t\tdefault.get_hotbar_bg(0,4.7) ..\n+\t\t\t\tdefault.gui_bg .. default.gui_bg_img .. default.gui_slots\n+\t\t\t\t.. creative.formspec_add, false)\n+\t\tend,\n+\t\ton_enter = function(self, player, context)\n+\t\t\tlocal player_name = player:get_player_name()\n+\t\t\tlocal inv = player_inventory[player_name]\n+\t\t\tif inv then\n+\t\t\t\tinv.start_i = 0\n+\t\t\tend\n+\t\tend,\n+\t\ton_player_receive_fields = function(self, player, context, fields)\n+\t\t\tlocal player_name = player:get_player_name()\n+\t\t\tlocal inv = player_inventory[player_name]\n+\n+\t\t\tif fields.creative_clear then\n+\t\t\t\tinv.start_i = 0\n+\t\t\t\tinv.filter = \"\"\n+\t\t\t\tcreative.update_creative_inventory(player_name, items)\n+\t\t\t\tsfinv.set(player, context)\n+\t\t\telseif fields.creative_search or\n+\t\t\t\t\tfields.key_enter_field == \"creative_filter\" then\n+\t\t\t\tinv.start_i = 0\n+\t\t\t\tinv.filter = fields.creative_filter:lower()","path":"mods/creative/inventory.lua","position":127,"original_position":127,"commit_id":"cf76e418192c68c31f7251563d224f3a45c5805c","original_commit_id":"cf76e418192c68c31f7251563d224f3a45c5805c","user":{"login":"t4im","id":1937987,"avatar_url":"https://avatars.githubusercontent.com/u/1937987?v=3","gravatar_id":"","url":"https://api.github.com/users/t4im","html_url":"https://github.com/t4im","followers_url":"https://api.github.com/users/t4im/followers","following_url":"https://api.github.com/users/t4im/following{/other_user}","gists_url":"https://api.github.com/users/t4im/gists{/gist_id}","starred_url":"https://api.github.com/users/t4im/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t4im/subscriptions","organizations_url":"https://api.github.com/users/t4im/orgs","repos_url":"https://api.github.com/users/t4im/repos","events_url":"https://api.github.com/users/t4im/events{/privacy}","received_events_url":"https://api.github.com/users/t4im/received_events","type":"User","site_admin":false},"body":"To produce the crash: click the search field on a client before the formspec changes.","created_at":"2016-09-24T14:10:06Z","updated_at":"2016-09-24T14:10:06Z","html_url":"https://github.com/minetest/minetest_game/pull/1179#discussion_r80361452","pull_request_url":"https://api.github.com/repos/minetest/minetest_game/pulls/1179","_links":{"self":{"href":"https://api.github.com/repos/minetest/minetest_game/pulls/comments/80361452"},"html":{"href":"https://github.com/minetest/minetest_game/pull/1179#discussion_r80361452"},"pull_request":{"href":"https://api.github.com/repos/minetest/minetest_game/pulls/1179"}}},"pull_request":{"url":"https://api.github.com/repos/minetest/minetest_game/pulls/1179","id":76196589,"html_url":"https://github.com/minetest/minetest_game/pull/1179","diff_url":"https://github.com/minetest/minetest_game/pull/1179.diff","patch_url":"https://github.com/minetest/minetest_game/pull/1179.patch","issue_url":"https://api.github.com/repos/minetest/minetest_game/issues/1179","number":1179,"state":"open","locked":false,"title":"Add simple fast inventory","user":{"login":"rubenwardy","id":2122943,"avatar_url":"https://avatars.githubusercontent.com/u/2122943?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenwardy","html_url":"https://github.com/rubenwardy","followers_url":"https://api.github.com/users/rubenwardy/followers","following_url":"https://api.github.com/users/rubenwardy/following{/other_user}","gists_url":"https://api.github.com/users/rubenwardy/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenwardy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenwardy/subscriptions","organizations_url":"https://api.github.com/users/rubenwardy/orgs","repos_url":"https://api.github.com/users/rubenwardy/repos","events_url":"https://api.github.com/users/rubenwardy/events{/privacy}","received_events_url":"https://api.github.com/users/rubenwardy/received_events","type":"User","site_admin":false},"body":"Allows mods to define tabs for the 'i' inventory, even when creative mode is off.\r\n\r\n```lua\r\nsfinv.register_page(\"mymod:crafting2\", {\r\n\ttitle = \"Crafting2\",\r\n\tget = function(self, player, context, vars)\r\n\t\treturn vars.layout .. [[\r\n\t\t\t\tlist[current_player;craft;1.75,0.5;3,3;]\r\n\t\t\t\tlist[current_player;craftpreview;5.75,1.5;1,1;]\r\n\t\t\t\timage[4.75,1.5;1,1;gui_furnace_arrow_bg.png^[transformR270]\r\n\t\t\t\tlistring[current_player;main]\r\n\t\t\t\tlistring[current_player;craft]\r\n\t\t\t\timage[0,4.75;1,1;gui_hb_bg.png]\r\n\t\t\t\timage[1,4.75;1,1;gui_hb_bg.png]\r\n\t\t\t\timage[2,4.75;1,1;gui_hb_bg.png]\r\n\t\t\t\timage[3,4.75;1,1;gui_hb_bg.png]\r\n\t\t\t\timage[4,4.75;1,1;gui_hb_bg.png]\r\n\t\t\t\timage[5,4.75;1,1;gui_hb_bg.png]\r\n\t\t\t\timage[6,4.75;1,1;gui_hb_bg.png]\r\n\t\t\t\timage[7,4.75;1,1;gui_hb_bg.png]\r\n\t\t\t]]\r\n\tend,\r\n\ton_player_receive_fields = function(self, player, context, fields)\r\n\t\tprint(dump(fields))\r\n\tend\r\n})\r\n```\r\n\r\n## Potential Problems\r\n\r\n* Allowing mods to inject formspec into existing pages - eg: armor mods. This could be done currently, and would work with the default layout given, but if a layout used containers then the injected content would not be shifted down. TL;DR: it is possible for mods to inject content, but it would break layout support for that page a little\r\n\r\n## Planned improvements\r\n\r\nWhen this PR is merged, I'll work on:\r\n\r\n* Unified inventory support using a wrapper\r\n* Creative inventory improvements:\r\n   * Sort by description (more natural)\r\n   * Add sub sections for nodes, such as natural items / decorations / mechanics / etc\r\n    * ...\r\n ","created_at":"2016-07-04T19:51:56Z","updated_at":"2016-09-24T14:10:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f3b359522df97e613be6108cdab48f436fa517d9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/minetest/minetest_game/pulls/1179/commits","review_comments_url":"https://api.github.com/repos/minetest/minetest_game/pulls/1179/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/1179/comments","statuses_url":"https://api.github.com/repos/minetest/minetest_game/statuses/cf76e418192c68c31f7251563d224f3a45c5805c","head":{"label":"rubenwardy:sfinv","ref":"sfinv","sha":"cf76e418192c68c31f7251563d224f3a45c5805c","user":{"login":"rubenwardy","id":2122943,"avatar_url":"https://avatars.githubusercontent.com/u/2122943?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenwardy","html_url":"https://github.com/rubenwardy","followers_url":"https://api.github.com/users/rubenwardy/followers","following_url":"https://api.github.com/users/rubenwardy/following{/other_user}","gists_url":"https://api.github.com/users/rubenwardy/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenwardy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenwardy/subscriptions","organizations_url":"https://api.github.com/users/rubenwardy/orgs","repos_url":"https://api.github.com/users/rubenwardy/repos","events_url":"https://api.github.com/users/rubenwardy/events{/privacy}","received_events_url":"https://api.github.com/users/rubenwardy/received_events","type":"User","site_admin":false},"repo":{"id":39270544,"name":"minetest_game","full_name":"rubenwardy/minetest_game","owner":{"login":"rubenwardy","id":2122943,"avatar_url":"https://avatars.githubusercontent.com/u/2122943?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenwardy","html_url":"https://github.com/rubenwardy","followers_url":"https://api.github.com/users/rubenwardy/followers","following_url":"https://api.github.com/users/rubenwardy/following{/other_user}","gists_url":"https://api.github.com/users/rubenwardy/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenwardy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenwardy/subscriptions","organizations_url":"https://api.github.com/users/rubenwardy/orgs","repos_url":"https://api.github.com/users/rubenwardy/repos","events_url":"https://api.github.com/users/rubenwardy/events{/privacy}","received_events_url":"https://api.github.com/users/rubenwardy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rubenwardy/minetest_game","description":"The main game for the Minetest game engine [minetest_game] [https://github.com/minetest/minetest/]","fork":true,"url":"https://api.github.com/repos/rubenwardy/minetest_game","forks_url":"https://api.github.com/repos/rubenwardy/minetest_game/forks","keys_url":"https://api.github.com/repos/rubenwardy/minetest_game/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubenwardy/minetest_game/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubenwardy/minetest_game/teams","hooks_url":"https://api.github.com/repos/rubenwardy/minetest_game/hooks","issue_events_url":"https://api.github.com/repos/rubenwardy/minetest_game/issues/events{/number}","events_url":"https://api.github.com/repos/rubenwardy/minetest_game/events","assignees_url":"https://api.github.com/repos/rubenwardy/minetest_game/assignees{/user}","branches_url":"https://api.github.com/repos/rubenwardy/minetest_game/branches{/branch}","tags_url":"https://api.github.com/repos/rubenwardy/minetest_game/tags","blobs_url":"https://api.github.com/repos/rubenwardy/minetest_game/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubenwardy/minetest_game/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubenwardy/minetest_game/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubenwardy/minetest_game/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubenwardy/minetest_game/statuses/{sha}","languages_url":"https://api.github.com/repos/rubenwardy/minetest_game/languages","stargazers_url":"https://api.github.com/repos/rubenwardy/minetest_game/stargazers","contributors_url":"https://api.github.com/repos/rubenwardy/minetest_game/contributors","subscribers_url":"https://api.github.com/repos/rubenwardy/minetest_game/subscribers","subscription_url":"https://api.github.com/repos/rubenwardy/minetest_game/subscription","commits_url":"https://api.github.com/repos/rubenwardy/minetest_game/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubenwardy/minetest_game/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubenwardy/minetest_game/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubenwardy/minetest_game/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubenwardy/minetest_game/contents/{+path}","compare_url":"https://api.github.com/repos/rubenwardy/minetest_game/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubenwardy/minetest_game/merges","archive_url":"https://api.github.com/repos/rubenwardy/minetest_game/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubenwardy/minetest_game/downloads","issues_url":"https://api.github.com/repos/rubenwardy/minetest_game/issues{/number}","pulls_url":"https://api.github.com/repos/rubenwardy/minetest_game/pulls{/number}","milestones_url":"https://api.github.com/repos/rubenwardy/minetest_game/milestones{/number}","notifications_url":"https://api.github.com/repos/rubenwardy/minetest_game/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubenwardy/minetest_game/labels{/name}","releases_url":"https://api.github.com/repos/rubenwardy/minetest_game/releases{/id}","deployments_url":"https://api.github.com/repos/rubenwardy/minetest_game/deployments","created_at":"2015-07-17T18:58:44Z","updated_at":"2016-06-17T11:13:42Z","pushed_at":"2016-09-14T19:32:02Z","git_url":"git://github.com/rubenwardy/minetest_game.git","ssh_url":"git@github.com:rubenwardy/minetest_game.git","clone_url":"https://github.com/rubenwardy/minetest_game.git","svn_url":"https://github.com/rubenwardy/minetest_game","homepage":"http://minetest.net/","size":4921,"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":"34c768d394276e78d657a22fac9bf127f95a7152","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-09-22T04:14:17Z","pushed_at":"2016-09-24T10:52:00Z","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":14105,"stargazers_count":457,"watchers_count":457,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":260,"mirror_url":null,"open_issues_count":56,"forks":260,"open_issues":56,"watchers":457,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/minetest/minetest_game/pulls/1179"},"html":{"href":"https://github.com/minetest/minetest_game/pull/1179"},"issue":{"href":"https://api.github.com/repos/minetest/minetest_game/issues/1179"},"comments":{"href":"https://api.github.com/repos/minetest/minetest_game/issues/1179/comments"},"review_comments":{"href":"https://api.github.com/repos/minetest/minetest_game/pulls/1179/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/1179/commits"},"statuses":{"href":"https://api.github.com/repos/minetest/minetest_game/statuses/cf76e418192c68c31f7251563d224f3a45c5805c"}}}}
{"actor":{"display_login":"t4im"}}