{"action":"created","comment":{"url":"https://api.github.com/repos/Refactorio/RedMew/pulls/comments/243010533","pull_request_review_id":186666393,"id":243010533,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MzAxMDUzMw==","diff_hunk":"@@ -213,9 +216,8 @@ function auto_place_entity_around_target(entity, scan_radius, mode, density, sur\n     return false\n end\n \n-function create_entitie_cluster(name, pos, amount)\n-\n-    local surface = game.surfaces[1]\n+Public.create_entitie_cluster = function(name, pos, amount)\n+    local surface = RS.get_surface()","path":"map_gen/shared/ent_functions.lua","position":32,"original_position":32,"commit_id":"91de41e1f1c0d0b9fe38a4badeb6802b1d8ef9a1","original_commit_id":"91de41e1f1c0d0b9fe38a4badeb6802b1d8ef9a1","user":{"login":"stickler-ci[bot]","id":41810448,"node_id":"MDM6Qm90NDE4MTA0NDg=","avatar_url":"https://avatars3.githubusercontent.com/in/15299?v=4","gravatar_id":"","url":"https://api.github.com/users/stickler-ci%5Bbot%5D","html_url":"https://github.com/apps/stickler-ci","followers_url":"https://api.github.com/users/stickler-ci%5Bbot%5D/followers","following_url":"https://api.github.com/users/stickler-ci%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stickler-ci%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stickler-ci%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stickler-ci%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stickler-ci%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stickler-ci%5Bbot%5D/repos","events_url":"https://api.github.com/users/stickler-ci%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stickler-ci%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"(W211) unused variable 'surface'","created_at":"2018-12-19T17:38:40Z","updated_at":"2018-12-19T17:38:40Z","html_url":"https://github.com/Refactorio/RedMew/pull/555#discussion_r243010533","pull_request_url":"https://api.github.com/repos/Refactorio/RedMew/pulls/555","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Refactorio/RedMew/pulls/comments/243010533"},"html":{"href":"https://github.com/Refactorio/RedMew/pull/555#discussion_r243010533"},"pull_request":{"href":"https://api.github.com/repos/Refactorio/RedMew/pulls/555"}}},"pull_request":{"url":"https://api.github.com/repos/Refactorio/RedMew/pulls/555","id":238988251,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4OTg4MjUx","html_url":"https://github.com/Refactorio/RedMew/pull/555","diff_url":"https://github.com/Refactorio/RedMew/pull/555.diff","patch_url":"https://github.com/Refactorio/RedMew/pull/555.patch","issue_url":"https://api.github.com/repos/Refactorio/RedMew/issues/555","number":555,"state":"open","locked":false,"title":"Create a new surface for RedMew","user":{"login":"plague006","id":10162554,"node_id":"MDQ6VXNlcjEwMTYyNTU0","avatar_url":"https://avatars2.githubusercontent.com/u/10162554?v=4","gravatar_id":"","url":"https://api.github.com/users/plague006","html_url":"https://github.com/plague006","followers_url":"https://api.github.com/users/plague006/followers","following_url":"https://api.github.com/users/plague006/following{/other_user}","gists_url":"https://api.github.com/users/plague006/gists{/gist_id}","starred_url":"https://api.github.com/users/plague006/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plague006/subscriptions","organizations_url":"https://api.github.com/users/plague006/orgs","repos_url":"https://api.github.com/users/plague006/repos","events_url":"https://api.github.com/users/plague006/events{/privacy}","received_events_url":"https://api.github.com/users/plague006/received_events","type":"User","site_admin":false},"body":"This introduces redmew_surface (as always my names are terrible and I would love a name suggestion)\r\n\r\nMaps are no longer generated on nauvis. The biggest benefit is that it gives us control in the code over  \"New Game\" parameters like map_gen, difficulty, and map_settings.\r\n\r\nWe no longer have to set anything when creating a world from the scenario, just hit \"generate\". Further, this means that maps requiring specific map_gen can be launched from the server without issue. Each map can explicitly define the type of world they want to start with. All options can be set via the Public table.\r\n\r\nNightfall and terraforming are untested, but both due for more tweaks and are on my todo list.\r\n\r\nDimensions received some special attention and seems to work as intended.","created_at":"2018-12-16T20:27:37Z","updated_at":"2018-12-19T17:38:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4386235612454b9136e72b48834ec8ce76c22205","assignee":null,"assignees":[],"requested_reviewers":[{"login":"grilledham","id":10003572,"node_id":"MDQ6VXNlcjEwMDAzNTcy","avatar_url":"https://avatars3.githubusercontent.com/u/10003572?v=4","gravatar_id":"","url":"https://api.github.com/users/grilledham","html_url":"https://github.com/grilledham","followers_url":"https://api.github.com/users/grilledham/followers","following_url":"https://api.github.com/users/grilledham/following{/other_user}","gists_url":"https://api.github.com/users/grilledham/gists{/gist_id}","starred_url":"https://api.github.com/users/grilledham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grilledham/subscriptions","organizations_url":"https://api.github.com/users/grilledham/orgs","repos_url":"https://api.github.com/users/grilledham/repos","events_url":"https://api.github.com/users/grilledham/events{/privacy}","received_events_url":"https://api.github.com/users/grilledham/received_events","type":"User","site_admin":false},{"login":"Valansch","id":10226478,"node_id":"MDQ6VXNlcjEwMjI2NDc4","avatar_url":"https://avatars1.githubusercontent.com/u/10226478?v=4","gravatar_id":"","url":"https://api.github.com/users/Valansch","html_url":"https://github.com/Valansch","followers_url":"https://api.github.com/users/Valansch/followers","following_url":"https://api.github.com/users/Valansch/following{/other_user}","gists_url":"https://api.github.com/users/Valansch/gists{/gist_id}","starred_url":"https://api.github.com/users/Valansch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Valansch/subscriptions","organizations_url":"https://api.github.com/users/Valansch/orgs","repos_url":"https://api.github.com/users/Valansch/repos","events_url":"https://api.github.com/users/Valansch/events{/privacy}","received_events_url":"https://api.github.com/users/Valansch/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Refactorio/RedMew/pulls/555/commits","review_comments_url":"https://api.github.com/repos/Refactorio/RedMew/pulls/555/comments","review_comment_url":"https://api.github.com/repos/Refactorio/RedMew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Refactorio/RedMew/issues/555/comments","statuses_url":"https://api.github.com/repos/Refactorio/RedMew/statuses/91de41e1f1c0d0b9fe38a4badeb6802b1d8ef9a1","head":{"label":"plague006:redmew_surface","ref":"redmew_surface","sha":"91de41e1f1c0d0b9fe38a4badeb6802b1d8ef9a1","user":{"login":"plague006","id":10162554,"node_id":"MDQ6VXNlcjEwMTYyNTU0","avatar_url":"https://avatars2.githubusercontent.com/u/10162554?v=4","gravatar_id":"","url":"https://api.github.com/users/plague006","html_url":"https://github.com/plague006","followers_url":"https://api.github.com/users/plague006/followers","following_url":"https://api.github.com/users/plague006/following{/other_user}","gists_url":"https://api.github.com/users/plague006/gists{/gist_id}","starred_url":"https://api.github.com/users/plague006/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plague006/subscriptions","organizations_url":"https://api.github.com/users/plague006/orgs","repos_url":"https://api.github.com/users/plague006/repos","events_url":"https://api.github.com/users/plague006/events{/privacy}","received_events_url":"https://api.github.com/users/plague006/received_events","type":"User","site_admin":false},"repo":{"id":144182844,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQxODI4NDQ=","name":"RedMew","full_name":"plague006/RedMew","private":false,"owner":{"login":"plague006","id":10162554,"node_id":"MDQ6VXNlcjEwMTYyNTU0","avatar_url":"https://avatars2.githubusercontent.com/u/10162554?v=4","gravatar_id":"","url":"https://api.github.com/users/plague006","html_url":"https://github.com/plague006","followers_url":"https://api.github.com/users/plague006/followers","following_url":"https://api.github.com/users/plague006/following{/other_user}","gists_url":"https://api.github.com/users/plague006/gists{/gist_id}","starred_url":"https://api.github.com/users/plague006/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plague006/subscriptions","organizations_url":"https://api.github.com/users/plague006/orgs","repos_url":"https://api.github.com/users/plague006/repos","events_url":"https://api.github.com/users/plague006/events{/privacy}","received_events_url":"https://api.github.com/users/plague006/received_events","type":"User","site_admin":false},"html_url":"https://github.com/plague006/RedMew","description":"The RedMew scenario code for Factorio.","fork":true,"url":"https://api.github.com/repos/plague006/RedMew","forks_url":"https://api.github.com/repos/plague006/RedMew/forks","keys_url":"https://api.github.com/repos/plague006/RedMew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plague006/RedMew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plague006/RedMew/teams","hooks_url":"https://api.github.com/repos/plague006/RedMew/hooks","issue_events_url":"https://api.github.com/repos/plague006/RedMew/issues/events{/number}","events_url":"https://api.github.com/repos/plague006/RedMew/events","assignees_url":"https://api.github.com/repos/plague006/RedMew/assignees{/user}","branches_url":"https://api.github.com/repos/plague006/RedMew/branches{/branch}","tags_url":"https://api.github.com/repos/plague006/RedMew/tags","blobs_url":"https://api.github.com/repos/plague006/RedMew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plague006/RedMew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plague006/RedMew/git/refs{/sha}","trees_url":"https://api.github.com/repos/plague006/RedMew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plague006/RedMew/statuses/{sha}","languages_url":"https://api.github.com/repos/plague006/RedMew/languages","stargazers_url":"https://api.github.com/repos/plague006/RedMew/stargazers","contributors_url":"https://api.github.com/repos/plague006/RedMew/contributors","subscribers_url":"https://api.github.com/repos/plague006/RedMew/subscribers","subscription_url":"https://api.github.com/repos/plague006/RedMew/subscription","commits_url":"https://api.github.com/repos/plague006/RedMew/commits{/sha}","git_commits_url":"https://api.github.com/repos/plague006/RedMew/git/commits{/sha}","comments_url":"https://api.github.com/repos/plague006/RedMew/comments{/number}","issue_comment_url":"https://api.github.com/repos/plague006/RedMew/issues/comments{/number}","contents_url":"https://api.github.com/repos/plague006/RedMew/contents/{+path}","compare_url":"https://api.github.com/repos/plague006/RedMew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plague006/RedMew/merges","archive_url":"https://api.github.com/repos/plague006/RedMew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plague006/RedMew/downloads","issues_url":"https://api.github.com/repos/plague006/RedMew/issues{/number}","pulls_url":"https://api.github.com/repos/plague006/RedMew/pulls{/number}","milestones_url":"https://api.github.com/repos/plague006/RedMew/milestones{/number}","notifications_url":"https://api.github.com/repos/plague006/RedMew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plague006/RedMew/labels{/name}","releases_url":"https://api.github.com/repos/plague006/RedMew/releases{/id}","deployments_url":"https://api.github.com/repos/plague006/RedMew/deployments","created_at":"2018-08-09T17:18:31Z","updated_at":"2018-12-14T05:49:17Z","pushed_at":"2018-12-19T17:38:24Z","git_url":"git://github.com/plague006/RedMew.git","ssh_url":"git@github.com:plague006/RedMew.git","clone_url":"https://github.com/plague006/RedMew.git","svn_url":"https://github.com/plague006/RedMew","homepage":"https://redmew.com","size":66504,"stargazers_count":0,"watchers_count":0,"language":"Lua","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Refactorio:develop","ref":"develop","sha":"eb892a372e72db5a464883c24ca9d1244d762021","user":{"login":"Refactorio","id":45128763,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1MTI4NzYz","avatar_url":"https://avatars3.githubusercontent.com/u/45128763?v=4","gravatar_id":"","url":"https://api.github.com/users/Refactorio","html_url":"https://github.com/Refactorio","followers_url":"https://api.github.com/users/Refactorio/followers","following_url":"https://api.github.com/users/Refactorio/following{/other_user}","gists_url":"https://api.github.com/users/Refactorio/gists{/gist_id}","starred_url":"https://api.github.com/users/Refactorio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Refactorio/subscriptions","organizations_url":"https://api.github.com/users/Refactorio/orgs","repos_url":"https://api.github.com/users/Refactorio/repos","events_url":"https://api.github.com/users/Refactorio/events{/privacy}","received_events_url":"https://api.github.com/users/Refactorio/received_events","type":"Organization","site_admin":false},"repo":{"id":94204284,"node_id":"MDEwOlJlcG9zaXRvcnk5NDIwNDI4NA==","name":"RedMew","full_name":"Refactorio/RedMew","private":false,"owner":{"login":"Refactorio","id":45128763,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1MTI4NzYz","avatar_url":"https://avatars3.githubusercontent.com/u/45128763?v=4","gravatar_id":"","url":"https://api.github.com/users/Refactorio","html_url":"https://github.com/Refactorio","followers_url":"https://api.github.com/users/Refactorio/followers","following_url":"https://api.github.com/users/Refactorio/following{/other_user}","gists_url":"https://api.github.com/users/Refactorio/gists{/gist_id}","starred_url":"https://api.github.com/users/Refactorio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Refactorio/subscriptions","organizations_url":"https://api.github.com/users/Refactorio/orgs","repos_url":"https://api.github.com/users/Refactorio/repos","events_url":"https://api.github.com/users/Refactorio/events{/privacy}","received_events_url":"https://api.github.com/users/Refactorio/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Refactorio/RedMew","description":"The RedMew scenario code for Factorio.","fork":false,"url":"https://api.github.com/repos/Refactorio/RedMew","forks_url":"https://api.github.com/repos/Refactorio/RedMew/forks","keys_url":"https://api.github.com/repos/Refactorio/RedMew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Refactorio/RedMew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Refactorio/RedMew/teams","hooks_url":"https://api.github.com/repos/Refactorio/RedMew/hooks","issue_events_url":"https://api.github.com/repos/Refactorio/RedMew/issues/events{/number}","events_url":"https://api.github.com/repos/Refactorio/RedMew/events","assignees_url":"https://api.github.com/repos/Refactorio/RedMew/assignees{/user}","branches_url":"https://api.github.com/repos/Refactorio/RedMew/branches{/branch}","tags_url":"https://api.github.com/repos/Refactorio/RedMew/tags","blobs_url":"https://api.github.com/repos/Refactorio/RedMew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Refactorio/RedMew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Refactorio/RedMew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Refactorio/RedMew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Refactorio/RedMew/statuses/{sha}","languages_url":"https://api.github.com/repos/Refactorio/RedMew/languages","stargazers_url":"https://api.github.com/repos/Refactorio/RedMew/stargazers","contributors_url":"https://api.github.com/repos/Refactorio/RedMew/contributors","subscribers_url":"https://api.github.com/repos/Refactorio/RedMew/subscribers","subscription_url":"https://api.github.com/repos/Refactorio/RedMew/subscription","commits_url":"https://api.github.com/repos/Refactorio/RedMew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Refactorio/RedMew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Refactorio/RedMew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Refactorio/RedMew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Refactorio/RedMew/contents/{+path}","compare_url":"https://api.github.com/repos/Refactorio/RedMew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Refactorio/RedMew/merges","archive_url":"https://api.github.com/repos/Refactorio/RedMew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Refactorio/RedMew/downloads","issues_url":"https://api.github.com/repos/Refactorio/RedMew/issues{/number}","pulls_url":"https://api.github.com/repos/Refactorio/RedMew/pulls{/number}","milestones_url":"https://api.github.com/repos/Refactorio/RedMew/milestones{/number}","notifications_url":"https://api.github.com/repos/Refactorio/RedMew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Refactorio/RedMew/labels{/name}","releases_url":"https://api.github.com/repos/Refactorio/RedMew/releases{/id}","deployments_url":"https://api.github.com/repos/Refactorio/RedMew/deployments","created_at":"2017-06-13T11:10:45Z","updated_at":"2018-12-19T16:38:32Z","pushed_at":"2018-12-19T17:38:26Z","git_url":"git://github.com/Refactorio/RedMew.git","ssh_url":"git@github.com:Refactorio/RedMew.git","clone_url":"https://github.com/Refactorio/RedMew.git","svn_url":"https://github.com/Refactorio/RedMew","homepage":"http://redmew.com","size":66449,"stargazers_count":79,"watchers_count":79,"language":"Lua","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"archived":false,"open_issues_count":45,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":28,"open_issues":45,"watchers":79,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Refactorio/RedMew/pulls/555"},"html":{"href":"https://github.com/Refactorio/RedMew/pull/555"},"issue":{"href":"https://api.github.com/repos/Refactorio/RedMew/issues/555"},"comments":{"href":"https://api.github.com/repos/Refactorio/RedMew/issues/555/comments"},"review_comments":{"href":"https://api.github.com/repos/Refactorio/RedMew/pulls/555/comments"},"review_comment":{"href":"https://api.github.com/repos/Refactorio/RedMew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Refactorio/RedMew/pulls/555/commits"},"statuses":{"href":"https://api.github.com/repos/Refactorio/RedMew/statuses/91de41e1f1c0d0b9fe38a4badeb6802b1d8ef9a1"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"stickler-ci"}}