{"action":"created","issue":{"url":"https://api.github.com/repos/tgstation/-tg-station/issues/11248","labels_url":"https://api.github.com/repos/tgstation/-tg-station/issues/11248/labels{/name}","comments_url":"https://api.github.com/repos/tgstation/-tg-station/issues/11248/comments","events_url":"https://api.github.com/repos/tgstation/-tg-station/issues/11248/events","html_url":"https://github.com/tgstation/-tg-station/pull/11248","id":101419205,"number":11248,"title":"Adds an animation to being electrocuted, like in cartoons!","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},"labels":[{"url":"https://api.github.com/repos/tgstation/-tg-station/labels/Feature","name":"Feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-08-17T13:19:14Z","updated_at":"2015-08-17T17:50:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tgstation/-tg-station/pulls/11248","html_url":"https://github.com/tgstation/-tg-station/pull/11248","diff_url":"https://github.com/tgstation/-tg-station/pull/11248.diff","patch_url":"https://github.com/tgstation/-tg-station/pull/11248.patch"},"body":"## Content\r\n* Adds an Electrocution animation! ```electrocution_animation(duration)``` turns you skin, mutant body parts, and hair black for the duration of the animation, then resets them to their usual values.\r\nwhile doing this a flashing skeleton also appears on the user, it's just like a cartoon!\r\n* If the user doesn't have dna or a species, a rough \"generic\" animation is played instead, this should never happen, but it's there as a fallback\r\n\r\n## Code\r\n* Adds a ```forced_colour``` argument to a few mutant body part procs on ```/datum/species```, so that I can force them to render black, without hacks\r\n* Humans (and other species that have ```use_skintones = 1```) now correctly use ```update_color()```\r\nYou will see no visual difference, but it was necessary to flash the human base icon black without hacks, this also reduces the snowflake nature of the human species somewhat.\r\n\r\n## Examples\r\nHuman:\r\n![humanelectrocution](https://cloud.githubusercontent.com/assets/4043781/9305565/4733a61e-44ea-11e5-9a17-e010c33557fd.gif)\r\n\r\nLizard:\r\n![lizardelectrocution](https://cloud.githubusercontent.com/assets/4043781/9305649/ebc45bd8-44ea-11e5-8a33-75390cfe9c0c.gif)\r\n\r\nLightning Bolt:\r\n![wizardshock](https://cloud.githubusercontent.com/assets/4043781/9306492/9486155e-44f0-11e5-98d7-325d6c28439e.gif)\r\n"},"comment":{"url":"https://api.github.com/repos/tgstation/-tg-station/issues/comments/131907571","html_url":"https://github.com/tgstation/-tg-station/pull/11248#issuecomment-131907571","issue_url":"https://api.github.com/repos/tgstation/-tg-station/issues/11248","id":131907571,"user":{"login":"GunHog","id":4955510,"avatar_url":"https://avatars.githubusercontent.com/u/4955510?v=3","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},"created_at":"2015-08-17T17:50:16Z","updated_at":"2015-08-17T17:50:16Z","body":"Agreed with Meow. Show it when it does near max damage, to show that this guy just got DROPPED by cruel engineers / clever rogue AI who overloaded the powergrid!"}}