{"action":"created","comment":{"url":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments/23331726","id":23331726,"diff_hunk":"@@ -211,31 +229,53 @@\n /obj/structure/stool/bed/chair/janicart/relaymove(mob/user, direction)\r\n \tif(user.stat || user.stunned || user.weakened || user.paralysis)\r\n \t\tunbuckle_mob()\r\n-\tif(istype(user.l_hand, /obj/item/key) || istype(user.r_hand, /obj/item/key))\r\n-\t\tif(!Process_Spacemove(direction))\r\n+\tif(istype(user.l_hand, keytype) || istype(user.r_hand, keytype))\r\n+\t\tif(!Process_Spacemove(direction) || !has_gravity(src.loc) || move_delay)\r\n \t\t\treturn\r\n \t\tstep(src, direction)\r\n \t\tupdate_mob()\r\n \t\thandle_rotation()\r\n+\t\tif(istype(src.loc, /turf/simulated))\r\n+\t\t\tvar/turf/simulated/T = src.loc\r\n+\t\t\tif(T.wet == 2)\t//Lube! Fall off!\r\n+\t\t\t\tplaysound(src, 'sound/misc/slip.ogg', 50, 1, -3)\r\n+\t\t\t\tbuckled_mob.Stun(7)\r\n+\t\t\t\tbuckled_mob.Weaken(7)\r\n+\t\t\t\tunbuckle_mob()\r\n+\t\t\t\tstep(src, dir)\r\n+\t\tmove_delay = 1\r\n+\t\tspawn(2)\r\n+\t\t\tmove_delay = 0\r\n \telse\r\n \t\tuser << \"<span class='notice'>You'll need the keys in one of your hands to drive this [callme].</span>\"\r\n \r\n \r\n-/obj/structure/stool/bed/chair/janicart/post_buckle_mob(mob/living/M)\r\n-\tupdate_mob()\r\n-\treturn ..()\r\n+/obj/structure/stool/bed/chair/janicart/user_buckle_mob(mob/M, mob/user)\r\n+\tif(M != user || !ismob(M) || get_dist(src, user) > 1 || user.restrained() || user.lying || user.stat || M.buckled || istype(user, /mob/living/silicon))\r\n+\t\treturn\r\n \r\n+\tunbuckle_mob()\r\n \r\n-/obj/structure/stool/bed/chair/janicart/unbuckle_mob()\r\n-\tvar/mob/living/M = ..()\r\n-\tif(M)\r\n-\t\tM.pixel_x = 0\r\n-\t\tM.pixel_y = 0\r\n-\treturn M\r\n+\tM.visible_message(\\\r\n+\t\t\"<span class='notice'>[M] climbs onto the [callme]!</span>\",\\\r\n+\t\t\"<span class='notice'>You climb onto the [callme]!</span>\")\r\n \r\n+\tM.buckled = src\r","path":"code/game/objects/structures/janicart.dm","position":148,"original_position":148,"commit_id":"045b564cdfca4b75f6d012349185481ff5f47dbe","original_commit_id":"045b564cdfca4b75f6d012349185481ff5f47dbe","user":{"login":"RemieRichards","id":4043781,"avatar_url":"https://avatars.githubusercontent.com/u/4043781?v=3","gravatar_id":"","url":"https://api.github.com/users/RemieRichards","html_url":"https://github.com/RemieRichards","followers_url":"https://api.github.com/users/RemieRichards/followers","following_url":"https://api.github.com/users/RemieRichards/following{/other_user}","gists_url":"https://api.github.com/users/RemieRichards/gists{/gist_id}","starred_url":"https://api.github.com/users/RemieRichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RemieRichards/subscriptions","organizations_url":"https://api.github.com/users/RemieRichards/orgs","repos_url":"https://api.github.com/users/RemieRichards/repos","events_url":"https://api.github.com/users/RemieRichards/events{/privacy}","received_events_url":"https://api.github.com/users/RemieRichards/received_events","type":"User","site_admin":false},"body":"didn't break shit, it was broken already. if I'd have known it was broken because of me I'd of fixed it, except the first I hear about it is some idiot copy pasting bad code and then getting pissy at me. you can see why I'd rather not work with someone like that.","created_at":"2015-01-21T20:30:52Z","updated_at":"2015-01-21T20:30:52Z","html_url":"https://github.com/tgstation/-tg-station/pull/7087#discussion_r23331726","pull_request_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/7087","_links":{"self":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments/23331726"},"html":{"href":"https://github.com/tgstation/-tg-station/pull/7087#discussion_r23331726"},"pull_request":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/7087"}}},"pull_request":{"url":"https://api.github.com/repos/tgstation/-tg-station/pulls/7087","id":27415724,"html_url":"https://github.com/tgstation/-tg-station/pull/7087","diff_url":"https://github.com/tgstation/-tg-station/pull/7087.diff","patch_url":"https://github.com/tgstation/-tg-station/pull/7087.patch","issue_url":"https://api.github.com/repos/tgstation/-tg-station/issues/7087","number":7087,"state":"open","locked":false,"title":"Improves janicart and adds secway","user":{"login":"paprka","id":7247232,"avatar_url":"https://avatars.githubusercontent.com/u/7247232?v=3","gravatar_id":"","url":"https://api.github.com/users/paprka","html_url":"https://github.com/paprka","followers_url":"https://api.github.com/users/paprka/followers","following_url":"https://api.github.com/users/paprka/following{/other_user}","gists_url":"https://api.github.com/users/paprka/gists{/gist_id}","starred_url":"https://api.github.com/users/paprka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paprka/subscriptions","organizations_url":"https://api.github.com/users/paprka/orgs","repos_url":"https://api.github.com/users/paprka/repos","events_url":"https://api.github.com/users/paprka/events{/privacy}","received_events_url":"https://api.github.com/users/paprka/received_events","type":"User","site_admin":false},"body":"**Neither of these are on the map yet**\r\n\r\n- Janicart can no longer deflect bullets\r\n- Janicart cannot hold reagents\r\n- Janicart is no longer sanic, about as fast as someone on green (roundstart) nutrition\r\n- Janicart is no longer immune to lube\r\n- Janicart can no longer move on tiles without gravity\r\n- Janicart can be upgraded with a 'floor buffer' which makes it function like the janiborg does\r\n- Added a 'secway' (thanks mrperson for the name) which is more or less a variant of the janicart with no cool functions other than you can be a fatass cop and not suffer slowdown on it (people on blue nutrition will still outrun secways)\r\n\r\nFixes https://github.com/tgstation/-tg-station/issues/7241\r\n\r\n![cool1](https://cloud.githubusercontent.com/assets/7247232/5755250/1e716c48-9c57-11e4-93f2-9c55e5f07fc3.gif)\r\n\r\n![cool2](https://cloud.githubusercontent.com/assets/7247232/5755252/20324d7c-9c57-11e4-972d-61245b009413.gif)\r\n\r\nSprite credit to the segway mostly to paradise (I'm pretty sure we mocked this up ages ago and they took them anyway?)\r\n\r\nNote: I haven't tested this in zero-g environments or space, because I don't know how to disable the grav gen (bomb it?) so if someone could do that it would be swell.","created_at":"2015-01-15T09:38:45Z","updated_at":"2015-01-21T20:30:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f3106ef6598ee903673813cde52e2491b88c3c66","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/7087/commits","review_comments_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/7087/comments","review_comment_url":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments/{number}","comments_url":"https://api.github.com/repos/tgstation/-tg-station/issues/7087/comments","statuses_url":"https://api.github.com/repos/tgstation/-tg-station/statuses/045b564cdfca4b75f6d012349185481ff5f47dbe","head":{"label":"paprka:readdjanikart","ref":"readdjanikart","sha":"045b564cdfca4b75f6d012349185481ff5f47dbe","user":{"login":"paprka","id":7247232,"avatar_url":"https://avatars.githubusercontent.com/u/7247232?v=3","gravatar_id":"","url":"https://api.github.com/users/paprka","html_url":"https://github.com/paprka","followers_url":"https://api.github.com/users/paprka/followers","following_url":"https://api.github.com/users/paprka/following{/other_user}","gists_url":"https://api.github.com/users/paprka/gists{/gist_id}","starred_url":"https://api.github.com/users/paprka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paprka/subscriptions","organizations_url":"https://api.github.com/users/paprka/orgs","repos_url":"https://api.github.com/users/paprka/repos","events_url":"https://api.github.com/users/paprka/events{/privacy}","received_events_url":"https://api.github.com/users/paprka/received_events","type":"User","site_admin":false},"repo":{"id":18625587,"name":"-tg-station","full_name":"paprka/-tg-station","owner":{"login":"paprka","id":7247232,"avatar_url":"https://avatars.githubusercontent.com/u/7247232?v=3","gravatar_id":"","url":"https://api.github.com/users/paprka","html_url":"https://github.com/paprka","followers_url":"https://api.github.com/users/paprka/followers","following_url":"https://api.github.com/users/paprka/following{/other_user}","gists_url":"https://api.github.com/users/paprka/gists{/gist_id}","starred_url":"https://api.github.com/users/paprka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paprka/subscriptions","organizations_url":"https://api.github.com/users/paprka/orgs","repos_url":"https://api.github.com/users/paprka/repos","events_url":"https://api.github.com/users/paprka/events{/privacy}","received_events_url":"https://api.github.com/users/paprka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/paprka/-tg-station","description":"/tg/'s SS13 branch","fork":true,"url":"https://api.github.com/repos/paprka/-tg-station","forks_url":"https://api.github.com/repos/paprka/-tg-station/forks","keys_url":"https://api.github.com/repos/paprka/-tg-station/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paprka/-tg-station/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paprka/-tg-station/teams","hooks_url":"https://api.github.com/repos/paprka/-tg-station/hooks","issue_events_url":"https://api.github.com/repos/paprka/-tg-station/issues/events{/number}","events_url":"https://api.github.com/repos/paprka/-tg-station/events","assignees_url":"https://api.github.com/repos/paprka/-tg-station/assignees{/user}","branches_url":"https://api.github.com/repos/paprka/-tg-station/branches{/branch}","tags_url":"https://api.github.com/repos/paprka/-tg-station/tags","blobs_url":"https://api.github.com/repos/paprka/-tg-station/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paprka/-tg-station/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paprka/-tg-station/git/refs{/sha}","trees_url":"https://api.github.com/repos/paprka/-tg-station/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paprka/-tg-station/statuses/{sha}","languages_url":"https://api.github.com/repos/paprka/-tg-station/languages","stargazers_url":"https://api.github.com/repos/paprka/-tg-station/stargazers","contributors_url":"https://api.github.com/repos/paprka/-tg-station/contributors","subscribers_url":"https://api.github.com/repos/paprka/-tg-station/subscribers","subscription_url":"https://api.github.com/repos/paprka/-tg-station/subscription","commits_url":"https://api.github.com/repos/paprka/-tg-station/commits{/sha}","git_commits_url":"https://api.github.com/repos/paprka/-tg-station/git/commits{/sha}","comments_url":"https://api.github.com/repos/paprka/-tg-station/comments{/number}","issue_comment_url":"https://api.github.com/repos/paprka/-tg-station/issues/comments/{number}","contents_url":"https://api.github.com/repos/paprka/-tg-station/contents/{+path}","compare_url":"https://api.github.com/repos/paprka/-tg-station/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paprka/-tg-station/merges","archive_url":"https://api.github.com/repos/paprka/-tg-station/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paprka/-tg-station/downloads","issues_url":"https://api.github.com/repos/paprka/-tg-station/issues{/number}","pulls_url":"https://api.github.com/repos/paprka/-tg-station/pulls{/number}","milestones_url":"https://api.github.com/repos/paprka/-tg-station/milestones{/number}","notifications_url":"https://api.github.com/repos/paprka/-tg-station/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paprka/-tg-station/labels{/name}","releases_url":"https://api.github.com/repos/paprka/-tg-station/releases{/id}","created_at":"2014-04-10T05:52:23Z","updated_at":"2015-01-16T00:24:46Z","pushed_at":"2015-01-21T04:50:05Z","git_url":"git://github.com/paprka/-tg-station.git","ssh_url":"git@github.com:paprka/-tg-station.git","clone_url":"https://github.com/paprka/-tg-station.git","svn_url":"https://github.com/paprka/-tg-station","homepage":"","size":434824,"stargazers_count":0,"watchers_count":0,"language":"DM","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"tgstation:master","ref":"master","sha":"8f9859749014206da845bbb6534913d995c52e66","user":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars.githubusercontent.com/u/1363778?v=3","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":"-tg-station","full_name":"tgstation/-tg-station","owner":{"login":"tgstation","id":1363778,"avatar_url":"https://avatars.githubusercontent.com/u/1363778?v=3","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/-tg-station","description":"/tg/'s SS13 branch","fork":false,"url":"https://api.github.com/repos/tgstation/-tg-station","forks_url":"https://api.github.com/repos/tgstation/-tg-station/forks","keys_url":"https://api.github.com/repos/tgstation/-tg-station/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tgstation/-tg-station/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tgstation/-tg-station/teams","hooks_url":"https://api.github.com/repos/tgstation/-tg-station/hooks","issue_events_url":"https://api.github.com/repos/tgstation/-tg-station/issues/events{/number}","events_url":"https://api.github.com/repos/tgstation/-tg-station/events","assignees_url":"https://api.github.com/repos/tgstation/-tg-station/assignees{/user}","branches_url":"https://api.github.com/repos/tgstation/-tg-station/branches{/branch}","tags_url":"https://api.github.com/repos/tgstation/-tg-station/tags","blobs_url":"https://api.github.com/repos/tgstation/-tg-station/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tgstation/-tg-station/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tgstation/-tg-station/git/refs{/sha}","trees_url":"https://api.github.com/repos/tgstation/-tg-station/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tgstation/-tg-station/statuses/{sha}","languages_url":"https://api.github.com/repos/tgstation/-tg-station/languages","stargazers_url":"https://api.github.com/repos/tgstation/-tg-station/stargazers","contributors_url":"https://api.github.com/repos/tgstation/-tg-station/contributors","subscribers_url":"https://api.github.com/repos/tgstation/-tg-station/subscribers","subscription_url":"https://api.github.com/repos/tgstation/-tg-station/subscription","commits_url":"https://api.github.com/repos/tgstation/-tg-station/commits{/sha}","git_commits_url":"https://api.github.com/repos/tgstation/-tg-station/git/commits{/sha}","comments_url":"https://api.github.com/repos/tgstation/-tg-station/comments{/number}","issue_comment_url":"https://api.github.com/repos/tgstation/-tg-station/issues/comments/{number}","contents_url":"https://api.github.com/repos/tgstation/-tg-station/contents/{+path}","compare_url":"https://api.github.com/repos/tgstation/-tg-station/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tgstation/-tg-station/merges","archive_url":"https://api.github.com/repos/tgstation/-tg-station/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tgstation/-tg-station/downloads","issues_url":"https://api.github.com/repos/tgstation/-tg-station/issues{/number}","pulls_url":"https://api.github.com/repos/tgstation/-tg-station/pulls{/number}","milestones_url":"https://api.github.com/repos/tgstation/-tg-station/milestones{/number}","notifications_url":"https://api.github.com/repos/tgstation/-tg-station/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tgstation/-tg-station/labels{/name}","releases_url":"https://api.github.com/repos/tgstation/-tg-station/releases{/id}","created_at":"2012-01-21T17:32:47Z","updated_at":"2015-01-21T19:20:20Z","pushed_at":"2015-01-21T19:20:19Z","git_url":"git://github.com/tgstation/-tg-station.git","ssh_url":"git@github.com:tgstation/-tg-station.git","clone_url":"https://github.com/tgstation/-tg-station.git","svn_url":"https://github.com/tgstation/-tg-station","homepage":"http://www.tgstation13.org/","size":574003,"stargazers_count":179,"watchers_count":179,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":634,"mirror_url":null,"open_issues_count":679,"forks":634,"open_issues":679,"watchers":179,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/7087"},"html":{"href":"https://github.com/tgstation/-tg-station/pull/7087"},"issue":{"href":"https://api.github.com/repos/tgstation/-tg-station/issues/7087"},"comments":{"href":"https://api.github.com/repos/tgstation/-tg-station/issues/7087/comments"},"review_comments":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/7087/comments"},"review_comment":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/tgstation/-tg-station/pulls/7087/commits"},"statuses":{"href":"https://api.github.com/repos/tgstation/-tg-station/statuses/045b564cdfca4b75f6d012349185481ff5f47dbe"}}}}