{"action":"created","issue":{"url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/issues/519","repository_url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers","labels_url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/issues/519/comments","events_url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/issues/519/events","html_url":"https://github.com/KeenSoftwareHouse/SpaceEngineers/pull/519","id":151863096,"number":519,"title":"Allow modAPI (script) access to OnGridChanged events.","user":{"login":"fabricator77","id":1874373,"avatar_url":"https://avatars.githubusercontent.com/u/1874373?v=3","gravatar_id":"","url":"https://api.github.com/users/fabricator77","html_url":"https://github.com/fabricator77","followers_url":"https://api.github.com/users/fabricator77/followers","following_url":"https://api.github.com/users/fabricator77/following{/other_user}","gists_url":"https://api.github.com/users/fabricator77/gists{/gist_id}","starred_url":"https://api.github.com/users/fabricator77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabricator77/subscriptions","organizations_url":"https://api.github.com/users/fabricator77/orgs","repos_url":"https://api.github.com/users/fabricator77/repos","events_url":"https://api.github.com/users/fabricator77/events{/privacy}","received_events_url":"https://api.github.com/users/fabricator77/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-29T13:16:23Z","updated_at":"2016-05-03T23:57:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/pulls/519","html_url":"https://github.com/KeenSoftwareHouse/SpaceEngineers/pull/519","diff_url":"https://github.com/KeenSoftwareHouse/SpaceEngineers/pull/519.diff","patch_url":"https://github.com/KeenSoftwareHouse/SpaceEngineers/pull/519.patch"},"body":"OnGridChanged is used in the cargoship code to detect when a Player has\r\ntaken over a ship so it doesn't despawn.\r\n\r\nIt's not possible to create the same functionality with other available\r\nevents, which can be triggered by things like minor damage to ships, or\r\nunpowered ships drifting."},"comment":{"url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/issues/comments/216702078","html_url":"https://github.com/KeenSoftwareHouse/SpaceEngineers/pull/519#issuecomment-216702078","issue_url":"https://api.github.com/repos/KeenSoftwareHouse/SpaceEngineers/issues/519","id":216702078,"user":{"login":"Jimmacle","id":6447556,"avatar_url":"https://avatars.githubusercontent.com/u/6447556?v=3","gravatar_id":"","url":"https://api.github.com/users/Jimmacle","html_url":"https://github.com/Jimmacle","followers_url":"https://api.github.com/users/Jimmacle/followers","following_url":"https://api.github.com/users/Jimmacle/following{/other_user}","gists_url":"https://api.github.com/users/Jimmacle/gists{/gist_id}","starred_url":"https://api.github.com/users/Jimmacle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jimmacle/subscriptions","organizations_url":"https://api.github.com/users/Jimmacle/orgs","repos_url":"https://api.github.com/users/Jimmacle/repos","events_url":"https://api.github.com/users/Jimmacle/events{/privacy}","received_events_url":"https://api.github.com/users/Jimmacle/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T23:57:17Z","updated_at":"2016-05-03T23:57:17Z","body":"When you make a PR it's possible to update it by committing to the same branch. Good practice is to make a separate branch for each PR so you can have multiple open at once without interference :)"}}