{"action":"created","comment":{"url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/comments/43779351","id":43779351,"diff_hunk":"@@ -1325,12 +1325,16 @@ var/global/floorIsLava = 0\n \t\t\tvar/mob/living/silicon/robot/R = S\r\n \t\t\tusr << \"<b>CYBORG [key_name(S, usr)] [R.connected_ai?\"(Slaved to: [R.connected_ai])\":\"(Independant)\"]: laws:</b>\"\r\n \t\telse if (ispAI(S))\r\n-\t\t\tusr << \"<b>pAI [key_name(S, usr)]'s laws:</b>\"\r\n+\t\t\tvar/mob/living/silicon/pai/pAI = S\r\n+\t\t\tusr << \"<b>pAI [key_name(S, usr)]'s laws (master: [pAI.master] ):</b>\"\r\n \t\telse\r\n \t\t\tusr << \"<b>SOMETHING SILICON [key_name(S, usr)]'s laws:</b>\"\r\n \r\n-\t\tif (S.laws == null)\r\n+\t\tif (S.laws == null && !ispAI(S))\r","path":"code/modules/admin/admin.dm","position":11,"original_position":11,"commit_id":"bfa3392f2951e3d3142d6ad0f2af860aa2753a7b","original_commit_id":"bfa3392f2951e3d3142d6ad0f2af860aa2753a7b","user":{"login":"d3athrow","id":706947,"avatar_url":"https://avatars.githubusercontent.com/u/706947?v=3","gravatar_id":"","url":"https://api.github.com/users/d3athrow","html_url":"https://github.com/d3athrow","followers_url":"https://api.github.com/users/d3athrow/followers","following_url":"https://api.github.com/users/d3athrow/following{/other_user}","gists_url":"https://api.github.com/users/d3athrow/gists{/gist_id}","starred_url":"https://api.github.com/users/d3athrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3athrow/subscriptions","organizations_url":"https://api.github.com/users/d3athrow/orgs","repos_url":"https://api.github.com/users/d3athrow/repos","events_url":"https://api.github.com/users/d3athrow/events{/privacy}","received_events_url":"https://api.github.com/users/d3athrow/received_events","type":"User","site_admin":false},"body":"This can be optimized.\r\n```\r\nif(ispAI(S))\r\n    //do stuff\r\nelse if(S.laws)\r\n    //do other stuff\r\nelse\r\n    //do error stuff\r\nonly 1 istype required.","created_at":"2015-11-03T17:33:04Z","updated_at":"2015-11-03T17:33:04Z","html_url":"https://github.com/d3athrow/vgstation13/pull/6410#discussion_r43779351","pull_request_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/6410","_links":{"self":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/comments/43779351"},"html":{"href":"https://github.com/d3athrow/vgstation13/pull/6410#discussion_r43779351"},"pull_request":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/6410"}}},"pull_request":{"url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/6410","id":49431010,"html_url":"https://github.com/d3athrow/vgstation13/pull/6410","diff_url":"https://github.com/d3athrow/vgstation13/pull/6410.diff","patch_url":"https://github.com/d3athrow/vgstation13/pull/6410.patch","issue_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/6410","number":6410,"state":"open","locked":false,"title":"Fixing stuff","user":{"login":"DeityLink","id":7573912,"avatar_url":"https://avatars.githubusercontent.com/u/7573912?v=3","gravatar_id":"","url":"https://api.github.com/users/DeityLink","html_url":"https://github.com/DeityLink","followers_url":"https://api.github.com/users/DeityLink/followers","following_url":"https://api.github.com/users/DeityLink/following{/other_user}","gists_url":"https://api.github.com/users/DeityLink/gists{/gist_id}","starred_url":"https://api.github.com/users/DeityLink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeityLink/subscriptions","organizations_url":"https://api.github.com/users/DeityLink/orgs","repos_url":"https://api.github.com/users/DeityLink/repos","events_url":"https://api.github.com/users/DeityLink/events{/privacy}","received_events_url":"https://api.github.com/users/DeityLink/received_events","type":"User","site_admin":false},"body":"\r\n![ss 2015-11-02 at 02 46 42](https://cloud.githubusercontent.com/assets/7573912/10891020/dd516242-819b-11e5-9a25-8bb6ca43b8b5.png)\r\n\r\n\r\n* Fixed an issue with pAI directives now being properly displayed to admins.\r\n* pAIs, the name of their master, and their directives now appear on the round end scoreboard along the other silicons.\r\n* pAIs emotions now properly appear on the round end scoreboard.\r\n* Changed the MedicalHUD and SecurityHUD descriptions to reflect the fact that they work on more than just \"humans\".\r\n* Fixed antag madness wizard spellbooks having only 10 uses instead of 30.\r\n* Fixed antag madness deathsquads not wearing the deathsquad armor.\r\n* Added Bee Guns to the list of guns that can be spawned by Summon Guns.","created_at":"2015-11-02T13:28:10Z","updated_at":"2015-11-03T17:33:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9c39b1083a9b4dffaa93f2d352418d64112a7144","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/6410/commits","review_comments_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/6410/comments","review_comment_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls/comments{/number}","comments_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/6410/comments","statuses_url":"https://api.github.com/repos/d3athrow/vgstation13/statuses/bfa3392f2951e3d3142d6ad0f2af860aa2753a7b","head":{"label":"DeityLink:Bleeding-Edge","ref":"Bleeding-Edge","sha":"bfa3392f2951e3d3142d6ad0f2af860aa2753a7b","user":{"login":"DeityLink","id":7573912,"avatar_url":"https://avatars.githubusercontent.com/u/7573912?v=3","gravatar_id":"","url":"https://api.github.com/users/DeityLink","html_url":"https://github.com/DeityLink","followers_url":"https://api.github.com/users/DeityLink/followers","following_url":"https://api.github.com/users/DeityLink/following{/other_user}","gists_url":"https://api.github.com/users/DeityLink/gists{/gist_id}","starred_url":"https://api.github.com/users/DeityLink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeityLink/subscriptions","organizations_url":"https://api.github.com/users/DeityLink/orgs","repos_url":"https://api.github.com/users/DeityLink/repos","events_url":"https://api.github.com/users/DeityLink/events{/privacy}","received_events_url":"https://api.github.com/users/DeityLink/received_events","type":"User","site_admin":false},"repo":{"id":24926745,"name":"vgstation13","full_name":"DeityLink/vgstation13","owner":{"login":"DeityLink","id":7573912,"avatar_url":"https://avatars.githubusercontent.com/u/7573912?v=3","gravatar_id":"","url":"https://api.github.com/users/DeityLink","html_url":"https://github.com/DeityLink","followers_url":"https://api.github.com/users/DeityLink/followers","following_url":"https://api.github.com/users/DeityLink/following{/other_user}","gists_url":"https://api.github.com/users/DeityLink/gists{/gist_id}","starred_url":"https://api.github.com/users/DeityLink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeityLink/subscriptions","organizations_url":"https://api.github.com/users/DeityLink/orgs","repos_url":"https://api.github.com/users/DeityLink/repos","events_url":"https://api.github.com/users/DeityLink/events{/privacy}","received_events_url":"https://api.github.com/users/DeityLink/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DeityLink/vgstation13","description":"This is Deity Link's vgstation fork of baystation12's code.","fork":true,"url":"https://api.github.com/repos/DeityLink/vgstation13","forks_url":"https://api.github.com/repos/DeityLink/vgstation13/forks","keys_url":"https://api.github.com/repos/DeityLink/vgstation13/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DeityLink/vgstation13/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DeityLink/vgstation13/teams","hooks_url":"https://api.github.com/repos/DeityLink/vgstation13/hooks","issue_events_url":"https://api.github.com/repos/DeityLink/vgstation13/issues/events{/number}","events_url":"https://api.github.com/repos/DeityLink/vgstation13/events","assignees_url":"https://api.github.com/repos/DeityLink/vgstation13/assignees{/user}","branches_url":"https://api.github.com/repos/DeityLink/vgstation13/branches{/branch}","tags_url":"https://api.github.com/repos/DeityLink/vgstation13/tags","blobs_url":"https://api.github.com/repos/DeityLink/vgstation13/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DeityLink/vgstation13/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DeityLink/vgstation13/git/refs{/sha}","trees_url":"https://api.github.com/repos/DeityLink/vgstation13/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DeityLink/vgstation13/statuses/{sha}","languages_url":"https://api.github.com/repos/DeityLink/vgstation13/languages","stargazers_url":"https://api.github.com/repos/DeityLink/vgstation13/stargazers","contributors_url":"https://api.github.com/repos/DeityLink/vgstation13/contributors","subscribers_url":"https://api.github.com/repos/DeityLink/vgstation13/subscribers","subscription_url":"https://api.github.com/repos/DeityLink/vgstation13/subscription","commits_url":"https://api.github.com/repos/DeityLink/vgstation13/commits{/sha}","git_commits_url":"https://api.github.com/repos/DeityLink/vgstation13/git/commits{/sha}","comments_url":"https://api.github.com/repos/DeityLink/vgstation13/comments{/number}","issue_comment_url":"https://api.github.com/repos/DeityLink/vgstation13/issues/comments{/number}","contents_url":"https://api.github.com/repos/DeityLink/vgstation13/contents/{+path}","compare_url":"https://api.github.com/repos/DeityLink/vgstation13/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DeityLink/vgstation13/merges","archive_url":"https://api.github.com/repos/DeityLink/vgstation13/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DeityLink/vgstation13/downloads","issues_url":"https://api.github.com/repos/DeityLink/vgstation13/issues{/number}","pulls_url":"https://api.github.com/repos/DeityLink/vgstation13/pulls{/number}","milestones_url":"https://api.github.com/repos/DeityLink/vgstation13/milestones{/number}","notifications_url":"https://api.github.com/repos/DeityLink/vgstation13/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DeityLink/vgstation13/labels{/name}","releases_url":"https://api.github.com/repos/DeityLink/vgstation13/releases{/id}","created_at":"2014-10-08T05:58:04Z","updated_at":"2015-04-13T22:18:46Z","pushed_at":"2015-11-02T13:33:55Z","git_url":"git://github.com/DeityLink/vgstation13.git","ssh_url":"git@github.com:DeityLink/vgstation13.git","clone_url":"https://github.com/DeityLink/vgstation13.git","svn_url":"https://github.com/DeityLink/vgstation13","homepage":"","size":904995,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"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":"d3athrow:Bleeding-Edge","ref":"Bleeding-Edge","sha":"c5bf2c58340ffb6159e02f35ff786979f7fb366d","user":{"login":"d3athrow","id":706947,"avatar_url":"https://avatars.githubusercontent.com/u/706947?v=3","gravatar_id":"","url":"https://api.github.com/users/d3athrow","html_url":"https://github.com/d3athrow","followers_url":"https://api.github.com/users/d3athrow/followers","following_url":"https://api.github.com/users/d3athrow/following{/other_user}","gists_url":"https://api.github.com/users/d3athrow/gists{/gist_id}","starred_url":"https://api.github.com/users/d3athrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3athrow/subscriptions","organizations_url":"https://api.github.com/users/d3athrow/orgs","repos_url":"https://api.github.com/users/d3athrow/repos","events_url":"https://api.github.com/users/d3athrow/events{/privacy}","received_events_url":"https://api.github.com/users/d3athrow/received_events","type":"User","site_admin":false},"repo":{"id":10441188,"name":"vgstation13","full_name":"d3athrow/vgstation13","owner":{"login":"d3athrow","id":706947,"avatar_url":"https://avatars.githubusercontent.com/u/706947?v=3","gravatar_id":"","url":"https://api.github.com/users/d3athrow","html_url":"https://github.com/d3athrow","followers_url":"https://api.github.com/users/d3athrow/followers","following_url":"https://api.github.com/users/d3athrow/following{/other_user}","gists_url":"https://api.github.com/users/d3athrow/gists{/gist_id}","starred_url":"https://api.github.com/users/d3athrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3athrow/subscriptions","organizations_url":"https://api.github.com/users/d3athrow/orgs","repos_url":"https://api.github.com/users/d3athrow/repos","events_url":"https://api.github.com/users/d3athrow/events{/privacy}","received_events_url":"https://api.github.com/users/d3athrow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/d3athrow/vgstation13","description":"Butts","fork":true,"url":"https://api.github.com/repos/d3athrow/vgstation13","forks_url":"https://api.github.com/repos/d3athrow/vgstation13/forks","keys_url":"https://api.github.com/repos/d3athrow/vgstation13/keys{/key_id}","collaborators_url":"https://api.github.com/repos/d3athrow/vgstation13/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/d3athrow/vgstation13/teams","hooks_url":"https://api.github.com/repos/d3athrow/vgstation13/hooks","issue_events_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/events{/number}","events_url":"https://api.github.com/repos/d3athrow/vgstation13/events","assignees_url":"https://api.github.com/repos/d3athrow/vgstation13/assignees{/user}","branches_url":"https://api.github.com/repos/d3athrow/vgstation13/branches{/branch}","tags_url":"https://api.github.com/repos/d3athrow/vgstation13/tags","blobs_url":"https://api.github.com/repos/d3athrow/vgstation13/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/d3athrow/vgstation13/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/d3athrow/vgstation13/git/refs{/sha}","trees_url":"https://api.github.com/repos/d3athrow/vgstation13/git/trees{/sha}","statuses_url":"https://api.github.com/repos/d3athrow/vgstation13/statuses/{sha}","languages_url":"https://api.github.com/repos/d3athrow/vgstation13/languages","stargazers_url":"https://api.github.com/repos/d3athrow/vgstation13/stargazers","contributors_url":"https://api.github.com/repos/d3athrow/vgstation13/contributors","subscribers_url":"https://api.github.com/repos/d3athrow/vgstation13/subscribers","subscription_url":"https://api.github.com/repos/d3athrow/vgstation13/subscription","commits_url":"https://api.github.com/repos/d3athrow/vgstation13/commits{/sha}","git_commits_url":"https://api.github.com/repos/d3athrow/vgstation13/git/commits{/sha}","comments_url":"https://api.github.com/repos/d3athrow/vgstation13/comments{/number}","issue_comment_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/comments{/number}","contents_url":"https://api.github.com/repos/d3athrow/vgstation13/contents/{+path}","compare_url":"https://api.github.com/repos/d3athrow/vgstation13/compare/{base}...{head}","merges_url":"https://api.github.com/repos/d3athrow/vgstation13/merges","archive_url":"https://api.github.com/repos/d3athrow/vgstation13/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/d3athrow/vgstation13/downloads","issues_url":"https://api.github.com/repos/d3athrow/vgstation13/issues{/number}","pulls_url":"https://api.github.com/repos/d3athrow/vgstation13/pulls{/number}","milestones_url":"https://api.github.com/repos/d3athrow/vgstation13/milestones{/number}","notifications_url":"https://api.github.com/repos/d3athrow/vgstation13/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/d3athrow/vgstation13/labels{/name}","releases_url":"https://api.github.com/repos/d3athrow/vgstation13/releases{/id}","created_at":"2013-06-02T19:39:54Z","updated_at":"2015-10-26T01:54:11Z","pushed_at":"2015-11-03T17:08:56Z","git_url":"git://github.com/d3athrow/vgstation13.git","ssh_url":"git@github.com:d3athrow/vgstation13.git","clone_url":"https://github.com/d3athrow/vgstation13.git","svn_url":"https://github.com/d3athrow/vgstation13","homepage":"","size":1094832,"stargazers_count":71,"watchers_count":71,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":193,"mirror_url":null,"open_issues_count":755,"forks":193,"open_issues":755,"watchers":71,"default_branch":"Bleeding-Edge"}},"_links":{"self":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/6410"},"html":{"href":"https://github.com/d3athrow/vgstation13/pull/6410"},"issue":{"href":"https://api.github.com/repos/d3athrow/vgstation13/issues/6410"},"comments":{"href":"https://api.github.com/repos/d3athrow/vgstation13/issues/6410/comments"},"review_comments":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/6410/comments"},"review_comment":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/d3athrow/vgstation13/pulls/6410/commits"},"statuses":{"href":"https://api.github.com/repos/d3athrow/vgstation13/statuses/bfa3392f2951e3d3142d6ad0f2af860aa2753a7b"}}}}