{"action":"created","issue":{"url":"https://api.github.com/repos/tgstation/-tg-station/issues/10562","labels_url":"https://api.github.com/repos/tgstation/-tg-station/issues/10562/labels{/name}","comments_url":"https://api.github.com/repos/tgstation/-tg-station/issues/10562/comments","events_url":"https://api.github.com/repos/tgstation/-tg-station/issues/10562/events","html_url":"https://github.com/tgstation/-tg-station/pull/10562","id":94523669,"number":10562,"title":"Event System Overhaul [WIP]","user":{"login":"AlexanderUlanH","id":4391822,"avatar_url":"https://avatars.githubusercontent.com/u/4391822?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderUlanH","html_url":"https://github.com/AlexanderUlanH","followers_url":"https://api.github.com/users/AlexanderUlanH/followers","following_url":"https://api.github.com/users/AlexanderUlanH/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderUlanH/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderUlanH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderUlanH/subscriptions","organizations_url":"https://api.github.com/users/AlexanderUlanH/orgs","repos_url":"https://api.github.com/users/AlexanderUlanH/repos","events_url":"https://api.github.com/users/AlexanderUlanH/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderUlanH/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tgstation/-tg-station/labels/Refactor","name":"Refactor","color":"ffaa00"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-12T01:47:04Z","updated_at":"2015-07-12T01:50:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tgstation/-tg-station/pulls/10562","html_url":"https://github.com/tgstation/-tg-station/pull/10562","diff_url":"https://github.com/tgstation/-tg-station/pull/10562.diff","patch_url":"https://github.com/tgstation/-tg-station/pull/10562.patch"},"body":"For discussion.  Event selection is still behaving strangely and is probably got some bugs, but it's in place enough to comment on.\r\n\r\nThe primary goal of this system is to bring rounds to a natural close by throwing increasingly harsh events at the crew, to decrease the occurrence of drawn out rounds where crewmembers are all superpowered gods sitting on stockpiles of guns and mechs with nothing to do.  \r\nThe secondary objective is to reward especially resilient crews with challenges to use their superpowers and stockpiles of guns and mechs on.  Ideally, long rounds will be few, but when they occur, they'll be remain involving and will be a testament to the strength of the crew, rather than a testament to the fact that neither the antagonists nor the administrators forced a shuttle call.\r\n\r\nInstead of event weights and time requirements, each event now has a time at which it's most probable, and the event subsystem will pick one based on a normal distribution about the current world time.  The standard deviation of the distribution, which will determine how random the event selection at any given time is, is configurable, and the event subsystem has a var for offsetting the station time it uses to pick events, in case admins want to fuck up the station with events more quickly, or give the station a breather.  \r\n\r\nOne problem with this system is that, with the lack of variety in high-round-length events, the more regular appearance of those events will make them get old relatively quickly, so I'm planning to add several higher-end events, which I'll want to complete before this gets merged.\r\n\r\n[Probability distributions](http://pastebin.com/VQXHP1Xd) at various station times here, for feedback.  Feedback regarding the weight calculation and the times associated with various events is welcome."},"comment":{"url":"https://api.github.com/repos/tgstation/-tg-station/issues/comments/120677622","html_url":"https://github.com/tgstation/-tg-station/pull/10562#issuecomment-120677622","issue_url":"https://api.github.com/repos/tgstation/-tg-station/issues/10562","id":120677622,"user":{"login":"xxalpha","id":4951579,"avatar_url":"https://avatars.githubusercontent.com/u/4951579?v=3","gravatar_id":"","url":"https://api.github.com/users/xxalpha","html_url":"https://github.com/xxalpha","followers_url":"https://api.github.com/users/xxalpha/followers","following_url":"https://api.github.com/users/xxalpha/following{/other_user}","gists_url":"https://api.github.com/users/xxalpha/gists{/gist_id}","starred_url":"https://api.github.com/users/xxalpha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xxalpha/subscriptions","organizations_url":"https://api.github.com/users/xxalpha/orgs","repos_url":"https://api.github.com/users/xxalpha/repos","events_url":"https://api.github.com/users/xxalpha/events{/privacy}","received_events_url":"https://api.github.com/users/xxalpha/received_events","type":"User","site_admin":false},"created_at":"2015-07-12T01:50:23Z","updated_at":"2015-07-12T01:50:23Z","body":">One problem with this system is that, with the lack of variety in high-round-length events,\r\n\r\nI have been meaning to create a new event, so no worries."}}