{"action":"created","comment":{"url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/comments/119854292","pull_request_review_id":41773165,"id":119854292,"diff_hunk":"@@ -0,0 +1,182 @@\n+///////////////////////////\n+// Dost thou even hoist? //\n+///////////////////////////\n+\n+/obj/item/hoist_kit\n+\tname = \"Hoist Kit\"\n+\tdesc = \"A setup kit for a hoist that can be used to lift things. The hoist will deploy in the direction you're facing.\"\n+\ticon = 'icons/obj/forensics.dmi'\n+\ticon_state = \"case\"\n+\n+/obj/item/hoist_kit/attack_self(mob/user)\n+\tnew /obj/structure/hoist (get_turf(user), user.dir)\n+\tuser.visible_message(span(\"warning\", \"[user] deploys the hoist kit!\"), span(\"notice\", \"You deploy the hoist kit!\"), span(\"notice\", \"You hear the sound of parts snapping into place.\"))\n+\tqdel(src)\n+\n+/obj/effect/hoist_hook\n+\tname = \"Hoist Clamp\"\n+\tdesc = \"A clamp used to lift people or things.\"\n+\ticon = 'icons/obj/structures.dmi'\n+\ticon_state = \"up\"\n+\tvar/obj/structure/hoist/source_hoist\n+\tcan_buckle = 1\n+\tanchored = 1\n+\n+/obj/effect/hoist_hook/MouseDrop_T(atom/movable/M,mob/user)\n+\tif(!istype(M, /atom/movable/)) // why this is even necessary, i don't know.","path":"code/modules/multiz/hoist.dm","position":26,"original_position":26,"commit_id":"82d9bed009a4bd101143a6708b987f720739b5b1","original_commit_id":"82d9bed009a4bd101143a6708b987f720739b5b1","user":{"login":"skull132","id":6318408,"avatar_url":"https://avatars0.githubusercontent.com/u/6318408?v=3","gravatar_id":"","url":"https://api.github.com/users/skull132","html_url":"https://github.com/skull132","followers_url":"https://api.github.com/users/skull132/followers","following_url":"https://api.github.com/users/skull132/following{/other_user}","gists_url":"https://api.github.com/users/skull132/gists{/gist_id}","starred_url":"https://api.github.com/users/skull132/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skull132/subscriptions","organizations_url":"https://api.github.com/users/skull132/orgs","repos_url":"https://api.github.com/users/skull132/repos","events_url":"https://api.github.com/users/skull132/events{/privacy}","received_events_url":"https://api.github.com/users/skull132/received_events","type":"User","site_admin":false},"body":"For future ref. Because M is already cast as `atom/movable` this can be replaced with `if (!istype(M))`","created_at":"2017-06-02T13:22:04Z","updated_at":"2017-06-02T13:29:10Z","html_url":"https://github.com/Aurorastation/Aurora.3/pull/2573#discussion_r119854292","pull_request_url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/2573","_links":{"self":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/comments/119854292"},"html":{"href":"https://github.com/Aurorastation/Aurora.3/pull/2573#discussion_r119854292"},"pull_request":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/2573"}}},"pull_request":{"url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/2573","id":123715860,"html_url":"https://github.com/Aurorastation/Aurora.3/pull/2573","diff_url":"https://github.com/Aurorastation/Aurora.3/pull/2573.diff","patch_url":"https://github.com/Aurorastation/Aurora.3/pull/2573.patch","issue_url":"https://api.github.com/repos/Aurorastation/Aurora.3/issues/2573","number":2573,"state":"open","locked":false,"title":"Falling In Reverse: Hoists Update","user":{"login":"MarinaGryphon","id":13442831,"avatar_url":"https://avatars3.githubusercontent.com/u/13442831?v=3","gravatar_id":"","url":"https://api.github.com/users/MarinaGryphon","html_url":"https://github.com/MarinaGryphon","followers_url":"https://api.github.com/users/MarinaGryphon/followers","following_url":"https://api.github.com/users/MarinaGryphon/following{/other_user}","gists_url":"https://api.github.com/users/MarinaGryphon/gists{/gist_id}","starred_url":"https://api.github.com/users/MarinaGryphon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarinaGryphon/subscriptions","organizations_url":"https://api.github.com/users/MarinaGryphon/orgs","repos_url":"https://api.github.com/users/MarinaGryphon/repos","events_url":"https://api.github.com/users/MarinaGryphon/events{/privacy}","received_events_url":"https://api.github.com/users/MarinaGryphon/received_events","type":"User","site_admin":false},"body":"* Adds hoists! Traverse Z-levels in style!\r\n* Use a hoist kit to deploy it on the same tile as you, in the direction you're facing.\r\n* Drag an object or mob to the hoist clamp in order to attach them to it.\r\n* Left click on a hoist to move up or down, depending on its current direction. This will also pull anything attached to the clamp along with it.\r\n* When the clamp is blocked and can't move up or down further, it will automatically switch direction.\r\n* To disconnect someone (or something) from a clamp, drag the clamp to the tile you want to put them on. It must be within one tile of both you and whatever is attached to the clamp.\r\n* When you're done using a hoist, you can collapse it back into a hoist kit with the `Collapse Hoist` verb, for easy transportation.\r\n\r\nNote: This uses placeholder sprites that are also used by other objects. Hoist kits are also not available on the map, so they have to be spawned in.\r\nIt is also preferred to use hoist kits instead of directly spawning a hoist, where possible, when testing.","created_at":"2017-06-02T13:19:15Z","updated_at":"2017-06-02T13:29:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"30c8c6002f3d1858e123f9764545eae4d8dd59ad","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/2573/commits","review_comments_url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/2573/comments","review_comment_url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Aurorastation/Aurora.3/issues/2573/comments","statuses_url":"https://api.github.com/repos/Aurorastation/Aurora.3/statuses/82d9bed009a4bd101143a6708b987f720739b5b1","head":{"label":"MarinaGryphon:fallinginreverse","ref":"fallinginreverse","sha":"82d9bed009a4bd101143a6708b987f720739b5b1","user":{"login":"MarinaGryphon","id":13442831,"avatar_url":"https://avatars3.githubusercontent.com/u/13442831?v=3","gravatar_id":"","url":"https://api.github.com/users/MarinaGryphon","html_url":"https://github.com/MarinaGryphon","followers_url":"https://api.github.com/users/MarinaGryphon/followers","following_url":"https://api.github.com/users/MarinaGryphon/following{/other_user}","gists_url":"https://api.github.com/users/MarinaGryphon/gists{/gist_id}","starred_url":"https://api.github.com/users/MarinaGryphon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarinaGryphon/subscriptions","organizations_url":"https://api.github.com/users/MarinaGryphon/orgs","repos_url":"https://api.github.com/users/MarinaGryphon/repos","events_url":"https://api.github.com/users/MarinaGryphon/events{/privacy}","received_events_url":"https://api.github.com/users/MarinaGryphon/received_events","type":"User","site_admin":false},"repo":{"id":87249613,"name":"Aurora.3","full_name":"MarinaGryphon/Aurora.3","owner":{"login":"MarinaGryphon","id":13442831,"avatar_url":"https://avatars3.githubusercontent.com/u/13442831?v=3","gravatar_id":"","url":"https://api.github.com/users/MarinaGryphon","html_url":"https://github.com/MarinaGryphon","followers_url":"https://api.github.com/users/MarinaGryphon/followers","following_url":"https://api.github.com/users/MarinaGryphon/following{/other_user}","gists_url":"https://api.github.com/users/MarinaGryphon/gists{/gist_id}","starred_url":"https://api.github.com/users/MarinaGryphon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarinaGryphon/subscriptions","organizations_url":"https://api.github.com/users/MarinaGryphon/orgs","repos_url":"https://api.github.com/users/MarinaGryphon/repos","events_url":"https://api.github.com/users/MarinaGryphon/events{/privacy}","received_events_url":"https://api.github.com/users/MarinaGryphon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MarinaGryphon/Aurora.3","description":"The code for Aurorastation's new base, forked from Baystation12.","fork":true,"url":"https://api.github.com/repos/MarinaGryphon/Aurora.3","forks_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/forks","keys_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/teams","hooks_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/hooks","issue_events_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/issues/events{/number}","events_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/events","assignees_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/assignees{/user}","branches_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/branches{/branch}","tags_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/tags","blobs_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/statuses/{sha}","languages_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/languages","stargazers_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/stargazers","contributors_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/contributors","subscribers_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/subscribers","subscription_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/subscription","commits_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/issues/comments{/number}","contents_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/contents/{+path}","compare_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/merges","archive_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/downloads","issues_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/issues{/number}","pulls_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/pulls{/number}","milestones_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/milestones{/number}","notifications_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/labels{/name}","releases_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/releases{/id}","deployments_url":"https://api.github.com/repos/MarinaGryphon/Aurora.3/deployments","created_at":"2017-04-05T00:51:54Z","updated_at":"2017-04-05T00:52:06Z","pushed_at":"2017-06-02T13:17:50Z","git_url":"git://github.com/MarinaGryphon/Aurora.3.git","ssh_url":"git@github.com:MarinaGryphon/Aurora.3.git","clone_url":"https://github.com/MarinaGryphon/Aurora.3.git","svn_url":"https://github.com/MarinaGryphon/Aurora.3","homepage":"http://aurorastation.org/","size":626596,"stargazers_count":0,"watchers_count":0,"language":"DM","has_issues":false,"has_projects":true,"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":"Aurorastation:development","ref":"development","sha":"eef922d41d44aa4699e6d964ae4f704e625b6124","user":{"login":"Aurorastation","id":6915762,"avatar_url":"https://avatars1.githubusercontent.com/u/6915762?v=3","gravatar_id":"","url":"https://api.github.com/users/Aurorastation","html_url":"https://github.com/Aurorastation","followers_url":"https://api.github.com/users/Aurorastation/followers","following_url":"https://api.github.com/users/Aurorastation/following{/other_user}","gists_url":"https://api.github.com/users/Aurorastation/gists{/gist_id}","starred_url":"https://api.github.com/users/Aurorastation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aurorastation/subscriptions","organizations_url":"https://api.github.com/users/Aurorastation/orgs","repos_url":"https://api.github.com/users/Aurorastation/repos","events_url":"https://api.github.com/users/Aurorastation/events{/privacy}","received_events_url":"https://api.github.com/users/Aurorastation/received_events","type":"Organization","site_admin":false},"repo":{"id":42579199,"name":"Aurora.3","full_name":"Aurorastation/Aurora.3","owner":{"login":"Aurorastation","id":6915762,"avatar_url":"https://avatars1.githubusercontent.com/u/6915762?v=3","gravatar_id":"","url":"https://api.github.com/users/Aurorastation","html_url":"https://github.com/Aurorastation","followers_url":"https://api.github.com/users/Aurorastation/followers","following_url":"https://api.github.com/users/Aurorastation/following{/other_user}","gists_url":"https://api.github.com/users/Aurorastation/gists{/gist_id}","starred_url":"https://api.github.com/users/Aurorastation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aurorastation/subscriptions","organizations_url":"https://api.github.com/users/Aurorastation/orgs","repos_url":"https://api.github.com/users/Aurorastation/repos","events_url":"https://api.github.com/users/Aurorastation/events{/privacy}","received_events_url":"https://api.github.com/users/Aurorastation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Aurorastation/Aurora.3","description":"The code for Aurorastation's new base, forked from Baystation12.","fork":true,"url":"https://api.github.com/repos/Aurorastation/Aurora.3","forks_url":"https://api.github.com/repos/Aurorastation/Aurora.3/forks","keys_url":"https://api.github.com/repos/Aurorastation/Aurora.3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Aurorastation/Aurora.3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Aurorastation/Aurora.3/teams","hooks_url":"https://api.github.com/repos/Aurorastation/Aurora.3/hooks","issue_events_url":"https://api.github.com/repos/Aurorastation/Aurora.3/issues/events{/number}","events_url":"https://api.github.com/repos/Aurorastation/Aurora.3/events","assignees_url":"https://api.github.com/repos/Aurorastation/Aurora.3/assignees{/user}","branches_url":"https://api.github.com/repos/Aurorastation/Aurora.3/branches{/branch}","tags_url":"https://api.github.com/repos/Aurorastation/Aurora.3/tags","blobs_url":"https://api.github.com/repos/Aurorastation/Aurora.3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Aurorastation/Aurora.3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Aurorastation/Aurora.3/git/refs{/sha}","trees_url":"https://api.github.com/repos/Aurorastation/Aurora.3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Aurorastation/Aurora.3/statuses/{sha}","languages_url":"https://api.github.com/repos/Aurorastation/Aurora.3/languages","stargazers_url":"https://api.github.com/repos/Aurorastation/Aurora.3/stargazers","contributors_url":"https://api.github.com/repos/Aurorastation/Aurora.3/contributors","subscribers_url":"https://api.github.com/repos/Aurorastation/Aurora.3/subscribers","subscription_url":"https://api.github.com/repos/Aurorastation/Aurora.3/subscription","commits_url":"https://api.github.com/repos/Aurorastation/Aurora.3/commits{/sha}","git_commits_url":"https://api.github.com/repos/Aurorastation/Aurora.3/git/commits{/sha}","comments_url":"https://api.github.com/repos/Aurorastation/Aurora.3/comments{/number}","issue_comment_url":"https://api.github.com/repos/Aurorastation/Aurora.3/issues/comments{/number}","contents_url":"https://api.github.com/repos/Aurorastation/Aurora.3/contents/{+path}","compare_url":"https://api.github.com/repos/Aurorastation/Aurora.3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Aurorastation/Aurora.3/merges","archive_url":"https://api.github.com/repos/Aurorastation/Aurora.3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Aurorastation/Aurora.3/downloads","issues_url":"https://api.github.com/repos/Aurorastation/Aurora.3/issues{/number}","pulls_url":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls{/number}","milestones_url":"https://api.github.com/repos/Aurorastation/Aurora.3/milestones{/number}","notifications_url":"https://api.github.com/repos/Aurorastation/Aurora.3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Aurorastation/Aurora.3/labels{/name}","releases_url":"https://api.github.com/repos/Aurorastation/Aurora.3/releases{/id}","deployments_url":"https://api.github.com/repos/Aurorastation/Aurora.3/deployments","created_at":"2015-09-16T09:56:37Z","updated_at":"2017-03-29T23:12:06Z","pushed_at":"2017-06-02T13:19:15Z","git_url":"git://github.com/Aurorastation/Aurora.3.git","ssh_url":"git@github.com:Aurorastation/Aurora.3.git","clone_url":"https://github.com/Aurorastation/Aurora.3.git","svn_url":"https://github.com/Aurorastation/Aurora.3","homepage":"http://aurorastation.org/","size":627663,"stargazers_count":14,"watchers_count":14,"language":"DM","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":340,"forks":49,"open_issues":340,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/2573"},"html":{"href":"https://github.com/Aurorastation/Aurora.3/pull/2573"},"issue":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/issues/2573"},"comments":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/issues/2573/comments"},"review_comments":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/2573/comments"},"review_comment":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/pulls/2573/commits"},"statuses":{"href":"https://api.github.com/repos/Aurorastation/Aurora.3/statuses/82d9bed009a4bd101143a6708b987f720739b5b1"}}}}
{"actor":{"display_login":"skull132"}}