{"action":"created","issue":{"url":"https://api.github.com/repos/d3athrow/vgstation13/issues/4519","labels_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/4519/labels{/name}","comments_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/4519/comments","events_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/4519/events","html_url":"https://github.com/d3athrow/vgstation13/issues/4519","id":77416200,"number":4519,"title":"Allow the sun to illuminate the station","user":{"login":"dylanstrategie","id":6137403,"avatar_url":"https://avatars.githubusercontent.com/u/6137403?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanstrategie","html_url":"https://github.com/dylanstrategie","followers_url":"https://api.github.com/users/dylanstrategie/followers","following_url":"https://api.github.com/users/dylanstrategie/following{/other_user}","gists_url":"https://api.github.com/users/dylanstrategie/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanstrategie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanstrategie/subscriptions","organizations_url":"https://api.github.com/users/dylanstrategie/orgs","repos_url":"https://api.github.com/users/dylanstrategie/repos","events_url":"https://api.github.com/users/dylanstrategie/events{/privacy}","received_events_url":"https://api.github.com/users/dylanstrategie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-17T22:34:38Z","updated_at":"2015-05-18T00:31:42Z","closed_at":null,"body":"To break it down : \r\n\r\n- The sun currently rotates around the station, but it's just a datum with some basic position calculation to be used by the -very- physical solar panels\r\n- As we all know, suns have a tendency to illuminate what is in the way of their light rays\r\n- But strangely enough, if you blow every single light on station, the entire station will be pitch dark, even the areas with huge window bays \"facing the sun\" (where solars would output)\r\n\r\nSuggestion : \r\n\r\n- Make it so that the sun outputs light, so that if a window bay is facing directly to the sun's current position it gets illuminated\r\n- If Vampires bathe into sunlight, fuck their shit up. Remove generic \"hurt in space\" and replace it with \"specifically exposed by sunlight\", give them an ample warning to tell them to get the fuck out of here before shit gets really bad\r\n\r\nSince the sun is a pure datum, that might be a tad hard, but on the paper this idea seems pretty fantastic. I would personally suggest this method for coding it in : \r\n\r\n- Assign an obj/sun to the sun itself, that is moved with the sun itself, is always on the world borders and is completely invisible (might be a bit hard and hacky)\r\n- Code in a very special light that uses the sun's coordinates (more advanced, and allows one to tune it to hurt vampires)\r\n\r\n- Just make the light something like 500 luminosity (would make everything in sunlight fullbright, but it would work fine. And normally not lag since the sun updates slowly)\r\n- Use more advanced pathfinding and fall-off so that sunlight penetrates a few tiles through the window bays (10 or so) until fully fading out. More beautiful and less lighting-controller expensive if coded properly, but complicated"},"comment":{"url":"https://api.github.com/repos/d3athrow/vgstation13/issues/comments/102877564","html_url":"https://github.com/d3athrow/vgstation13/issues/4519#issuecomment-102877564","issue_url":"https://api.github.com/repos/d3athrow/vgstation13/issues/4519","id":102877564,"user":{"login":"clusterfack","id":8516830,"avatar_url":"https://avatars.githubusercontent.com/u/8516830?v=3","gravatar_id":"","url":"https://api.github.com/users/clusterfack","html_url":"https://github.com/clusterfack","followers_url":"https://api.github.com/users/clusterfack/followers","following_url":"https://api.github.com/users/clusterfack/following{/other_user}","gists_url":"https://api.github.com/users/clusterfack/gists{/gist_id}","starred_url":"https://api.github.com/users/clusterfack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clusterfack/subscriptions","organizations_url":"https://api.github.com/users/clusterfack/orgs","repos_url":"https://api.github.com/users/clusterfack/repos","events_url":"https://api.github.com/users/clusterfack/events{/privacy}","received_events_url":"https://api.github.com/users/clusterfack/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T00:31:42Z","updated_at":"2015-05-18T00:31:42Z","body":"Yeah I wanted this too, but it better not start lagging us up"}}