{"action":"created","issue":{"url":"https://api.github.com/repos/CapsAdmin/pac3/issues/268","repository_url":"https://api.github.com/repos/CapsAdmin/pac3","labels_url":"https://api.github.com/repos/CapsAdmin/pac3/issues/268/labels{/name}","comments_url":"https://api.github.com/repos/CapsAdmin/pac3/issues/268/comments","events_url":"https://api.github.com/repos/CapsAdmin/pac3/issues/268/events","html_url":"https://github.com/CapsAdmin/pac3/pull/268","id":138659259,"number":268,"title":"Add workshop part","user":{"login":"suchipi","id":1341513,"avatar_url":"https://avatars.githubusercontent.com/u/1341513?v=3","gravatar_id":"","url":"https://api.github.com/users/suchipi","html_url":"https://github.com/suchipi","followers_url":"https://api.github.com/users/suchipi/followers","following_url":"https://api.github.com/users/suchipi/following{/other_user}","gists_url":"https://api.github.com/users/suchipi/gists{/gist_id}","starred_url":"https://api.github.com/users/suchipi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suchipi/subscriptions","organizations_url":"https://api.github.com/users/suchipi/orgs","repos_url":"https://api.github.com/users/suchipi/repos","events_url":"https://api.github.com/users/suchipi/events{/privacy}","received_events_url":"https://api.github.com/users/suchipi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-05T08:02:47Z","updated_at":"2016-03-06T02:10:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CapsAdmin/pac3/pulls/268","html_url":"https://github.com/CapsAdmin/pac3/pull/268","diff_url":"https://github.com/CapsAdmin/pac3/pull/268.diff","patch_url":"https://github.com/CapsAdmin/pac3/pull/268.patch"},"body":"Adds a part that, given a workshop item id, downloads that workshop content into the cache and mounts it into the client, then updates the model property of all parts in the costume (so that the newly mounted content is used).\r\n\r\nOnly functions if the server has `pac_sv_workshop_enabled` set to 1 (defaults to 0) and the client has `pac_workshop_enabled` set to 1 (defaults to 1).\r\n"},"comment":{"url":"https://api.github.com/repos/CapsAdmin/pac3/issues/comments/192781188","html_url":"https://github.com/CapsAdmin/pac3/pull/268#issuecomment-192781188","issue_url":"https://api.github.com/repos/CapsAdmin/pac3/issues/268","id":192781188,"user":{"login":"suchipi","id":1341513,"avatar_url":"https://avatars.githubusercontent.com/u/1341513?v=3","gravatar_id":"","url":"https://api.github.com/users/suchipi","html_url":"https://github.com/suchipi","followers_url":"https://api.github.com/users/suchipi/followers","following_url":"https://api.github.com/users/suchipi/following{/other_user}","gists_url":"https://api.github.com/users/suchipi/gists{/gist_id}","starred_url":"https://api.github.com/users/suchipi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suchipi/subscriptions","organizations_url":"https://api.github.com/users/suchipi/orgs","repos_url":"https://api.github.com/users/suchipi/repos","events_url":"https://api.github.com/users/suchipi/events{/privacy}","received_events_url":"https://api.github.com/users/suchipi/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T02:10:18Z","updated_at":"2016-03-06T02:10:18Z","body":"Misunderstood what you meant regarding iterating over player parts; I thought you were suggesting I iterate over `pac.GetParts(true)`. Didn't know `pac.UniqueIDParts` existed. I agree changing it to loop over the part owner's parts is a lot cleaner. I made that change."}}