{"action":"created","comment":{"url":"https://api.github.com/repos/MT-CTF/capturetheflag/pulls/comments/234549771","pull_request_review_id":176210513,"id":234549771,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDU0OTc3MQ==","diff_hunk":"@@ -219,6 +221,26 @@ local function emerge_progress(ctx)\n \t\t(ctx.current_blocks / ctx.total_blocks) * 100))\n end\n \n+local function reset()\n+\tmapname = \"ctf_\" .. randint\n+\tmaptitle = \"Untitled Map \" .. randint\n+\tmapinitial = \"\"\n+\tcenter_barrier_rot = 0\n+\tbarriers_placed = false\n+\tbarrier_r = 110\n+\tcenter = { x = 0, y = 0, z = 0, r = 115, h = 140 }\n+\tflag_positions = {}","path":"mods/ctf_map/map_maker.lua","position":72,"original_position":32,"commit_id":"264ec43f145092101588dc6ec7161e5933ca8ff5","original_commit_id":"97b8b773b92de224e9969b3a792f709ab2fca6e8","user":{"login":"ClobberXD","id":36130650,"node_id":"MDQ6VXNlcjM2MTMwNjUw","avatar_url":"https://avatars1.githubusercontent.com/u/36130650?v=4","gravatar_id":"","url":"https://api.github.com/users/ClobberXD","html_url":"https://github.com/ClobberXD","followers_url":"https://api.github.com/users/ClobberXD/followers","following_url":"https://api.github.com/users/ClobberXD/following{/other_user}","gists_url":"https://api.github.com/users/ClobberXD/gists{/gist_id}","starred_url":"https://api.github.com/users/ClobberXD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClobberXD/subscriptions","organizations_url":"https://api.github.com/users/ClobberXD/orgs","repos_url":"https://api.github.com/users/ClobberXD/repos","events_url":"https://api.github.com/users/ClobberXD/events{/privacy}","received_events_url":"https://api.github.com/users/ClobberXD/received_events","type":"User","site_admin":false},"body":"Still wondering what should be done here...","created_at":"2018-11-19T09:43:15Z","updated_at":"2018-11-19T09:43:16Z","html_url":"https://github.com/MT-CTF/capturetheflag/pull/247#discussion_r234549771","pull_request_url":"https://api.github.com/repos/MT-CTF/capturetheflag/pulls/247","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/MT-CTF/capturetheflag/pulls/comments/234549771"},"html":{"href":"https://github.com/MT-CTF/capturetheflag/pull/247#discussion_r234549771"},"pull_request":{"href":"https://api.github.com/repos/MT-CTF/capturetheflag/pulls/247"}},"in_reply_to_id":234456785},"pull_request":{"url":"https://api.github.com/repos/MT-CTF/capturetheflag/pulls/247","id":231522530,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxNTIyNTMw","html_url":"https://github.com/MT-CTF/capturetheflag/pull/247","diff_url":"https://github.com/MT-CTF/capturetheflag/pull/247.diff","patch_url":"https://github.com/MT-CTF/capturetheflag/pull/247.patch","issue_url":"https://api.github.com/repos/MT-CTF/capturetheflag/issues/247","number":247,"state":"open","locked":false,"title":"ctf_map: Misc. improvements to map maker","user":{"login":"ClobberXD","id":36130650,"node_id":"MDQ6VXNlcjM2MTMwNjUw","avatar_url":"https://avatars1.githubusercontent.com/u/36130650?v=4","gravatar_id":"","url":"https://api.github.com/users/ClobberXD","html_url":"https://github.com/ClobberXD","followers_url":"https://api.github.com/users/ClobberXD/followers","following_url":"https://api.github.com/users/ClobberXD/following{/other_user}","gists_url":"https://api.github.com/users/ClobberXD/gists{/gist_id}","starred_url":"https://api.github.com/users/ClobberXD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClobberXD/subscriptions","organizations_url":"https://api.github.com/users/ClobberXD/orgs","repos_url":"https://api.github.com/users/ClobberXD/repos","events_url":"https://api.github.com/users/ClobberXD/events{/privacy}","received_events_url":"https://api.github.com/users/ClobberXD/received_events","type":"User","site_admin":false},"body":"- Added a \"Reset\" button that resets all fields in map maker formspec, and also removes all flags placed.\r\n- Added a check to abort schem export if barriers not placed.\r\n- Added a check to disallow placement of more than 2 flags.","created_at":"2018-11-16T12:59:37Z","updated_at":"2018-11-19T09:43:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9aa74b51fb927575a1b81fc3fd38ed6354fc576e","assignee":null,"assignees":[],"requested_reviewers":[{"login":"rubenwardy","id":2122943,"node_id":"MDQ6VXNlcjIxMjI5NDM=","avatar_url":"https://avatars2.githubusercontent.com/u/2122943?v=4","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}],"requested_teams":[],"labels":[{"id":973920693,"node_id":"MDU6TGFiZWw5NzM5MjA2OTM=","url":"https://api.github.com/repos/MT-CTF/capturetheflag/labels/@%20MapEditor","name":"@ MapEditor","color":"0e8a16","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/MT-CTF/capturetheflag/pulls/247/commits","review_comments_url":"https://api.github.com/repos/MT-CTF/capturetheflag/pulls/247/comments","review_comment_url":"https://api.github.com/repos/MT-CTF/capturetheflag/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MT-CTF/capturetheflag/issues/247/comments","statuses_url":"https://api.github.com/repos/MT-CTF/capturetheflag/statuses/264ec43f145092101588dc6ec7161e5933ca8ff5","head":{"label":"ClobberXD:export_with_barrier","ref":"export_with_barrier","sha":"264ec43f145092101588dc6ec7161e5933ca8ff5","user":{"login":"ClobberXD","id":36130650,"node_id":"MDQ6VXNlcjM2MTMwNjUw","avatar_url":"https://avatars1.githubusercontent.com/u/36130650?v=4","gravatar_id":"","url":"https://api.github.com/users/ClobberXD","html_url":"https://github.com/ClobberXD","followers_url":"https://api.github.com/users/ClobberXD/followers","following_url":"https://api.github.com/users/ClobberXD/following{/other_user}","gists_url":"https://api.github.com/users/ClobberXD/gists{/gist_id}","starred_url":"https://api.github.com/users/ClobberXD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClobberXD/subscriptions","organizations_url":"https://api.github.com/users/ClobberXD/orgs","repos_url":"https://api.github.com/users/ClobberXD/repos","events_url":"https://api.github.com/users/ClobberXD/events{/privacy}","received_events_url":"https://api.github.com/users/ClobberXD/received_events","type":"User","site_admin":false},"repo":{"id":134371716,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQzNzE3MTY=","name":"capturetheflag","full_name":"ClobberXD/capturetheflag","private":false,"owner":{"login":"ClobberXD","id":36130650,"node_id":"MDQ6VXNlcjM2MTMwNjUw","avatar_url":"https://avatars1.githubusercontent.com/u/36130650?v=4","gravatar_id":"","url":"https://api.github.com/users/ClobberXD","html_url":"https://github.com/ClobberXD","followers_url":"https://api.github.com/users/ClobberXD/followers","following_url":"https://api.github.com/users/ClobberXD/following{/other_user}","gists_url":"https://api.github.com/users/ClobberXD/gists{/gist_id}","starred_url":"https://api.github.com/users/ClobberXD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ClobberXD/subscriptions","organizations_url":"https://api.github.com/users/ClobberXD/orgs","repos_url":"https://api.github.com/users/ClobberXD/repos","events_url":"https://api.github.com/users/ClobberXD/events{/privacy}","received_events_url":"https://api.github.com/users/ClobberXD/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ClobberXD/capturetheflag","description":"Capture the Flag game using the Minetest CTF PvP Engine","fork":true,"url":"https://api.github.com/repos/ClobberXD/capturetheflag","forks_url":"https://api.github.com/repos/ClobberXD/capturetheflag/forks","keys_url":"https://api.github.com/repos/ClobberXD/capturetheflag/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ClobberXD/capturetheflag/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ClobberXD/capturetheflag/teams","hooks_url":"https://api.github.com/repos/ClobberXD/capturetheflag/hooks","issue_events_url":"https://api.github.com/repos/ClobberXD/capturetheflag/issues/events{/number}","events_url":"https://api.github.com/repos/ClobberXD/capturetheflag/events","assignees_url":"https://api.github.com/repos/ClobberXD/capturetheflag/assignees{/user}","branches_url":"https://api.github.com/repos/ClobberXD/capturetheflag/branches{/branch}","tags_url":"https://api.github.com/repos/ClobberXD/capturetheflag/tags","blobs_url":"https://api.github.com/repos/ClobberXD/capturetheflag/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ClobberXD/capturetheflag/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ClobberXD/capturetheflag/git/refs{/sha}","trees_url":"https://api.github.com/repos/ClobberXD/capturetheflag/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ClobberXD/capturetheflag/statuses/{sha}","languages_url":"https://api.github.com/repos/ClobberXD/capturetheflag/languages","stargazers_url":"https://api.github.com/repos/ClobberXD/capturetheflag/stargazers","contributors_url":"https://api.github.com/repos/ClobberXD/capturetheflag/contributors","subscribers_url":"https://api.github.com/repos/ClobberXD/capturetheflag/subscribers","subscription_url":"https://api.github.com/repos/ClobberXD/capturetheflag/subscription","commits_url":"https://api.github.com/repos/ClobberXD/capturetheflag/commits{/sha}","git_commits_url":"https://api.github.com/repos/ClobberXD/capturetheflag/git/commits{/sha}","comments_url":"https://api.github.com/repos/ClobberXD/capturetheflag/comments{/number}","issue_comment_url":"https://api.github.com/repos/ClobberXD/capturetheflag/issues/comments{/number}","contents_url":"https://api.github.com/repos/ClobberXD/capturetheflag/contents/{+path}","compare_url":"https://api.github.com/repos/ClobberXD/capturetheflag/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ClobberXD/capturetheflag/merges","archive_url":"https://api.github.com/repos/ClobberXD/capturetheflag/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ClobberXD/capturetheflag/downloads","issues_url":"https://api.github.com/repos/ClobberXD/capturetheflag/issues{/number}","pulls_url":"https://api.github.com/repos/ClobberXD/capturetheflag/pulls{/number}","milestones_url":"https://api.github.com/repos/ClobberXD/capturetheflag/milestones{/number}","notifications_url":"https://api.github.com/repos/ClobberXD/capturetheflag/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ClobberXD/capturetheflag/labels{/name}","releases_url":"https://api.github.com/repos/ClobberXD/capturetheflag/releases{/id}","deployments_url":"https://api.github.com/repos/ClobberXD/capturetheflag/deployments","created_at":"2018-05-22T06:40:18Z","updated_at":"2018-11-11T17:26:14Z","pushed_at":"2018-11-19T09:36:15Z","git_url":"git://github.com/ClobberXD/capturetheflag.git","ssh_url":"git@github.com:ClobberXD/capturetheflag.git","clone_url":"https://github.com/ClobberXD/capturetheflag.git","svn_url":"https://github.com/ClobberXD/capturetheflag","homepage":"https://ctf.rubenwardy.com","size":6304,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MT-CTF:master","ref":"master","sha":"966aa086674f997be7a2fad3a1b2e798ce95f18a","user":{"login":"MT-CTF","id":44949219,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0OTQ5MjE5","avatar_url":"https://avatars1.githubusercontent.com/u/44949219?v=4","gravatar_id":"","url":"https://api.github.com/users/MT-CTF","html_url":"https://github.com/MT-CTF","followers_url":"https://api.github.com/users/MT-CTF/followers","following_url":"https://api.github.com/users/MT-CTF/following{/other_user}","gists_url":"https://api.github.com/users/MT-CTF/gists{/gist_id}","starred_url":"https://api.github.com/users/MT-CTF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MT-CTF/subscriptions","organizations_url":"https://api.github.com/users/MT-CTF/orgs","repos_url":"https://api.github.com/users/MT-CTF/repos","events_url":"https://api.github.com/users/MT-CTF/events{/privacy}","received_events_url":"https://api.github.com/users/MT-CTF/received_events","type":"Organization","site_admin":false},"repo":{"id":39210788,"node_id":"MDEwOlJlcG9zaXRvcnkzOTIxMDc4OA==","name":"capturetheflag","full_name":"MT-CTF/capturetheflag","private":false,"owner":{"login":"MT-CTF","id":44949219,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0OTQ5MjE5","avatar_url":"https://avatars1.githubusercontent.com/u/44949219?v=4","gravatar_id":"","url":"https://api.github.com/users/MT-CTF","html_url":"https://github.com/MT-CTF","followers_url":"https://api.github.com/users/MT-CTF/followers","following_url":"https://api.github.com/users/MT-CTF/following{/other_user}","gists_url":"https://api.github.com/users/MT-CTF/gists{/gist_id}","starred_url":"https://api.github.com/users/MT-CTF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MT-CTF/subscriptions","organizations_url":"https://api.github.com/users/MT-CTF/orgs","repos_url":"https://api.github.com/users/MT-CTF/repos","events_url":"https://api.github.com/users/MT-CTF/events{/privacy}","received_events_url":"https://api.github.com/users/MT-CTF/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/MT-CTF/capturetheflag","description":"Capture the Flag game using the Minetest CTF PvP Engine","fork":false,"url":"https://api.github.com/repos/MT-CTF/capturetheflag","forks_url":"https://api.github.com/repos/MT-CTF/capturetheflag/forks","keys_url":"https://api.github.com/repos/MT-CTF/capturetheflag/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MT-CTF/capturetheflag/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MT-CTF/capturetheflag/teams","hooks_url":"https://api.github.com/repos/MT-CTF/capturetheflag/hooks","issue_events_url":"https://api.github.com/repos/MT-CTF/capturetheflag/issues/events{/number}","events_url":"https://api.github.com/repos/MT-CTF/capturetheflag/events","assignees_url":"https://api.github.com/repos/MT-CTF/capturetheflag/assignees{/user}","branches_url":"https://api.github.com/repos/MT-CTF/capturetheflag/branches{/branch}","tags_url":"https://api.github.com/repos/MT-CTF/capturetheflag/tags","blobs_url":"https://api.github.com/repos/MT-CTF/capturetheflag/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MT-CTF/capturetheflag/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MT-CTF/capturetheflag/git/refs{/sha}","trees_url":"https://api.github.com/repos/MT-CTF/capturetheflag/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MT-CTF/capturetheflag/statuses/{sha}","languages_url":"https://api.github.com/repos/MT-CTF/capturetheflag/languages","stargazers_url":"https://api.github.com/repos/MT-CTF/capturetheflag/stargazers","contributors_url":"https://api.github.com/repos/MT-CTF/capturetheflag/contributors","subscribers_url":"https://api.github.com/repos/MT-CTF/capturetheflag/subscribers","subscription_url":"https://api.github.com/repos/MT-CTF/capturetheflag/subscription","commits_url":"https://api.github.com/repos/MT-CTF/capturetheflag/commits{/sha}","git_commits_url":"https://api.github.com/repos/MT-CTF/capturetheflag/git/commits{/sha}","comments_url":"https://api.github.com/repos/MT-CTF/capturetheflag/comments{/number}","issue_comment_url":"https://api.github.com/repos/MT-CTF/capturetheflag/issues/comments{/number}","contents_url":"https://api.github.com/repos/MT-CTF/capturetheflag/contents/{+path}","compare_url":"https://api.github.com/repos/MT-CTF/capturetheflag/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MT-CTF/capturetheflag/merges","archive_url":"https://api.github.com/repos/MT-CTF/capturetheflag/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MT-CTF/capturetheflag/downloads","issues_url":"https://api.github.com/repos/MT-CTF/capturetheflag/issues{/number}","pulls_url":"https://api.github.com/repos/MT-CTF/capturetheflag/pulls{/number}","milestones_url":"https://api.github.com/repos/MT-CTF/capturetheflag/milestones{/number}","notifications_url":"https://api.github.com/repos/MT-CTF/capturetheflag/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MT-CTF/capturetheflag/labels{/name}","releases_url":"https://api.github.com/repos/MT-CTF/capturetheflag/releases{/id}","deployments_url":"https://api.github.com/repos/MT-CTF/capturetheflag/deployments","created_at":"2015-07-16T17:28:00Z","updated_at":"2018-11-18T15:42:20Z","pushed_at":"2018-11-19T09:36:17Z","git_url":"git://github.com/MT-CTF/capturetheflag.git","ssh_url":"git@github.com:MT-CTF/capturetheflag.git","clone_url":"https://github.com/MT-CTF/capturetheflag.git","svn_url":"https://github.com/MT-CTF/capturetheflag","homepage":"https://ctf.rubenwardy.com","size":5916,"stargazers_count":32,"watchers_count":32,"language":"Lua","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":56,"license":null,"forks":18,"open_issues":56,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MT-CTF/capturetheflag/pulls/247"},"html":{"href":"https://github.com/MT-CTF/capturetheflag/pull/247"},"issue":{"href":"https://api.github.com/repos/MT-CTF/capturetheflag/issues/247"},"comments":{"href":"https://api.github.com/repos/MT-CTF/capturetheflag/issues/247/comments"},"review_comments":{"href":"https://api.github.com/repos/MT-CTF/capturetheflag/pulls/247/comments"},"review_comment":{"href":"https://api.github.com/repos/MT-CTF/capturetheflag/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MT-CTF/capturetheflag/pulls/247/commits"},"statuses":{"href":"https://api.github.com/repos/MT-CTF/capturetheflag/statuses/264ec43f145092101588dc6ec7161e5933ca8ff5"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"ClobberXD"}}