{"action":"created","comment":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/comments/171428873","pull_request_review_id":100279737,"id":171428873,"diff_hunk":"@@ -17,29 +17,19 @@\n \twindow_name = \"Automatic Station Cleaner v1.2\"\n \tpass_flags = PASSMOB\n \tpath_image_color = \"#993299\"\n-\n-\tvar/blood = 1\n-\tvar/trash = 0\n-\tvar/pests = 0\n-\n-\tvar/list/target_types\n-\tvar/obj/effect/decal/cleanable/target\n-\tvar/max_targets = 50 //Maximum number of targets a cleanbot can ignore.\n-\tvar/oldloc = null\n-\tvar/closest_dist\n-\tvar/closest_loc\n-\tvar/failed_steps\n-\tvar/next_dest\n-\tvar/next_dest_loc\n+\tvar/datum/goap_agent/cleanbot/goap_ai\n \n /mob/living/simple_animal/bot/cleanbot/Initialize()\n \t. = ..()\n-\tget_targets()\n \ticon_state = \"cleanbot[on]\"\n \n-\tvar/datum/job/janitor/J = new/datum/job/janitor\n-\taccess_card.access += J.get_access()\n+\tvar/datum/job/captain/C = new/datum/job/captain","path":"code/modules/mob/living/simple_animal/bot/cleanbot.dm","position":27,"original_position":27,"commit_id":"b5ed6621eefb3ab3bbcb172260058546018bd255","original_commit_id":"b5ed6621eefb3ab3bbcb172260058546018bd255","user":{"login":"GunHog","id":4955510,"avatar_url":"https://avatars2.githubusercontent.com/u/4955510?v=4","gravatar_id":"","url":"https://api.github.com/users/GunHog","html_url":"https://github.com/GunHog","followers_url":"https://api.github.com/users/GunHog/followers","following_url":"https://api.github.com/users/GunHog/following{/other_user}","gists_url":"https://api.github.com/users/GunHog/gists{/gist_id}","starred_url":"https://api.github.com/users/GunHog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GunHog/subscriptions","organizations_url":"https://api.github.com/users/GunHog/orgs","repos_url":"https://api.github.com/users/GunHog/repos","events_url":"https://api.github.com/users/GunHog/events{/privacy}","received_events_url":"https://api.github.com/users/GunHog/received_events","type":"User","site_admin":false},"body":"Example on Boxstation: Move a cleanbot one of main entrance doors, then walk to the door on the opposite side. Summon the cleanbot, and it will path a straight line to you, opening the airlocks for you on both sides.\r\n\r\nI created the access downloading system instead of giving bots all-access for this exact reason.","created_at":"2018-03-01T00:15:12Z","updated_at":"2018-03-01T00:15:12Z","html_url":"https://github.com/tgstation/tgstation/pull/36029#discussion_r171428873","pull_request_url":"https://api.github.com/repos/tgstation/tgstation/pulls/36029","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/comments/171428873"},"html":{"href":"https://github.com/tgstation/tgstation/pull/36029#discussion_r171428873"},"pull_request":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/36029"}},"in_reply_to_id":171148980},"pull_request":{"url":"https://api.github.com/repos/tgstation/tgstation/pulls/36029","id":171802089,"html_url":"https://github.com/tgstation/tgstation/pull/36029","diff_url":"https://github.com/tgstation/tgstation/pull/36029.diff","patch_url":"https://github.com/tgstation/tgstation/pull/36029.patch","issue_url":"https://api.github.com/repos/tgstation/tgstation/issues/36029","number":36029,"state":"open","locked":false,"title":"GOAP: 2018","user":{"login":"Iamgoofball","id":4081722,"avatar_url":"https://avatars2.githubusercontent.com/u/4081722?v=4","gravatar_id":"","url":"https://api.github.com/users/Iamgoofball","html_url":"https://github.com/Iamgoofball","followers_url":"https://api.github.com/users/Iamgoofball/followers","following_url":"https://api.github.com/users/Iamgoofball/following{/other_user}","gists_url":"https://api.github.com/users/Iamgoofball/gists{/gist_id}","starred_url":"https://api.github.com/users/Iamgoofball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iamgoofball/subscriptions","organizations_url":"https://api.github.com/users/Iamgoofball/orgs","repos_url":"https://api.github.com/users/Iamgoofball/repos","events_url":"https://api.github.com/users/Iamgoofball/events{/privacy}","received_events_url":"https://api.github.com/users/Iamgoofball/received_events","type":"User","site_admin":false},"body":":cl: RemieRichards, bugfixes from Iamgoofball\r\nadd: A new AI framework is available.\r\nadd: Cleanbots are now way, way better at their job.\r\n/:cl:\r\n\r\nrebases are hard\r\n\r\nTODO: \r\n\r\n- [x] Remove all old implementations\r\n- [x] Make work with new A*\r\n- [x] Fix the test case\r\n- [x] CLEANBOT","created_at":"2018-02-27T22:22:01Z","updated_at":"2018-03-01T00:15:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb8284cfd4382d7c28c11b145063921d752bad96","assignee":null,"assignees":[],"requested_reviewers":[{"login":"WJohn","id":5988156,"avatar_url":"https://avatars1.githubusercontent.com/u/5988156?v=4","gravatar_id":"","url":"https://api.github.com/users/WJohn","html_url":"https://github.com/WJohn","followers_url":"https://api.github.com/users/WJohn/followers","following_url":"https://api.github.com/users/WJohn/following{/other_user}","gists_url":"https://api.github.com/users/WJohn/gists{/gist_id}","starred_url":"https://api.github.com/users/WJohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WJohn/subscriptions","organizations_url":"https://api.github.com/users/WJohn/orgs","repos_url":"https://api.github.com/users/WJohn/repos","events_url":"https://api.github.com/users/WJohn/events{/privacy}","received_events_url":"https://api.github.com/users/WJohn/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":31457996,"url":"https://api.github.com/repos/tgstation/tgstation/labels/Sprites","name":"Sprites","color":"5ECCD1","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/tgstation/tgstation/pulls/36029/commits","review_comments_url":"https://api.github.com/repos/tgstation/tgstation/pulls/36029/comments","review_comment_url":"https://api.github.com/repos/tgstation/tgstation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tgstation/tgstation/issues/36029/comments","statuses_url":"https://api.github.com/repos/tgstation/tgstation/statuses/b5ed6621eefb3ab3bbcb172260058546018bd255","head":{"label":"Iamgoofball:goap_rebase","ref":"goap_rebase","sha":"b5ed6621eefb3ab3bbcb172260058546018bd255","user":{"login":"Iamgoofball","id":4081722,"avatar_url":"https://avatars2.githubusercontent.com/u/4081722?v=4","gravatar_id":"","url":"https://api.github.com/users/Iamgoofball","html_url":"https://github.com/Iamgoofball","followers_url":"https://api.github.com/users/Iamgoofball/followers","following_url":"https://api.github.com/users/Iamgoofball/following{/other_user}","gists_url":"https://api.github.com/users/Iamgoofball/gists{/gist_id}","starred_url":"https://api.github.com/users/Iamgoofball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iamgoofball/subscriptions","organizations_url":"https://api.github.com/users/Iamgoofball/orgs","repos_url":"https://api.github.com/users/Iamgoofball/repos","events_url":"https://api.github.com/users/Iamgoofball/events{/privacy}","received_events_url":"https://api.github.com/users/Iamgoofball/received_events","type":"User","site_admin":false},"repo":{"id":53018346,"name":"-tg-station","full_name":"Iamgoofball/-tg-station","owner":{"login":"Iamgoofball","id":4081722,"avatar_url":"https://avatars2.githubusercontent.com/u/4081722?v=4","gravatar_id":"","url":"https://api.github.com/users/Iamgoofball","html_url":"https://github.com/Iamgoofball","followers_url":"https://api.github.com/users/Iamgoofball/followers","following_url":"https://api.github.com/users/Iamgoofball/following{/other_user}","gists_url":"https://api.github.com/users/Iamgoofball/gists{/gist_id}","starred_url":"https://api.github.com/users/Iamgoofball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iamgoofball/subscriptions","organizations_url":"https://api.github.com/users/Iamgoofball/orgs","repos_url":"https://api.github.com/users/Iamgoofball/repos","events_url":"https://api.github.com/users/Iamgoofball/events{/privacy}","received_events_url":"https://api.github.com/users/Iamgoofball/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Iamgoofball/-tg-station","description":"the /tg/station branch of SS13","fork":true,"url":"https://api.github.com/repos/Iamgoofball/-tg-station","forks_url":"https://api.github.com/repos/Iamgoofball/-tg-station/forks","keys_url":"https://api.github.com/repos/Iamgoofball/-tg-station/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Iamgoofball/-tg-station/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Iamgoofball/-tg-station/teams","hooks_url":"https://api.github.com/repos/Iamgoofball/-tg-station/hooks","issue_events_url":"https://api.github.com/repos/Iamgoofball/-tg-station/issues/events{/number}","events_url":"https://api.github.com/repos/Iamgoofball/-tg-station/events","assignees_url":"https://api.github.com/repos/Iamgoofball/-tg-station/assignees{/user}","branches_url":"https://api.github.com/repos/Iamgoofball/-tg-station/branches{/branch}","tags_url":"https://api.github.com/repos/Iamgoofball/-tg-station/tags","blobs_url":"https://api.github.com/repos/Iamgoofball/-tg-station/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Iamgoofball/-tg-station/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Iamgoofball/-tg-station/git/refs{/sha}","trees_url":"https://api.github.com/repos/Iamgoofball/-tg-station/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Iamgoofball/-tg-station/statuses/{sha}","languages_url":"https://api.github.com/repos/Iamgoofball/-tg-station/languages","stargazers_url":"https://api.github.com/repos/Iamgoofball/-tg-station/stargazers","contributors_url":"https://api.github.com/repos/Iamgoofball/-tg-station/contributors","subscribers_url":"https://api.github.com/repos/Iamgoofball/-tg-station/subscribers","subscription_url":"https://api.github.com/repos/Iamgoofball/-tg-station/subscription","commits_url":"https://api.github.com/repos/Iamgoofball/-tg-station/commits{/sha}","git_commits_url":"https://api.github.com/repos/Iamgoofball/-tg-station/git/commits{/sha}","comments_url":"https://api.github.com/repos/Iamgoofball/-tg-station/comments{/number}","issue_comment_url":"https://api.github.com/repos/Iamgoofball/-tg-station/issues/comments{/number}","contents_url":"https://api.github.com/repos/Iamgoofball/-tg-station/contents/{+path}","compare_url":"https://api.github.com/repos/Iamgoofball/-tg-station/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Iamgoofball/-tg-station/merges","archive_url":"https://api.github.com/repos/Iamgoofball/-tg-station/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Iamgoofball/-tg-station/downloads","issues_url":"https://api.github.com/repos/Iamgoofball/-tg-station/issues{/number}","pulls_url":"https://api.github.com/repos/Iamgoofball/-tg-station/pulls{/number}","milestones_url":"https://api.github.com/repos/Iamgoofball/-tg-station/milestones{/number}","notifications_url":"https://api.github.com/repos/Iamgoofball/-tg-station/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Iamgoofball/-tg-station/labels{/name}","releases_url":"https://api.github.com/repos/Iamgoofball/-tg-station/releases{/id}","deployments_url":"https://api.github.com/repos/Iamgoofball/-tg-station/deployments","created_at":"2016-03-03T03:43:22Z","updated_at":"2017-03-16T00:51:18Z","pushed_at":"2018-02-28T20:07:38Z","git_url":"git://github.com/Iamgoofball/-tg-station.git","ssh_url":"git@github.com:Iamgoofball/-tg-station.git","clone_url":"https://github.com/Iamgoofball/-tg-station.git","svn_url":"https://github.com/Iamgoofball/-tg-station","homepage":"http://www.tgstation13.org/","size":1772051,"stargazers_count":1,"watchers_count":1,"language":"DM","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":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"tgstation:master","ref":"master","sha":"a94a9091464d9fd432720bcb9e57d2a01f88cece","user":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars2.githubusercontent.com/u/1363778?v=4","gravatar_id":"","url":"https://api.github.com/users/tgstation","html_url":"https://github.com/tgstation","followers_url":"https://api.github.com/users/tgstation/followers","following_url":"https://api.github.com/users/tgstation/following{/other_user}","gists_url":"https://api.github.com/users/tgstation/gists{/gist_id}","starred_url":"https://api.github.com/users/tgstation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgstation/subscriptions","organizations_url":"https://api.github.com/users/tgstation/orgs","repos_url":"https://api.github.com/users/tgstation/repos","events_url":"https://api.github.com/users/tgstation/events{/privacy}","received_events_url":"https://api.github.com/users/tgstation/received_events","type":"Organization","site_admin":false},"repo":{"id":3234987,"name":"tgstation","full_name":"tgstation/tgstation","owner":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars2.githubusercontent.com/u/1363778?v=4","gravatar_id":"","url":"https://api.github.com/users/tgstation","html_url":"https://github.com/tgstation","followers_url":"https://api.github.com/users/tgstation/followers","following_url":"https://api.github.com/users/tgstation/following{/other_user}","gists_url":"https://api.github.com/users/tgstation/gists{/gist_id}","starred_url":"https://api.github.com/users/tgstation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgstation/subscriptions","organizations_url":"https://api.github.com/users/tgstation/orgs","repos_url":"https://api.github.com/users/tgstation/repos","events_url":"https://api.github.com/users/tgstation/events{/privacy}","received_events_url":"https://api.github.com/users/tgstation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tgstation/tgstation","description":"the /tg/station branch of SS13","fork":false,"url":"https://api.github.com/repos/tgstation/tgstation","forks_url":"https://api.github.com/repos/tgstation/tgstation/forks","keys_url":"https://api.github.com/repos/tgstation/tgstation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgstation/tgstation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgstation/tgstation/teams","hooks_url":"https://api.github.com/repos/tgstation/tgstation/hooks","issue_events_url":"https://api.github.com/repos/tgstation/tgstation/issues/events{/number}","events_url":"https://api.github.com/repos/tgstation/tgstation/events","assignees_url":"https://api.github.com/repos/tgstation/tgstation/assignees{/user}","branches_url":"https://api.github.com/repos/tgstation/tgstation/branches{/branch}","tags_url":"https://api.github.com/repos/tgstation/tgstation/tags","blobs_url":"https://api.github.com/repos/tgstation/tgstation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgstation/tgstation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgstation/tgstation/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgstation/tgstation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgstation/tgstation/statuses/{sha}","languages_url":"https://api.github.com/repos/tgstation/tgstation/languages","stargazers_url":"https://api.github.com/repos/tgstation/tgstation/stargazers","contributors_url":"https://api.github.com/repos/tgstation/tgstation/contributors","subscribers_url":"https://api.github.com/repos/tgstation/tgstation/subscribers","subscription_url":"https://api.github.com/repos/tgstation/tgstation/subscription","commits_url":"https://api.github.com/repos/tgstation/tgstation/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgstation/tgstation/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgstation/tgstation/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgstation/tgstation/issues/comments{/number}","contents_url":"https://api.github.com/repos/tgstation/tgstation/contents/{+path}","compare_url":"https://api.github.com/repos/tgstation/tgstation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgstation/tgstation/merges","archive_url":"https://api.github.com/repos/tgstation/tgstation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgstation/tgstation/downloads","issues_url":"https://api.github.com/repos/tgstation/tgstation/issues{/number}","pulls_url":"https://api.github.com/repos/tgstation/tgstation/pulls{/number}","milestones_url":"https://api.github.com/repos/tgstation/tgstation/milestones{/number}","notifications_url":"https://api.github.com/repos/tgstation/tgstation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgstation/tgstation/labels{/name}","releases_url":"https://api.github.com/repos/tgstation/tgstation/releases{/id}","deployments_url":"https://api.github.com/repos/tgstation/tgstation/deployments","created_at":"2012-01-21T17:32:47Z","updated_at":"2018-02-22T21:47:35Z","pushed_at":"2018-03-01T00:13:33Z","git_url":"git://github.com/tgstation/tgstation.git","ssh_url":"git@github.com:tgstation/tgstation.git","clone_url":"https://github.com/tgstation/tgstation.git","svn_url":"https://github.com/tgstation/tgstation","homepage":"https://www.tgstation13.org/","size":1075534,"stargazers_count":470,"watchers_count":470,"language":"DM","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1711,"mirror_url":null,"archived":false,"open_issues_count":1145,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":1711,"open_issues":1145,"watchers":470,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/36029"},"html":{"href":"https://github.com/tgstation/tgstation/pull/36029"},"issue":{"href":"https://api.github.com/repos/tgstation/tgstation/issues/36029"},"comments":{"href":"https://api.github.com/repos/tgstation/tgstation/issues/36029/comments"},"review_comments":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/36029/comments"},"review_comment":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tgstation/tgstation/pulls/36029/commits"},"statuses":{"href":"https://api.github.com/repos/tgstation/tgstation/statuses/b5ed6621eefb3ab3bbcb172260058546018bd255"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"GunHog"}}