{"action":"created","issue":{"url":"https://api.github.com/repos/tgstation/-tg-station/issues/16225","repository_url":"https://api.github.com/repos/tgstation/-tg-station","labels_url":"https://api.github.com/repos/tgstation/-tg-station/issues/16225/labels{/name}","comments_url":"https://api.github.com/repos/tgstation/-tg-station/issues/16225/comments","events_url":"https://api.github.com/repos/tgstation/-tg-station/issues/16225/events","html_url":"https://github.com/tgstation/-tg-station/pull/16225","id":142114342,"number":16225,"title":"Ghosts with hair.","user":{"login":"Ricotez","id":3974988,"avatar_url":"https://avatars.githubusercontent.com/u/3974988?v=3","gravatar_id":"","url":"https://api.github.com/users/Ricotez","html_url":"https://github.com/Ricotez","followers_url":"https://api.github.com/users/Ricotez/followers","following_url":"https://api.github.com/users/Ricotez/following{/other_user}","gists_url":"https://api.github.com/users/Ricotez/gists{/gist_id}","starred_url":"https://api.github.com/users/Ricotez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ricotez/subscriptions","organizations_url":"https://api.github.com/users/Ricotez/orgs","repos_url":"https://api.github.com/users/Ricotez/repos","events_url":"https://api.github.com/users/Ricotez/events{/privacy}","received_events_url":"https://api.github.com/users/Ricotez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2016-03-20T00:20:37Z","updated_at":"2016-03-20T16:56:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tgstation/-tg-station/pulls/16225","html_url":"https://github.com/tgstation/-tg-station/pull/16225","diff_url":"https://github.com/tgstation/-tg-station/pull/16225.diff","patch_url":"https://github.com/tgstation/-tg-station/pull/16225.patch"},"body":"**This is NOT a direct port from Goonstation. Their ghosts inspired me, but I wrote the code from scratch. I didn't even look at Gooncode.**\r\n\r\nIf you have the default ghost form selected, the game will attempt to apply your head and facial hair to your ghost sprite. For this it reads the data of the body you occupied at the time of ghosting. If its species doesn't support head hair and/or facial hair, they won't show up, to prevent any sudden haircut disasters from preferences that you didn't know were set. So sorry lizards, you will get your turn another time! (By the way, if you observe, the game will take the data from the active character in your setup instead.)\r\n\r\n![ghost1s](https://cloud.githubusercontent.com/assets/3974988/13901992/113c28c8-ee37-11e5-90df-eeb21989fbdb.png)\r\n![ghost2s](https://cloud.githubusercontent.com/assets/3974988/13901993/128d5026-ee37-11e5-9a71-4c90e4096e54.png)\r\n![ghost3s](https://cloud.githubusercontent.com/assets/3974988/13901994/1423ffac-ee37-11e5-9ca8-fcebd0a270f8.png)\r\n\r\nThis only works with the default ghost form (named \"ghost\" in the list, it's also the option the game forces you in if you don't have BYOND premium). I might extend it to the recoloured sprites eventually, but I don't want to force the hair on all ghost forms, because that would mean sprites like ianghost or ghostking become impossible (or have a haircut floating over them).\r\n\r\n![ghost4s](https://cloud.githubusercontent.com/assets/3974988/13901996/289f99d2-ee37-11e5-858c-25bb977408cb.png)\r\n\r\n:cl:\r\nimageadd: The default white ghost form now has directional sprites.\r\nrscadd: The default white ghost form now also has (your) hair! Here's how it works.\r\nexperiment: If you ghost from a body, you'll get the hair from that body. If it has hair.\r\nexperiment: If you hit Observe, you'll get the hair from the character you had active in your setup window. If they had hair.\r\nwip: This only works with the default white ghost form right now (because the other forms have the wrong shape or lack directional sprites), and with human bodies since they're the only ones that have hair. Sorry lizards and plasmamen! You'll get your turn next time.\r\n/:cl:"},"comment":{"url":"https://api.github.com/repos/tgstation/-tg-station/issues/comments/198962632","html_url":"https://github.com/tgstation/-tg-station/pull/16225#issuecomment-198962632","issue_url":"https://api.github.com/repos/tgstation/-tg-station/issues/16225","id":198962632,"user":{"login":"Iamgoofball","id":4081722,"avatar_url":"https://avatars.githubusercontent.com/u/4081722?v=3","gravatar_id":"","url":"https://api.github.com/users/Iamgoofball","html_url":"https://github.com/Iamgoofball","followers_url":"https://api.github.com/users/Iamgoofball/followers","following_url":"https://api.github.com/users/Iamgoofball/following{/other_user}","gists_url":"https://api.github.com/users/Iamgoofball/gists{/gist_id}","starred_url":"https://api.github.com/users/Iamgoofball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Iamgoofball/subscriptions","organizations_url":"https://api.github.com/users/Iamgoofball/orgs","repos_url":"https://api.github.com/users/Iamgoofball/repos","events_url":"https://api.github.com/users/Iamgoofball/events{/privacy}","received_events_url":"https://api.github.com/users/Iamgoofball/received_events","type":"User","site_admin":false},"created_at":"2016-03-20T16:56:38Z","updated_at":"2016-03-20T16:56:38Z","body":"I might swap our ghost for the goon ghost sprite, it's better for this"}}