{"action":"created","comment":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/77954823","id":77954823,"diff_hunk":"@@ -204,3 +206,13 @@\n \t\t\tcontinue\n \t\tL.Add(AT)\n \treturn L\n+\n+/proc/log_ability_use(var/mob/living/silicon/ai/A, var/ability_name, var/atom/target = null, var/notify_admins = 1)\n+\tvar/message\n+\tif(target)\n+\t\tmessage = text(\"\\[[time_stamp()]\\] [A] Used newmalf ability/function: [ability_name] on [target] ([target.x], [target.y], [target.z])\")\n+\telse\n+\t\tmessage = text(\"\\[[time_stamp()]\\] [A] Used newmalf ability/function: [ability_name] (no target)\")","path":"code/game/gamemodes/malfunction/newmalf_ability_trees/HELPERS.dm","position":26,"original_position":26,"commit_id":"4457ac9f6b06835376e6eb5af9b71080d87aaaf0","original_commit_id":"4457ac9f6b06835376e6eb5af9b71080d87aaaf0","user":{"login":"PsiOmegaDelta","id":496895,"avatar_url":"https://avatars.githubusercontent.com/u/496895?v=3","gravatar_id":"","url":"https://api.github.com/users/PsiOmegaDelta","html_url":"https://github.com/PsiOmegaDelta","followers_url":"https://api.github.com/users/PsiOmegaDelta/followers","following_url":"https://api.github.com/users/PsiOmegaDelta/following{/other_user}","gists_url":"https://api.github.com/users/PsiOmegaDelta/gists{/gist_id}","starred_url":"https://api.github.com/users/PsiOmegaDelta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PsiOmegaDelta/subscriptions","organizations_url":"https://api.github.com/users/PsiOmegaDelta/orgs","repos_url":"https://api.github.com/users/PsiOmegaDelta/repos","events_url":"https://api.github.com/users/PsiOmegaDelta/events{/privacy}","received_events_url":"https://api.github.com/users/PsiOmegaDelta/received_events","type":"User","site_admin":false},"body":"Why is Malfunctioning being referred to as ```newmalf ``` in logs when it's the only malf?","created_at":"2016-09-08T07:03:00Z","updated_at":"2016-09-08T07:03:00Z","html_url":"https://github.com/Baystation12/Baystation12/pull/14130#discussion_r77954823","pull_request_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/14130","_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments/77954823"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/14130#discussion_r77954823"},"pull_request":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/14130"}}},"pull_request":{"url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/14130","id":84381547,"html_url":"https://github.com/Baystation12/Baystation12/pull/14130","diff_url":"https://github.com/Baystation12/Baystation12/pull/14130.diff","patch_url":"https://github.com/Baystation12/Baystation12/pull/14130.patch","issue_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/14130","number":14130,"state":"open","locked":false,"title":"AI, Malfunction and Modular Computer tweaks","user":{"login":"atlantiscze","id":5147960,"avatar_url":"https://avatars.githubusercontent.com/u/5147960?v=3","gravatar_id":"","url":"https://api.github.com/users/atlantiscze","html_url":"https://github.com/atlantiscze","followers_url":"https://api.github.com/users/atlantiscze/followers","following_url":"https://api.github.com/users/atlantiscze/following{/other_user}","gists_url":"https://api.github.com/users/atlantiscze/gists{/gist_id}","starred_url":"https://api.github.com/users/atlantiscze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atlantiscze/subscriptions","organizations_url":"https://api.github.com/users/atlantiscze/orgs","repos_url":"https://api.github.com/users/atlantiscze/repos","events_url":"https://api.github.com/users/atlantiscze/events{/privacy}","received_events_url":"https://api.github.com/users/atlantiscze/received_events","type":"User","site_admin":false},"body":"** Fixes **\r\n- Fixes #14126 - Malf AI should now properly lose verbs on death.\r\n- Fixes #12346 - Malf AI can now be de-malfed completely by first killing it (which removes the abilities and allows transfer to intellicard), and then using the restorer program to revive the AI and purge the zeroth law (and all other laws).\r\n- Fixes #14125 - Emergency shields now correctly set attack cooldowns.\r\n- Fixes AI using power even when intellicarded in some situations.\r\n- Fixes AI healing oxyloss (power loss damage) when on intellicard in some situations.\r\n\r\n** AI Restorer change **\r\n- Old HTMLUI-based AI restorer has been completely removed, including the boards. Mapped-in consoles replaced by research modular computer consoles.\r\n- New AI restorer program created, with NanoUI and modular computer support. See http://i.imgur.com/G2yr8uT.png for UI example.\r\n- Program requires intellicard slot to function. A head of staff can download it, anyone can run and use it. It is preinstalled in research consoles, along with the required hardware to work with it.\r\n- The program allows you to restore the AI, if it's damaged. The speed of restoration is roughly 2x faster than the old console.\r\n- Program also allows you to perform basic law changes. Available options are: Reset - Removes Ion and Supplied laws, Purge - Removes all laws, NT Default - Purges all laws and uploads NT default, and Add Freeform, which allows you to specify a law to add. Keep in mind this requires the AI to be inside an intellicard which has been placed into the computer, so it is not as major balance concern. In fact, it is logical solution to resetting of subverted AIs. Right now you have to put them back into the core in order to perform the reset.  As a note, the law adjustment portion is completely locked off for synthetics. Synthetics can only start the restoration sequence, but they can't touch the laws at all.\r\n\r\n** Tweaks **\r\n- Logging added to malfunctioning AI's abilities, as well as some other malfunctioning AI's tools (APU for example). These are logged into the attack log of the AI's mob. Majority of these logs are also sent to admins. Few exceptions exist (these are only logged to the attack log), such as APC hacking, as it has tendency to spam the logs while having minimal informational value for staff at most times.\r\n- Intellicards refactored to be an /obj/item/weapon subtype rather than /obj/item/device. Should help with some attackby() oddities i've been running into.\r\n- New hardware piece: intellicard slot. Allows you to place an intellicard into the computer. Necessary for AI restorer program to work. Uses 100W when idle and 2kW when occupied by an intellicard with AI in it. It acts as an interlink between the intellicard and the computer. If the intellicard's wireless is enabled, the AI can actually control the computer it is in.\r\n- Program accesses can now be customized a bit more. Program can be set to ignore access restrictions for downloads or execution. That way, it is possible to make a program that can be downloaded by people with specific access, yet run by anyone (or vice versa). Currently used by the AI restorer.","created_at":"2016-09-07T22:00:17Z","updated_at":"2016-09-08T07:03:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a643e7b7a1f23d18f2dfac62875ddfe03fe9a4fb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/14130/commits","review_comments_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/14130/comments","review_comment_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/14130/comments","statuses_url":"https://api.github.com/repos/Baystation12/Baystation12/statuses/4457ac9f6b06835376e6eb5af9b71080d87aaaf0","head":{"label":"atlantiscze:2016-09-07-MalfTweaks","ref":"2016-09-07-MalfTweaks","sha":"4457ac9f6b06835376e6eb5af9b71080d87aaaf0","user":{"login":"atlantiscze","id":5147960,"avatar_url":"https://avatars.githubusercontent.com/u/5147960?v=3","gravatar_id":"","url":"https://api.github.com/users/atlantiscze","html_url":"https://github.com/atlantiscze","followers_url":"https://api.github.com/users/atlantiscze/followers","following_url":"https://api.github.com/users/atlantiscze/following{/other_user}","gists_url":"https://api.github.com/users/atlantiscze/gists{/gist_id}","starred_url":"https://api.github.com/users/atlantiscze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atlantiscze/subscriptions","organizations_url":"https://api.github.com/users/atlantiscze/orgs","repos_url":"https://api.github.com/users/atlantiscze/repos","events_url":"https://api.github.com/users/atlantiscze/events{/privacy}","received_events_url":"https://api.github.com/users/atlantiscze/received_events","type":"User","site_admin":false},"repo":{"id":21876216,"name":"Baystation12","full_name":"atlantiscze/Baystation12","owner":{"login":"atlantiscze","id":5147960,"avatar_url":"https://avatars.githubusercontent.com/u/5147960?v=3","gravatar_id":"","url":"https://api.github.com/users/atlantiscze","html_url":"https://github.com/atlantiscze","followers_url":"https://api.github.com/users/atlantiscze/followers","following_url":"https://api.github.com/users/atlantiscze/following{/other_user}","gists_url":"https://api.github.com/users/atlantiscze/gists{/gist_id}","starred_url":"https://api.github.com/users/atlantiscze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atlantiscze/subscriptions","organizations_url":"https://api.github.com/users/atlantiscze/orgs","repos_url":"https://api.github.com/users/atlantiscze/repos","events_url":"https://api.github.com/users/atlantiscze/events{/privacy}","received_events_url":"https://api.github.com/users/atlantiscze/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/atlantiscze/Baystation12","description":"The code for Baystation12's branch of SS13","fork":true,"url":"https://api.github.com/repos/atlantiscze/Baystation12","forks_url":"https://api.github.com/repos/atlantiscze/Baystation12/forks","keys_url":"https://api.github.com/repos/atlantiscze/Baystation12/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atlantiscze/Baystation12/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atlantiscze/Baystation12/teams","hooks_url":"https://api.github.com/repos/atlantiscze/Baystation12/hooks","issue_events_url":"https://api.github.com/repos/atlantiscze/Baystation12/issues/events{/number}","events_url":"https://api.github.com/repos/atlantiscze/Baystation12/events","assignees_url":"https://api.github.com/repos/atlantiscze/Baystation12/assignees{/user}","branches_url":"https://api.github.com/repos/atlantiscze/Baystation12/branches{/branch}","tags_url":"https://api.github.com/repos/atlantiscze/Baystation12/tags","blobs_url":"https://api.github.com/repos/atlantiscze/Baystation12/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atlantiscze/Baystation12/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atlantiscze/Baystation12/git/refs{/sha}","trees_url":"https://api.github.com/repos/atlantiscze/Baystation12/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atlantiscze/Baystation12/statuses/{sha}","languages_url":"https://api.github.com/repos/atlantiscze/Baystation12/languages","stargazers_url":"https://api.github.com/repos/atlantiscze/Baystation12/stargazers","contributors_url":"https://api.github.com/repos/atlantiscze/Baystation12/contributors","subscribers_url":"https://api.github.com/repos/atlantiscze/Baystation12/subscribers","subscription_url":"https://api.github.com/repos/atlantiscze/Baystation12/subscription","commits_url":"https://api.github.com/repos/atlantiscze/Baystation12/commits{/sha}","git_commits_url":"https://api.github.com/repos/atlantiscze/Baystation12/git/commits{/sha}","comments_url":"https://api.github.com/repos/atlantiscze/Baystation12/comments{/number}","issue_comment_url":"https://api.github.com/repos/atlantiscze/Baystation12/issues/comments{/number}","contents_url":"https://api.github.com/repos/atlantiscze/Baystation12/contents/{+path}","compare_url":"https://api.github.com/repos/atlantiscze/Baystation12/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atlantiscze/Baystation12/merges","archive_url":"https://api.github.com/repos/atlantiscze/Baystation12/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atlantiscze/Baystation12/downloads","issues_url":"https://api.github.com/repos/atlantiscze/Baystation12/issues{/number}","pulls_url":"https://api.github.com/repos/atlantiscze/Baystation12/pulls{/number}","milestones_url":"https://api.github.com/repos/atlantiscze/Baystation12/milestones{/number}","notifications_url":"https://api.github.com/repos/atlantiscze/Baystation12/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atlantiscze/Baystation12/labels{/name}","releases_url":"https://api.github.com/repos/atlantiscze/Baystation12/releases{/id}","deployments_url":"https://api.github.com/repos/atlantiscze/Baystation12/deployments","created_at":"2014-07-15T21:17:06Z","updated_at":"2016-01-17T03:45:38Z","pushed_at":"2016-09-07T22:26:27Z","git_url":"git://github.com/atlantiscze/Baystation12.git","ssh_url":"git@github.com:atlantiscze/Baystation12.git","clone_url":"https://github.com/atlantiscze/Baystation12.git","svn_url":"https://github.com/atlantiscze/Baystation12","homepage":"http://baystation12.net/","size":612680,"stargazers_count":1,"watchers_count":1,"language":"DM","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":1,"default_branch":"_BAY-Dev"}},"base":{"label":"Baystation12:dev","ref":"dev","sha":"b6e6062e5fafcd65f565ee07806a8c6144cfb127","user":{"login":"Baystation12","id":1174322,"avatar_url":"https://avatars.githubusercontent.com/u/1174322?v=3","gravatar_id":"","url":"https://api.github.com/users/Baystation12","html_url":"https://github.com/Baystation12","followers_url":"https://api.github.com/users/Baystation12/followers","following_url":"https://api.github.com/users/Baystation12/following{/other_user}","gists_url":"https://api.github.com/users/Baystation12/gists{/gist_id}","starred_url":"https://api.github.com/users/Baystation12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baystation12/subscriptions","organizations_url":"https://api.github.com/users/Baystation12/orgs","repos_url":"https://api.github.com/users/Baystation12/repos","events_url":"https://api.github.com/users/Baystation12/events{/privacy}","received_events_url":"https://api.github.com/users/Baystation12/received_events","type":"Organization","site_admin":false},"repo":{"id":2715933,"name":"Baystation12","full_name":"Baystation12/Baystation12","owner":{"login":"Baystation12","id":1174322,"avatar_url":"https://avatars.githubusercontent.com/u/1174322?v=3","gravatar_id":"","url":"https://api.github.com/users/Baystation12","html_url":"https://github.com/Baystation12","followers_url":"https://api.github.com/users/Baystation12/followers","following_url":"https://api.github.com/users/Baystation12/following{/other_user}","gists_url":"https://api.github.com/users/Baystation12/gists{/gist_id}","starred_url":"https://api.github.com/users/Baystation12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baystation12/subscriptions","organizations_url":"https://api.github.com/users/Baystation12/orgs","repos_url":"https://api.github.com/users/Baystation12/repos","events_url":"https://api.github.com/users/Baystation12/events{/privacy}","received_events_url":"https://api.github.com/users/Baystation12/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Baystation12/Baystation12","description":"The code for Baystation12's branch of SS13","fork":false,"url":"https://api.github.com/repos/Baystation12/Baystation12","forks_url":"https://api.github.com/repos/Baystation12/Baystation12/forks","keys_url":"https://api.github.com/repos/Baystation12/Baystation12/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Baystation12/Baystation12/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Baystation12/Baystation12/teams","hooks_url":"https://api.github.com/repos/Baystation12/Baystation12/hooks","issue_events_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/events{/number}","events_url":"https://api.github.com/repos/Baystation12/Baystation12/events","assignees_url":"https://api.github.com/repos/Baystation12/Baystation12/assignees{/user}","branches_url":"https://api.github.com/repos/Baystation12/Baystation12/branches{/branch}","tags_url":"https://api.github.com/repos/Baystation12/Baystation12/tags","blobs_url":"https://api.github.com/repos/Baystation12/Baystation12/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Baystation12/Baystation12/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Baystation12/Baystation12/git/refs{/sha}","trees_url":"https://api.github.com/repos/Baystation12/Baystation12/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Baystation12/Baystation12/statuses/{sha}","languages_url":"https://api.github.com/repos/Baystation12/Baystation12/languages","stargazers_url":"https://api.github.com/repos/Baystation12/Baystation12/stargazers","contributors_url":"https://api.github.com/repos/Baystation12/Baystation12/contributors","subscribers_url":"https://api.github.com/repos/Baystation12/Baystation12/subscribers","subscription_url":"https://api.github.com/repos/Baystation12/Baystation12/subscription","commits_url":"https://api.github.com/repos/Baystation12/Baystation12/commits{/sha}","git_commits_url":"https://api.github.com/repos/Baystation12/Baystation12/git/commits{/sha}","comments_url":"https://api.github.com/repos/Baystation12/Baystation12/comments{/number}","issue_comment_url":"https://api.github.com/repos/Baystation12/Baystation12/issues/comments{/number}","contents_url":"https://api.github.com/repos/Baystation12/Baystation12/contents/{+path}","compare_url":"https://api.github.com/repos/Baystation12/Baystation12/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Baystation12/Baystation12/merges","archive_url":"https://api.github.com/repos/Baystation12/Baystation12/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Baystation12/Baystation12/downloads","issues_url":"https://api.github.com/repos/Baystation12/Baystation12/issues{/number}","pulls_url":"https://api.github.com/repos/Baystation12/Baystation12/pulls{/number}","milestones_url":"https://api.github.com/repos/Baystation12/Baystation12/milestones{/number}","notifications_url":"https://api.github.com/repos/Baystation12/Baystation12/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Baystation12/Baystation12/labels{/name}","releases_url":"https://api.github.com/repos/Baystation12/Baystation12/releases{/id}","deployments_url":"https://api.github.com/repos/Baystation12/Baystation12/deployments","created_at":"2011-11-05T16:12:41Z","updated_at":"2016-09-04T02:03:04Z","pushed_at":"2016-09-08T03:28:35Z","git_url":"git://github.com/Baystation12/Baystation12.git","ssh_url":"git@github.com:Baystation12/Baystation12.git","clone_url":"https://github.com/Baystation12/Baystation12.git","svn_url":"https://github.com/Baystation12/Baystation12","homepage":"http://baystation12.net/","size":1692351,"stargazers_count":226,"watchers_count":226,"language":"DM","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":738,"mirror_url":null,"open_issues_count":469,"forks":738,"open_issues":469,"watchers":226,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/14130"},"html":{"href":"https://github.com/Baystation12/Baystation12/pull/14130"},"issue":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/14130"},"comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/issues/14130/comments"},"review_comments":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/14130/comments"},"review_comment":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Baystation12/Baystation12/pulls/14130/commits"},"statuses":{"href":"https://api.github.com/repos/Baystation12/Baystation12/statuses/4457ac9f6b06835376e6eb5af9b71080d87aaaf0"}}}}
{"actor":{"display_login":"PsiOmegaDelta"}}